Skip to content

Commit

Permalink
remove the unused exports of sys_open/sys_read
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arjan van de Ven authored and Linus Torvalds committed Feb 8, 2008
1 parent c2fdda0 commit 3287629
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion fs/open.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode)
prevent_tail_call(ret);
return ret;
}
EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */

asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
int mode)
Expand Down
1 change: 0 additions & 1 deletion fs/read_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count)

return ret;
}
EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */

asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
{
Expand Down

0 comments on commit 3287629

Please sign in to comment.