Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
0ae4509c
Commit
0ae4509c
authored
7 years ago
by
Chenbo Feng
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
sepolicy: allow netd to write to qtaguid file
am:
185941aa
Change-Id: Ib52fb4ba1d269f7bb10bac5c9ab6caef1b59e3cd
parents
cec8b2cd
185941aa
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/netd.te
+5
-0
5 additions, 0 deletions
public/netd.te
with
5 additions
and
0 deletions
public/netd.te
+
5
−
0
View file @
0ae4509c
...
@@ -33,6 +33,11 @@ allow netd devpts:chr_file rw_file_perms;
...
@@ -33,6 +33,11 @@ allow netd devpts:chr_file rw_file_perms;
# Acquire advisory lock on /system/etc/xtables.lock
# Acquire advisory lock on /system/etc/xtables.lock
allow netd system_file:file 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)
r_dir_file(netd, proc_net)
# For /proc/sys/net/ipv[46]/route/flush.
# For /proc/sys/net/ipv[46]/route/flush.
allow netd proc_net:file rw_file_perms;
allow netd proc_net:file rw_file_perms;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment