]> git.baikalelectronics.ru Git - kernel.git/commit
capabitlies: ns_capable can use the cap helpers rather than lsm call
authorEric Paris <eparis@redhat.com>
Tue, 3 Jan 2012 17:25:15 +0000 (12:25 -0500)
committerEric Paris <eparis@redhat.com>
Thu, 5 Jan 2012 23:52:58 +0000 (18:52 -0500)
commit7ae3e7b2fb536c12e1146449eaa0da91bdc2b46f
treea24f4739d1063b96789770fbc463069d96bde2f8
parent922046ce581d60c6c1d877924129996b5eb2061b
capabitlies: ns_capable can use the cap helpers rather than lsm call

Just to reduce the number of places to change if we every change the LSM
hook, use the capability helpers internally when possible.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Serge E. Hallyn <serge.hallyn@canonical.com>
kernel/capability.c