-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test module for SELinux interfaces
Signed-off-by: Hubert Quarantel-Colombani <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 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 |
---|---|---|
|
@@ -215,14 +215,14 @@ interface(`springboot_systemd_deployer',` | |
allow $1_t springboot_unit_file_t:lnk_file manage_lnk_file_perms | ||
|
||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, { file lnk_file }, "springboot.service" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, { file lnk_file}, "springboot.target" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, { file lnk_file }, "springboot.target" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, dir, "springboot.service.d" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, dir, "springboot.target.d" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, dir, "springboot.target.wants" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, file, "[email protected]" ) | ||
filetrans_add_pattern($1_t, systemd_unit_file_t, springboot_unit_file_t, dir, "[email protected]" ) | ||
|
||
filetrans_add_pattern($1_t, springboot_unit_file_t, springboot_unit_file_t, { dir file lnk_file } ) | ||
#filetrans_add_pattern($1_t, springboot_unit_file_t, springboot_unit_file_t, { dir file lnk_file } ) | ||
') | ||
|
||
######################################## | ||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
policy_module(test, 0.0.1) | ||
|
||
type springboot_test1_t; | ||
type springboot_test2_t; | ||
type springboot_test3_t; | ||
type springboot_test4_t; | ||
type springboot_test5_t; | ||
|
||
springboot_monitor(springboot_test1) | ||
springboot_deployer(springboot_test2) | ||
springboot_systemd_deployer(springboot_test3) | ||
springboot_systemd_unit_instance_deployer(springboot_test4) | ||
springboot_auth_deployer(springboot_test5) | ||
|
||
springboot_allow_connectto(http) | ||
springboot_allow_consumed_service(ldap) |