how do you forget to copy these over?

This commit is contained in:
Stephen Smoogen 2017-01-07 23:33:47 +00:00
parent a3a594a152
commit 870b47197d
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,4 @@
module:
checkmodule -Mmo nagios_hostname.mod nagios_hostname.te
semodule_package -o nagios_hostname.pp -m nagios_hostname.mod
rm nagios_hostname.mod

Binary file not shown.

View file

@ -0,0 +1,11 @@
module nagios_hostname 1.0;
require {
type nagios_t;
type hostname_exec_t;
class file { read getattr open execute execute_no_trans };
}
#============= nagios_t ==============
allow nagios_t hostname_exec_t:file { read getattr open execute execute_no_trans };