diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:14:22 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:15:26 +0100 |
commit | 3cdad42884bbd95d5aa01297e8236ea1bad70053 (patch) | |
tree | 169b8958b56d5c39a4f437d041baf0412bb53b96 /fs/open.c | |
parent | 003d7ab479168132a2b2c6700fe682b08f08ab0c (diff) | |
download | op-kernel-dev-3cdad42884bbd95d5aa01297e8236ea1bad70053.zip op-kernel-dev-3cdad42884bbd95d5aa01297e8236ea1bad70053.tar.gz |
[CVE-2009-0029] System call wrappers part 20
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -522,7 +522,7 @@ SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) return sys_faccessat(AT_FDCWD, filename, mode); } -asmlinkage long sys_chdir(const char __user * filename) +SYSCALL_DEFINE1(chdir, const char __user *, filename) { struct path path; int error; @@ -543,7 +543,7 @@ out: return error; } -asmlinkage long sys_fchdir(unsigned int fd) +SYSCALL_DEFINE1(fchdir, unsigned int, fd) { struct file *file; struct inode *inode; |