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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
2473e8fe
Commit
2473e8fe
authored
Aug 12, 2016
by
Elliott Hughes
Committed by
android-build-merger
Aug 12, 2016
Browse files
Options
Downloads
Plain Diff
Merge "Fix init's restorecon of /dev/kmsg." am:
c0937b6e
am:
b70abb6e
am:
b5396d98
Change-Id: I8486bb98b037f829663153bcc1dc18bb485eff29
parents
df6e9cdf
b5396d98
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show 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 @
2473e8fe
...
@@ -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