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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
66adf0cd
Commit
66adf0cd
authored
7 years ago
by
Jerry Zhang
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
Add functionfs access to system_server. am:
1d401545
am:
caf0139b
Change-Id: I874a41e0072352f5b8a0fc2b0080913c206520e1
parents
8ded6f42
caf0139b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/domain.te
+2
-1
2 additions, 1 deletion
private/domain.te
private/system_server.te
+4
-0
4 additions, 0 deletions
private/system_server.te
with
6 additions
and
1 deletion
private/domain.te
+
2
−
1
View file @
66adf0cd
...
...
@@ -105,7 +105,8 @@ full_treble_only(`
-adbd
-init
-mediaprovider
}functionfs:file no_rw_file_perms;
-system_server
} functionfs:file no_rw_file_perms;
# usbfs and binfmt_miscfs
neverallow {
...
...
This diff is collapsed.
Click to expand it.
private/system_server.te
+
4
−
0
View file @
66adf0cd
...
...
@@ -761,6 +761,10 @@ userdebug_or_eng(`
allow system_server mediaextractor_update_service:service_manager find;
')
# UsbDeviceManager uses /dev/usb-ffs
allow system_server functionfs:dir search;
allow system_server functionfs:file rw_file_perms;
###
### Neverallow rules
###
...
...
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