Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.100 /kernel/signal.c

Filename:/kernel/signal.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.1.96  2.1.90  2.1.89  2.1.82  2.1.73  2.1.71 
(Following) 2.1.106  2.1.107  2.1.111  2.1.117  2.1.118  2.1.122 

Location
[  2.1.100
  [  kernel
     o  signal.c

Patch

diff -u --recursive --new-file v2.1.99/linux/kernel/signal.c linux/kernel/signal.c
--- v2.1.99/linux/kernel/signal.c   Tue Apr 14 14:29:26 1998
+++ linux/kernel/signal.c   Wed May  6 10:56:06 1998
@@ -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.


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.