Skip to content
Snippets Groups Projects
Commit b34480dc authored by Yongqin Liu's avatar Yongqin Liu
Browse files

init.te: allow writting to /proc/sys/vm/overcommit_memory


Since there is "write /proc/sys/vm/overcommit_memory 1" line in init.rc

Change-Id: I5899d2802e7fa56b438a06d4cadb4eb6827bfe16
Signed-off-by: default avatarYongqin Liu <yongqin.liu@linaro.org>
parent bc1986fb
No related branches found
No related tags found
No related merge requests found
......@@ -324,6 +324,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)
###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment