From: KaiGai Kohei <kaigai@kaigai.gr.jp>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: russell@coker.com.au, selinux@tycho.nsa.gov
Subject: Re: [ANN] SE-PostgreSQL 8.2.3-1.0 alpha release
Date: Wed, 07 Mar 2007 22:17:58 +0900 [thread overview]
Message-ID: <45EEBB86.4050408@kaigai.gr.jp> (raw)
In-Reply-To: <1173208625.1230.6.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
> On Wed, 2007-03-07 at 04:05 +0900, KaiGai Kohei wrote:
>>>> * There is no compatibility between SE-PostgreSQL and PostgreSQL.
>>>> You have to pay attention not to destroy your database files
>>>> for native PostgreSQL.
>>> Have you considered enabling "permissive mode" for the database server such
>>> that it can run with unlabeled databases?
>>>
>>> Why can't "native PostgreSQL" just ignore the labelling?
>> 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?
Any kind of database objects (like tables, columns) are stored as tuples within
special tables called as system catalog, so I think that associating a security
context with a tuple provides enough granularity.
# The meaning of your question was a bit unclear for me.
# If my response is miss the point, please tell me.
> 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).
I think unique identification for all tuples are difficult, because we can
create a table without Oid (object id) or primary key to identify a tuple
from outside of the table...
BTW, the string representations of security contexts are stored in a separate
table named as 'pg_selinux', defined with Oid (which have 4-byte length).
In SE-PostgreSQL, any tuples have Oid of pg_selinux as a security context.
Thus, storage consumption is limited.
> Could you split the storage from the presentation such that you only
> store data of one context in a given underlying table and then compose a
> set of single context tables to present a multi-context virtual table?
--
KaiGai Kohei <kaigai@kaigai.gr.jp>
--
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.
next prev parent reply other threads:[~2007-03-07 13:18 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 12:29 [ANN] SE-PostgreSQL 8.2.3-1.0 alpha release KaiGai Kohei
2007-03-05 14:41 ` KaiGai Kohei
2007-03-07 16:17 ` Christopher J. PeBenito
2007-03-08 13:33 ` KaiGai Kohei
2007-03-08 13:33 ` Stephen Smalley
2007-03-08 14:50 ` KaiGai Kohei
2007-03-08 15:00 ` Stephen Smalley
2007-03-08 15:21 ` Joshua Brindle
2007-03-08 15:23 ` Joshua Brindle
2007-03-08 15:30 ` Stephen Smalley
2007-03-08 16:24 ` Eamon Walsh
2007-03-08 20:23 ` Stephen Smalley
2007-03-09 15:25 ` KaiGai Kohei
2007-03-09 16:37 ` Stephen Smalley
2007-03-12 17:10 ` Eamon Walsh
2007-03-12 17:50 ` Stephen Smalley
2007-03-08 17:30 ` Solaris 10 w/ Trusted Extensions vs SE Linux Comparison Fletcher, Boyd C. CIV US USJFCOM JFL J9935
2007-03-08 18:39 ` Fletcher, Boyd C. CIV US USJFCOM JFL J9935
2007-03-29 15:57 ` Karl MacMillan
2007-03-06 9:34 ` [ANN] SE-PostgreSQL 8.2.3-1.0 alpha release Russell Coker
2007-03-06 19:05 ` KaiGai Kohei
2007-03-06 19:17 ` Stephen Smalley
2007-03-06 22:36 ` Russell Coker
2007-03-07 14:01 ` KaiGai Kohei
2007-03-07 13:17 ` KaiGai Kohei [this message]
2007-03-07 14:58 ` Casey Schaufler
2007-03-07 15:58 ` James W. Hoeft
2007-03-07 16:01 ` Joshua Brindle
2007-03-08 13:12 ` KaiGai Kohei
2007-03-08 13:25 ` Stephen Smalley
2007-03-08 14:34 ` KaiGai Kohei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45EEBB86.4050408@kaigai.gr.jp \
--to=kaigai@kaigai.gr.jp \
--cc=russell@coker.com.au \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.