All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: jwcart2@tycho.nsa.gov
Cc: SELinux <selinux@tycho.nsa.gov>
Subject: Re: SELinux Policy compiler doesn't like leading numbers in fs names
Date: Wed, 12 Jan 2011 13:59:33 -0500	[thread overview]
Message-ID: <4D2DFA15.60805@redhat.com> (raw)
In-Reply-To: <1294858566.2276.9.camel@moss-lions.epoch.ncsc.mil>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/12/2011 01:56 PM, James Carter wrote:
> On Wed, 2011-01-12 at 13:36 -0500, Daniel J Walsh wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=668871
> 
> Is there any logical reason for this or is this just a bug?
> 
>> The filesystem name for a genfscon statement happens to be specified as
>> an identifier and an identifier must begin with a letter, but I don't
>> think that there is any technical reason for the restriction.
> 
>> Would we want to allow all identifiers to be able to start with
>> alphanumeric characters (or maybe even "_") or just filesystem names?
> 
>>
- --
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.

I would say allow any alphanumeric and _, and then let the refpolicy
guidelines control what gets into that policy.  Forcing IBM to change
the name of their file system for SELinux seems a little nuts.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0t+hUACgkQrlYvE4MpobMT2gCeMA/lLDF4bv1+rgNesFlHR42P
fIEAn06YCwRWmIrtjAvJIhwT+uQbOCfU
=L6cW
-----END PGP SIGNATURE-----

--
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-01-12 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 18:36 SELinux Policy compiler doesn't like leading numbers in fs names Daniel J Walsh
2011-01-12 18:56 ` James Carter
2011-01-12 18:59   ` Daniel J Walsh [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=4D2DFA15.60805@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=jwcart2@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.