mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-02-10 00:27:22 +00:00
trunk: Patch for debian logrotate to handle syslogd-listfiles, from Vaclav Ovsik.
This commit is contained in:
parent
02d968c581
commit
1abafe3707
@ -1,3 +1,4 @@
|
|||||||
|
- Patch for debian logrotate to handle syslogd-listfiles, from Vaclav Ovsik.
|
||||||
- Improve several tunables descriptions from Dan Walsh.
|
- Improve several tunables descriptions from Dan Walsh.
|
||||||
- Patch to clean up ns switch usage in the policy from Dan Walsh.
|
- Patch to clean up ns switch usage in the policy from Dan Walsh.
|
||||||
- More complete labeled networking infrastructure from KaiGai Kohei.
|
- More complete labeled networking infrastructure from KaiGai Kohei.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(logrotate,1.6.0)
|
policy_module(logrotate,1.6.1)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
@ -127,6 +127,9 @@ ifdef(`distro_debian', `
|
|||||||
allow logrotate_t logrotate_tmp_t:file { relabelfrom relabelto };
|
allow logrotate_t logrotate_tmp_t:file { relabelfrom relabelto };
|
||||||
# for savelog
|
# for savelog
|
||||||
can_exec(logrotate_t, logrotate_exec_t)
|
can_exec(logrotate_t, logrotate_exec_t)
|
||||||
|
|
||||||
|
# for syslogd-listfiles
|
||||||
|
logging_read_syslog_config(logrotate_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
|
@ -398,6 +398,25 @@ interface(`logging_dontaudit_search_audit_config',`
|
|||||||
dontaudit $1 auditd_etc_t:dir search_dir_perms;
|
dontaudit $1 auditd_etc_t:dir search_dir_perms;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Read syslog configuration files.
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
## <rolecap/>
|
||||||
|
#
|
||||||
|
interface(`logging_read_syslog_config',`
|
||||||
|
gen_require(`
|
||||||
|
type syslog_conf_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
allow $1 syslog_conf_t:file read_file_perms;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Allows the domain to open a file in the
|
## Allows the domain to open a file in the
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(logging,1.8.3)
|
policy_module(logging,1.8.4)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user