reorder to fit file context style rules

This commit is contained in:
Chris PeBenito 2005-05-10 19:47:37 +00:00
parent 0f3be6dbbb
commit 279b555ae3
2 changed files with 18 additions and 30 deletions

View File

@ -1,8 +1,5 @@
# Copyright (C) 2005 Tresys Technology, LLC # Copyright (C) 2005 Tresys Technology, LLC
########################################
#
# getty file contexts
#
/sbin/.*getty -- system_u:object_r:getty_exec_t
/etc/mgetty(/.*)? system_u:object_r:getty_etc_t /etc/mgetty(/.*)? system_u:object_r:getty_etc_t
/sbin/.*getty -- system_u:object_r:getty_exec_t

View File

@ -1,32 +1,23 @@
# Copyright (C) 2005 Tresys Technology, LLC # Copyright (C) 2005 Tresys Technology, LLC
########################################
#
# System logs file contexts
#
/var/log(/.*)? system_u:object_r:var_log_t
########################################
#
# klogd file contexts
#
/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
########################################
#
# syslog file contexts
#
/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 /dev/log -s system_u:object_r:devlog_t
/var/run/log -s system_u:object_r:devlog_t
/sbin/klogd -- system_u:object_r:klogd_exec_t
/sbin/minilogd -- system_u:object_r:syslogd_exec_t
/sbin/syslogd -- system_u:object_r:syslogd_exec_t
/sbin/syslog-ng -- system_u:object_r:syslogd_exec_t
/usr/sbin/klogd -- system_u:object_r:klogd_exec_t
/usr/sbin/metalog -- system_u:object_r:syslogd_exec_t
/usr/sbin/syslogd -- system_u:object_r:syslogd_exec_t
ifdef(`distro_suse', ` ifdef(`distro_suse', `
/var/lib/stunnel/dev/log -s system_u:object_r:devlog_t /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/log(/.*)? system_u:object_r:var_log_t
/var/run/klogd\.pid -- system_u:object_r:klogd_var_run_t
/var/run/log -s system_u:object_r:devlog_t
/var/run/metalog\.pid -- system_u:object_r:syslogd_var_run_t /var/run/metalog\.pid -- system_u:object_r:syslogd_var_run_t
/var/run/syslogd\.pid -- system_u:object_r:syslogd_var_run_t