Searched refs:bpfsec (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/security/selinux/ |
H A D | hooks.c | 6807 struct bpf_security_struct *bpfsec; in bpf_fd_pass() local 6814 bpfsec = map->security; in bpf_fd_pass() 6816 sid, bpfsec->sid, SECCLASS_BPF, in bpf_fd_pass() 6822 bpfsec = prog->aux->security; in bpf_fd_pass() 6824 sid, bpfsec->sid, SECCLASS_BPF, in bpf_fd_pass() 6835 struct bpf_security_struct *bpfsec; in selinux_bpf_map() local 6837 bpfsec = map->security; in selinux_bpf_map() 6839 sid, bpfsec->sid, SECCLASS_BPF, in selinux_bpf_map() 6846 struct bpf_security_struct *bpfsec; in selinux_bpf_prog() local 6848 bpfsec in selinux_bpf_prog() 6856 struct bpf_security_struct *bpfsec; selinux_bpf_map_alloc() local 6870 struct bpf_security_struct *bpfsec = map->security; selinux_bpf_map_free() local 6878 struct bpf_security_struct *bpfsec; selinux_bpf_prog_alloc() local 6892 struct bpf_security_struct *bpfsec = aux->security; selinux_bpf_prog_free() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ |
H A D | hooks.c | 6773 struct bpf_security_struct *bpfsec; in bpf_fd_pass() local 6780 bpfsec = map->security; in bpf_fd_pass() 6781 ret = avc_has_perm(sid, bpfsec->sid, SECCLASS_BPF, in bpf_fd_pass() 6787 bpfsec = prog->aux->security; in bpf_fd_pass() 6788 ret = avc_has_perm(sid, bpfsec->sid, SECCLASS_BPF, in bpf_fd_pass() 6799 struct bpf_security_struct *bpfsec; in selinux_bpf_map() local 6801 bpfsec = map->security; in selinux_bpf_map() 6802 return avc_has_perm(sid, bpfsec->sid, SECCLASS_BPF, in selinux_bpf_map() 6809 struct bpf_security_struct *bpfsec; in selinux_bpf_prog() local 6811 bpfsec in selinux_bpf_prog() 6818 struct bpf_security_struct *bpfsec; selinux_bpf_map_alloc() local 6832 struct bpf_security_struct *bpfsec = map->security; selinux_bpf_map_free() local 6840 struct bpf_security_struct *bpfsec; selinux_bpf_prog_alloc() local 6854 struct bpf_security_struct *bpfsec = aux->security; selinux_bpf_prog_free() local [all...] |
Completed in 17 milliseconds