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
2cd9c9bd
Commit
2cd9c9bd
authored
10 years ago
by
Andres Morales
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Typedef+rules for SysSer to access persistent block device"
parents
d3356826
d8447fdf
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
device.te
+3
-0
3 additions, 0 deletions
device.te
system_server.te
+5
-0
5 additions, 0 deletions
system_server.te
with
8 additions
and
0 deletions
device.te
+
3
−
0
View file @
2cd9c9bd
...
...
@@ -64,3 +64,6 @@ type rpmsg_device, dev_type;
# Partition layout block device
type root_block_device, dev_type;
# Persistent data block device
type persistent_data_block_device, dev_type;
This diff is collapsed.
Click to expand it.
system_server.te
+
5
−
0
View file @
2cd9c9bd
...
...
@@ -380,6 +380,11 @@ allow system_server keystore:keystore_key {
clear_uid
};
# Allow system server to search and write to the persistent data block device
# This block device does not get wiped in a factory reset.
allow system_server persistent_data_block_device:blk_file rw_file_perms;
allow system_server block_device:dir search;
###
### 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