aboutsummaryrefslogtreecommitdiffstats
path: root/fs/stat.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:14:32 -0500
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:15:30 -0500
commit6559eed8ca7db0531a207cd80be5e28cd6f213c5 (patch)
tree08d7a42d9eb8e7e9b7aa6930a07f1acecb35a282 /fs/stat.c
parent2e4d0924eb0c403ce4014fa139d1d61bf2c44fee (diff)
[CVE-2009-0029] System call wrappers part 30
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/stat.c')
-rw-r--r--fs/stat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/stat.c b/fs/stat.c
index d712a0dfb50f..2db740a0cfb5 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -260,8 +260,8 @@ SYSCALL_DEFINE2(newlstat, char __user *, filename, struct stat __user *, statbuf
260} 260}
261 261
262#if !defined(__ARCH_WANT_STAT64) || defined(__ARCH_WANT_SYS_NEWFSTATAT) 262#if !defined(__ARCH_WANT_STAT64) || defined(__ARCH_WANT_SYS_NEWFSTATAT)
263asmlinkage long sys_newfstatat(int dfd, char __user *filename, 263SYSCALL_DEFINE4(newfstatat, int, dfd, char __user *, filename,
264 struct stat __user *statbuf, int flag) 264 struct stat __user *, statbuf, int, flag)
265{ 265{
266 struct kstat stat; 266 struct kstat stat;
267 int error = -EINVAL; 267 int error = -EINVAL;
@@ -293,8 +293,8 @@ SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf)
293 return error; 293 return error;
294} 294}
295 295
296asmlinkage long sys_readlinkat(int dfd, const char __user *pathname, 296SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname,
297 char __user *buf, int bufsiz) 297 char __user *, buf, int, bufsiz)
298{ 298{
299 struct path path; 299 struct path path;
300 int error; 300 int error;
@@ -400,8 +400,8 @@ SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf)
400 return error; 400 return error;
401} 401}
402 402
403asmlinkage long sys_fstatat64(int dfd, char __user *filename, 403SYSCALL_DEFINE4(fstatat64, int, dfd, char __user *, filename,
404 struct stat64 __user *statbuf, int flag) 404 struct stat64 __user *, statbuf, int, flag)
405{ 405{
406 struct kstat stat; 406 struct kstat stat;
407 int error = -EINVAL; 407 int error = -EINVAL;