the attached patch (against -pre9) fixes a possibly dangerous sys_wait4()
prototype mismatch.
Ingo
--- linux/include/linux/sched.h.orig Mon Jan 22 17:28:36 2001
+++ linux/include/linux/sched.h Mon Jan 22 17:29:17 2001
@@ -563,6 +563,7 @@
#define wake_up_interruptible_all(x) __wake_up((x),TASK_INTERRUPTIBLE, 0)
#define wake_up_interruptible_sync(x) __wake_up_sync((x),TASK_INTERRUPTIBLE, 1)
#define wake_up_interruptible_sync_nr(x) __wake_up_sync((x),TASK_INTERRUPTIBLE, nr)
+asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct
+rusage * ru);
extern int in_group_p(gid_t);
extern int in_egroup_p(gid_t);
--- linux/arch/i386/kernel/signal.c.orig Mon Jan 22 17:28:25 2001
+++ linux/arch/i386/kernel/signal.c Mon Jan 22 17:28:31 2001
@@ -26,8 +26,6 @@
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
-asmlinkage int sys_wait4(pid_t pid, unsigned long *stat_addr,
- int options, unsigned long *ru);
asmlinkage int FASTCALL(do_signal(struct pt_regs *regs, sigset_t *oldset));
int copy_siginfo_to_user(siginfo_t *to, siginfo_t *from)