]> bbs.cooldavid.org Git - net-next-2.6.git/commit
AppArmor: userspace interfaces
authorJohn Johansen <john.johansen@canonical.com>
Thu, 29 Jul 2010 21:48:03 +0000 (14:48 -0700)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:35:13 +0000 (15:35 +1000)
commit63e2b423771ab0bc7ad4d407f3f6517c6d05cdc0
treee50efc9593c7558d3700ec55869f9ddbac283a1d
parente06f75a6a2b43bd3a7a197bd21466f9da130e4af
AppArmor: userspace interfaces

The /proc/<pid>/attr/* interface is used for process introspection and
commands.  While the apparmorfs interface is used for global introspection
and loading and removing policy.

The interface currently only contains the files necessary for loading
policy, and will be extended in the future to include sysfs style
single per file introspection inteface.

The old AppArmor 2.4 interface files have been removed into a compatibility
patch, that distros can use to maintain backwards compatibility.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/apparmor/apparmorfs.c [new file with mode: 0644]
security/apparmor/include/apparmorfs.h [new file with mode: 0644]
security/apparmor/include/procattr.h [new file with mode: 0644]
security/apparmor/procattr.c [new file with mode: 0644]