selinux-policy/refpolicy/policy/modules/system/logging.fc

33 lines
1006 B
Plaintext
Raw Normal View History

2005-04-20 19:07:16 +00:00
# Copyright (C) 2005 Tresys Technology, LLC
2005-04-20 19:14:56 +00:00
########################################
#
# System logs file contexts
#
2005-04-19 21:08:13 +00:00
/var/log(/.*)? system_u:object_r:var_log_t
2005-04-20 19:14:56 +00:00
########################################
#
# klogd file contexts
#
2005-04-19 21:08:13 +00:00
/sbin/klogd -- system_u:object_r:klogd_exec_t
/usr/sbin/klogd -- system_u:object_r:klogd_exec_t
/var/run/klogd\.pid -- system_u:object_r:klogd_var_run_t
2005-04-20 19:14:56 +00:00
########################################
#
# syslog file contexts
#
2005-04-19 21:08:13 +00:00
/sbin/syslogd -- system_u:object_r:syslogd_exec_t
/sbin/minilogd -- system_u:object_r:syslogd_exec_t
/sbin/syslog-ng -- system_u:object_r:syslogd_exec_t
/usr/sbin/syslogd -- system_u:object_r:syslogd_exec_t
/usr/sbin/metalog -- system_u:object_r:syslogd_exec_t
/dev/log -s system_u:object_r:devlog_t
/var/run/log -s system_u:object_r:devlog_t
ifdef(`distro_suse', `
/var/lib/stunnel/dev/log -s system_u:object_r:devlog_t
')
/var/run/syslogd\.pid -- system_u:object_r:syslogd_var_run_t
/var/run/metalog\.pid -- system_u:object_r:syslogd_var_run_t