Skip to contentSkip to conversation

fd use rules

DISCUSSION Russell Coker 2 participants 2 messages Jun 16, 2002 – Jun 20, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

For many programs (including most daemons) we need to have access to the fds coming from the parent process (opened by sshd, newrole, or run_init).

Would it make sense to do the following?

allow myprog_t privrole:fd use;

Signature · 3 lines
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line

From field.

--
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 6 lines · Russell Coker

For many programs (including most daemons) we need to have access to the fds coming from the parent process (opened by sshd, newrole, or run_init).

Would it make sense to do the following?

allow myprog_t privrole:fd use;

Yes, this seems reasonable. At present, these rules are individually specified in general_domain_access() for login, sshd, and newrole. Using 'privrole' would also pick up crond, run_init, and xdm.

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