From: Karl MacMillan <kmacmillan@mentalrootkit.com>
To: SELinux Mail List <selinux@tycho.nsa.gov>
Subject: [PATCH] add selpolgen
Date: Tue, 16 Jan 2007 10:26:22 -0500 [thread overview]
Message-ID: <45ACEE9E.7000709@mentalrootkit.com> (raw)
This is a patch (available for download because of size - see url below)
to add a python library named selpolgen and a new version of audit2allow
that uses this library. This is a minimally changed version of what I
have been calling madison.
I am submitting this for inclusion as part of the main selinux
distribution. I believe that inclusion here will help make good policy
generation tools develop sooner and give a common base for creating new
tools.
Questions:
* I have the library at the top-level of the project - like the C
libraries. Is this the best location? What about the name?
* Should the old audit2allow be retained in any form? I've tried to make
this a drop-in replacement, but there are likely regressions / changes.
There are also a few options still missing that I will add soon.
Karl
http://people.redhat.com/kmacmill/patches/selinux/2007-01-16-selpolgen-initial-submission.patch.gz
a/policycoreutils/audit2allow/avc.py | 553
b/policycoreutils/audit2allow/selpolgen-ifgen | 84
b/selpolgen/HACKING | 79
b/selpolgen/Makefile | 23
b/selpolgen/TODO | 33
b/selpolgen/VERSION | 1
b/selpolgen/selpolgen/Makefile | 12
b/selpolgen/selpolgen/access.py | 297
b/selpolgen/selpolgen/audit.py | 444
b/selpolgen/selpolgen/classperms.py | 116
b/selpolgen/selpolgen/defaults.py | 41
b/selpolgen/selpolgen/interfaces.py | 425
b/selpolgen/selpolgen/lex.py | 712 +
b/selpolgen/selpolgen/matching.py | 254
b/selpolgen/selpolgen/module.py | 219
b/selpolgen/selpolgen/objectmodel.py | 172
b/selpolgen/selpolgen/output.py | 159
b/selpolgen/selpolgen/policygen.py | 344
b/selpolgen/selpolgen/refparser.py | 746 +
b/selpolgen/selpolgen/refpolicy.py | 727 +
b/selpolgen/selpolgen/selpolgeni18n.py | 26
b/selpolgen/selpolgen/util.py | 87
b/selpolgen/selpolgen/yacc.py | 2175 +++
b/selpolgen/share/Makefile | 8
b/selpolgen/share/perm_map | 993 +
b/selpolgen/test_data/audit.log | 5225 +++++++
b/selpolgen/test_data/httpd.log |10850 ++++++++++++++++
b/selpolgen/test_data/short.log | 15
b/selpolgen/tests/Makefile | 8
b/selpolgen/tests/audit.txt | 200
b/selpolgen/tests/module_compile_test.te | 8
b/selpolgen/tests/perm_map | 993 +
b/selpolgen/tests/run-tests.py | 45
b/selpolgen/tests/test_access.py | 238
b/selpolgen/tests/test_audit.py | 151
b/selpolgen/tests/test_interfaces.py | 282
b/selpolgen/tests/test_matching.py | 144
b/selpolgen/tests/test_module.py | 35
b/selpolgen/tests/test_objectmodel.py | 44
b/selpolgen/tests/test_policygen.py | 31
b/selpolgen/tests/test_refparser.py | 120
b/selpolgen/tests/test_refpolicy.py | 164
policycoreutils/audit2allow/Makefile | 16
policycoreutils/audit2allow/audit2allow | 486
44 files changed, 27000 insertions(+), 785 deletions(-)
--
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.
next reply other threads:[~2007-01-16 15:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-16 15:26 Karl MacMillan [this message]
2007-01-16 16:23 ` [PATCH] add selpolgen Joshua Brindle
2007-01-16 16:40 ` Karl MacMillan
2007-01-18 15:45 ` Stephen Smalley
2007-01-18 19:53 ` Karl MacMillan
2007-01-19 13:49 ` Stephen Smalley
2007-01-19 16:09 ` Stephen Smalley
2007-01-19 16:23 ` Karl MacMillan
2007-01-19 16:59 ` Stephen Smalley
2007-01-19 17:08 ` Karl MacMillan
2007-01-19 17:16 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45ACEE9E.7000709@mentalrootkit.com \
--to=kmacmillan@mentalrootkit.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.