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
c0937b6e
Commit
c0937b6e
authored
8 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix init's restorecon of /dev/kmsg."
parents
d63084d3
bbf7d257
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 @
c0937b6e
...
@@ -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