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
6991a930
Commit
6991a930
authored
6 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow vendor_init to write to misc_block_device" into pi-dev
parents
e8c2d189
1f6018ea
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/domain.te
+1
-0
1 addition, 0 deletions
public/domain.te
public/vendor_init.te
+3
-0
3 additions, 0 deletions
public/vendor_init.te
with
4 additions
and
0 deletions
public/domain.te
+
1
−
0
View file @
6991a930
...
@@ -600,6 +600,7 @@ neverallow {
...
@@ -600,6 +600,7 @@ neverallow {
-init
-init
-uncrypt
-uncrypt
-update_engine
-update_engine
-vendor_init
-vold
-vold
-recovery
-recovery
-ueventd
-ueventd
...
...
This diff is collapsed.
Click to expand it.
public/vendor_init.te
+
3
−
0
View file @
6991a930
...
@@ -146,6 +146,9 @@ allow vendor_init serialno_prop:file { getattr open read };
...
@@ -146,6 +146,9 @@ allow vendor_init serialno_prop:file { getattr open read };
# Vendor init can perform operations on trusted and security Extended Attributes
# Vendor init can perform operations on trusted and security Extended Attributes
allow vendor_init self:global_capability_class_set sys_admin;
allow vendor_init self:global_capability_class_set sys_admin;
# Raw writes to misc block device
allow vendor_init misc_block_device:blk_file w_file_perms;
not_compatible_property(`
not_compatible_property(`
set_prop(vendor_init, {
set_prop(vendor_init, {
property_type
property_type
...
...
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