Move the use of var_log_t from authlogin.fc to logging.fc
The type var_log_t is actually declared in logging.te. Moved the file contexts to label dmesg and syslog files with the var_log_t type from authlogin.fc to logging.fc. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
This commit is contained in:
parent
da0cf8e721
commit
f43db58687
|
@ -36,10 +36,8 @@ ifdef(`distro_suse', `
|
|||
/var/lib/pam_ssh(/.*)? gen_context(system_u:object_r:var_auth_t,s0)
|
||||
|
||||
/var/log/btmp.* -- gen_context(system_u:object_r:faillog_t,s0)
|
||||
/var/log/dmesg -- gen_context(system_u:object_r:var_log_t,s0)
|
||||
/var/log/faillog -- gen_context(system_u:object_r:faillog_t,s0)
|
||||
/var/log/lastlog -- gen_context(system_u:object_r:lastlog_t,s0)
|
||||
/var/log/syslog -- gen_context(system_u:object_r:var_log_t,s0)
|
||||
/var/log/tallylog -- gen_context(system_u:object_r:faillog_t,s0)
|
||||
/var/log/wtmp.* -- gen_context(system_u:object_r:wtmp_t,s0)
|
||||
|
||||
|
|
|
@ -51,6 +51,8 @@ ifdef(`distro_suse', `
|
|||
|
||||
/var/log -d gen_context(system_u:object_r:var_log_t,s0-mls_systemhigh)
|
||||
/var/log/.* gen_context(system_u:object_r:var_log_t,s0)
|
||||
/var/log/dmesg -- gen_context(system_u:object_r:var_log_t,s0)
|
||||
/var/log/syslog -- gen_context(system_u:object_r:var_log_t,s0)
|
||||
/var/log/boot\.log -- gen_context(system_u:object_r:var_log_t,mls_systemhigh)
|
||||
/var/log/messages[^/]* gen_context(system_u:object_r:var_log_t,mls_systemhigh)
|
||||
/var/log/secure[^/]* gen_context(system_u:object_r:var_log_t,mls_systemhigh)
|
||||
|
|
Loading…
Reference in New Issue