Searched refs:fmode (Results 1 – 2 of 2) sorted by relevance
1723 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument1725 return call_int_hook(bpf_map, 0, map, fmode); in security_bpf_map()
6328 static u32 bpf_map_fmode_to_av(fmode_t fmode) in bpf_map_fmode_to_av() argument6332 if (fmode & FMODE_READ) in bpf_map_fmode_to_av()6334 if (fmode & FMODE_WRITE) in bpf_map_fmode_to_av()6372 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument6379 bpf_map_fmode_to_av(fmode), NULL); in selinux_bpf_map()