mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Acked-by: Casey Schaufler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
30aa4faf62
commit
1236cc3cf8
1 changed files with 1 additions and 0 deletions
|
|
@ -2495,6 +2495,7 @@ struct security_operations smack_ops = {
|
|||
.task_wait = smack_task_wait,
|
||||
.task_reparent_to_init = cap_task_reparent_to_init,
|
||||
.task_to_inode = smack_task_to_inode,
|
||||
.task_prctl = cap_task_prctl,
|
||||
|
||||
.ipc_permission = smack_ipc_permission,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue