All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl MacMillan <kmacmill@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Dawid Gajownik <gajownik@gmail.com>,
	Joshua Brindle <jbrindle@tresys.com>,
	fedora-selinux-list@redhat.com,
	SELinux List <selinux@tycho.nsa.gov>
Subject: Re: How should I run genfscon in my module?
Date: Tue, 31 Oct 2006 16:48:54 -0500	[thread overview]
Message-ID: <1162331334.4147.6.camel@localhost.localdomain> (raw)
In-Reply-To: <1162316975.32614.146.camel@moss-spartans.epoch.ncsc.mil>

On Tue, 2006-10-31 at 12:49 -0500, Stephen Smalley wrote:
> On Sun, 2006-10-29 at 21:06 +0100, Dawid Gajownik wrote:
> > Dnia 10/29/2006 06:33 PM, Użytkownik Joshua Brindle napisał:
> > > Right, that's a hard fix I think, dashes aren't allowed in
> > > identifiers and they are treated specially for use in MLS ranges..
> > 
> > Oh, that's really bad :( Without that line files on ntfs-3g filesystem 
> > have unlabeled_t type and I would need to give to many privileges to 
> > mount_t domain.
> > 
> > So there is no hope to fix it in the clean way?
> 
> File it as a bug against checkpolicy.  

I looked at fixing this by changing genfscon to use user_identifier
instead of identifier (they are the same except user_identifier includes
"-"). This made checkpolicy generate a syntax error for all genfscon
statements - haven't tracked down what the problem is. The grammer still
seems to be unambiguous.

I'll try to get back to it soon, but thought I would post this in case
someone knows what the issue is off the top of their head.

Karl

--
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:[~2006-11-01 16:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6FE441CD9F0C0C479F2D88F959B015885146CC@exchange.columbia.tresys.com>
     [not found] ` <454509C2.7080008@gmail.com>
     [not found]   ` <1162316975.32614.146.camel@moss-spartans.epoch.ncsc.mil>
2006-10-31 21:48     ` Karl MacMillan [this message]
2006-11-01 13:32       ` How should I run genfscon in my module? Stephen Smalley
2006-11-01 15:21         ` Karl MacMillan
2006-11-01 15:27           ` Joshua Brindle
2006-11-01 16:09             ` Karl MacMillan
2006-11-01 16:12               ` Joshua Brindle
2006-11-01 18:18               ` Stephen Smalley
2006-11-02 15:22                 ` Karl MacMillan
2006-11-03 17:53                   ` Stephen Smalley

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=1162331334.4147.6.camel@localhost.localdomain \
    --to=kmacmill@redhat.com \
    --cc=fedora-selinux-list@redhat.com \
    --cc=gajownik@gmail.com \
    --cc=jbrindle@tresys.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.