fixes from serge

This commit is contained in:
Chris PeBenito 2006-01-19 22:47:40 +00:00
parent 55f1efa100
commit 85c20af3c1
5 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,4 @@
- Login fixes from Serge Hallyn.
- Move xserver_log_t from xdm to xserver.
- Add lpr per-userdomain policy to lpd.
- Miscellaneous fixes from Dan Walsh.

View File

@ -24,3 +24,7 @@
/dev/vcs[^/]* -c gen_context(system_u:object_r:tty_device_t,s0)
/dev/usb/tty.* -c gen_context(system_u:object_r:usbtty_device_t,s0)
ifdef(`distro_gentoo',`
/dev/tts/[0-9]* -c gen_context(system_u:object_r:tty_device_t,s0)
')

View File

@ -88,6 +88,10 @@ interface(`term_tty',`
type_change $1 ttynode:chr_file $2;
')
ifdef(`distro_gentoo',`
fs_associate_tmpfs($2)
')
ifdef(`distro_redhat',`
fs_associate_tmpfs($2)
')

View File

@ -20,6 +20,9 @@ ifdef(`distro_suse', `
/usr/kerberos/sbin/login\.krb5 -- gen_context(system_u:object_r:login_exec_t,s0)
/usr/sbin/utempter -- gen_context(system_u:object_r:utempter_exec_t,s0)
ifdef(`distro_gentoo', `
/usr/sbin/unix_chkpwd -- gen_context(system_u:object_r:chkpwd_exec_t,s0)
')
/var/db/shadow.* -- gen_context(system_u:object_r:shadow_t,s0)

View File

@ -14,6 +14,9 @@
/usr/sbin/klogd -- gen_context(system_u:object_r:klogd_exec_t,s0)
/usr/sbin/metalog -- gen_context(system_u:object_r:syslogd_exec_t,s0)
/usr/sbin/syslogd -- gen_context(system_u:object_r:syslogd_exec_t,s0)
ifdef(`distro_gentoo', `
/usr/sbin/syslog-ng -- gen_context(system_u:object_r:syslogd_exec_t,s0)
')
ifdef(`distro_suse', `
/var/lib/stunnel/dev/log -s gen_context(system_u:object_r:devlog_t,s0)