Skip to content
Snippets Groups Projects
Commit 0ae4509c authored by Chenbo Feng's avatar Chenbo Feng Committed by android-build-merger
Browse files

sepolicy: allow netd to write to qtaguid file

am: 185941aa

Change-Id: Ib52fb4ba1d269f7bb10bac5c9ab6caef1b59e3cd
parents cec8b2cd 185941aa
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,11 @@ allow netd devpts:chr_file rw_file_perms;
# Acquire advisory lock on /system/etc/xtables.lock
allow netd system_file:file lock;
# Allow netd to write to qtaguid ctrl file. This is the same privilege level that normal apps have
# TODO: Add proper rules to prevent other process to access qtaguid_proc file after migration
# complete
allow netd qtaguid_proc:file rw_file_perms;
r_dir_file(netd, proc_net)
# For /proc/sys/net/ipv[46]/route/flush.
allow netd proc_net:file rw_file_perms;
......
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