On Fri, 2008-07-18 at 11:36 -0400, Joshua Brindle wrote: > Daniel J Walsh wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > homedirs in /var and /usr/local were not being matched, causing bad > > context to be added. > > > > genhomedircon port problem. > > > > An extra / at the end of the regex was causing the problem > > > > Geesh I love 'C'. :^P > > It has less to do with C and more to do with crazy string libraries :) > > I'm not sure what the intention is here though, the comment directly below your patch says > " /* Append pattern to eat up trailing slashes */" > > How is that not what you are trying to do? Trailing / in the pathname regex versus trailing / in the pathname being matched, IIUC. -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.