Searched refs:fmode (Results 1 – 2 of 2) sorted by relevance
2616 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument2618 return call_int_hook(bpf_map, 0, map, fmode); in security_bpf_map()
6940 static u32 bpf_map_fmode_to_av(fmode_t fmode) in bpf_map_fmode_to_av() argument6944 if (fmode & FMODE_READ) in bpf_map_fmode_to_av()6946 if (fmode & FMODE_WRITE) in bpf_map_fmode_to_av()6986 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument6994 bpf_map_fmode_to_av(fmode), NULL); in selinux_bpf_map()