patch-2.1.100 linux/kernel/signal.c
Next file: linux/kernel/sys.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed May  6 10:56:06 1998
-  Orig file: 
v2.1.99/linux/kernel/signal.c
-  Orig date: 
Tue Apr 14 14:29:26 1998
diff -u --recursive --new-file v2.1.99/linux/kernel/signal.c linux/kernel/signal.c
@@ -235,7 +235,7 @@
 	    && ((sig != SIGCONT) || (current->session != t->session))
 	    && (current->euid ^ t->suid) && (current->euid ^ t->uid)
 	    && (current->uid ^ t->suid) && (current->uid ^ t->uid)
-	    && !suser())
+	    && !capable(CAP_SYS_ADMIN))
 		goto out_nolock;
 
 	/* The null signal is a permissions and process existance probe.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov