]> err.no Git - linux-2.6/commit
root_plug: use cap_task_prctl
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 28 Apr 2008 09:13:42 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:27 +0000 (08:58 -0700)
commit55d00ccfb336b4f85a476a24e18c17b2eaff919e
tree5be259b88f5cfe17206ad20dcb11929dd4a40781
parentc60264c494a119cd3a716a22edc0137b11de6d1e
root_plug: use cap_task_prctl

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

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/root_plug.c