All of lore.kernel.org
 help / color / mirror / Atom feed
* setools4 support
@ 2016-09-22 15:17 Jason Zaman
  2016-09-22 15:17 ` [PATCH 1/7] sepolicy: rearrange vars together at the top Jason Zaman
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Jason Zaman @ 2016-09-22 15:17 UTC (permalink / raw)
  To: selinux

Hi all,

I finally got everything updated to use setools4. The most complicated parts
were sepolicy.search() and sepolicy.info() which were largely undocumented. I
dumped and diff'd the output from the old and new code so am fairly confident
that they are the same (barring some issues that setools3 appears to have with
cil). I also changed several places to just use setools directly, having the
indirection through search() mostly just complicates and slows things down.

The first patch is just cleanup. Next imports and initializes setools.
Patches 3-4 update a lot of the users of search() and info() to work with the next
changes.
Patches 5-6 update search() and info() themselves and the last drops the C
module completely

I dont know the status of setools4 on fedora (someone else will have to update
the README if needed) or others but I've added it masked in gentoo a fair while
ago. Once this patchset is merged we can finally get rid of setools3, its been
half-broken for a while now.

-- Jason

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

end of thread, other threads:[~2016-09-23 20:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 15:17 setools4 support Jason Zaman
2016-09-22 15:17 ` [PATCH 1/7] sepolicy: rearrange vars together at the top Jason Zaman
2016-09-22 15:17 ` [PATCH 2/7] sepolicy: initialize setools4 Jason Zaman
2016-09-22 15:17 ` [PATCH 3/7] sepolicy: update some users of search() to use setools directly Jason Zaman
2016-09-22 15:17 ` [PATCH 4/7] sepolicy: info() and search() will return generators Jason Zaman
2016-09-22 15:17 ` [PATCH 5/7] sepolicy: make info() use setools4 api Jason Zaman
2016-09-22 15:17 ` [PATCH 6/7] sepolicy: make search() " Jason Zaman
2016-09-22 15:17 ` [PATCH 7/7] sepolicy: update setup.py to remove C module Jason Zaman
2016-09-23  3:14   ` Jason Zaman
2016-09-23 17:07 ` setools4 support Stephen Smalley
2016-09-23 17:11   ` Petr Lautrbach
2016-09-23 17:44     ` Jason Zaman
2016-09-23 17:47   ` Jason Zaman
2016-09-23 18:15     ` Stephen Smalley
2016-09-23 19:23       ` Stephen Smalley
2016-09-23 20:39 ` Stephen Smalley

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.