Home
last modified time | relevance | path

Searched refs:fmode (Results 1 – 2 of 2) sorted by relevance

/security/
Dsecurity.c2407 int security_bpf_map(struct bpf_map *map, fmode_t fmode) in security_bpf_map() argument
2409 return call_int_hook(bpf_map, 0, map, fmode); in security_bpf_map()
/security/selinux/
Dhooks.c6769 static u32 bpf_map_fmode_to_av(fmode_t fmode) in bpf_map_fmode_to_av() argument
6773 if (fmode & FMODE_READ) in bpf_map_fmode_to_av()
6775 if (fmode & FMODE_WRITE) in bpf_map_fmode_to_av()
6815 static int selinux_bpf_map(struct bpf_map *map, fmode_t fmode) in selinux_bpf_map() argument
6823 bpf_map_fmode_to_av(fmode), NULL); in selinux_bpf_map()