Add interface to get status of rsyslog service
Updated based on feedback. Signed-off-by: Dave Sugar <dsugar@tresys.com>
This commit is contained in:
parent
98a7f0446d
commit
d8492558b3
|
@ -427,6 +427,25 @@ interface(`logging_domtrans_syslog',`
|
|||
')
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Allow specified domain to check status of syslog unit
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`logging_status_syslog',`
|
||||
gen_require(`
|
||||
type syslogd_unit_t;
|
||||
class service status;
|
||||
')
|
||||
|
||||
allow $1 syslogd_unit_t:service status;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Set the attributes of syslog temporary files.
|
||||
|
|
Loading…
Reference in New Issue