-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SELinux subpackage for Thales Luna HSM support
This is simple, a port needs to be available to certmonger to communicate during renewals of CA subsystem certificats. Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
- Loading branch information
Showing
5 changed files
with
65 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
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
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
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,33 @@ | ||
SELINUXTYPE = targeted | ||
NULL = | ||
|
||
if BUILD_SELINUX_POLICY | ||
MODULE = ipa-luna.pp.bz2 | ||
MODULE_IF = ipa-luna.if | ||
else | ||
MODULE = | ||
MODULE_IF = | ||
endif | ||
|
||
dist_noinst_DATA = \ | ||
ipa-luna.te \ | ||
$(NULL) | ||
|
||
# selinuxincludedir = $(datarootdir)/selinux/devel/include/contrib | ||
# nodist_selinuxinclude_DATA = \ | ||
# $(MODULE_IF) \ | ||
# $(NULL) | ||
|
||
selinuxpolicydir = $(datarootdir)/selinux/packages/$(SELINUXTYPE) | ||
nodist_selinuxpolicy_DATA = \ | ||
$(MODULE) \ | ||
$(NULL) | ||
|
||
%.pp.bz2: %.pp | ||
bzip2 -f -9 $^ | ||
|
||
%.pp: %.te | ||
make -f $(selinux_makefile) $@ | ||
|
||
clean-local: | ||
rm -f *~ *.tc *.pp *.pp.bz2 |
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,9 @@ | ||
policy_module(ipa-luna, 1.0.0) | ||
|
||
require { | ||
type certmonger_t; | ||
type ibm_dt_2_port_t; | ||
class tcp_socket name_connect; | ||
} | ||
|
||
allow certmonger_t ibm_dt_2_port_t:tcp_socket name_connect; |