Chris PeBenito
1406eb30c3
Implement InitialSIDTest.
2015-04-24 08:56:56 -04:00
Chris PeBenito
6de35b81f7
Implement CommonTest and ObjClassTest.
...
Also fix bugs uncovered by testing.
2015-04-23 11:04:37 -04:00
Chris PeBenito
ae0e116567
Implement PolCapTest.
2015-04-22 18:01:22 -04:00
Chris PeBenito
f8a2023391
DomainTransitionAnalysis: implement Edge class and descriptors for graph access
...
Includes policyrep changes to handle the deepcopy needed by NetworkX. The
SWIG objects are treated as immutable, since they are proxies of C pointers
to immutable objects (raw policydb).
Also fixes PolicySymbol.__hash__(), as returning NotImplemented would
raise a TypeError.
2015-04-22 09:55:21 -04:00
Chris PeBenito
961680ee1e
Implement MLSRuleTest
2015-04-13 10:06:04 -04:00
Chris PeBenito
f2064f7eac
Implement RoleAllowTest and RoleTransitionTest.
2015-04-12 17:20:55 -04:00
Chris PeBenito
25a5c1adab
Implement AVRuleTest and TERuleTest.
2015-04-12 10:51:58 -04:00
Chris PeBenito
09a5f5dca4
Implement TypeTest and TypeAttributeTest
2015-04-11 10:54:22 -04:00
Chris PeBenito
9c9d908754
Implement RoleTest.
2015-04-11 09:01:26 -04:00
Chris PeBenito
26e0396290
Implement User unit tests.
2015-04-10 14:53:07 -04:00
Chris PeBenito
af3c5b5e3e
Add SELinuxPolicy test cases.
...
Created a test policy with prime number counts of everything so there
should be no accidental correct answers.
2015-03-03 13:18:29 -05:00
Chris PeBenito
a8d7f740b2
Change range constructor to use regular levels instead of semantic ones.
...
This affords better error reporting since levels can be invalid for
several reasons.
* Fix memory leak in qpol_semantic_level
* Add unit tests
2015-02-22 09:24:39 -05:00