summaryrefslogtreecommitdiff
path: root/fs/open.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:16 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:24 +0100
commit3480b25743cb7404928d57efeaa3d085708b04c2 (patch)
tree14d7b42301f2e76cea6772c446f3ee920b29a1b6 /fs/open.c
parent6a6160a7b5c27b3c38651baef92a14fa7072b3c1 (diff)
downloadlwn-3480b25743cb7404928d57efeaa3d085708b04c2.tar.gz
lwn-3480b25743cb7404928d57efeaa3d085708b04c2.zip
[CVE-2009-0029] System call wrappers part 14
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index 322bb60d168c..9b926de6ed9c 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -569,7 +569,7 @@ out:
return error;
}
-asmlinkage long sys_chroot(const char __user * filename)
+SYSCALL_DEFINE1(chroot, const char __user *, filename)
{
struct path path;
int error;