Skip to contentSkip to conversation

I think refpolicy should replace all corenet.*all_nodes with corenet.*generic_node()

refpolicy Daniel J Walsh 2 participants 2 messages Mar 16, 2011 – Mar 17, 2011

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Similarly corenet.*all_if with corenet.*generic_if()

If I add a label to an interface I want no domains to be able to use it, except unconfined domains and domains I specify in a policy module.

Since we have only one generic node and one generic interface, I think these are bugs.

I have just changed Fedora F15 to match this assumption. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk2BLIQACgkQrlYvE4MpobOSlQCcCoi6gQQ+FaMgrbdeAGa93Zqc zkQAoMdMUkZ080563tJWSbE5Eor29EjB
=tadE
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 9 lines · Daniel J Walsh

Similarly corenet.*all_if with corenet.*generic_if()

If I add a label to an interface I want no domains to be able to use it, except unconfined domains and domains I specify in a policy module.

Since we have only one generic node and one generic interface, I think these are bugs.

I have just changed Fedora F15 to match this assumption.

Yes, though the one exception is the perms on kernel_t. Last year I made a pass through the policy to do this for nodes and netifs, but I guess I missed a few.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com