Skip to contentSkip to conversation

compat_sys_wait4() prototype misannotation

PATCH New Al Viro 1 participant 1 message Mar 29, 2008

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 compat_sys_wait4() prototype misannotation

---
 include/linux/compat.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/linux/compat.h +2 -2
index a671dbf..8fa7857 100644
@@ -192,8 +192,8 @@ asmlinkage long compat_sys_select(int n, compat_ulong_t __user *inp,
 		struct compat_timeval __user *tvp);
 
 asmlinkage long compat_sys_wait4(compat_pid_t pid,
-				 compat_uint_t *stat_addr, int options,
-				 struct compat_rusage *ru);
+				 compat_uint_t __user *stat_addr, int options,
+				 struct compat_rusage __user *ru);
 
 #define BITS_PER_COMPAT_LONG    (8*sizeof(compat_long_t))
 
Signature · 1 line
1.5.3.GIT