apparmor: add ns being viewed as a param to policy_admin_capable()
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:42:51 +0000 (00:42 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:40 +0000 (01:18 -0800)
commitfd2a80438d736012129977bec779db093979057e
treee3d544c4617f91a39b953f7ffa93f7fda662bc3b
parent2bd8dbbf22fe9eb2a99273436f815d49ceb23a8f
apparmor: add ns being viewed as a param to policy_admin_capable()

Prepare for a tighter pairing of user namespaces and apparmor policy
namespaces, by making the ns to be viewed available.

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