summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-01-16 00:42:23 -0800
committerJohn Johansen <john.johansen@canonical.com>2017-01-16 01:18:21 -0800
commit3b0aaf5866bf92a3e47627a02ed5e1be6d7cc110 (patch)
treec5f553daf1818a2e2c0527d86cd549e04b4ba8ef /security/apparmor/include
parent9a2d40c12d00ead1b1a3ac8383d2d66e35674fdb (diff)
downloadtalos-obmc-linux-3b0aaf5866bf92a3e47627a02ed5e1be6d7cc110.tar.gz
talos-obmc-linux-3b0aaf5866bf92a3e47627a02ed5e1be6d7cc110.zip
apparmor: add lib fn to find the "split" for fqnames
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r--security/apparmor/include/lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/include/lib.h b/security/apparmor/include/lib.h
index 74cc68ea4c12..4699c2b43fa0 100644
--- a/security/apparmor/include/lib.h
+++ b/security/apparmor/include/lib.h
@@ -38,6 +38,8 @@ extern int apparmor_initialized __initdata;
/* fn's in lib */
char *aa_split_fqname(char *args, char **ns_name);
+const char *aa_splitn_fqname(const char *fqname, size_t n, const char **ns_name,
+ size_t *ns_len);
void aa_info_message(const char *str);
void *__aa_kvmalloc(size_t size, gfp_t flags);
OpenPOWER on IntegriCloud