proc_net_t policy
Subsystems (2)
Attached is a patch to support proc_net_t.
Signature · 4 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
program/unused/postfix.te renamed from usr/src/se/policy/domains/program/unused/postfix.te +4 -0
@@ -158,6 +158,8 @@ allow postfix_$1_t self:capability { setuid setgid dac_override }; can_network(postfix_$1_t) can_ypbind(postfix_$1_t) +allow postfix_$1_t proc_net_t:dir search; +allow postfix_$1_t proc_net_t:file { getattr read }; ') postfix_server_domain(smtp, `, mail_server_sender')
@@ -272,6 +271,8 @@ allow postfix_showq_t self:tcp_socket create_socket_perms; allow postfix_showq_t { ttyfile ptyfile }:chr_file { read write }; dontaudit postfix_showq_t net_conf_t:file r_file_perms; +allow postfix_showq_t proc_net_t:dir search; +allow postfix_showq_t proc_net_t:file { getattr read }; postfix_user_domain(postdrop, `, mta_user_agent') allow postfix_postdrop_t postfix_spool_maildrop_t:dir rw_dir_perms;
program/unused/dhcpc.te renamed from usr/src/se/policy/domains/program/unused/dhcpc.te +2 -1
@@ -79,7 +79,8 @@ allow dhcpc_t etc_t:lnk_file read; allow dhcpc_t { etc_t etc_runtime_t }:file { getattr read }; -allow dhcpc_t proc_t:file { getattr read }; +allow dhcpc_t proc_net_t:dir search; +allow dhcpc_t { proc_t proc_net_t }:file { getattr read }; allow dhcpc_t self:file { getattr read }; allow dhcpc_t sysctl_kernel_t:dir search; allow dhcpc_t sysctl_kernel_t:file read;
program/unused/sysstat.te renamed from usr/src/se/policy/domains/program/unused/sysstat.te +2 -2
@@ -51,8 +51,8 @@ allow sysstat_t fs_t:filesystem getattr; # get info from /proc -allow sysstat_t { proc_t sysctl_kernel_t sysctl_t sysctl_fs_t sysctl_rpc_t }:dir r_dir_perms; -allow sysstat_t { proc_t sysctl_kernel_t sysctl_t sysctl_fs_t sysctl_rpc_t }:file { read getattr }; +allow sysstat_t { proc_t sysctl_kernel_t sysctl_t sysctl_fs_t sysctl_rpc_t proc_net_t }:dir r_dir_perms; +allow sysstat_t { proc_t sysctl_kernel_t sysctl_t sysctl_fs_t sysctl_rpc_t proc_net_t }:file { read getattr }; domain_auto_trans(initrc_t, sysstat_exec_t, sysstat_t) allow sysstat_t init_t:fd use;
Oops, forgot to mention that I had merged your patch along with Dan's.
Quoted 1 line · Russell Coker
Attached is a patch to support
proc_net_t.
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.