rngd: fixes for rngd
* allow rngd_t to read certificates * allow rngd_t to getsched/setsched Fixes: avc: denied { search } for pid=332 comm="rngd" name="ssl" dev="vda" ino=588 scontext=system_u:system_r:rngd_t tcontext=system_u:object_r:cert_t tclass=dir permissive=1 avc: denied { read } for pid=332 comm="rngd" name="openssl.cnf" dev="vda" ino=849 scontext=system_u:system_r:rngd_t tcontext=system_u:object_r:cert_t tclass=file permissive=1 avc: denied { open } for pid=332 comm="rngd" path="/etc/ssl/openssl.cnf" dev="vda" ino=849 scontext=system_u:system_r:rngd_t tcontext=system_u:object_r:cert_t tclass=file permissive=1 avc: denied { getattr } for pid=332 comm="rngd" path="/etc/ssl/openssl.cnf" dev="vda" ino=849 scontext=system_u:system_r:rngd_t tcontext=system_u:object_r:cert_t tclass=file permissive=1 avc: denied { getsched } for pid=370 comm="rngd" scontext=system_u:system_r:rngd_t tcontext=system_u:system_r:rngd_t tclass=process permissive=1 avc: denied { setsched } for pid=370 comm="rngd" scontext=system_u:system_r:rngd_t tcontext=system_u:system_r:rngd_t tclass=process permissive=1 Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
parent
7be64d4bfa
commit
39858a7528
@ -21,7 +21,7 @@ files_runtime_file(rngd_runtime_t)
|
||||
#
|
||||
|
||||
allow rngd_t self:capability { ipc_lock sys_admin };
|
||||
allow rngd_t self:process signal;
|
||||
allow rngd_t self:process { setsched getsched signal };
|
||||
allow rngd_t self:fifo_file rw_fifo_file_perms;
|
||||
allow rngd_t self:unix_stream_socket { accept listen };
|
||||
|
||||
@ -41,3 +41,4 @@ files_read_etc_files(rngd_t)
|
||||
logging_send_syslog_msg(rngd_t)
|
||||
|
||||
miscfiles_read_localization(rngd_t)
|
||||
miscfiles_read_generic_certs(rngd_t)
|
||||
|
Loading…
Reference in New Issue
Block a user