Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: [patch 27/35] inetd policy update
From: Christopher J. PeBenito <cpebenito_at_tresys.com>
Date: Mon, 11 Aug 2008 09:50:19 -0400
Comments inline
> Index: refpolicy/policy/modules/services/inetd.if >> Index: refpolicy/policy/modules/services/inetd.te > =================================================================== > --- refpolicy.orig/policy/modules/services/inetd.te 2008-08-03 16:47:00.000000000 +0200 > +++ refpolicy/policy/modules/services/inetd.te 2008-08-03 21:25:12.000000000 +0200 > @@ -30,6 +30,10 @@ > type inetd_child_var_run_t; > files_pid_file(inetd_child_var_run_t) > > +ifdef(`enable_mcs',` > + init_ranged_daemon_domain(inetd_t,inetd_exec_t,s0 - mcs_systemhigh) > +') > + > ######################################## > # > # Local policy > @@ -84,6 +88,7 @@ > corenet_udp_bind_ftp_port(inetd_t) > corenet_tcp_bind_inetd_child_port(inetd_t) > corenet_udp_bind_inetd_child_port(inetd_t) > +corenet_tcp_bind_ircd_port(inetd_t) > corenet_udp_bind_ktalkd_port(inetd_t) > corenet_tcp_bind_printer_port(inetd_t) > corenet_udp_bind_rlogind_port(inetd_t) > @@ -137,6 +142,7 @@ > miscfiles_read_localization(inetd_t) > > # xinetd needs MLS override privileges to work > +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) > @@ -165,6 +171,7 @@ > ') > > optional_policy(` > + unconfined_domain(inetd_t) > unconfined_domtrans(inetd_t) > ') > > @@ -181,6 +188,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) Reverses an upstream change; these rules are redundant.
> @@ -227,3 +237,7 @@ Not acceptable, as bin_t doesn't belong to this module. Probably want corecmd_bin_domtrans() and corecmd_bin_entry_type(). -- 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 majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Mon 11 Aug 2008 - 09:51:19 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |