All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <method@manicmethod.com>
To: Joe Nall <joe@nall.com>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: per role template confusion
Date: Thu, 09 Oct 2008 16:24:46 -0400	[thread overview]
Message-ID: <48EE688E.8040507@manicmethod.com> (raw)
In-Reply-To: <00473A36-B9E3-4481-A2AC-7D5623741AB5@nall.com>

Joe Nall wrote:
> Can someone explain the per role template implementation? I am confused.
>
> During policy compilation, a .mod.role file is created that just 
> references the roles in /usr/share/selinux/devel/include/rolemap 
> regardless of the roles defined via semanage. Should semanage add 
> roles to rolemap? Is there additional magic in semodule?
>
> joe 

Roles aren't created by semanage, only user->role mappings. The 
per_role_template creates derived types for each role (eg., 
staff_mozilla_t, sysadm_mozilla_t). These roles are defined in the 
policy only.


--
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:[~2008-10-09 20:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 18:36 per role template confusion Joe Nall
2008-10-09 20:24 ` Joshua Brindle [this message]
2008-10-09 23:17   ` Joe Nall
2008-10-10 12:58     ` Christopher J. PeBenito
2008-10-10 14:03       ` Joe Nall
2008-10-10 14:29         ` Christopher J. PeBenito
2008-10-10 14:43           ` Joe Nall
2008-10-10 21:27       ` 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=48EE688E.8040507@manicmethod.com \
    --to=method@manicmethod.com \
    --cc=joe@nall.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.