fixes from serge
This commit is contained in:
parent
55f1efa100
commit
85c20af3c1
@ -1,3 +1,4 @@
|
|||||||
|
- Login fixes from Serge Hallyn.
|
||||||
- Move xserver_log_t from xdm to xserver.
|
- Move xserver_log_t from xdm to xserver.
|
||||||
- Add lpr per-userdomain policy to lpd.
|
- Add lpr per-userdomain policy to lpd.
|
||||||
- Miscellaneous fixes from Dan Walsh.
|
- Miscellaneous fixes from Dan Walsh.
|
||||||
|
@ -24,3 +24,7 @@
|
|||||||
/dev/vcs[^/]* -c gen_context(system_u:object_r:tty_device_t,s0)
|
/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)
|
/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)
|
||||||
|
')
|
||||||
|
@ -88,6 +88,10 @@ interface(`term_tty',`
|
|||||||
type_change $1 ttynode:chr_file $2;
|
type_change $1 ttynode:chr_file $2;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
ifdef(`distro_gentoo',`
|
||||||
|
fs_associate_tmpfs($2)
|
||||||
|
')
|
||||||
|
|
||||||
ifdef(`distro_redhat',`
|
ifdef(`distro_redhat',`
|
||||||
fs_associate_tmpfs($2)
|
fs_associate_tmpfs($2)
|
||||||
')
|
')
|
||||||
|
@ -20,6 +20,9 @@ ifdef(`distro_suse', `
|
|||||||
/usr/kerberos/sbin/login\.krb5 -- gen_context(system_u:object_r:login_exec_t,s0)
|
/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)
|
/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)
|
/var/db/shadow.* -- gen_context(system_u:object_r:shadow_t,s0)
|
||||||
|
|
||||||
|
@ -14,6 +14,9 @@
|
|||||||
/usr/sbin/klogd -- gen_context(system_u:object_r:klogd_exec_t,s0)
|
/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/metalog -- gen_context(system_u:object_r:syslogd_exec_t,s0)
|
||||||
/usr/sbin/syslogd -- 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', `
|
ifdef(`distro_suse', `
|
||||||
/var/lib/stunnel/dev/log -s gen_context(system_u:object_r:devlog_t,s0)
|
/var/lib/stunnel/dev/log -s gen_context(system_u:object_r:devlog_t,s0)
|
||||||
|
Loading…
Reference in New Issue
Block a user