All of lore.kernel.org
 help / color / mirror / Atom feed
* setools' seinfo/sesearch and role_attribute support?
@ 2012-02-29 18:52 Sven Vermeulen
  2012-03-01 10:58 ` Harry Ciao
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2012-02-29 18:52 UTC (permalink / raw)
  To: SELinux

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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-01 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 18:52 setools' seinfo/sesearch and role_attribute support? Sven Vermeulen
2012-03-01 10:58 ` Harry Ciao

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.