Home
last modified time | relevance | path

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

12

/security/apparmor/
A Dpolicy_ns.c107 struct aa_ns *ns; in alloc_ns() local
148 void aa_free_ns(struct aa_ns *ns) in aa_free_ns()
176 struct aa_ns *ns = view; in __aa_lookupn_ns() local
207 struct aa_ns *ns = NULL; in aa_lookupn_ns() local
219 struct aa_ns *ns; in __aa_create_ns() local
259 struct aa_ns *ns; in __aa_find_or_create_ns() local
284 struct aa_ns *ns; in aa_prepare_ns() local
304 static void destroy_ns(struct aa_ns *ns) in destroy_ns()
334 void __aa_remove_ns(struct aa_ns *ns) in __aa_remove_ns()
350 struct aa_ns *ns, *tmp; in __ns_list_release() local
[all …]
A Dpolicy.c477 static struct aa_policy *__lookup_parent(struct aa_ns *ns, in __lookup_parent()
511 static struct aa_policy *__create_missing_ancestors(struct aa_ns *ns, in __create_missing_ancestors()
621 struct aa_ns *ns; in aa_fqlookupn_profile() local
847 struct aa_label *label, struct aa_ns *ns) in aa_policy_view_capable()
867 struct aa_label *label, struct aa_ns *ns) in aa_policy_admin_capable()
880 bool aa_current_policy_view_capable(struct aa_ns *ns) in aa_current_policy_view_capable()
892 bool aa_current_policy_admin_capable(struct aa_ns *ns) in aa_current_policy_admin_capable()
914 struct aa_ns *ns, u32 mask) in aa_may_manage_policy()
1029 static int __lookup_replace(struct aa_ns *ns, const char *hname, in __lookup_replace()
1093 struct aa_ns *ns = NULL; in aa_replace_profiles() local
[all …]
A Dapparmorfs.c415 loff_t *pos, struct aa_ns *ns) in policy_update()
518 struct aa_ns *ns; member
597 void __aa_bump_ns_revision(struct aa_ns *ns) in __aa_bump_ns_revision()
1809 struct aa_ns *ns, *parent; in ns_mkdir_op() local
1859 struct aa_ns *ns, *parent; in ns_rmdir_op() local
1920 void __aafs_ns_rmdir(struct aa_ns *ns) in __aafs_ns_rmdir()
2134 struct aa_ns *ns) in __first_profile()
2159 struct aa_ns *ns = p->ns; in __next_profile() local
2246 struct aa_ns *ns = f->private; in p_next() local
2262 struct aa_ns *root = f->private, *ns; in p_stop() local
[all …]
A Dlabel.c379 struct aa_ns *ns = labels_ns(label); in aa_label_kref() local
1543 static const char *label_modename(struct aa_ns *ns, struct aa_label *label, in label_modename()
1576 static inline bool display_mode(struct aa_ns *ns, struct aa_label *label, in display_mode()
1613 int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, in aa_label_snxprint()
1706 int aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, in aa_label_acntsxprint()
1725 void aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, in aa_label_xaudit()
1755 void aa_label_seq_xprint(struct seq_file *f, struct aa_ns *ns, in aa_label_seq_xprint()
1779 void aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags, in aa_label_xprintk()
1804 struct aa_ns *ns = aa_get_current_ns(); in aa_label_printk() local
2096 static void __labelset_update(struct aa_ns *ns) in __labelset_update()
[all …]
A Dprocattr.c33 struct aa_ns *ns = labels_ns(label); in aa_getprocattr() local
A Dpolicy_unpack.c119 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free() local
1164 static int verify_header(struct aa_ext *e, int required, const char **ns) in verify_header()
1457 const char **ns) in aa_unpack()
A Ddomain.c390 struct aa_ns *ns, struct list_head *head, in find_attach()
576 struct aa_ns *ns = profile->ns; in x_to_label() local
/security/keys/
A Dpersistent.c20 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
A Dkeyring.c57 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
1146 struct user_namespace *ns = current_user_ns(); in find_keyring_by_name() local
/security/selinux/
A Dnetif.c52 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()
195 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid()
221 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
/security/tomoyo/
A Dcommon.c339 void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns) in tomoyo_init_policy_namespace()
483 (struct tomoyo_policy_namespace *ns, const unsigned int profile) in tomoyo_assign_profile()
526 struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns, in tomoyo_profile()
739 struct tomoyo_policy_namespace *ns = in tomoyo_read_profile() local
1118 static int tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, in tomoyo_write_domain2()
1167 struct tomoyo_policy_namespace *ns; in tomoyo_write_domain() local
1791 struct tomoyo_policy_namespace *ns = in tomoyo_read_group() local
1850 struct tomoyo_policy_namespace *ns = in tomoyo_read_policy() local
1910 struct tomoyo_policy_namespace *ns = in tomoyo_read_exception() local
2643 struct list_head *ns; in tomoyo_set_namespace_cursor() local
[all …]
A Ddomain.c344 (const struct tomoyo_policy_namespace *ns, in tomoyo_transition_type()
441 struct tomoyo_policy_namespace *ns; in tomoyo_find_namespace() local
A Daudit.c328 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, in tomoyo_get_audit()
A Dgc.c528 struct tomoyo_policy_namespace *ns; in tomoyo_collect_entry() local
A Dutil.c992 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
A Dcommon.h686 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/
A Dpolicy_ns.h110 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns()
124 static inline void aa_put_ns(struct aa_ns *ns) in aa_put_ns()
A Dcred.h202 struct aa_ns *ns; in aa_get_current_ns() local
A Dpolicy_unpack.h104 struct aa_ns *ns; member
A Dapparmorfs.h127 static inline int __aa_fs_create_rawdata(struct aa_ns *ns, in __aa_fs_create_rawdata()
A Dpolicy.h238 struct aa_ns *ns; member
A Daudit.h152 const char *ns; member
/security/safesetid/
A Dlsm.c92 struct user_namespace *ns, in safesetid_security_capable()
/security/
A Dcommoncap.c73 struct user_namespace *ns = target_ns; in cap_capable_helper() local
363 struct user_namespace *ns; in rootid_owns_currentns() local
/security/selinux/include/
A Dobjsec.h107 const struct net *ns; /* network namespace */ member

Completed in 69 milliseconds

12