Allow nsplugin to sendto itself dgrams
Fix /root/.ssh labeling
This commit is contained in:
parent
79bff2bb38
commit
f6e966f3ae
@ -61,7 +61,7 @@ allow nsplugin_t self:sem create_sem_perms;
|
||||
allow nsplugin_t self:shm create_shm_perms;
|
||||
allow nsplugin_t self:msgq create_msgq_perms;
|
||||
allow nsplugin_t self:unix_stream_socket { connectto create_stream_socket_perms };
|
||||
allow nsplugin_t self:unix_dgram_socket create_socket_perms;
|
||||
allow nsplugin_t self:unix_dgram_socket { sendto create_socket_perms };
|
||||
allow nsplugin_t nsplugin_rw_t:dir list_dir_perms;
|
||||
read_lnk_files_pattern(nsplugin_t, nsplugin_rw_t, nsplugin_rw_t)
|
||||
read_files_pattern(nsplugin_t, nsplugin_rw_t, nsplugin_rw_t)
|
||||
|
@ -21,5 +21,5 @@ HOME_DIR/\.shosts gen_context(system_u:object_r:ssh_home_t,s0)
|
||||
/var/run/sshd\.init\.pid -- gen_context(system_u:object_r:sshd_var_run_t,s0)
|
||||
/var/run/sshd\.pid -- gen_context(system_u:object_r:sshd_var_run_t,s0)
|
||||
|
||||
/root/\.ssh(/.*)? gen_context(system_u:object_r:home_ssh_t,s0)
|
||||
/root/\.shosts gen_context(system_u:object_r:home_ssh_t,s0)
|
||||
/root/\.ssh(/.*)? gen_context(system_u:object_r:ssh_home_t,s0)
|
||||
/root/\.shosts gen_context(system_u:object_r:ssh_home_t,s0)
|
||||
|
Loading…
Reference in New Issue
Block a user