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)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:23:42 +0000 (13:23 -0700)
commit79ab52abe2164b2e91b3476395baf8d67eec60e0
tree1fbaac34c784866f0af3a0a3be0cf1f1a533d3e3
parent29e5197b9069de644872d5c8dfe1934998f4b02f
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>
(cherry picked from commit d384b0a1a35f87f0ad70c29518f98f922b1c15cb)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/Makefile
security/apparmor/apparmorfs.c
security/apparmor/include/resource.h
security/apparmor/resource.c