AppArmor: export known rlimit names/value mappings in securityfs
authorKees Cook <kees@ubuntu.com>
Fri, 27 Jan 2012 00:29:23 +0000 (16:29 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 27 Feb 2012 19:38:19 +0000 (11:38 -0800)
commitd384b0a1a35f87f0ad70c29518f98f922b1c15cb
tree42560d316dffc636a424e7fa8173400723dcc4e7
parenta9bf8e9fd561ba9ff1f0f2a1d96e439fcedaaaa4
AppArmor: export known rlimit names/value mappings in securityfs

Since the parser needs to know which rlimits are known to the kernel,
export the list via a mask file in the "rlimit" subdirectory in the
securityfs "features" directory.

Signed-off-by: Kees Cook <kees@ubuntu.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/Makefile
security/apparmor/apparmorfs.c
security/apparmor/include/resource.h
security/apparmor/resource.c