Research
.
Skip Search Box

SELinux Mailing List

Re: Number of roles reported by checkpolicy

From: David Caplan <dac_at_tresys.com>
Date: Mon, 20 Oct 2003 09:24:44 -0400

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.
Received on Mon 20 Oct 2003 - 09:23:49 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service