Merge \"init.te: allow writting to /proc/sys/vm/overcommit_memory\"
am: 87f2ca2d43
Change-Id: Ia0ebfddad770c09ded5fecd2273f78d560507e9f
This commit is contained in:
commit
47b12481cd
1 changed files with 3 additions and 0 deletions
3
init.te
3
init.te
|
@ -328,6 +328,9 @@ allow init init:key { write search setattr };
|
|||
# Allow init to create /data/unencrypted
|
||||
allow init unencrypted_data_file:dir create_dir_perms;
|
||||
|
||||
# Allow init to write to /proc/sys/vm/overcommit_memory
|
||||
allow init proc_overcommit_memory:file { write };
|
||||
|
||||
unix_socket_connect(init, vold, vold)
|
||||
|
||||
# Raw writes to misc block device
|
||||
|
|
Loading…
Reference in a new issue