Searched refs:orig (Results 1 – 11 of 11) sorted by relevance
| /security/selinux/ss/ |
| A D | hashtab.c | 140 int hashtab_duplicate(struct hashtab *new, const struct hashtab *orig, in hashtab_duplicate() argument 142 const struct hashtab_node *orig, void *args), in hashtab_duplicate() argument 152 new->htable = kcalloc(orig->size, sizeof(*new->htable), GFP_KERNEL); in hashtab_duplicate() 156 new->size = orig->size; in hashtab_duplicate() 158 for (i = 0; i < orig->size; i++) { in hashtab_duplicate() 160 for (orig_cur = orig->htable[i]; orig_cur; in hashtab_duplicate()
|
| A D | conditional.c | 601 const struct cond_av_list *orig, in cond_dup_av_list() argument 612 for (i = 0; i < orig->len; i++) { in cond_dup_av_list() 614 avtab, &orig->nodes[i]->key, &orig->nodes[i]->datum); in cond_dup_av_list() 682 const struct hashtab_node *orig, void *args) in cond_bools_copy() argument 691 new->key = orig->key; /* No need to copy, never modified */ in cond_bools_copy() 708 const struct policydb *orig) in duplicate_policydb_bools() argument 713 cond_bool_array = kmalloc_array(orig->p_bools.nprim, in duplicate_policydb_bools() 714 sizeof(*orig->bool_val_to_struct), in duplicate_policydb_bools() 729 newdb->p_bools.nprim = orig->p_bools.nprim; in duplicate_policydb_bools() 745 if (duplicate_policydb_bools(new, orig)) in cond_policydb_dup() [all …]
|
| A D | hashtab.h | 139 int hashtab_duplicate(struct hashtab *new, const struct hashtab *orig, 141 const struct hashtab_node *orig, void *args),
|
| A D | conditional.h | 82 int cond_policydb_dup(struct policydb *new, const struct policydb *orig);
|
| A D | avtab.h | 93 int avtab_alloc_dup(struct avtab *new, const struct avtab *orig);
|
| A D | avtab.c | 286 int avtab_alloc_dup(struct avtab *new, const struct avtab *orig) in avtab_alloc_dup() argument 288 return avtab_alloc_common(new, orig->nslot); in avtab_alloc_dup()
|
| /security/ |
| A D | device_cgroup.c | 62 static int dev_exceptions_copy(struct list_head *dest, struct list_head *orig) in dev_exceptions_copy() argument 68 list_for_each_entry(ex, orig, list) { in dev_exceptions_copy() 85 static void dev_exceptions_move(struct list_head *dest, struct list_head *orig) in dev_exceptions_move() argument 91 list_for_each_entry_safe(ex, tmp, orig, list) { in dev_exceptions_move()
|
| /security/selinux/ |
| A D | avc.c | 837 struct avc_node *pos, *node, *orig = NULL; in avc_update_node() local 860 orig = pos; in avc_update_node() 865 if (!orig) { in avc_update_node() 875 avc_node_populate(node, ssid, tsid, tclass, &orig->ae.avd); in avc_update_node() 877 if (orig->ae.xp_node) { in avc_update_node() 878 rc = avc_xperms_populate(node, orig->ae.xp_node); in avc_update_node() 915 avc_node_replace(node, orig); in avc_update_node()
|
| A D | hooks.c | 3130 int orig, iter; in task_avdcache_search() local 3142 orig = iter = tsec->avdcache.dir_spot; in task_avdcache_search() 3151 } while (iter != orig); in task_avdcache_search()
|
| /security/apparmor/ |
| A D | label.c | 73 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new) in __aa_proxy_redirect() argument 77 AA_BUG(!orig); in __aa_proxy_redirect() 79 lockdep_assert_held_write(&labels_set(orig)->lock); in __aa_proxy_redirect() 81 tmp = rcu_dereference_protected(orig->proxy->label, in __aa_proxy_redirect() 82 &labels_ns(orig)->lock); in __aa_proxy_redirect() 83 rcu_assign_pointer(orig->proxy->label, aa_get_label(new)); in __aa_proxy_redirect() 84 orig->flags |= FLAG_STALE; in __aa_proxy_redirect()
|
| /security/apparmor/include/ |
| A D | label.h | 457 void __aa_proxy_redirect(struct aa_label *orig, struct aa_label *new);
|
Completed in 34 milliseconds