/security/apparmor/ |
D | policy.c | 278 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 …]
|
D | domain.c | 102 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
|
D | procattr.c | 42 struct aa_namespace *ns = profile->ns; in aa_getprocattr() local
|
D | policy_unpack.c | 627 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()
|
D | lsm.c | 139 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable()
|
/security/selinux/ |
D | netif.c | 56 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()
|
D | hooks.c | 1998 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/ |
D | common.c | 343 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 …]
|
D | domain.c | 332 (const struct tomoyo_policy_namespace *ns, in tomoyo_transition_type() 425 struct tomoyo_policy_namespace *ns; in tomoyo_find_namespace() local
|
D | audit.c | 323 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, in tomoyo_get_audit()
|
D | gc.c | 514 struct tomoyo_policy_namespace *ns; in tomoyo_collect_entry() local
|
D | util.c | 972 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
|
D | common.h | 682 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/ |
D | policy.h | 181 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/ |
D | objsec.h | 82 struct net *ns; /* network namespace */ member
|
/security/ |
D | commoncap.c | 83 struct user_namespace *ns = targ_ns; in cap_capable() local
|
D | security.c | 196 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()
|