hostname: cmdline usage + signal perms sort

This commit is contained in:
Christian Göttsche 2017-12-29 21:28:47 +01:00 committed by Chris PeBenito
parent e1fb2401fe
commit 5b2db4fcb1
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ role system_r types hostname_t;
# sys_admin : for setting the hostname
allow hostname_t self:capability sys_admin;
allow hostname_t self:process { sigchld sigkill sigstop signull signal };
allow hostname_t self:process { sigchld sigkill signal signull sigstop };
allow hostname_t self:unix_stream_socket create_stream_socket_perms;
dontaudit hostname_t self:capability sys_tty_config;
@ -56,6 +56,8 @@ sysnet_dontaudit_rw_dhcpc_unix_stream_sockets(hostname_t)
sysnet_read_config(hostname_t)
sysnet_dns_name_resolve(hostname_t)
userdom_use_inherited_user_terminals(hostname_t)
optional_policy(`
nis_use_ypbind(hostname_t)
')