From 5939d48b57e26c5d45e1c2229debc61cfb5c377e Mon Sep 17 00:00:00 2001 From: "Serge E. Hallyn" Date: Sat, 23 Feb 2008 15:23:33 -0800 Subject: [PATCH] --- yaml --- r: 86210 b: refs/heads/master c: 094972840f2e7c1c6fc9e1a97d817cc17085378e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/security/commoncap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index db604b899272..d907f3102acb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e5df70ab194543522397fa3da8c8f80564a0f7d3 +refs/heads/master: 094972840f2e7c1c6fc9e1a97d817cc17085378e diff --git a/trunk/security/commoncap.c b/trunk/security/commoncap.c index 5aba82679a0b..bb0c095f5761 100644 --- a/trunk/security/commoncap.c +++ b/trunk/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 */