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:
Sugar, David 2019-02-20 16:37:46 +00:00 committed by Chris PeBenito
parent 98a7f0446d
commit d8492558b3
1 changed files with 19 additions and 0 deletions

View File

@ -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.