diff options
author | 2017-01-16 00:42:24 -0800 | |
---|---|---|
committer | 2017-01-16 01:18:22 -0800 | |
commit | 31617ddfdd7764a5046f076247208aa324458069 (patch) | |
tree | c7338161d7d5fae07b830e5f24c4bae0604b30b4 /security/apparmor/include/policy.h | |
parent | apparmor: add lib fn to find the "split" for fqnames (diff) | |
download | linux-31617ddfdd7764a5046f076247208aa324458069.tar.gz linux-31617ddfdd7764a5046f076247208aa324458069.tar.bz2 linux-31617ddfdd7764a5046f076247208aa324458069.zip |
apparmor: add fn to lookup profiles by fqname
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/policy.h')
-rw-r--r-- | security/apparmor/include/policy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h index c90f4a2ffe57..da62d29d3992 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h @@ -180,6 +180,8 @@ struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name); struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, size_t n); struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *name); +struct aa_profile *aa_fqlookupn_profile(struct aa_profile *base, + const char *fqname, size_t n); struct aa_profile *aa_match_profile(struct aa_ns *ns, const char *name); ssize_t aa_replace_profiles(void *udata, size_t size, bool noreplace); |