blob: 56a119493cb3e7713d1b6c54e7d1eb593e5be3c6 [file] [log] [blame]
Yu-Ting Tseng3e8e8ea2023-09-25 18:42:03 +00001type uprobestats, domain, coredomain;
2
3typeattribute uprobestats bpfdomain;
4
5type uprobestats_exec, system_file_type, exec_type, file_type;
6
Yu-Ting Tseng5e1d7f12023-12-14 19:50:49 +00007# Allow uprobestats to be invoked by statsd.
8domain_auto_trans(statsd, uprobestats_exec, uprobestats)
Yu-Ting Tseng3e8e8ea2023-09-25 18:42:03 +00009
Yu-Ting Tsengbaea6412024-01-16 14:02:59 -080010allow uprobestats fs_bpf_uprobestats:file { read write };
11allow uprobestats fs_bpf_uprobestats:dir search;
Yu-Ting Tseng3e8e8ea2023-09-25 18:42:03 +000012allow uprobestats bpfloader:bpf { map_read map_write prog_run };
13allow uprobestats self:capability2 perfmon;
14allow uprobestats self:perf_event { cpu open write };
15allow uprobestats sysfs_uprobe:file { open read };
16allow uprobestats sysfs_uprobe:dir { search };