bug in presently-developed selinux patch to udev: no acknowledgement received

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Aug 30 17:07:11 UTC 2004


i noticed a bug in the last udev-selinux patch that went past
[these?] lists last week.

i sent a request for acknowldgement, and unfortunately i am very
sorry to say that i have not received an acknowledgement, and
so unfortunately i will continue to request an acknowledgement
from the people doing the redhat-based development until i
receive one.

if it wasn't important - namely that the bug in the patch will result
in incorrect policy file development for udev.te - i wouldn't bother.

the bug is that the patch merged three near-identical sections of
code that use matchpathcon(..., mode) into a function,
where mode was S_IFDIR, SF_IFLNK and S_IFsomething ...

... and the person who reworked the patch forgot to pass the mode
argument down to matchpathcon.

result: on all three instances of calling matchpathcon, the
file_contexts for DIRECTORIES will be looked up.

it was either dan or colin, and i can't remember who.

anyone who is doing udev selinux development who is NOT using
my original patch, non-optimised as it is, please be advised.

l.


-- 
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl at lkcl.net"> lkcl at lkcl.net </a> <br />




More information about the fedora-selinux-list mailing list