apparmor: add profile and ns params to aa_may_manage_policy()
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:42:52 +0000 (00:42 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:40 +0000 (01:18 -0800)
commit078c73c63fb2878689da334f112507639c72c14f
treea1e4ea3567f70f0863b35faac815e2658af8473e
parentfd2a80438d736012129977bec779db093979057e
apparmor: add profile and ns params to aa_may_manage_policy()

Policy management will be expanded beyond traditional unconfined root.
This will require knowning the profile of the task doing the management
and the ns view.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c
security/apparmor/include/policy.h
security/apparmor/policy.c