summaryrefslogtreecommitdiffstats
path: root/fs/utimes.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:32 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:30 +0100
commit6559eed8ca7db0531a207cd80be5e28cd6f213c5 (patch)
tree08d7a42d9eb8e7e9b7aa6930a07f1acecb35a282 /fs/utimes.c
parent2e4d0924eb0c403ce4014fa139d1d61bf2c44fee (diff)
downloadlinux-stable-6559eed8ca7db0531a207cd80be5e28cd6f213c5.tar.gz
linux-stable-6559eed8ca7db0531a207cd80be5e28cd6f213c5.tar.bz2
linux-stable-6559eed8ca7db0531a207cd80be5e28cd6f213c5.zip
[CVE-2009-0029] System call wrappers part 30
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/utimes.c')
-rw-r--r--fs/utimes.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/utimes.c b/fs/utimes.c
index ee853615798a..e4c75db5d373 100644
--- a/fs/utimes.c
+++ b/fs/utimes.c
@@ -170,7 +170,8 @@ out:
return error;
}
-asmlinkage long sys_utimensat(int dfd, char __user *filename, struct timespec __user *utimes, int flags)
+SYSCALL_DEFINE4(utimensat, int, dfd, char __user *, filename,
+ struct timespec __user *, utimes, int, flags)
{
struct timespec tstimes[2];
@@ -187,7 +188,8 @@ asmlinkage long sys_utimensat(int dfd, char __user *filename, struct timespec __
return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags);
}
-asmlinkage long sys_futimesat(int dfd, char __user *filename, struct timeval __user *utimes)
+SYSCALL_DEFINE3(futimesat, int, dfd, char __user *, filename,
+ struct timeval __user *, utimes)
{
struct timeval times[2];
struct timespec tstimes[2];