History log of /external/selinux/sepolgen/src/sepolgen/refpolicy.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
15a7553d2274a351fb1098f7bfab86346c5a04b8 16-Jul-2015 Robert Kuska <rkuska@redhat.com> sepolgen: Apply fixes discovered by 2to3 where needed.

Replace usage of print statement with print function.
Use `in` instead of `has_key` when checking for key in dict.
When using `raise` add text (if any) as parameter of exception function.
Add Python3 imports of moved modules.
Replace `map` with list comprehension.
Use reserved word `as` in try-except when catching exception.
Replace `ifilter` function with `filter`.

Signed-off-by: Robert Kuska <rkuska@redhat.com>
/external/selinux/sepolgen/src/sepolgen/refpolicy.py
f0290677091e7eee4a3724a2a86ede9e11f93802 17-Mar-2015 Daniel De Graaf <dgdegra@tycho.nsa.gov> libsepol, checkpolicy: add device tree ocontext nodes to Xen policy

In Xen on ARM, device tree nodes identified by a path (string) need to
be labeled by the security policy.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
/external/selinux/sepolgen/src/sepolgen/refpolicy.py
3dd13f7d0859b3f8b97700f5c24651af4807af49 09-Jan-2013 Miroslav Grepl <mgrepl@redhat.com> sepolgen: understand role attributes

Parse and handle role attributes in sepolgen.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
/external/selinux/sepolgen/src/sepolgen/refpolicy.py
a8a36f88c2791171d798a33866f5da625a2deea1 13-Sep-2012 Eric Paris <eparis@redhat.com> sepolgen: audit2allow: one role/type pair per line

audit2allow was generating rules which would not compile. We can only
do one per line, not tons of types at one time.

Signed-off-by: Eric Paris <eparis@redhat.com>
/external/selinux/sepolgen/src/sepolgen/refpolicy.py
628bcc69e23d96cec308bae5c70bebdeebeeeecc 12-Sep-2012 Eric Paris <eparis@redhat.com> policycoreutils: sepolgen: return and output constraint violation information

update sepolgen to return constraint violation information. Then output
that information in audit2allow.

Signed-off-by: Eric Paris <eparis@redhat.com>
/external/selinux/sepolgen/src/sepolgen/refpolicy.py
6341f6a4926b46f36ba9a05736460da53bd95557 15-Sep-2009 pjnuzzi <pjnuzzi@tycho.ncsc.mil> sepolgen: Add support for multiple target OSes

Add support to sepolgen for new Xen ocontext identifiers.

Signed-off-by: Paul Nuzzi <pjnuzzi@tycho.ncsc.mil>
Signed-off-by: Joshua Brindle <method@manicmethod.com>
/external/selinux/sepolgen/src/sepolgen/refpolicy.py
13cd4c8960688af11ad23b4c946149015c80d549 19-Aug-2008 Joshua Brindle <method@manicmethod.com> initial import from svn trunk revision 2950
/external/selinux/sepolgen/src/sepolgen/refpolicy.py