OSDN Git Service

apparmor: audit policy ns specified in policy load
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:42:56 +0000 (00:42 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:43 +0000 (01:18 -0800)
commit04dc715e24d0820bf8740e1a1135ed61fe162bc8
tree9b61af8362cb415447d96c83f179877f7679ff1c
parent5ac8c355ae0013d82b3a07b49aebeadfce9b6e52
apparmor: audit policy ns specified in policy load

Verify that profiles in a load set specify the same policy ns and
audit the name of the policy ns that policy is being loaded for.

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