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
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
69dc2641
Commit
69dc2641
authored
6 years ago
by
Paul Crowley
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Abolish calls to shell in vold"
parents
b3b8e5f5
f9f75394
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/vold.te
+2
-2
2 additions, 2 deletions
private/vold.te
public/vold.te
+0
-3
0 additions, 3 deletions
public/vold.te
with
2 additions
and
5 deletions
private/vold.te
+
2
−
2
View file @
69dc2641
...
@@ -8,8 +8,8 @@ domain_auto_trans(vold, sdcardd_exec, sdcardd);
...
@@ -8,8 +8,8 @@ domain_auto_trans(vold, sdcardd_exec, sdcardd);
# For a handful of probing tools, we choose an even more restrictive
# For a handful of probing tools, we choose an even more restrictive
# domain when working with untrusted block devices
# domain when working with untrusted block devices
domain_trans(vold,
shell
_exec, blkid);
domain_trans(vold,
blkid
_exec, blkid);
domain_trans(vold,
shell
_exec, blkid_untrusted);
domain_trans(vold,
blkid
_exec, blkid_untrusted);
domain_trans(vold, fsck_exec, fsck);
domain_trans(vold, fsck_exec, fsck);
domain_trans(vold, fsck_exec, fsck_untrusted);
domain_trans(vold, fsck_exec, fsck_untrusted);
...
...
This diff is collapsed.
Click to expand it.
public/vold.te
+
0
−
3
View file @
69dc2641
...
@@ -31,9 +31,6 @@ allow vold file_contexts_file:file r_file_perms;
...
@@ -31,9 +31,6 @@ allow vold file_contexts_file:file r_file_perms;
# Allow us to jump into execution domains of above tools
# Allow us to jump into execution domains of above tools
allow vold self:process setexec;
allow vold self:process setexec;
# For sgdisk launched through popen()
allow vold shell_exec:file rx_file_perms;
# For formatting adoptable storage devices
# For formatting adoptable storage devices
allow vold e2fs_exec:file rx_file_perms;
allow vold e2fs_exec:file rx_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