All of lore.kernel.org
 help / color / mirror / Atom feed
* regression test of security policy
@ 2012-05-04 13:48 Kohei KaiGai
  2012-05-04 14:00 ` Stephen Smalley
  0 siblings, 1 reply; 7+ messages in thread
From: Kohei KaiGai @ 2012-05-04 13:48 UTC (permalink / raw)
  To: SELinux-NSA

Does anyone have a tool to run regression test when we construct a patch?
(Or, is it available to construct using existing tools?)

Right now, I have to replace a working policy by the modified one whenever
I prepare to submit a patch towards reference policy. However, the default
security policy of Fedora is optimized to Fedora environment, thus, it often
mismatch with the latest upstream policy.
For example, "allow_execmem" is not defined at Fedora, so, I could not
load the staff.pp being constructed based on the upstream policy

So, the solution I'm looking for is a tool that loads a monolithic policy and
checks its access control decision towards a certain pair of subject context
and target context according to catalog files, then it prints the result of
diff commands between the computed one and expected one.

Thanks,
-- 
KaiGai Kohei <kaigai@kaigai.gr.jp>

--
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] 7+ messages in thread

end of thread, other threads:[~2012-05-15 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 13:48 regression test of security policy Kohei KaiGai
2012-05-04 14:00 ` Stephen Smalley
2012-05-04 15:44   ` Kohei KaiGai
2012-05-06 18:51     ` Kohei KaiGai
2012-05-10 13:20       ` Christopher J. PeBenito
2012-05-11 12:59         ` Kohei KaiGai
2012-05-15 15:55           ` Christopher J. PeBenito

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.