From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <48BC141F.2060802@kaigai.gr.jp> Date: Tue, 02 Sep 2008 01:11:11 +0900 From: KaiGai Kohei MIME-Version: 1.0 To: Joshua Brindle CC: KaiGai Kohei , Stephen Smalley , jmorris@namei.org, paul.moore@hp.com, selinux@tycho.nsa.gov Subject: Re: [PATCH 3/3] Thread/Child-Domain Assignment (rev.4) References: <487C7698.60503@ak.jp.nec.com> <1216129084.9348.27.camel@moss-spartans.epoch.ncsc.mil> <487D5A3D.6090801@ak.jp.nec.com> <1216210685.17602.98.camel@moss-spartans.epoch.ncsc.mil> <48803685.1000505@ak.jp.nec.com> <4886AC81.9030202@ak.jp.nec.com> <4889CC5F.3030500@ak.jp.nec.com> <4897E974.2040003@ak.jp.nec.com> <4897EB6F.6080709@ak.jp.nec.com> <48B2A66D.7030608@ak.jp.nec.com> <48B6C966.7040006@tresys.com> <48B756C4.2090909@ak.jp.nec.com> <06A6610D4F464D4EBEAFBF2C5F86911E3A3510@exchange2.columbia.tresys.com> <48BB8B1E.7010208@ak.jp.nec.com> <06A6610D4F464D4EBEAFBF2C5F86911E3A3609@exchange2.columbia.tresys.com> In-Reply-To: <06A6610D4F464D4EBEAFBF2C5F86911E3A3609@exchange2.columbia.tresys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov >> I guess your opinion is that smaller differences between >> kernel and modular policy format is better. If so, what do > > No, I'm fine with differences in those 2 formats. I just don't want to > get confused later when the on-disk format has extra fields that the > structs in libsepol don't have. How do you think the approach on the latest libsepol patch? It integrates all fields to represent its properties ("flavor", "primary" and "flags") into a single field deployed on the third word of type_datum entry. These are encoded/decoded by type_read/type_write. I think an extra field like a new "properties" is unavoidable, because existing fields of properties are external specification of libsepol. So we cannot re-organize them arbitrarily. Thanks, -- KaiGai Kohei -- 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.