View | Details | Raw Unified | Return to bug 9247 | Differences between
and this patch

Collapse All | Expand All

(-)a/security/commoncap.c (-1 / +4 lines)
Lines 24-29 Link Here
24
#include <linux/hugetlb.h>
24
#include <linux/hugetlb.h>
25
#include <linux/mount.h>
25
#include <linux/mount.h>
26
#include <linux/sched.h>
26
#include <linux/sched.h>
27
#include <linux/pid_namespace.h>
27
28
28
#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
29
#ifdef CONFIG_SECURITY_FILE_CAPABILITIES
29
/*
30
/*
Lines 539-544 int cap_task_kill(struct task_struct *p, struct siginfo *info, Link Here
539
	if (capable(CAP_KILL))
540
	if (capable(CAP_KILL))
540
		return 0;
541
		return 0;
541
542
543
	if (sig == SIGCONT && (task_session_nr(current)==task_session_nr(p)))
544
		return 0;
545
542
	return -EPERM;
546
	return -EPERM;
543
}
547
}
544
#else
548
#else
545
- 

Return to bug 9247