All of lore.kernel.org
 help / color / mirror / Atom feed
* two different domains from on program
@ 2001-12-17  6:28 Shaun Savage
  2001-12-17 12:53 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Shaun Savage @ 2001-12-17  6:28 UTC (permalink / raw)
  To: SELinux

I have a question.

courier has one program the has two different usage. I would like one 
program to transistion into two different domains depending on the 
starting domain.

domain_auto_trans(domain1, exec_file_t, domain2)
domain_auto_trans(domain3, exec_file_t, domain4)

where the context of the executable file is exec_file_t

Shaun Savage


--
You have received this message because you are subscribed to the selinux 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] 2+ messages in thread

* Re: two different domains from on program
  2001-12-17  6:28 two different domains from on program Shaun Savage
@ 2001-12-17 12:53 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2001-12-17 12:53 UTC (permalink / raw)
  To: Shaun Savage; +Cc: SELinux


On Sun, 16 Dec 2001, Shaun Savage wrote:

> I have a question.
>
> courier has one program the has two different usage. I would like one
> program to transistion into two different domains depending on the
> starting domain.
>
> domain_auto_trans(domain1, exec_file_t, domain2)
> domain_auto_trans(domain3, exec_file_t, domain4)
>
> where the context of the executable file is exec_file_t

So, what's the question?  Notice that there are examples of this behavior
in the example policy.  For example, initrc_t transitions to sendmail_t
when running sendmail_exec_t for the daemon process, user_t transitions to
user_mail_t when running sendmail_exec_t for sending mail, and sysadm_t
transitions to sysadm_mail_t when running sendmail_exec_t for sending
mail.

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com




--
You have received this message because you are subscribed to the selinux 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] 2+ messages in thread

end of thread, other threads:[~2001-12-17 12:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-17  6:28 two different domains from on program Shaun Savage
2001-12-17 12:53 ` Stephen Smalley

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.