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
a6b8414b
Commit
a6b8414b
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
am:
66adf0cd
Change-Id: I88a90ad2fc9243724e4ddb6f9da469857ffd115b
parents
4eb92dc1
66adf0cd
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 @
a6b8414b
...
@@ -105,7 +105,8 @@ full_treble_only(`
...
@@ -105,7 +105,8 @@ full_treble_only(`
-adbd
-adbd
-init
-init
-mediaprovider
-mediaprovider
}functionfs:file no_rw_file_perms;
-system_server
} functionfs:file no_rw_file_perms;
# usbfs and binfmt_miscfs
# usbfs and binfmt_miscfs
neverallow {
neverallow {
...
...
This diff is collapsed.
Click to expand it.
private/system_server.te
+
4
−
0
View file @
a6b8414b
...
@@ -764,6 +764,10 @@ userdebug_or_eng(`
...
@@ -764,6 +764,10 @@ userdebug_or_eng(`
allow system_server mediaextractor_update_service:service_manager find;
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
### 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