All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <rcoker@redhat.com>
To: "Bush, Daniel" <Daniel.Bush@boeing.com>
Cc: "SELinux" <SELinux@tycho.nsa.gov>
Subject: Re: Policy compiler issues.
Date: Thu, 20 May 2004 13:22:23 +1000	[thread overview]
Message-ID: <200405201322.23573.rcoker@redhat.com> (raw)
In-Reply-To: <E7E29FA7C732D146887C784B34AEF6A0044E3FD7@xch-ne-01.ne.nos.boeing.com>

On Thu, 20 May 2004 08:10, "Bush, Daniel" <Daniel.Bush@boeing.com> wrote:
> It's my
> understanding that whenever the users' list changes (aside from default
> users)in a SELinux system, that the policy files and security labels need
> to be re-compiled. Is there any way around that? Can a user be assigned a
> set of (non-default user) roles without re-compiling the security system?

You can add new users to the policy database or permit existing users to use 
more roles without any significant cost.  You have to build and install a new 
policydb which isn't a significant cost (but may be on embedded systems - I 
never got M4 to work on an iPaQ, and the >3M of storage required is a problem 
when you only have 32M on the system).

If you want to remove a user then you will need to relabel any files that they 
may have created.  That is usually limited to their home 
directory, /tmp, /var/tmp, and /var/run (shouldn't be a huge cost).  Removing 
roles from a user does not necessarily require relabelling any files (but may 
deny that user access to files that they had created if you don't relabel).

>   Another question: Can SELinux be compiled under uClibc? I'm not having
> much luck at that, and I was wondering if something special needed to be
> done, or if anybody had any tips.

What compile errors do you get?  It should work but AFAIK no-one has bothered 
trying to do it before.

-- 
http://apac.redhat.com/disclaimer
See above URL for disclaimer.

--
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:[~2004-05-20 18:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19 22:10 Policy compiler issues Bush, Daniel
2004-05-20  3:22 ` Russell Coker [this message]
2004-05-20  5:42 ` Luke Kenneth Casson Leighton
2004-05-20 12:20 ` Stephen Smalley
  -- strict thread matches above, loose matches on Subject: below --
2004-05-20 15:54 Bush, Daniel
2004-05-20 16:21 ` Stephen Smalley
2004-05-20 17:32   ` Frank Mayer

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=200405201322.23573.rcoker@redhat.com \
    --to=rcoker@redhat.com \
    --cc=Daniel.Bush@boeing.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.