Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id j6MEBqgA005526 for ; Fri, 22 Jul 2005 10:11:52 -0400 (EDT) Received: from mx1.redhat.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id j6ME6IKk027349 for ; Fri, 22 Jul 2005 14:06:19 GMT Subject: Re: [ libsepol 0/6] Context reorganization From: Ivan Gyurdiev Reply-To: gyurdiev@redhat.com To: Joshua Brindle Cc: selinux@tycho.nsa.gov In-Reply-To: <42E0FC94.2060501@tresys.com> References: <1121967118.9844.17.camel@celtics.boston.redhat.com> <42DFE2A7.9020200@tresys.com> <1121969017.9844.50.camel@celtics.boston.redhat.com> <42DFE4CA.1070707@tresys.com> <1121969663.9844.63.camel@celtics.boston.redhat.com> <1122040159.24847.10.camel@celtics.boston.redhat.com> <42E0FC94.2060501@tresys.com> Content-Type: text/plain Date: Fri, 22 Jul 2005 10:04:38 -0400 Message-Id: <1122041079.24847.15.camel@celtics.boston.redhat.com> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov > it also doesn't call context_isvalid() which means it doesn't need the > cache. I think any functions exposed by libsepol (intended for external use, whether it's static linking, or shared linking), which manipulate the policydb should leave it in a valid state after they're done. This is especially true if we move to a model where all changes occur on the in-memory policydb, instead of being written to disk (the new functions which I'm adding). Basically, I want libsepol operations on the policydb to be transactional in themselves, and you're saying that currently sepol_genusers_policydb is broken, and so are the new user functions that I submitted. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.