All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Changees to inetd to handle setting MLS network levels
       [not found] <200702261725.l1QHP6Rd030607@localhost.localdomain>
@ 2007-02-28 15:37 ` Christopher J. PeBenito
  0 siblings, 0 replies; only message in thread
From: Christopher J. PeBenito @ 2007-02-28 15:37 UTC (permalink / raw)
  To: dwalsh; +Cc: selinux

On Mon, 2007-02-26 at 12:25 -0500, dwalsh@localhost.localdomain wrote:
> 
> ===File /tmp/patches/done/nsaserefpolicy_policy_modules_services_inetd.patch===
> --- nsaserefpolicy/policy/modules/services/inetd.te	2007-02-19 11:32:53.000000000 -0500
> +++ serefpolicy-2.5.5/policy/modules/services/inetd.te	2007-02-26 11:02:34.000000000 -0500
> @@ -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)
> ============================================================

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.

-- 
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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-28 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200702261725.l1QHP6Rd030607@localhost.localdomain>
2007-02-28 15:37 ` Changees to inetd to handle setting MLS network levels Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.