Commit Graph

1215 Commits

Author SHA1 Message Date
Chris PeBenito
5eab4ac7a4 apol: Add ibendportcon analysis tab.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-19 23:05:16 -04:00
Chris PeBenito
f12640cd6b IbendportconQuery: Add setter for port.
Ensure it is an integer in the correct range.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-17 21:27:34 -04:00
Chris PeBenito
6333cfaff3 apol: Add ipbkeycon query tab.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-17 21:17:49 -04:00
Chris PeBenito
022adcb715 TERulesDifference: Add additional debugging statements.
Record the rule list and expanded rule statistics for determining if
memory size issues are due to rule size vs. something else.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-13 20:23:54 -04:00
Chris PeBenito
cf1342f4c8 sediff: Fix issue with policy properties heading with 0 changes.
The policy properties header would always be displayed if no specific
difference was chosen.
2019-07-08 20:22:32 -04:00
Chris PeBenito
f0bbab9547 Release 4.2.2.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-06-15 15:52:10 -04:00
Chris PeBenito
ba305bfd74 Remove source policy references from man pages.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-05-18 08:33:36 -04:00
Chris PeBenito
58bd5c871e SELinuxPolicy: Create a map of aliases on policy load.
Addresses a performance regression after the alias fixes in #17.

Closes #20
2019-04-29 07:57:16 -04:00
Chris PeBenito
324a24ea1a Update .gitignore. 2019-02-23 23:46:52 -08:00
Chris PeBenito
16c603df96 InfoFlowAnalysis: Revise disabled rule removal to use TERule.enabled(). 2019-02-23 23:46:39 -08:00
Chris PeBenito
2593b008e1 seinfoflow: Fix -b help text. 2019-02-23 23:23:00 -08:00
Chris PeBenito
5aa99044d7 seinfoflow: Whitespace fix. 2019-02-23 23:21:30 -08:00
Chris PeBenito
2c133a6831
Merge pull request #15 from driechersRC/tunables
Add feature to select only the default tunable rules
2019-02-16 14:37:49 -05:00
Riechers, Daniel J
b662b07cc0 infoflow: adds boolean selection to seinfoflow
Adds the option to the infoflow analysis to filter conditional policy based on the default or user specified boolean values.

Signed-off-by: Daniel Riechers <daniel.riechers@rockwellcollins.com>
Signed-off-by: David Graziano <david.graziano@rockwellcollins.com>
2019-02-06 21:02:46 +00:00
Chris PeBenito
926076a6d8 4.2.1 Release. 2019-02-04 19:28:33 -05:00
Chris PeBenito
b02e16b264 ChangeLog: Add missing release notes between 4.1.0 and 4.2.0. 2019-02-04 19:27:34 -05:00
Chris PeBenito
814c334e83 Set SIGPIPE handler for CLI tools.
SIG_IGN doesn't work.

Closes #18
2019-02-04 16:50:53 -05:00
Chris PeBenito
f3b86a77b9 ConstraintQuery: Fix PEP8 issue.
Whitespace change.
2019-02-02 10:27:51 -05:00
Chris PeBenito
9314b2024b SELinuxPolicy: Add alias dereferencing for symbols that have aliases.
For #17
2019-02-02 10:17:26 -05:00
Chris PeBenito
fc961ee42c Category: Fix aliases method to use the cached alias list. 2019-02-02 10:17:26 -05:00
Chris PeBenito
a943daa452 MatchName: Add support for alias dereferencing.
For #17
2019-02-02 10:17:26 -05:00
Chris PeBenito
afc2d08682 SummaryTab: Add inifiniband context counts. 2019-02-02 10:17:26 -05:00
Chris PeBenito
c07e8e45b7
Merge pull request #16 from driechersRC/bugfix_evaluate_kwargs
terule: Fixed evaluate kwargs
2019-01-25 15:56:13 -05:00
Riechers, Daniel J
7d22e0fb66 terule: Fixed evaluate kwargs
Added missing ** to pass kwargs as kwargs instead of as a dictionary.

