blob: 2be7f8874d496ee604c139d9c815d15c91b4ad42 [file] [log] [blame]
Steven Moreland65981752022-02-10 00:32:44 +00001# platform should have ownership of network attachpoints for BPF
2neverallow {
3 bpfdomain
4 -bpfloader
5 -netd
6 -netutils_wrapper
7 -network_stack
8 -system_server
9} self:global_capability_class_set { net_admin net_raw };
10
11# any domain which uses bpf is a bpfdomain
12neverallow { domain -bpfdomain } *:bpf *;
13
Stephane Leeb30e8882022-03-21 17:31:14 -070014allow bpfdomain fs_bpf:dir search;