1typeattribute lmkd coredomain; 2 3init_daemon_domain(lmkd) 4 5# Set sys.lmk.* properties. 6set_prop(lmkd, system_lmk_prop) 7 8# Set lmkd.* properties. 9set_prop(lmkd, lmkd_prop) 10 11# Get persist.device_config.lmk_native.* properties. 12get_prop(lmkd, device_config_lmkd_native_prop) 13 14allow lmkd fs_bpf:dir search; 15allow lmkd fs_bpf:file read; 16allow lmkd bpfloader:bpf map_read; 17 18neverallow { domain -init -lmkd -vendor_init } lmkd_prop:property_service set; 19