From: David Caplan <dac@tresys.com>
To: faye@lurking-grue.org
Cc: selinux@tycho.nsa.gov
Subject: Re: Number of roles reported by checkpolicy
Date: Mon, 20 Oct 2003 09:24:44 -0400 [thread overview]
Message-ID: <3F93E21C.4020405@tresys.com> (raw)
In-Reply-To: <200310201900.27621.faye@lurking-grue.org>
Faye Coker wrote:
> Running checkpolicy shows I have 4 users and 5 roles:
>
> faye@kaos:/etc/selinux$ checkpolicy
> checkpolicy: loading policy configuration from policy.conf
> security: 4 users, 5 roles, 683 types
> security: 29 classes, 71806 rules
>
> however, I can only see four roles:
>
> faye@kaos:/etc/selinux$ grep ^role policy.conf|cut -f2 "-d "|sort -u
> staff_r
> sysadm_r
> system_r
> user_r
>
> Any ideas as to why checkpolicy is reporting five roles, when I can only see
> four?
>
object_r is inserted as the first role into the role table (see
roles_init() in .../checkpolicy/policydb.c) when the policy database is
initialized.
David
__________________________________
David Caplan 410 290 1411 x105
dac@tresys.com
Tresys Technology, LLC
8840 Stanford Blvd., Suite 2100
Columbia, MD 21045
--
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.
prev parent reply other threads:[~2003-10-20 13:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-20 9:00 Number of roles reported by checkpolicy Faye Coker
2003-10-20 13:23 ` Stephen Smalley
2003-10-20 13:24 ` David Caplan [this message]
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=3F93E21C.4020405@tresys.com \
--to=dac@tresys.com \
--cc=faye@lurking-grue.org \
--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.