refactor: get_prop(bpfdomain, bpf_progs_loaded_prop)
Based on: cs/p:aosp-master -file:prebuilts/ get_prop.*bpf_progs_loaded_prop Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: If07026b1ea5753a82401a62349c494b4cbf699b6
This commit is contained in:
parent
17ac4a53f8
commit
60f4a34544
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue