Skip to contentSkip to conversation

can_network()

DISCUSSION Stephen D. Smalley 2 participants 2 messages Nov 7, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

speaking of that, shouldn't there be an every_domain_except_network domain? I'd love to use every_domain instead of all the lower macros, but it includes can_network(), which I don't want.

The goal is to largely eliminate the use of coarse-grained macros like every_domain() [and even its immediate "children"], replacing them with much finer-grained macros and/or individual rules to provide true least privilege. Naturally, this will have a cost in terms of maintaining the policy.

--
Stephen Smalley, NSA
[email protected]

--
This message was distributed to subscribers of the selinux mailing 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 9 lines · Stephen D. Smalley
Quoted 3 lines

speaking of that, shouldn't there be an every_domain_except_network domain? I'd love to use every_domain instead of all the lower macros, but it includes can_network(), which I don't want.

The goal is to largely eliminate the use of coarse-grained macros like every_domain() [and even its immediate "children"], replacing them with much finer-grained macros and/or individual rules to provide true least privilege. Naturally, this will have a cost in terms of maintaining the policy.

So do you think that can_network() needs to be broken up?

I guess this means you don't like my idea for adding an allow resolv_conf_t to it then...

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.