blob: d299bd8798c91b95ecd293b8ba8d653392f40e6a [file] [log] [blame]
Hung Nguyen9c7d3062024-11-05 15:50:00 -08001# mmd memory management daemon
2type mmd, domain;
3typeattribute mmd coredomain;
4type mmd_exec, system_file_type, exec_type, file_type;
5
6init_daemon_domain(mmd)
7
Shintaro Kawamura9444dab2024-11-22 14:05:05 +09008# Set mmd.enabled_aconfig properties.
9set_prop(mmd, mmd_prop)
Shintaro Kawamura81c4bae2024-11-22 17:37:03 +090010get_prop(mmd, device_config_mmd_native_prop)
Shintaro Kawamura9444dab2024-11-22 14:05:05 +090011
Hung Nguyen9c7d3062024-11-05 15:50:00 -080012# mmd binder setup
13add_service(mmd, mmd_service)
14binder_use(mmd)
Shintaro Kawamura2712c902024-11-21 11:59:17 +090015
16# zram sysfs access
17allow mmd sysfs_zram:dir search;
18allow mmd sysfs_zram:file rw_file_perms;
19
20# procfs
21allow mmd proc_meminfo:file r_file_perms;