All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carter <jwcart2@tycho.nsa.gov>
To: "Roberts, William C" <william.c.roberts@intel.com>,
	"selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: Re: Find attributes for a type with sepol
Date: Thu, 24 Sep 2015 08:43:20 -0400	[thread overview]
Message-ID: <5603EFE8.6010505@tycho.nsa.gov> (raw)
In-Reply-To: <476DC76E7D1DF2438D32BFADF679FC5601077F23@ORSMSX103.amr.corp.intel.com>

On 09/23/2015 06:39 PM, Roberts, William C wrote:
> How would one find all the attributes of a type with libsepol, can someone point me to any relevant structures or functions?
>

The policydb_t structure has type_attr_map field which maps types to an ebitmap 
of attributes.

Jim



-- 
James Carter <jwcart2@tycho.nsa.gov>
National Security Agency

  reply	other threads:[~2015-09-24 12:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23 22:39 Find attributes for a type with sepol Roberts, William C
2015-09-24 12:43 ` James Carter [this message]
2015-09-24 12:59   ` Stephen Smalley
2015-09-24 13:58     ` Joshua Brindle
2015-09-29 18:15       ` William Roberts
2015-09-29 19:11         ` Joshua Brindle
2015-09-29 19:33           ` William Roberts
2015-09-29 19:35             ` Joshua Brindle
2015-09-29 19:36               ` William Roberts
2015-09-29 20:19                 ` William Roberts
2015-09-29 20:25                   ` Stephen Smalley
2015-09-29 20:51                     ` William Roberts
2015-09-29 21:04                       ` Stephen Smalley

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=5603EFE8.6010505@tycho.nsa.gov \
    --to=jwcart2@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    --cc=william.c.roberts@intel.com \
    /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.