Skip to contentSkip to conversation

two different domains from on program

DISCUSSION Shaun Savage 2 participants 2 messages Dec 17, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 10 lines · Shaun Savage

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
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.