aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2005-10-30 18:03:44 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 20:37:31 -0500
commitb67a1b9e4bf878aa5d4b6b44cb5a251a2f425f0d (patch)
tree8fa921440476083be42f21ce6d0c4091a3757742 /security
parent3e6716e748609a3a899e8d670e42832921bd45bc (diff)
[PATCH] remove hardcoded SEND_SIG_xxx constants
This patch replaces hardcoded SEND_SIG_xxx constants with their symbolic names. No changes in affected .o files. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/hooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index bb62838be496..295ac472faf1 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2713,8 +2713,8 @@ static int selinux_task_kill(struct task_struct *p, struct siginfo *info, int si
2713 if (rc) 2713 if (rc)
2714 return rc; 2714 return rc;
2715 2715
2716 if (info && ((unsigned long)info == 1 || 2716 if (info != SEND_SIG_NOINFO && (info == SEND_SIG_PRIV ||
2717 (unsigned long)info == 2 || SI_FROMKERNEL(info))) 2717 info == SEND_SIG_FORCED || SI_FROMKERNEL(info)))
2718 return 0; 2718 return 0;
2719 2719
2720 if (!sig) 2720 if (!sig)