[CVE-2009-0029] System call wrappers part 13

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Heiko Carstens
2009-01-14 14:14:15 +01:00
parent 64fd1de3d8
commit 6a6160a7b5
8 changed files with 20 additions and 22 deletions

View File

@@ -499,8 +499,8 @@ SYSCALL_DEFINE2(removexattr, const char __user *, pathname,
return error;
}
asmlinkage long
sys_lremovexattr(const char __user *pathname, const char __user *name)
SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname,
const char __user *, name)
{
struct path path;
int error;
@@ -517,8 +517,7 @@ sys_lremovexattr(const char __user *pathname, const char __user *name)
return error;
}
asmlinkage long
sys_fremovexattr(int fd, const char __user *name)
SYSCALL_DEFINE2(fremovexattr, int, fd, const char __user *, name)
{
struct file *f;
struct dentry *dentry;