From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Darrel Goeddel <dgoeddel@TrustedCS.com>,
SE Linux <selinux@tycho.nsa.gov>
Subject: Re: Ok I plead ignorance to the way MLS works.
Date: Wed, 24 Aug 2005 13:27:29 -0400 [thread overview]
Message-ID: <430CAE01.70405@redhat.com> (raw)
In-Reply-To: <1124902596.11553.66.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
>On Wed, 2005-08-24 at 11:44 -0500, Darrel Goeddel wrote:
>
>
>>I think you would want to run the kernel would at s0:c0.c127.
>>Then, do a "range_transition kernel_t init_exec_t s0" to get the whole
>>of userspace started off with no categories present.
>>
>>
>
>Why not just have the kernel start out at s0 (no categories), and just
>give its domain the necessary attributes to override MLS? Then you
>don't need to transition at all. Otherwise, you also have to deal with
>any other kernel-invoked helpers, e.g. hotplug.
>
>
>
Ok, I changed the kernel to s0, and now all domains run in s0. Problem
is I want root to login as
s0:c0.c127
I changed root default context file
(/etc/selinux/targeted/contexts/users/root) to
system_u:system_r:local_login_t:s0 system_r:unconfined_t:s0:c0.c127
But when I login I get
root:system_r:unconfined_t:s0
login is running as
system_u:system_r:local_login_t:s0
Should it be running with a range?
Do I need to change login policy?
I see no errors...
>>I'm sure about the compilation error, I did a similar statement with a
>>toolchain that is are pre-modules - that worked. I'm updating an FC4 box
>>now so I at least have something up-to-date.
>>
>>
>
>I just tried adding the range_transition listed by Dan to a policy.conf
>and rebuilding with checkpolicy -M (latest cvs), and it worked for me.
>But note that s0 - s0 is unnecessary; it is the same as just s0. The
>high level defaults to the low level if it isn't specified.
>
>
>
Ok it was within a boolean block.
--
--
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.
next prev parent reply other threads:[~2005-08-24 17:27 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-22 20:21 libselinux category patch Daniel J Walsh
2005-08-23 13:45 ` Stephen Smalley
2005-08-24 14:19 ` Darrel Goeddel
2005-08-24 14:34 ` Stephen Smalley
2005-08-23 14:06 ` Joshua Brindle
2005-08-23 14:18 ` Daniel J Walsh
2005-08-23 14:50 ` Stephen Smalley
2005-08-23 15:11 ` Daniel J Walsh
2005-08-23 16:15 ` Stephen Smalley
2005-08-24 14:34 ` Darrel Goeddel
2005-08-24 14:39 ` Joshua Brindle
2005-08-23 14:27 ` Stephen Smalley
2005-08-23 15:02 ` Daniel J Walsh
2005-08-23 15:04 ` Stephen Smalley
2005-08-24 14:48 ` Darrel Goeddel
2005-08-24 14:49 ` Stephen Smalley
2005-08-23 16:52 ` Stephen Smalley
2005-08-23 17:21 ` Stephen Smalley
2005-08-23 18:03 ` Stephen Smalley
2005-08-23 18:10 ` Stephen Smalley
2005-08-24 13:27 ` Daniel J Walsh
2005-08-24 14:13 ` Stephen Smalley
2005-08-24 14:24 ` Daniel J Walsh
2005-08-24 14:50 ` Ok I plead ignorance to the way MLS works Daniel J Walsh
2005-08-24 16:44 ` Darrel Goeddel
2005-08-24 16:56 ` Stephen Smalley
2005-08-24 17:27 ` Daniel J Walsh [this message]
2005-08-24 17:40 ` Stephen Smalley
2005-08-24 19:14 ` James Morris
2005-08-24 19:36 ` libselinux category patch Stephen Smalley
2005-08-23 17:54 ` Daniel J Walsh
2005-08-25 14:19 ` Stephen Smalley
-- strict thread matches above, loose matches on Subject: below --
2005-08-24 19:11 Ok I plead ignorance to the way MLS works Chad Hanson
2005-08-24 19:29 ` Stephen Smalley
2005-08-24 20:26 Chad Hanson
2005-08-24 20:28 ` Daniel J Walsh
2005-08-24 21:45 Chad Hanson
2005-08-25 12:53 ` Stephen Smalley
2005-08-25 21:04 Chad Hanson
2005-08-26 12:37 ` Stephen Smalley
2005-08-26 13:26 ` Daniel J Walsh
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=430CAE01.70405@redhat.com \
--to=dwalsh@redhat.com \
--cc=dgoeddel@TrustedCS.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.