/security/apparmor/ |
D | policy_ns.c | 89 struct aa_ns *ns; in alloc_ns() local 137 void aa_free_ns(struct aa_ns *ns) in aa_free_ns() 164 struct aa_ns *ns = NULL; in aa_findn_ns() local 202 struct aa_ns *ns = view; in __aa_lookupn_ns() local 233 struct aa_ns *ns = NULL; in aa_lookupn_ns() local 245 struct aa_ns *ns; in __aa_create_ns() local 285 struct aa_ns *ns; in __aa_find_or_create_ns() local 310 struct aa_ns *ns; in aa_prepare_ns() local 330 static void destroy_ns(struct aa_ns *ns) in destroy_ns() 360 void __aa_remove_ns(struct aa_ns *ns) in __aa_remove_ns() [all …]
|
D | policy.c | 361 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent() 433 struct aa_profile *aa_lookupn_profile(struct aa_ns *ns, const char *hname, in aa_lookupn_profile() 452 struct aa_profile *aa_lookup_profile(struct aa_ns *ns, const char *hname) in aa_lookup_profile() 461 struct aa_ns *ns; in aa_fqlookupn_profile() local 643 bool policy_view_capable(struct aa_ns *ns) in policy_view_capable() 663 bool policy_admin_capable(struct aa_ns *ns) in policy_admin_capable() 681 int aa_may_manage_policy(struct aa_label *label, struct aa_ns *ns, u32 mask) in aa_may_manage_policy() 797 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace() 861 struct aa_ns *ns = NULL; in aa_replace_profiles() local 1098 struct aa_ns *ns = NULL; in aa_remove_profiles() local
|
D | label.c | 370 struct aa_ns *ns = labels_ns(label); in aa_label_kref() local 1444 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp) in aa_update_label_name() 1476 static inline bool use_label_hname(struct aa_ns *ns, struct aa_label *label, in use_label_hname() 1553 static const char *label_modename(struct aa_ns *ns, struct aa_label *label, in label_modename() 1586 static inline bool display_mode(struct aa_ns *ns, struct aa_label *label, in display_mode() 1623 int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, in aa_label_snxprint() 1687 int aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, in aa_label_asxprint() 1716 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, in aa_label_acntsxprint() 1735 void aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, in aa_label_xaudit() 1765 void aa_label_seq_xprint(struct seq_file *f, struct aa_ns *ns, in aa_label_seq_xprint() [all …]
|
D | apparmorfs.c | 412 loff_t *pos, struct aa_ns *ns) in policy_update() 443 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_load() local 460 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_replace() local 480 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_remove() local 514 struct aa_ns *ns; member 593 void __aa_bump_ns_revision(struct aa_ns *ns) in __aa_bump_ns_revision() 1429 int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata) in __aa_fs_create_rawdata() 1781 struct aa_ns *ns, *parent; in ns_mkdir_op() local 1830 struct aa_ns *ns, *parent; in ns_rmdir_op() local 1876 static void __aa_fs_list_remove_rawdata(struct aa_ns *ns) in __aa_fs_list_remove_rawdata() [all …]
|
D | procattr.c | 35 struct aa_ns *ns = labels_ns(label); in aa_getprocattr() local
|
D | policy_unpack.c | 157 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free() local 957 static int verify_header(struct aa_ext *e, int required, const char **ns) in verify_header() 1175 const char **ns) in aa_unpack()
|
D | domain.c | 389 struct aa_ns *ns, struct list_head *head, in find_attach() 564 struct aa_ns *ns = profile->ns; in x_to_label() local
|
D | lsm.c | 180 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable() 862 struct aa_ns *ns = aa_get_current_ns(); in apparmor_socket_post_create() local
|
/security/keys/ |
D | persistent.c | 20 static int key_create_persistent_register(struct user_namespace *ns) in key_create_persistent_register() 40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() 73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() 131 struct user_namespace *ns = current_user_ns(); in keyctl_get_persistent() local
|
D | keyring.c | 57 void key_free_user_ns(struct user_namespace *ns) in key_free_user_ns() 109 struct user_namespace *ns = current_user_ns(); in keyring_publish_name() local 1143 struct user_namespace *ns = current_user_ns(); in find_keyring_by_name() local
|
/security/selinux/ |
D | netif.c | 52 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn() 67 static inline struct sel_netif *sel_netif_find(const struct net *ns, in sel_netif_find() 132 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow() 191 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid() 217 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
|
/security/tomoyo/ |
D | common.c | 347 void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns) in tomoyo_init_policy_namespace() 491 (struct tomoyo_policy_namespace *ns, const unsigned int profile) in tomoyo_assign_profile() 534 struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns, in tomoyo_profile() 747 struct tomoyo_policy_namespace *ns = in tomoyo_read_profile() local 1126 static int tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, in tomoyo_write_domain2() 1175 struct tomoyo_policy_namespace *ns; in tomoyo_write_domain() local 1799 struct tomoyo_policy_namespace *ns = in tomoyo_read_group() local 1858 struct tomoyo_policy_namespace *ns = in tomoyo_read_policy() local 1918 struct tomoyo_policy_namespace *ns = in tomoyo_read_exception() local 2542 struct list_head *ns; in tomoyo_set_namespace_cursor() local [all …]
|
D | domain.c | 344 (const struct tomoyo_policy_namespace *ns, in tomoyo_transition_type() 441 struct tomoyo_policy_namespace *ns; in tomoyo_find_namespace() local
|
D | audit.c | 328 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, in tomoyo_get_audit()
|
D | gc.c | 528 struct tomoyo_policy_namespace *ns; in tomoyo_collect_entry() local
|
D | util.c | 992 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
|
D | common.h | 686 struct tomoyo_policy_namespace *ns; member 783 struct tomoyo_policy_namespace *ns; member 802 struct list_head *ns; member 822 struct tomoyo_policy_namespace *ns; member
|
/security/apparmor/include/ |
D | policy_ns.h | 112 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns() 126 static inline void aa_put_ns(struct aa_ns *ns) in aa_put_ns()
|
D | cred.h | 179 struct aa_ns *ns; in aa_get_current_ns() local
|
D | policy_unpack.h | 63 struct aa_ns *ns; member
|
D | policy.h | 133 struct aa_ns *ns; member
|
D | audit.h | 143 const char *ns; member
|
/security/safesetid/ |
D | lsm.c | 91 struct user_namespace *ns, in safesetid_security_capable()
|
/security/ |
D | commoncap.c | 69 struct user_namespace *ns = targ_ns; in cap_capable() local 333 struct user_namespace *ns; in rootid_owns_currentns() local
|
/security/selinux/include/ |
D | objsec.h | 84 struct net *ns; /* network namespace */ member
|