[CVE-2009-0029] System call wrappers part 31
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@@ -177,7 +177,7 @@ static struct file *timerfd_fget(int fd)
|
||||
return file;
|
||||
}
|
||||
|
||||
asmlinkage long sys_timerfd_create(int clockid, int flags)
|
||||
SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags)
|
||||
{
|
||||
int ufd;
|
||||
struct timerfd_ctx *ctx;
|
||||
@@ -208,9 +208,9 @@ asmlinkage long sys_timerfd_create(int clockid, int flags)
|
||||
return ufd;
|
||||
}
|
||||
|
||||
asmlinkage long sys_timerfd_settime(int ufd, int flags,
|
||||
const struct itimerspec __user *utmr,
|
||||
struct itimerspec __user *otmr)
|
||||
SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags,
|
||||
const struct itimerspec __user *, utmr,
|
||||
struct itimerspec __user *, otmr)
|
||||
{
|
||||
struct file *file;
|
||||
struct timerfd_ctx *ctx;
|
||||
|
Reference in New Issue
Block a user