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

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

Advertisement

Kernel v2.6.24.4-rc3 /security/commoncap.c

Filename:/security/commoncap.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24.4-rc2  2.6.24.4-rc1  2.6.24-git22  2.6.24-git21  2.6.24-git20  2.6.24-git19 
(Following) 2.6.24.4  2.6.24.5-rc1  2.6.24.5-rc2  2.6.24.5  2.6.24.6  2.6.24.7 

Location
[  2.6.24.4-rc3
  [  security
     o  commoncap.c

Patch

diff --git a/security/commoncap.c b/security/commoncap.c
index ea61bc7..e87422e 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -539,7 +539,7 @@ int cap_task_kill(struct task_struct *p, struct siginfo *info,
     * allowed.
     * We must preserve legacy signal behavior in this case.
     */
-   if (p->euid == 0 && p->uid == current->uid)
+   if (p->uid == current->uid)
       return 0;
 
    /* sigcont is permitted within same session */


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