Chris PeBenito
2681524649
Remove old patches.
2018-08-26 18:22:13 -04:00
Chris PeBenito
fd7989a413
apol: Revise UI layouts to have bigger expansion of QLineEdit fields.
2018-08-26 11:53:09 -04:00
Chris PeBenito
d59b989e06
setoolsgui: Missed symbol name attribute use.
2018-08-25 11:00:13 -04:00
Chris PeBenito
87f28f850f
setoolsgui: Use symbol name attribute where now possible.
2018-08-18 13:35:09 -04:00
Chris PeBenito
bbb41965fd
policyrep: Expose names all for policy symbols.
2018-08-18 13:34:06 -04:00
Chris PeBenito
1448413c5c
BaseTERule: Fix conditional_block property.
...
In apol, unconditional TE rules were shown as having no conditional but
as being in the False block. Since the _conditional_block attribute is
bint, it will never be None. Use the _conditional attribute to
determine if the rule is conditional.
2018-08-18 12:41:26 -04:00
Chris PeBenito
ce1f6ecc9f
SELinuxPolicy: Make sure internal methods have underscore prefix.
2018-08-15 12:58:55 -04:00
Chris PeBenito
47f2f59dbc
SELinuxPolicy: Move methods.
...
No code changes.
2018-08-15 12:48:59 -04:00
Chris PeBenito
be87732a65
SELinuxPolicy: Revise potential policy path determination.
2018-08-15 10:21:25 -04:00
Chris PeBenito
3573ab6a33
SELinuxPolicy: Load properties attributes on construction.
2018-08-15 10:00:19 -04:00
Chris PeBenito
2db83f9b0b
SELinuxPolicy: Ensure all C members are initialized and deallocated.
2018-08-13 19:28:54 -04:00
Chris PeBenito
6d7a672611
Update static testing and fix identified issues.
...
* Change pep8 to new pycodestyle tool.
* Load the policrep extension in pylint
2018-08-11 20:46:06 -04:00
Chris PeBenito
2b4d69d42e
Revise structure to make policyrep a module instead of a subpackage.
...
The setools.policyrep.exception module merged into setools.exception.
2018-08-11 20:46:01 -04:00
Chris PeBenito
fa984732e7
policyrep: Move imports to libpolicyrep.pyx.
2018-08-10 14:44:37 -04:00
Chris PeBenito
3326339e10
terule.pxi: Implement C counting for ruletypes.
2018-08-10 13:46:23 -04:00
Chris PeBenito
bf804c196a
README: Update for change from SEPOL_SRC to USERSPACE_SRC.
2018-08-10 11:29:29 -04:00
Chris PeBenito
c2af3a2e01
Conditional: Refactor to load attributes on construction.
2018-08-10 10:28:15 -04:00
Chris PeBenito
9ae4a4571e
ConditionalOperator: Refactor to load attributes on construction.
2018-08-10 08:52:47 -04:00
Chris PeBenito
86b4d47349
ConstraintExprNode: Convert to a list-like object.
...
This is more natural, based on how the object is used.
2018-08-10 08:41:10 -04:00
Chris PeBenito
a73e76b78f
ConstraintExprNode: Refactor to load attributes on construction.
2018-08-10 08:21:02 -04:00
Chris PeBenito
ded09017d6
Constraint/Validatetrans: Refactor to load attributes on construction.
2018-08-08 16:33:23 -04:00
Chris PeBenito
d0012dacaa
ObjClass: Delay loading constraints until they are requested.
2018-08-08 14:41:23 -04:00
Chris PeBenito
40b9f2473e
User: Cache users.
2018-08-08 14:39:42 -04:00
Chris PeBenito
8156e809b8
policyrep: Misc revisions to reduce Python interactions in Cython code.
2018-08-08 09:28:32 -04:00
Chris PeBenito
9f339ca9d4
sepol.pxd: Remove duplicate TYPE_FLAGS_PERMISSIVE definition
2018-08-06 16:24:20 -04:00
Chris PeBenito
10cf639ada
PermissionVectorIterator: Fix issue with unexpected object class mutation.
...
After iterating a permission vector, permissions from the Common were
added into the ObjClass's permission table.
2018-08-06 16:24:20 -04:00
Chris PeBenito
dd7009b68c
Conditional: Remove unnecessary copy and pickling methods.
2018-08-06 16:24:20 -04:00
Chris PeBenito
8e41d89131
policyrep: Refactor Xen contexts to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
08c2ee0cdc
User: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
5de464a226
Type/TypeAttribute: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
9f8bb014b8
Role: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
2d14f43540
PolicyCapability: Revise construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
55f4e666ee
Common/ObjClass: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
55a1ff884e
Netifcon/Nodecon/Portcon: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
745a7ae9bd
policyrep: Refactor MLS classes to load most attributes on construction.
...
Category sets and aliases deferred still, to prevent too much construction
up-front. However, the results are saved, rather than lost.
2018-08-06 16:24:20 -04:00
Chris PeBenito
bfdb1e66d8
InitialSID: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
f1d8e4aef6
FSUse/Genfscon: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
3c8f2d9ad4
Default: Revise factory method so attributes can be readonly.
2018-08-06 16:24:20 -04:00
Chris PeBenito
14eb9a793e
Context: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
f33da33190
Bounds: Refactor to move all initialization to the factory method.
2018-08-06 16:24:20 -04:00
Chris PeBenito
790140acdb
Boolean: Refactor to load attributes on construction.
2018-08-06 16:24:20 -04:00
Chris PeBenito
281e9dd6ce
SELinuxPolicy: Revise copy methods to not copy.
2018-08-06 16:24:20 -04:00
Chris PeBenito
6f43c9deeb
MLSRule: Refactor to load attributes on construction.
2018-08-06 16:24:08 -04:00
Chris PeBenito
14b131a693
RoleAllow/RoleTransition: Refactor to load attributes on construction.
2018-08-06 16:23:58 -04:00
Chris PeBenito
c836e359aa
AVRule/AVRuleXperm/TERule/FileNameTERule: Refactor to load attributes on construction.
2018-08-06 16:23:48 -04:00
Chris PeBenito
22967fa6a2
policyrep: Refactor base classes for loading attributes on construction.
2018-08-06 16:23:38 -04:00
Chris PeBenito
79b56f4fa8
setup.py: Add cython annotation option.
2018-07-28 11:48:07 -04:00
Chris PeBenito
6e67c3b8b4
policyrep: Misc cython tweaks.
2018-07-28 11:34:48 -04:00
Chris PeBenito
8f77510bcb
.travis.yml: Fix CI build.
2018-07-28 09:31:55 -04:00
Chris PeBenito
5198a35031
setup.py: Drop runtime_library_dirs.
...
Closes #5
2018-07-28 08:53:37 -04:00