All of lore.kernel.org
 help / color / mirror / Atom feed
* odd behavior of newrole setting level
@ 2010-01-27  3:12 Andy Warner
  2010-01-27 14:13 ` Daniel J Walsh
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Warner @ 2010-01-27  3:12 UTC (permalink / raw)
  To: selinux

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-27 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27  3:12 odd behavior of newrole setting level Andy Warner
2010-01-27 14:13 ` Daniel J Walsh
2010-01-27 16:14   ` Joe Nall
2010-01-27 20:36     ` Stephen Smalley

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.