[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ SEMANAGE ] Resync to sepol changes
It _should_ commit the users file successfully... but it doesn't yet -
need to do some more investigation.
I'm pretty sure it's read successfully, updated successfully, and
merged into policy... not sure why it doesn't commit.
I see what's wrong... my implementations of add() and modify() invoke
other functions of the database, but the enter_ro/exit_ro/enter_rw
functions are not reentrant. As a result, the read lock is dropped
early, and more importantly, the cache is dropped too (so all
modifications are lost every time).
Hmm...
--
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.
This mailing list archive is a service of Copilot Consulting.