X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=security%2Fcommoncap.c;h=bb0c095f5761c7bfc23b4f1782a504a40c8322e4;hb=b8488fbe6d2f32ff4ad2f8f348a50e42389fc727;hp=5aba82679a0bb9e5506628c9190846a1134707e7;hpb=4f4ae0d42680889c62db4e1f3e6b4aa7787a7257;p=~andy%2Flinux diff --git a/security/commoncap.c b/security/commoncap.c index 5aba82679a0..bb0c095f576 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -552,7 +552,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 */