All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Warner <warner@rubix.com>
To: selinux@tycho.nsa.gov
Subject: odd behavior of newrole setting level
Date: Tue, 26 Jan 2010 22:12:10 -0500	[thread overview]
Message-ID: <4B5FAF0A.8070402@rubix.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

Can someone explain why the first newrole (newrole -l s0) from the
commands below fails while the second newrole (newrole -l SystemLow)
succeeds. I am using Fedora 12 fully updated, the mls policy and the
mcstrans label translation service. s0 is mapped to SystemLow.

Thanks,

Andy

$ id -Z
staff_u:staff_r:staff_t:SystemLow-SystemHigh
$ newrole -l s0
staff_u:staff_r:staff_t:s0-SystemHigh is not a valid context
$ newrole -l SystemLow
Password:
$ id -Z
staff_u:staff_r:staff_t:SystemLow-SystemHigh
$ newrole -l s0-s0
Password:
$ id -Z
staff_u:staff_r:staff_t:SystemLow





[-- Attachment #2: Type: text/html, Size: 1014 bytes --]

             reply	other threads:[~2010-01-27  3:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27  3:12 Andy Warner [this message]
2010-01-27 14:13 ` odd behavior of newrole setting level Daniel J Walsh
2010-01-27 16:14   ` Joe Nall
2010-01-27 20:36     ` 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=4B5FAF0A.8070402@rubix.com \
    --to=warner@rubix.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.