diff options
author | John Johansen <john.johansen@canonical.com> | 2017-07-31 17:36:45 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-05-02 00:48:55 -0700 |
commit | c092921219d227b13cb80dbecd3545ee66ab89b3 (patch) | |
tree | 9047e3ecae86ec35208de3a2f60ed31f3c7a3e1b /security/apparmor/include/label.h | |
parent | 552c69b36ebd966186573b9c7a286b390935cce1 (diff) | |
download | linux-c092921219d227b13cb80dbecd3545ee66ab89b3.tar.gz |
apparmor: add support for mapping secids and using secctxes
Use a radix tree to provide a map between the secid and the label,
and along with it a basic ability to provide secctx conversion.
Shared/cached secctx will be added later.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/label.h')
-rw-r--r-- | security/apparmor/include/label.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/label.h b/security/apparmor/include/label.h index d871e7ff0952..7ce5fe73ae7f 100644 --- a/security/apparmor/include/label.h +++ b/security/apparmor/include/label.h @@ -281,7 +281,7 @@ void __aa_labelset_update_subtree(struct aa_ns *ns); void aa_label_free(struct aa_label *label); void aa_label_kref(struct kref *kref); -bool aa_label_init(struct aa_label *label, int size); +bool aa_label_init(struct aa_label *label, int size, gfp_t gfp); struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp); bool aa_label_is_subset(struct aa_label *set, struct aa_label *sub); |