summaryrefslogtreecommitdiffstats
path: root/fs/stat.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:12 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:22 +0100
commitbdc480e3bef6eb0e7071770834cbdda7e30a5436 (patch)
tree2bfea8d2b61ccedc3edea4f78e3250eea7f770cc /fs/stat.c
parenta5f8fa9e9ba5ef3305e147f41ad6e1e84ac1f0bd (diff)
downloadblackbird-obmc-linux-bdc480e3bef6eb0e7071770834cbdda7e30a5436.tar.gz
blackbird-obmc-linux-bdc480e3bef6eb0e7071770834cbdda7e30a5436.zip
[CVE-2009-0029] System call wrappers part 10
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/stat.c')
-rw-r--r--fs/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/stat.c b/fs/stat.c
index 7e12a6f82795..a1411648048a 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -152,7 +152,7 @@ static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * sta
return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0;
}
-asmlinkage long sys_stat(char __user * filename, struct __old_kernel_stat __user * statbuf)
+SYSCALL_DEFINE2(stat, char __user *, filename, struct __old_kernel_stat __user *, statbuf)
{
struct kstat stat;
int error = vfs_stat_fd(AT_FDCWD, filename, &stat);
OpenPOWER on IntegriCloud