smack: use cap_task_prctl
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 28 Apr 2008 09:13:43 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:27 +0000 (08:58 -0700)
commit1236cc3cf8c69bd316c940b2e94f91b3795f97fe
treec33374ffa89d34f901d91888851970071700c38d
parent30aa4faf62b2dd9b239ae06ca7a85f1d36d7ef25
smack: use cap_task_prctl

With the introduction of per-process securebits, the capabilities-related
prctl callbacks were moved into cap_task_prctl().  Have smack use
cap_task_prctl() so that PR_SET_KEEPCAPS is defined.

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/smack/smack_lsm.c