diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:14:17 -0500 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:15:24 -0500 |
commit | a26eab2400f0477bfac0255600552394855016f7 (patch) | |
tree | f5554eddf4928cc83e572c15c0b314daaa7cba66 /fs/open.c | |
parent | 3480b25743cb7404928d57efeaa3d085708b04c2 (diff) |
[CVE-2009-0029] System call wrappers part 15
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
@@ -594,7 +594,7 @@ out: | |||
594 | return error; | 594 | return error; |
595 | } | 595 | } |
596 | 596 | ||
597 | asmlinkage long sys_fchmod(unsigned int fd, mode_t mode) | 597 | SYSCALL_DEFINE2(fchmod, unsigned int, fd, mode_t, mode) |
598 | { | 598 | { |
599 | struct inode * inode; | 599 | struct inode * inode; |
600 | struct dentry * dentry; | 600 | struct dentry * dentry; |
@@ -658,7 +658,7 @@ out: | |||
658 | return error; | 658 | return error; |
659 | } | 659 | } |
660 | 660 | ||
661 | asmlinkage long sys_chmod(const char __user *filename, mode_t mode) | 661 | SYSCALL_DEFINE2(chmod, const char __user *, filename, mode_t, mode) |
662 | { | 662 | { |
663 | return sys_fchmodat(AT_FDCWD, filename, mode); | 663 | return sys_fchmodat(AT_FDCWD, filename, mode); |
664 | } | 664 | } |