Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 7 of 7) sorted by relevance

/security/selinux/
Davc.c823 struct avc_node *pos, *node, *orig = NULL; in avc_update_node() local
846 orig = pos; in avc_update_node()
851 if (!orig) { in avc_update_node()
861 avc_node_populate(node, ssid, tsid, tclass, &orig->ae.avd); in avc_update_node()
863 if (orig->ae.xp_node) { in avc_update_node()
864 rc = avc_xperms_populate(node, orig->ae.xp_node); in avc_update_node()
897 avc_node_replace(node, orig); in avc_update_node()
Dhooks.c2729 static int selinux_sb_copy_data(char *orig, char *copy) in selinux_sb_copy_data() argument
2736 in_curr = orig; in selinux_sb_copy_data()
2747 in_save = in_end = orig; in selinux_sb_copy_data()
/security/apparmor/
Dlabel.c77 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new) in __aa_proxy_redirect() argument
81 AA_BUG(!orig); in __aa_proxy_redirect()
83 AA_BUG(!write_is_locked(&labels_set(orig)->lock)); in __aa_proxy_redirect()
85 tmp = rcu_dereference_protected(orig->proxy->label, in __aa_proxy_redirect()
86 &labels_ns(orig)->lock); in __aa_proxy_redirect()
87 rcu_assign_pointer(orig->proxy->label, aa_get_label(new)); in __aa_proxy_redirect()
88 orig->flags |= FLAG_STALE; in __aa_proxy_redirect()
/security/
Ddevice_cgroup.c68 static int dev_exceptions_copy(struct list_head *dest, struct list_head *orig) in dev_exceptions_copy() argument
74 list_for_each_entry(ex, orig, list) { in dev_exceptions_copy()
Dsecurity.c367 int security_sb_copy_data(char *orig, char *copy) in security_sb_copy_data() argument
369 return call_int_hook(sb_copy_data, 0, orig, copy); in security_sb_copy_data()
/security/apparmor/include/
Dlabel.h440 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);
/security/smack/
Dsmack_lsm.c577 static int smack_sb_copy_data(char *orig, char *smackopts) in smack_sb_copy_data() argument
585 for (cp = orig, commap = orig; commap != NULL; cp = commap + 1) { in smack_sb_copy_data()
608 strcpy(orig, otheropts); in smack_sb_copy_data()