Searched refs:fmode (Results 1 – 2 of 2) sorted by relevance
2377 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument2379 return call_int_hook(bpf_map, 0, map, fmode); in security_bpf_map()
6681 static u32 bpf_map_fmode_to_av(fmode_t fmode) in bpf_map_fmode_to_av() argument6685 if (fmode & FMODE_READ) in bpf_map_fmode_to_av()6687 if (fmode & FMODE_WRITE) in bpf_map_fmode_to_av()6727 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument6735 bpf_map_fmode_to_av(fmode), NULL); in selinux_bpf_map()