summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/resource.h
diff options
context:
space:
mode:
authorJohn Johansen2017-05-25 15:23:42 +0200
committerJohn Johansen2017-06-08 21:51:52 +0200
commitc97204baf840bf850e14ef4f5f43251239ca43b6 (patch)
treedde99001aa94d9a91fcbdfa36ebb7ca00421936d /security/apparmor/include/resource.h
parentapparmor: add custom apparmorfs that will be used by policy namespace files (diff)
downloadkernel-qcow2-linux-c97204baf840bf850e14ef4f5f43251239ca43b6.tar.gz
kernel-qcow2-linux-c97204baf840bf850e14ef4f5f43251239ca43b6.tar.xz
kernel-qcow2-linux-c97204baf840bf850e14ef4f5f43251239ca43b6.zip
apparmor: rename apparmor file fns and data to indicate use
prefixes are used for fns/data that are not static to apparmorfs.c with the prefixes being aafs - special magic apparmorfs for policy namespace data aa_sfs - for fns/data that go into securityfs aa_fs - for fns/data that may be used in the either of aafs or securityfs Signed-off-by: John Johansen <john.johansen@canonical.com> Reviewed-by: Seth Arnold <seth.arnold@canonical.com> Reviewed-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'security/apparmor/include/resource.h')
-rw-r--r--security/apparmor/include/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/resource.h b/security/apparmor/include/resource.h
index d3f4cf027957..f6289f335c4d 100644
--- a/security/apparmor/include/resource.h
+++ b/security/apparmor/include/resource.h
@@ -34,7 +34,7 @@ struct aa_rlimit {
struct rlimit limits[RLIM_NLIMITS];
};
-extern struct aa_fs_entry aa_fs_entry_rlimit[];
+extern struct aa_sfs_entry aa_sfs_entry_rlimit[];
int aa_map_resource(int resource);
int aa_task_setrlimit(struct aa_profile *profile, struct task_struct *,