File tree Expand file tree Collapse file tree 4 files changed +19
-14
lines changed Expand file tree Collapse file tree 4 files changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,16 @@ if WITH_SELINUX
22cfengine-enterprise.te : cfengine-enterprise.te.all $(PLATFORM_SELINUX_POLICIES )
33 cat cfengine-enterprise.te.all $(PLATFORM_SELINUX_POLICIES ) > cfengine-enterprise.te
44
5- cfengine-enterprise.pp : cfengine-enterprise.te cfengine-enterprise.fc
5+ cfengine-enterprise.pp cfengine-enterprise-unconfined.pp : cfengine-enterprise.te cfengine-enterprise.fc cfengine-enterprise-unconfined.te cfengine-enterprise-unconfined .fc
66 $(MAKE ) -f /usr/share/selinux/devel/Makefile -j1
77
88selinuxdir = $(prefix ) /selinux
99selinux_DATA = cfengine-enterprise.pp
1010selinux_DATA += cfengine-enterprise.te
1111selinux_DATA += cfengine-enterprise.fc
12- selinux_DATA += label-binaries-unconfined.sh
12+ selinux_DATA = cfengine-enterprise-unconfined.pp
13+ selinux_DATA += cfengine-enterprise-unconfined.te
14+ selinux_DATA += cfengine-enterprise-unconfined.fc
1315
1416clean-local :
1517 rm -rf tmp
1921# tarball even without running './configure --with-selinux-policy'
2022DISTFILES = Makefile.in Makefile.am cfengine-enterprise.fc cfengine-enterprise.te.all
2123DISTFILES += cfengine-enterprise.te.el9
22- DISTFILES += label-binaries-unconfined.sh
24+ DISTFILES += cfengine-enterprise-unconfined.te
25+ DISTFILES += cfengine-enterprise-unconfined.fc
2326
24- CLEANFILES = cfengine-enterprise.pp cfengine-enterprise.if cfengine-enterprise.te
27+ CLEANFILES = cfengine-enterprise.pp cfengine-enterprise.if cfengine-enterprise.te cfengine-enterprise-unconfined.pp cfengine-enterprise-unconfined.if
Original file line number Diff line number Diff line change 1+ /var/cfengine/bin/.* -- gen_context(system_u:object_r:cfengine_exec_t,s0)
2+ /var/cfengine/notification_scripts(/.*)? -- gen_context(system_u:object_r:cfengine_exec_t,s0)
3+ /var/cfengine/httpd/bin/.* -- gen_context(system_u:object_r:cfengine_exec_t,s0)
4+ /var/cfengine/httpd/php/bin/.* -- gen_context(system_u:object_r:cfengine_exec_t,s0)
Original file line number Diff line number Diff line change 1+ module cfengine-enterprise-unconfined 1 .0 ;
2+ require {
3+ all_kernel_class_perms # required for unconfined_domain()
4+ }
5+ type cfengine_t;
6+ type cfengine_exec_t;
7+ unconfined_domain(cfengine_t)
8+ domain_entry_file(cfengine_t, cfengine_exec_t)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments