diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-02-08 07:20:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:36 -0500 |
commit | 3287629eff75c7323e875b942be82f7ac6ca18da (patch) | |
tree | 4c8ebbff98b3e7139acf939bf4bfb56f711281ca /fs | |
parent | c2fdda0dfbe85ad5d68d4799ff7c5af89db8ac19 (diff) |
remove the unused exports of sys_open/sys_read
These exports (which aren't used and which are in fact dangerous to use
because they pretty much form a security hole to use) have been marked
_UNUSED since 2.6.24 with removal in 2.6.25. This patch is their final
departure from the Linux kernel tree.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/open.c | 1 | ||||
-rw-r--r-- | fs/read_write.c | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode) | |||
1061 | prevent_tail_call(ret); | 1061 | prevent_tail_call(ret); |
1062 | return ret; | 1062 | return ret; |
1063 | } | 1063 | } |
1064 | EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */ | ||
1065 | 1064 | ||
1066 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, | 1065 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, |
1067 | int mode) | 1066 | int mode) |
diff --git a/fs/read_write.c b/fs/read_write.c index 1c177f29e1b7..49a98718ecdf 100644 --- a/fs/read_write.c +++ b/fs/read_write.c | |||
@@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count) | |||
366 | 366 | ||
367 | return ret; | 367 | return ret; |
368 | } | 368 | } |
369 | EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */ | ||
370 | 369 | ||
371 | asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count) | 370 | asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count) |
372 | { | 371 | { |