Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 17 of 17) 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
857 static struct aa_policy *__lookup_parent(struct aa_namespace *ns, in __lookup_parent()
920 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/selinux/
Dnetif.c56 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn()
71 static inline struct sel_netif *sel_netif_find(const struct net *ns, in sel_netif_find()
136 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow()
203 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid()
229 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
Dhooks.c1998 static int selinux_capable(const struct cred *cred, struct user_namespace *ns, in selinux_capable()
4275 static int selinux_inet_sys_rcv_skb(struct net *ns, int ifindex, in selinux_inet_sys_rcv_skb()
/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
1100 static int tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, in tomoyo_write_domain2()
1149 struct tomoyo_policy_namespace *ns; in tomoyo_write_domain() local
1744 struct tomoyo_policy_namespace *ns = in tomoyo_read_group() local
1800 struct tomoyo_policy_namespace *ns = in tomoyo_read_policy() local
1857 struct tomoyo_policy_namespace *ns = in tomoyo_read_exception() local
2474 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.c323 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.c972 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/selinux/include/
Dobjsec.h82 struct net *ns; /* network namespace */ member
/security/
Dcommoncap.c83 struct user_namespace *ns = targ_ns; in cap_capable() local
Dsecurity.c196 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable()
202 int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, in security_capable_noaudit()