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
b5396d98
Commit
b5396d98
authored
8 years ago
by
Elliott Hughes
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix init's restorecon of /dev/kmsg." am:
c0937b6e
am:
b70abb6e
Change-Id: I1b1fed22276faec32759d9b705fce60caa093d20
parents
0f41c34e
b70abb6e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.te
+5
-2
5 additions, 2 deletions
init.te
with
5 additions
and
2 deletions
init.te
+
5
−
2
View file @
b5396d98
...
@@ -11,12 +11,15 @@ allow init tmpfs:chr_file create_file_perms;
...
@@ -11,12 +11,15 @@ allow init tmpfs:chr_file create_file_perms;
#
#
# init direct restorecon calls.
# init direct restorecon calls.
#
#
# /dev/socket
# /dev/kmsg
allow init { device socket_device }:dir relabelto;
allow init tmpfs:chr_file relabelfrom;
allow init kmsg_device:chr_file { write relabelto };
# /dev/__properties__
# /dev/__properties__
allow init properties_device:dir relabelto;
allow init properties_device:dir relabelto;
allow init properties_serial:file { write relabelto };
allow init properties_serial:file { write relabelto };
allow init property_type:file { create_file_perms relabelto };
allow init property_type:file { create_file_perms relabelto };
# /dev/socket
allow init { device socket_device }:dir relabelto;
# setrlimit
# setrlimit
allow init self:capability sys_resource;
allow init self:capability sys_resource;
...
...
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