Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 14 of 14) sorted by relevance

/security/apparmor/
Dpolicy.c278 struct aa_namespace *ns; in alloc_namespace() local
322 static void free_namespace(struct aa_namespace *ns) in free_namespace()
374 struct aa_namespace *ns = NULL; in aa_find_namespace() local
391 struct aa_namespace *ns, *root; in aa_prepare_namespace() local
551 static void destroy_namespace(struct aa_namespace *ns) in destroy_namespace()
572 static void __remove_namespace(struct aa_namespace *ns) in __remove_namespace()
604 struct aa_namespace *ns, *tmp; in __ns_list_release() local
631 struct aa_namespace *ns = root_ns; in aa_free_root_ns() local
835 static struct aa_policy *__lookup_parent(struct aa_namespace *ns, in __lookup_parent()
898 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *hname) in aa_lookup_profile()
[all …]
Ddomain.c102 struct aa_namespace *ns, in change_profile_perms()
179 static struct aa_profile *find_attach(struct aa_namespace *ns, in find_attach()
248 struct aa_namespace *ns = profile->ns; in x_table_lookup() local
310 struct aa_namespace *ns = profile->ns; in x_to_profile() local
347 struct aa_namespace *ns; in apparmor_bprm_set_creds() local
755 struct aa_namespace *ns = NULL; in aa_change_profile() local
Dprocattr.c42 struct aa_namespace *ns = profile->ns; in aa_getprocattr() local
Dpolicy_unpack.c627 static int verify_header(struct aa_ext *e, const char **ns) in verify_header()
704 struct aa_profile *aa_unpack(void *udata, size_t size, const char **ns) in aa_unpack()
Dlsm.c139 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable()
/security/tomoyo/
Dcommon.c343 void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns) in tomoyo_init_policy_namespace()
485 (struct tomoyo_policy_namespace *ns, const unsigned int profile) in tomoyo_assign_profile()
527 struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns, in tomoyo_profile()
731 struct tomoyo_policy_namespace *ns = in tomoyo_read_profile() local
1112 static int tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, in tomoyo_write_domain2()
1161 struct tomoyo_policy_namespace *ns; in tomoyo_write_domain() local
1756 struct tomoyo_policy_namespace *ns = in tomoyo_read_group() local
1812 struct tomoyo_policy_namespace *ns = in tomoyo_read_policy() local
1869 struct tomoyo_policy_namespace *ns = in tomoyo_read_exception() local
2486 struct list_head *ns; in tomoyo_set_namespace_cursor() local
[all …]
Ddomain.c332 (const struct tomoyo_policy_namespace *ns, in tomoyo_transition_type()
425 struct tomoyo_policy_namespace *ns; in tomoyo_find_namespace() local
Daudit.c314 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, in tomoyo_get_audit()
Dgc.c514 struct tomoyo_policy_namespace *ns; in tomoyo_collect_entry() local
Dutil.c977 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
Dcommon.h682 struct tomoyo_policy_namespace *ns; member
778 struct tomoyo_policy_namespace *ns; member
797 struct list_head *ns; member
817 struct tomoyo_policy_namespace *ns; member
/security/apparmor/include/
Dpolicy.h181 struct aa_namespace *ns; member
229 static inline struct aa_namespace *aa_get_namespace(struct aa_namespace *ns) in aa_get_namespace()
243 static inline void aa_put_namespace(struct aa_namespace *ns) in aa_put_namespace()
/security/
Dsecurity.c180 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable()
186 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit()
/security/selinux/
Dhooks.c1986 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()