2017-03-23 22:27:32 +01:00
|
|
|
typeattribute lmkd coredomain;
|
|
|
|
|
2016-07-22 22:13:11 +02:00
|
|
|
init_daemon_domain(lmkd)
|
2020-03-04 09:20:35 +01:00
|
|
|
|
|
|
|
# Set sys.lmk.* properties.
|
|
|
|
set_prop(lmkd, system_lmk_prop)
|
2020-05-05 21:41:02 +02:00
|
|
|
|
|
|
|
# Set lmkd.* properties.
|
|
|
|
set_prop(lmkd, lmkd_prop)
|
|
|
|
|
2021-08-04 21:31:43 +02:00
|
|
|
# Get persist.device_config.lmk_native.* properties.
|
|
|
|
get_prop(lmkd, device_config_lmkd_native_prop)
|
|
|
|
|
2021-05-28 03:22:41 +02:00
|
|
|
allow lmkd fs_bpf:dir search;
|
|
|
|
allow lmkd fs_bpf:file read;
|
|
|
|
allow lmkd bpfloader:bpf map_read;
|
|
|
|
|
2021-03-10 02:42:23 +01:00
|
|
|
neverallow { domain -init -lmkd -vendor_init } lmkd_prop:property_service set;
|