setools' seinfo/sesearch and role_attribute support?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

Is it possible to update setools (and, more specifically, seinfo and
sesearch to support role_attribute queries as well? I find those two
tools very useful to query the policy, often in search for why certain
things are failing (for instance, see which types match which type
attributes, which user roles can "be in" particular types, etc.

With the 20120215 refpolicy release, role attributes are used
extensively, but there are some quirks here and there that are easily
solved, but might be a bit more challenging to debug if all you have
to debug with are the sources. For instance, I found that
mozilla_plugin_t isn't part of mozilla_roles yet (yes, Chris, I'll
send up the patch later when most of the testing has been done ;-)

If I could do something like:
 ~$ seinfo -tmozilla_t -x
to see that this one is part of mozilla_roles, and
  ~$ seinfo -tmozilla_plugin_t -x
isn't, then I can quickly deduce that this is what I need to patch.

Similarly, using sesearch with --role_source supporting role
attributes would be very nice as well.

Wkr,
  Sven Vermeulen

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux