From: | Joshua Brindle <method(at)manicmethod(dot)com> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>, KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>, Greg Smith <greg(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: SE-PostgreSQL/Lite Review |
Date: | 2009-12-11 18:28:17 |
Message-ID: | 4B228F41.7010102@manicmethod.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Stephen Frost wrote:
> KaiGai,
>
<snip>
> I do think that, technically, there's no reason we couldn't allow for
> multiple "only-more-restrictive" models to be enabled and built in a
> single binary for systems which support it. As such, I would make those
> just "#if defined()" rather than "#elif". Let it be decided at runtime
> which are actually used, otherwise it becomes a much bigger problem for
> packagers too.
>
It isn't just a case of using #if and it magically working. You'd need a
system to manage multiple labels on each object that can be addressed by
different systems. So instead of having an object mapped only to
"system_u:object_r:mydb_t:s15" you'd also have to have it mapped to,
eg., "^" for Smack.
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2009-12-11 18:52:44 | Re: Adding support for SE-Linux security |
Previous Message | David P. Quigley | 2009-12-11 18:17:00 | Re: Adding support for SE-Linux security |