VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Heiko Carstens <heiko.carstens@de.ibm.com> 2009-01-14 14:14:15 +0100 committer: Heiko Carstens <heiko.carstens@de.ibm.com> 2009-01-14 14:15:23 +0100 commit: 6a6160a7b5c27b3c38651baef92a14fa7072b3c1 parent: 64fd1de3d821659ac0a3004fd5ee1de59e64af30
Commit Summary:
[CVE-2009-0029] System call wrappers part 13
Diffstat:
1 file 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,
 	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;