Skip to contentSkip to conversation

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

DISCUSSION Luke Kenneth Casson Leighton 1 participant 1 message Aug 30, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

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.

Signature · 13 lines
--
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:[email protected]"> [email protected] </a> <br />


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