Merge "bpfloader: use kernel logs" am: 2e468b48c5
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1975407 Change-Id: Ica35494fc1df34ebb9ccfd82c2aa1d5e658e4463
This commit is contained in:
commit
46f9d2ebc4
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ type bpfloader, domain;
|
|||
type bpfloader_exec, system_file_type, exec_type, file_type;
|
||||
typeattribute bpfloader coredomain;
|
||||
|
||||
# allow bpfloader to write to the kernel log (starts early)
|
||||
allow bpfloader kmsg_device:chr_file w_file_perms;
|
||||
|
||||
# These permissions are required to pin ebpf maps & programs.
|
||||
allow bpfloader { fs_bpf fs_bpf_tethering }:dir { add_name create search write };
|
||||
allow bpfloader { fs_bpf fs_bpf_tethering }:file { create read setattr };
|
||||
|
|
Loading…
Reference in a new issue