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
8ad45705
Commit
8ad45705
authored
10 years ago
by
Stephen Smalley
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
7aa8a86e
: am
1c16abd3
: Allow init to chown/chmod character devices.
* commit '
7aa8a86e
': Allow init to chown/chmod character devices.
parents
c03985ea
7aa8a86e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.te
+1
-1
1 addition, 1 deletion
init.te
with
1 addition
and
1 deletion
init.te
+
1
−
1
View file @
8ad45705
...
@@ -94,7 +94,7 @@ allow init dev_type:lnk_file create;
...
@@ -94,7 +94,7 @@ allow init dev_type:lnk_file create;
allow init { fs_type -contextmount_type -sdcard_type -rootfs }:{ dir file } { open read setattr };
allow init { fs_type -contextmount_type -sdcard_type -rootfs }:{ dir file } { open read setattr };
# chown/chmod on devices.
# chown/chmod on devices.
allow init
qtaguid
_device:chr_file { read open setattr };
allow init
{ dev_type -kmem
_device
}
:chr_file { read open setattr };
# Unlabeled file access for upgrades from 4.2.
# Unlabeled file access for upgrades from 4.2.
allow init unlabeled:dir { create_dir_perms relabelfrom };
allow init unlabeled:dir { create_dir_perms relabelfrom };
...
...
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