Signed-off-by: Riechers, Daniel J <daniel.riechers@rockwellcollins.com>
2019-01-25 16:39:01 +00:00
Chris PeBenito
36c6a4a721
Merge pull request #14 from darktemplarbasealt/add_ru_mans
Add russian translations for man pages
2019-01-09 19:37:52 -05:00
Aleksei Nikiforov
59e183caac Allow installing translated man pages 2019-01-09 12:44:02 +03:00
Aleksei Nikiforov
99d83b7430 Add man pages translation by Olesya Gerasimenko 2019-01-09 12:43:25 +03:00
Chris PeBenito
e3bd331c0a sediff: Fix PEP8 issues. 2018-12-05 15:27:38 -05:00
Chris PeBenito
ad5fb0025c sediff: Add ibendportcon and ibpkeycon output. 2018-12-05 15:23:25 -05:00
Chris PeBenito
b1336686bd PolicyDifference: Add ibendportcon and ibpkeycon difference. 2018-12-05 15:22:07 -05:00
Chris PeBenito
70445d45ad sediff: Fix bug in rendering modified nodecons. 2018-12-05 14:41:36 -05:00
Chris PeBenito
7a49473537
Merge pull request #13 from rc-matthew-l-weber/fix_prefix_man_install
setup.py: drop path prefix from man install
2018-11-30 20:26:07 -05:00
Chris PeBenito
ea2485059a Fix PEP8 issues. 2018-11-30 20:05:10 -05:00
Matt Weber
bc36cba139 setup.py: drop path prefix from man install
If the directory is a relative path, it is interpreted relative to the
installation prefix (Python’s sys.prefix for pure-Python packages,
sys.exec_prefix for packages that contain extension modules).
So the sys.prefix should not be joined because the correct one will be
added regardless. The reason why a relative path is going to work is
because the installation path is built internally joining python root
with python prefix, thus forming the correct path $(TARGET_DIR)/usr.
(https://docs.python.org/3/distutils/setupscript.html#installing-additional-files)

For this man file install scenario, joining the sys.prefix makes the
path absolute (this was previously working by accident).

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
2018-11-28 20:49:00 -06:00
Chris PeBenito
db9066b978 seinfo: Add ibendportcon and ibpkeycon info. 2018-11-25 10:54:16 -05:00
Chris PeBenito
832462fd0f Add ibendportcon and ibpkeycon queries. 2018-11-25 10:51:23 -05:00
Chris PeBenito
a9620d8b2b policyrep: Implement infiniband classes.
ibpkeycon and ibendportcon statements.
2018-11-25 10:43:26 -05:00
Chris PeBenito
1692fcb90a seinfo: Fix devicetreecon count output. 2018-11-19 19:41:15 -05:00
Chris PeBenito
f01ce89951 seinfo: Fix policy target platform check. 2018-11-19 19:40:42 -05:00
Chris PeBenito
7fbb767094 sepol.pxd: Add missing ibendport member in ocontext_t.u union. 2018-11-17 10:39:46 -05:00
Chris PeBenito
17a20a596a PermListModel: Fix bug in creating permission set intersection.
ObjClass.perms is now a frozenset, so it can't be updated.
2018-11-16 10:14:39 -05:00
Chris PeBenito
ce15d9b218 setup.py: Add additional information. 2018-11-12 11:50:26 -05:00
Chris PeBenito
2496ae0509 Update old documentation references.
Closes #12
2018-11-12 11:40:22 -05:00
Chris PeBenito
5031e9f537 policyrep: Remove deprecated functionality. 2018-11-12 07:51:30 -05:00
Chris PeBenito
7e6ce747f2 PolicyQuery: Convert to proper abstract base class. 2018-11-10 10:50:25 -05:00
Chris PeBenito
ca82842a3d NetworkXGraphEdgeDescriptor: Convert to proper abstract base class. 2018-11-10 10:49:53 -05:00
Chris PeBenito
6fef953597 Wrapper: Convert to proper abstract base class. 2018-11-10 10:49:03 -05:00
Chris PeBenito
42805258a1 Update version for 4.3 dev cycle. 2018-11-10 09:34:19 -05:00
Chris PeBenito
f8e12bbfd3 Update version for 4.2.0 release. 2018-11-10 08:45:36 -05:00
Chris PeBenito
ffd0553e88 Update KNOWN-BUGS 2018-11-10 08:44:10 -05:00