Home
last modified time | relevance | path

Searched refs:avc (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/security/selinux/
Davc.c96 void selinux_avc_init(struct selinux_avc **avc) in selinux_avc_init() argument
107 *avc = &selinux_avc; in selinux_avc_init()
110 unsigned int avc_get_cache_threshold(struct selinux_avc *avc) in avc_get_cache_threshold() argument
112 return avc->avc_cache_threshold; in avc_get_cache_threshold()
115 void avc_set_cache_threshold(struct selinux_avc *avc, in avc_set_cache_threshold() argument
118 avc->avc_cache_threshold = cache_threshold; in avc_set_cache_threshold()
222 int avc_get_hash_stats(struct selinux_avc *avc, char *page) in avc_get_hash_stats() argument
233 head = &avc->avc_cache.slots[i]; in avc_get_hash_stats()
248 atomic_read(&avc->avc_cache.active_nodes), in avc_get_hash_stats()
510 static void avc_node_delete(struct selinux_avc *avc, struct avc_node *node) in avc_node_delete() argument
[all …]
DMakefile8 selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o netif.o \
DKconfig80 /selinux/avc/cache_stats, which may be monitored via
Dselinuxfs.c179 avc_ss_reset(state->avc, 0); in sel_write_enforce()
1425 avc_get_cache_threshold(state->avc)); in sel_read_avc_cache_threshold()
1462 avc_set_cache_threshold(state->avc, new_value); in sel_write_avc_cache_threshold()
1482 length = avc_get_hash_stats(state->avc, page); in sel_read_avc_hash_stats()
Dhooks.c7152 selinux_avc_init(&selinux_state.avc); in selinux_init()
/Linux-v4.19/mm/
Drmap.c138 struct anon_vma_chain *avc, in anon_vma_chain_link() argument
141 avc->vma = vma; in anon_vma_chain_link()
142 avc->anon_vma = anon_vma; in anon_vma_chain_link()
143 list_add(&avc->same_vma, &vma->anon_vma_chain); in anon_vma_chain_link()
144 anon_vma_interval_tree_insert(avc, &anon_vma->rb_root); in anon_vma_chain_link()
179 struct anon_vma_chain *avc; in __anon_vma_prepare() local
183 avc = anon_vma_chain_alloc(GFP_KERNEL); in __anon_vma_prepare()
184 if (!avc) in __anon_vma_prepare()
201 anon_vma_chain_link(vma, avc, anon_vma); in __anon_vma_prepare()
205 avc = NULL; in __anon_vma_prepare()
[all …]
Dinterval_tree.c62 static inline unsigned long avc_start_pgoff(struct anon_vma_chain *avc) in avc_start_pgoff() argument
64 return vma_start_pgoff(avc->vma); in avc_start_pgoff()
67 static inline unsigned long avc_last_pgoff(struct anon_vma_chain *avc) in avc_last_pgoff() argument
69 return vma_last_pgoff(avc->vma); in avc_last_pgoff()
Dmmap.c370 struct anon_vma_chain *avc; in validate_mm() local
374 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in validate_mm()
375 anon_vma_interval_tree_verify(avc); in validate_mm()
484 struct anon_vma_chain *avc; in anon_vma_interval_tree_pre_update_vma() local
486 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in anon_vma_interval_tree_pre_update_vma()
487 anon_vma_interval_tree_remove(avc, &avc->anon_vma->rb_root); in anon_vma_interval_tree_pre_update_vma()
493 struct anon_vma_chain *avc; in anon_vma_interval_tree_post_update_vma() local
495 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) in anon_vma_interval_tree_post_update_vma()
496 anon_vma_interval_tree_insert(avc, &avc->anon_vma->rb_root); in anon_vma_interval_tree_post_update_vma()
3492 struct anon_vma_chain *avc; in mm_take_all_locks() local
[all …]
/Linux-v4.19/security/selinux/include/
Davc.h182 int avc_get_hash_stats(struct selinux_avc *avc, char *page);
183 unsigned int avc_get_cache_threshold(struct selinux_avc *avc);
184 void avc_set_cache_threshold(struct selinux_avc *avc,
Davc_ss.h13 int avc_ss_reset(struct selinux_avc *avc, u32 seqno);
Dsecurity.h107 struct selinux_avc *avc; member
112 void selinux_avc_init(struct selinux_avc **avc);
/Linux-v4.19/drivers/media/firewire/
DMakefile3 firedtv-y += firedtv-avc.o firedtv-ci.o firedtv-dvb.o firedtv-fe.o firedtv-fw.o
/Linux-v4.19/include/linux/
Dmm.h2213 #define anon_vma_interval_tree_foreach(avc, root, start, last) \ argument
2214 for (avc = anon_vma_interval_tree_iter_first(root, start, last); \
2215 avc; avc = anon_vma_interval_tree_iter_next(avc, start, last))
/Linux-v4.19/Documentation/translations/zh_CN/
Dcoding-style.rst587 logging of avc messages output). Does not do system-call
/Linux-v4.19/security/selinux/ss/
Dservices.c2153 avc_ss_reset(state->avc, seqno); in security_load_policy()
2235 avc_ss_reset(state->avc, seqno); in security_load_policy()
2910 avc_ss_reset(state->avc, seqno); in security_set_bools()
/Linux-v4.19/Documentation/process/
Dcoding-style.rst657 logging of avc messages output). Does not do system-call
/Linux-v4.19/init/
DKconfig329 logging of avc messages output). System call auditing is included