All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diyab <diyab@diyab.net>
To: mayerf@tresys.com
Cc: "'Dhruv Gami'" <dgami@uncc.edu>, "'SELINUX'" <SELinux@tycho.nsa.gov>
Subject: Re: Basic question on policy design
Date: Thu, 04 Dec 2003 15:18:19 -0500	[thread overview]
Message-ID: <3FCF968B.3050504@diyab.net> (raw)
In-Reply-To: <000401c3ba6a$ad593430$8100a8c0@columbia.tresys.com>

Frank Mayer wrote:

>>3. Are type_1 and type_2 interchangable in the above rule ?
> 
> 
> No.
> 

This is not entirely true.  I've run into instances where running 
something like apache and postgresql on the same SELinux machine will 
require the ability to speak to one another.  So for process to process 
you might end up with something like:

allow httpd_t postgresql_t:tcp_socket { recffrom acceptfrom };
allow postgresql_t httpd_t:tcp socket { recvfrom acceptfrom };

Timothy,

-- 
I put instant coffee in a microwave and almost went back in time.
		-- Steven Wright


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

  reply	other threads:[~2003-12-04 20:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 15:49 Basic question on policy design Dhruv Gami
2003-12-03 22:11 ` Stephen Smalley
2003-12-04 13:29 ` Frank Mayer
2003-12-04 20:18   ` Diyab [this message]
2003-12-05  0:04     ` Russell Coker
2003-12-09 12:14       ` Timothy Wood
2003-12-09 17:05     ` Frank Mayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FCF968B.3050504@diyab.net \
    --to=diyab@diyab.net \
    --cc=SELinux@tycho.nsa.gov \
    --cc=dgami@uncc.edu \
    --cc=mayerf@tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.