-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add label rshim_var_run_t for /run/rshim.pid
Add SELinux label into rshim policy so rshim_t process domain can manage pidfiles stored in /run/rshim.pid Signed-off-by: Lukas Vrabec <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/usr/bin/rshim -- gen_context(system_u:object_r:rshim_exec_t,s0) | ||
|
||
/run/rshim\.pid -- gen_context(system_u:object_r:rshim_var_run_t,s0) | ||
|
||
/usr/lib/systemd/system/rshim.* -- gen_context(system_u:object_r:rshim_unit_file_t,s0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters