/linux-4.4.14/mm/ |
H A D | interval_tree.c | 62 static inline unsigned long avc_start_pgoff(struct anon_vma_chain *avc) avc_start_pgoff() argument 64 return vma_start_pgoff(avc->vma); avc_start_pgoff() 67 static inline unsigned long avc_last_pgoff(struct anon_vma_chain *avc) avc_last_pgoff() argument 69 return vma_last_pgoff(avc->vma); avc_last_pgoff()
|
H A D | rmap.c | 133 struct anon_vma_chain *avc, anon_vma_chain_link() 136 avc->vma = vma; anon_vma_chain_link() 137 avc->anon_vma = anon_vma; anon_vma_chain_link() 138 list_add(&avc->same_vma, &vma->anon_vma_chain); anon_vma_chain_link() 139 anon_vma_interval_tree_insert(avc, &anon_vma->rb_root); anon_vma_chain_link() 172 struct anon_vma_chain *avc; anon_vma_prepare() local 179 avc = anon_vma_chain_alloc(GFP_KERNEL); anon_vma_prepare() 180 if (!avc) anon_vma_prepare() 197 anon_vma_chain_link(vma, avc, anon_vma); anon_vma_prepare() 201 avc = NULL; anon_vma_prepare() 208 if (unlikely(avc)) anon_vma_prepare() 209 anon_vma_chain_free(avc); anon_vma_prepare() 214 anon_vma_chain_free(avc); anon_vma_prepare() 259 struct anon_vma_chain *avc, *pavc; anon_vma_clone() local 265 avc = anon_vma_chain_alloc(GFP_NOWAIT | __GFP_NOWARN); anon_vma_clone() 266 if (unlikely(!avc)) { anon_vma_clone() 269 avc = anon_vma_chain_alloc(GFP_KERNEL); anon_vma_clone() 270 if (!avc) anon_vma_clone() 275 anon_vma_chain_link(dst, avc, anon_vma); anon_vma_clone() 313 struct anon_vma_chain *avc; anon_vma_fork() local 340 avc = anon_vma_chain_alloc(GFP_KERNEL); anon_vma_fork() 341 if (!avc) anon_vma_fork() 359 anon_vma_chain_link(vma, avc, anon_vma); anon_vma_fork() 374 struct anon_vma_chain *avc, *next; unlink_anon_vmas() local 381 list_for_each_entry_safe(avc, next, &vma->anon_vma_chain, same_vma) { unlink_anon_vmas() 382 struct anon_vma *anon_vma = avc->anon_vma; unlink_anon_vmas() 385 anon_vma_interval_tree_remove(avc, &anon_vma->rb_root); unlink_anon_vmas() 396 list_del(&avc->same_vma); unlink_anon_vmas() 397 anon_vma_chain_free(avc); unlink_anon_vmas() 408 list_for_each_entry_safe(avc, next, &vma->anon_vma_chain, same_vma) { unlink_anon_vmas() 409 struct anon_vma *anon_vma = avc->anon_vma; unlink_anon_vmas() 414 list_del(&avc->same_vma); unlink_anon_vmas() 415 anon_vma_chain_free(avc); unlink_anon_vmas() 1583 struct anon_vma_chain *avc; rmap_walk_anon() local 1591 anon_vma_interval_tree_foreach(avc, &anon_vma->rb_root, pgoff, pgoff) { rmap_walk_anon() 1592 struct vm_area_struct *vma = avc->vma; rmap_walk_anon() 132 anon_vma_chain_link(struct vm_area_struct *vma, struct anon_vma_chain *avc, struct anon_vma *anon_vma) anon_vma_chain_link() argument
|
H A D | mmap.c | 445 struct anon_vma_chain *avc; validate_mm() local 449 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) validate_mm() 450 anon_vma_interval_tree_verify(avc); validate_mm() 539 struct anon_vma_chain *avc; anon_vma_interval_tree_pre_update_vma() local 541 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) anon_vma_interval_tree_pre_update_vma() 542 anon_vma_interval_tree_remove(avc, &avc->anon_vma->rb_root); anon_vma_interval_tree_pre_update_vma() 548 struct anon_vma_chain *avc; anon_vma_interval_tree_post_update_vma() local 550 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) anon_vma_interval_tree_post_update_vma() 551 anon_vma_interval_tree_insert(avc, &avc->anon_vma->rb_root); anon_vma_interval_tree_post_update_vma() 3216 struct anon_vma_chain *avc; mm_take_all_locks() local 3233 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) mm_take_all_locks() 3234 vm_lock_anon_vma(mm, avc->anon_vma); mm_take_all_locks() 3287 struct anon_vma_chain *avc; mm_drop_all_locks() local 3294 list_for_each_entry(avc, &vma->anon_vma_chain, same_vma) mm_drop_all_locks() 3295 vm_unlock_anon_vma(avc->anon_vma); mm_drop_all_locks()
|
H A D | huge_memory.c | 1906 struct anon_vma_chain *avc; __split_huge_page() local 1912 anon_vma_interval_tree_foreach(avc, &anon_vma->rb_root, pgoff, pgoff) { __split_huge_page() 1913 struct vm_area_struct *vma = avc->vma; __split_huge_page() 1937 anon_vma_interval_tree_foreach(avc, &anon_vma->rb_root, pgoff, pgoff) { __split_huge_page() 1938 struct vm_area_struct *vma = avc->vma; __split_huge_page()
|
/linux-4.4.14/security/selinux/ |
H A D | Makefile | 7 selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o netif.o \
|
H A D | avc.c | 33 #include "avc.h" 630 printk(KERN_WARNING "SELinux: avc: seqno %d < latest_notif %d\n", avc_latest_notif_update() 714 audit_log_format(ab, "avc: %s ", avc_audit_pre_callback() 740 /* This is the slow part of avc audit with big stack footprint */ slow_avc_audit() 998 * The avc extended permissions logic adds an additional 256 bits of 999 * permissions to an avc node when extended permissions for that node are 1185 * possible that it is about to use the avc and is about to need the avc_disable()
|
H A D | xfrm.c | 48 #include "avc.h"
|
H A D | selinuxfs.c | 38 #include "avc.h" 1795 dentry = sel_make_dir(sb->s_root, "avc", &sel_last_ino); sel_fill_super()
|
H A D | hooks.c | 87 #include "avc.h" 6222 /* Try to destroy the avc node cache */ selinux_disable()
|
/linux-4.4.14/security/selinux/ss/ |
H A D | status.c | 16 #include "avc.h" 34 * avc, if needed.
|
H A D | avtab.h | 54 * For operations that require more than the 32 permissions provided by the avc
|
H A D | services.c | 58 #include "avc.h"
|
/linux-4.4.14/include/linux/ |
H A D | lsm_audit.h | 3 * Heavily borrowed from selinux/avc.h
|
H A D | mm.h | 1859 #define anon_vma_interval_tree_foreach(avc, root, start, last) \ 1860 for (avc = anon_vma_interval_tree_iter_first(root, start, last); \ 1861 avc; avc = anon_vma_interval_tree_iter_next(avc, start, last))
|
/linux-4.4.14/security/selinux/include/ |
H A D | netlabel.h | 37 #include "avc.h"
|
H A D | objsec.h | 29 #include "avc.h"
|
H A D | avc.h | 182 /* Attempt to free avc node cache */
|
/linux-4.4.14/drivers/media/firewire/ |
H A D | firedtv.h | 113 /* firedtv-avc.c */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | audit.h | 114 #define AUDIT_AVC 1400 /* SE Linux avc denial or grant */ 116 #define AUDIT_AVC_PATH 1402 /* dentry, vfsmount pair from avc */
|