Changees to inetd to handle setting MLS network levels
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 24 lines · On Mon, 2007-02-26 at 12:25 -0500, [email protected] wrote:
===File /tmp/patches/done/nsaserefpolicy_policy_modules_services_inetd.patch===
policy/modules/services/inetd.te +4
-1@@ -140,8 +140,8 @@ mls_fd_use_all_levels(inetd_t) mls_fd_share_all_levels(inetd_t) mls_socket_read_to_clearance(inetd_t) +mls_socket_write_to_clearance(inetd_t) mls_process_set_level(inetd_t) -mls_socket_read_to_clearance(inetd_t) sysnet_read_config(inetd_t)@@ -192,6 +192,9 @@ # for identd allow inetd_child_t self:netlink_tcpdiag_socket r_netlink_socket_perms; allow inetd_child_t self:capability { setuid setgid }; +allow inetd_child_t self:dir search; +allow inetd_child_t self:{ lnk_file file } { getattr read }; + files_search_home(inetd_child_t) manage_dirs_pattern(inetd_child_t,inetd_child_tmp_t,inetd_child_tmp_t)
Quoted 1 line
============================================================
mls_socket_write_to_clearance() does not exist. Also, the second hunk isn't needed as it has those perms as a result of being a domain.
Signature · 10 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- 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.