Skip to content
Snippets Groups Projects
Commit 47b12481 authored by Yongqin Liu's avatar Yongqin Liu Committed by android-build-merger
Browse files

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

am: 87f2ca2d

Change-Id: Ia0ebfddad770c09ded5fecd2273f78d560507e9f
parents a86ae374 87f2ca2d
No related branches found
No related tags found
No related merge requests found
...@@ -328,6 +328,9 @@ allow init init:key { write search setattr }; ...@@ -328,6 +328,9 @@ allow init init:key { write search setattr };
# Allow init to create /data/unencrypted # Allow init to create /data/unencrypted
allow init unencrypted_data_file:dir create_dir_perms; 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) unix_socket_connect(init, vold, vold)
# Raw writes to misc block device # Raw writes to misc block device
......
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