From: Russell Coker Reply-To: russell@coker.com.au To: Stephen Smalley Subject: Re: [ANN] SE-PostgreSQL 8.2.3-1.0 alpha release Date: Wed, 7 Mar 2007 09:36:02 +1100 Cc: KaiGai Kohei , selinux@tycho.nsa.gov References: <45EC0D21.2070706@kaigai.gr.jp> <45EDBB95.50703@kaigai.gr.jp> <1173208625.1230.6.camel@moss-spartans.epoch.ncsc.mil> In-Reply-To: <1173208625.1230.6.camel@moss-spartans.epoch.ncsc.mil> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <200703070936.04240.russell@coker.com.au> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Wednesday 07 March 2007 06:17, Stephen Smalley wrote: > > We have to store a security context of tuple in anywhere, so modifying > > the file format was not avoidable. The storage manager of PostgreSQL > > cannot handle different file formats, so SE-PostgreSQL cannot run over > > the unlabeled databased generated by native PostgreSQL. > > > > It might be possible, but I expect more hooks to the PostgreSQL is > > necessary. It will prevent to follow the version-up of native one. > > Do they provide any kind of attribute / metadata support at that > granularity? Along the lines of filesystem xattrs? > > Could you store the labels in a separate table? Along the lines of the > old persistent label mapping in SELinux (issues for consistency and > performance, of course). The labelling for tables and columns could be stored in a different table as they don't change much. The labelling of rows could be stored in an extra column in the table. Then if the non-SE version of PostgreSQL had some code to ignore the SE Linux column then we would have fairly good compatibility. Kohei-san, is this a viable idea? -- russell@coker.com.au http://etbe.blogspot.com/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development -- 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.