From: Davi Arnaut Signed-off-by: Davi Arnaut Cc: Michael Halcrow Cc: Chris Wright Cc: Stephen Smalley Cc: James Morris Cc: Serge Hallyn Signed-off-by: Andrew Morton --- security/seclvl.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN security/seclvl.c~bug-fixes-and-cleanup-for-the-bsd-secure-levels-lsm-fix security/seclvl.c --- devel/security/seclvl.c~bug-fixes-and-cleanup-for-the-bsd-secure-levels-lsm-fix 2006-01-22 22:52:15.000000000 -0800 +++ devel-akpm/security/seclvl.c 2006-01-22 22:52:15.000000000 -0800 @@ -303,7 +303,7 @@ static int seclvl_ptrace(struct task_str */ static int seclvl_capable(struct task_struct *tsk, int cap) { - int rc = -EPERM; + int rc = 0; /* init can do anything it wants */ if (tsk->pid == 1) _