apparmor: add proc subdir to attrs
authorJohn Johansen <john.johansen@canonical.com>
Mon, 4 Feb 2019 13:23:14 +0000 (05:23 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 18 Jan 2020 23:38:21 +0000 (15:38 -0800)
commit6413f852ce086c0f95817012c08d481ce24d8b1a
tree687db9de0b06cf7392df4f0d99f309a86ecafded
parentdae6029325a4744e639eb048c13f53c24320aeda
apparmor: add proc subdir to attrs

This patch provides a /proc/<pid>/attr/apparmor/
subdirectory. Enabling userspace to use the apparmor attributes
without having to worry about collisions with selinux or smack on
interface files in /proc/<pid>/attr.

Signed-off-by: John Johansen <john.johansen@canonical.com>
fs/proc/base.c