Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3287629e authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds
Browse files

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: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c2fdda0d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -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)
{