Searched refs:fmode (Results 1 – 2 of 2) sorted by relevance
2617 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument2619 return call_int_hook(bpf_map, 0, map, fmode); in security_bpf_map()
6944 static u32 bpf_map_fmode_to_av(fmode_t fmode) in bpf_map_fmode_to_av() argument6948 if (fmode & FMODE_READ) in bpf_map_fmode_to_av()6950 if (fmode & FMODE_WRITE) in bpf_map_fmode_to_av()6990 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument6998 bpf_map_fmode_to_av(fmode), NULL); in selinux_bpf_map()