All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <method@manicmethod.com>
To: Eric Paris <eparis@redhat.com>
Cc: jwcart2@tycho.nsa.gov, Stephen Smalley <sds@tycho.nsa.gov>,
	qingtao.cao@windriver.com,
	"Christopher J. PeBenito" <cpebenito@tresys.com>,
	Daniel J Walsh <dwalsh@redhat.com>,
	SELinux <selinux@tycho.nsa.gov>
Subject: Re: checkpolicy is broken (which is not)
Date: Sun, 07 Aug 2011 00:43:13 -0400	[thread overview]
Message-ID: <4E3E17E1.60108@manicmethod.com> (raw)
In-Reply-To: <4E3C2720.7030303@redhat.com>

Eric Paris wrote:
> On 08/05/2011 12:58 PM, James Carter wrote:
>> On Fri, 2011-08-05 at 08:56 -0400, Stephen Smalley wrote:
>
>>> I don't think we should introduce an incompatible policy language change
>>> without very strong reasons.  It is fine to introduce new constructs
>>> like your role...attribute construct, but we shouldn't change the
>>> meaning of role...type statements and thereby render invalid policies
>>> that used to be valid.
>>>
>> In the up and coming CIL compiler, declaration and use are always
>> separate, so user, role, and type rules are only used to declare. There
>> are typealias, typeattribute, and other such rules to define
>> associations. For a role there is a separate roletype rule to associate
>> a type with a role.
>>
>> So if roletype and roleattribute rules were created for the current
>> toolchain, the current role rule would not have to be changed. Newer
>> policies could use the role rule only to declare a role, but it could
>> still be used in the old way for backwards compatibility.
>
> Sounds to me like there is enough interest in compatiblity that we
> should make the current toolchain continue to allow the old role X type
> Y rules to also be a declaration.  In the new CIL toolchain we will make
> the syntax more strict and require better policy definitions.  Harry, is
> this patch something you can take a moment and write?  Thanks!
>

Wait, what interest? From my count Dan doesn't care, Jim doesn't care, I 
am for breaking it and SDS's latest email seems to be against implicit 
declarations (and declaration ambiguity).

--
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:[~2011-08-07  4:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4E3AEA75.3090602@redhat.com>
     [not found] ` <4E3B3D39.4020700@windriver.com>
2011-08-05  1:15   ` checkpolicy is broken (which is not) Harry Ciao
2011-08-05  2:29     ` Eric Paris
2011-08-05  2:29       ` [refpolicy] " Eric Paris
2011-08-05  4:19       ` Harry Ciao
2011-08-05 12:56         ` Stephen Smalley
2011-08-05 12:59           ` Daniel J Walsh
2011-08-05 13:27             ` Stephen Smalley
2011-08-05 14:42               ` Daniel J Walsh
2011-08-05 15:30                 ` Russell Coker
2011-08-05 16:20                   ` Stephen Smalley
2011-08-08  6:41                     ` HarryCiao
2011-08-08 12:01                       ` Stephen Smalley
2011-08-05 15:45             ` Joshua Brindle
2011-08-08  5:38             ` Harry Ciao
2011-08-05 16:58           ` James Carter
2011-08-05 17:23             ` Eric Paris
2011-08-07  4:43               ` Joshua Brindle [this message]

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=4E3E17E1.60108@manicmethod.com \
    --to=method@manicmethod.com \
    --cc=cpebenito@tresys.com \
    --cc=dwalsh@redhat.com \
    --cc=eparis@redhat.com \
    --cc=jwcart2@tycho.nsa.gov \
    --cc=qingtao.cao@windriver.com \
    --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.