On 09/24/2015 08:43 AM, James Carter wrote: > 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. It also has the reverse map (attr_type_map) if you want that. In Android, external/sepolicy/tools/sepolicy-analyze has examples of using both maps. _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.