Merge "refactor: get_prop(bpfdomain, bpf_progs_loaded_prop)"

This commit is contained in:
Treehugger Robot 2023-01-13 11:27:11 +00:00 committed by Gerrit Code Review
commit c8882d3e23
3 changed files with 4 additions and 4 deletions

View file

@ -19,3 +19,7 @@ allow bpfdomain fs_bpf:dir search;
# so let's allow all bpffs_type's instead,
# this will keep things working even if this is fixed.
allow bpfdomain bpffs_type:lnk_file read;
# Needed for //frameworks/libs/net:
# common/native/bpf_headers/include/bpf/WaitForProgsLoaded.h
get_prop(bpfdomain, bpf_progs_loaded_prop)

View file

@ -59,9 +59,6 @@ allow gpuservice fs_bpf:file { read write };
# Needed for enabling bpf programs and accessing bpf maps (read-only and read/write).
allow gpuservice bpfloader:bpf { map_read map_write prog_run };
# Needed for getting a prop to ensure bpf programs loaded.
get_prop(gpuservice, bpf_progs_loaded_prop)
add_service(gpuservice, gpu_service)
# Only uncomment below line when in development

View file

@ -23,7 +23,6 @@ set_prop(netd, ctl_mdnsd_prop)
set_prop(netd, netd_stable_secret_prop)
get_prop(netd, adbd_config_prop)
get_prop(netd, bpf_progs_loaded_prop)
get_prop(netd, hwservicemanager_prop)
get_prop(netd, device_config_netd_native_prop)