]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/exit.c
[CVE-2009-0029] System call wrappers part 02
[karo-tx-linux.git] / kernel / exit.c
index c7740fa3252cb0ab24d8f07bd89acf47006c3d60..fac9b040af2cbdfa9ee742457b7f76b7454d0629 100644 (file)
@@ -1182,9 +1182,11 @@ do_group_exit(int exit_code)
  * wait4()-ing process will get the correct exit code - even if this
  * thread is not the thread group leader.
  */
-asmlinkage void sys_exit_group(int error_code)
+asmlinkage long sys_exit_group(int error_code)
 {
        do_group_exit((error_code & 0xff) << 8);
+       /* NOTREACHED */
+       return 0;
 }
 
 static struct pid *task_pid_type(struct task_struct *task, enum pid_type type)