Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
caf0139b
Commit
caf0139b
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
Change-Id: I7502e6ff1e45c12340b9f830bcc245fd2c80996e
parents
324e6ef5
1d401545
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show 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 @
caf0139b
...
@@ -105,6 +105,7 @@ full_treble_only(`
...
@@ -105,6 +105,7 @@ full_treble_only(`
-adbd
-adbd
-init
-init
-mediaprovider
-mediaprovider
-system_server
} functionfs:file no_rw_file_perms;
} functionfs:file no_rw_file_perms;
# usbfs and binfmt_miscfs
# usbfs and binfmt_miscfs
...
...
This diff is collapsed.
Click to expand it.
private/system_server.te
+
4
−
0
View file @
caf0139b
...
@@ -761,6 +761,10 @@ userdebug_or_eng(`
...
@@ -761,6 +761,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