aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xattr.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:14:15 -0500
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 08:15:23 -0500
commit6a6160a7b5c27b3c38651baef92a14fa7072b3c1 (patch)
treea4a7640bd12611c445dfc013f69ce307674d1b13 /fs/xattr.c
parent64fd1de3d821659ac0a3004fd5ee1de59e64af30 (diff)
[CVE-2009-0029] System call wrappers part 13
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/xattr.c')
-rw-r--r--fs/xattr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xattr.c b/fs/xattr.c
index 0367a5dae2b8..197c4fcac032 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -499,8 +499,8 @@ SYSCALL_DEFINE2(removexattr, const char __user *, pathname,
499 return error; 499 return error;
500} 500}
501 501
502asmlinkage long 502SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname,
503sys_lremovexattr(const char __user *pathname, const char __user *name) 503 const char __user *, name)
504{ 504{
505 struct path path; 505 struct path path;
506 int error; 506 int error;
@@ -517,8 +517,7 @@ sys_lremovexattr(const char __user *pathname, const char __user *name)
517 return error; 517 return error;
518} 518}
519 519
520asmlinkage long 520SYSCALL_DEFINE2(fremovexattr, int, fd, const char __user *, name)
521sys_fremovexattr(int fd, const char __user *name)
522{ 521{
523 struct file *f; 522 struct file *f;
524 struct dentry *dentry; 523 struct dentry *dentry;