All of lore.kernel.org
 help / color / mirror / Atom feed
From: KaiGai Kohei <kaigai@kaigai.gr.jp>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: Joshua Brindle <method@manicmethod.com>,
	KaiGai Kohei <kaigai@ak.jp.nec.com>,
	dwalsh@redhat.com, selinux@tycho.nsa.gov
Subject: Re: Fedora/SE-PostgreSQL
Date: Thu, 09 Aug 2007 02:25:21 +0900	[thread overview]
Message-ID: <46B9FC81.6080804@kaigai.gr.jp> (raw)
In-Reply-To: <1186576381.18881.39.camel@gorn>

Christopher J. PeBenito wrote:
> On Tue, 2007-08-07 at 21:12 -0400, Joshua Brindle wrote:
>> KaiGai Kohei wrote:
>>> The attached patch adds definitions of new classes and permissions,
>>> and MLS/MCS rules.
>>>
>>> Following items are differences from the first patch.
>>>
>>> * add "db_" prefix for each object classes.
>>>   e.g) "table" -> "db_table"
>>> * interfaces in policy/modules/kernel/mls.if are renamed.
>>>   - mls_database_read_up    -> mls_db_read_all_levels
>>>   - mls_database_write_down -> mls_db_write_all_levels
>>>   - mls_database_upgrade    -> mls_db_upgrade
>>>   - mls_database_downgrade  -> mls_db_downgrade
>>> * MLS attributes related to database are renamed
>>>   - mlsdatabaseXXXXX -> mlsdbXXXXX

>> These interface names seem kind of ambiguous, they could mean downgrade
>> the database files on disk or within an selinux aware database server.
>> They also have very low granularity, but I haven't decided if that
>> matters much.
>>
>> It would be nice to have less ambiguous interface names though.
> 
> All of the mls interfaces are coarse, as they make mls exemptions.  If
> it was talking about the files on disk, you would be using the mls file
> downgrade interface.

I don't have any special opinion about its naming scheme.
(It is possible to update the patch again, if necessary.)

Is there any other opinion for the "db_" prefixed new object classes?
I just started to modify SE-PostgreSQL to use these prefixed ones.

-- 
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.

  reply	other threads:[~2007-08-08 17:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-01 12:17 Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-06 12:14 ` Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-06 19:23 ` Fedora/SE-PostgreSQL Stephen Smalley
2007-08-07  4:41   ` Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-07 12:25     ` Fedora/SE-PostgreSQL Stephen Smalley
2007-08-07 13:40       ` Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-07 12:25 ` Fedora/SE-PostgreSQL Christopher J. PeBenito
2007-08-07 13:51   ` Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-07 14:09     ` Fedora/SE-PostgreSQL Christopher J. PeBenito
2007-08-07 17:28       ` Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-08  1:12         ` Fedora/SE-PostgreSQL Joshua Brindle
2007-08-08 12:33           ` Fedora/SE-PostgreSQL Christopher J. PeBenito
2007-08-08 17:25             ` KaiGai Kohei [this message]
2007-08-09 11:16         ` Fedora/SE-PostgreSQL KaiGai Kohei
2007-08-09 13:08           ` Fedora/SE-PostgreSQL Christopher J. PeBenito

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=46B9FC81.6080804@kaigai.gr.jp \
    --to=kaigai@kaigai.gr.jp \
    --cc=cpebenito@tresys.com \
    --cc=dwalsh@redhat.com \
    --cc=kaigai@ak.jp.nec.com \
    --cc=method@manicmethod.com \
    --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.