Searched refs:view (Results 1 – 5 of 5) sorted by relevance
| /security/apparmor/ |
| A D | policy_ns.c | 40 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument 42 if (curr == view) in aa_ns_visible() 48 for ( ; view; view = view->parent) { in aa_ns_visible() 49 if (view->parent == curr) in aa_ns_visible() 64 const char *aa_ns_name(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_name() argument 67 if (curr == view) in aa_ns_name() 70 if (aa_ns_visible(curr, view, subns)) { in aa_ns_name() 77 return view->base.hname + strlen(curr->base.hname) + 2; in aa_ns_name() 176 struct aa_ns *ns = view; in __aa_lookupn_ns() 205 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n) in aa_lookupn_ns() argument [all …]
|
| A D | label.c | 1502 static int aa_profile_snxprint(char *str, size_t size, struct aa_ns *view, in aa_profile_snxprint() argument 1511 if (!view) in aa_profile_snxprint() 1512 view = profiles_ns(profile); in aa_profile_snxprint() 1514 if (view != profile->ns && in aa_profile_snxprint() 1518 ns_name = aa_ns_name(view, profile->ns, in aa_profile_snxprint()
|
| /security/apparmor/include/ |
| A D | policy_ns.h | 84 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns); 90 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n); 91 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n);
|
| A D | policy.h | 283 ssize_t aa_replace_profiles(struct aa_ns *view, struct aa_label *label, 285 ssize_t aa_remove_profiles(struct aa_ns *view, struct aa_label *label,
|
| A D | label.h | 297 int aa_label_snxprint(char *str, size_t size, struct aa_ns *view,
|
Completed in 13 milliseconds