Joshua Brindle
b7b313a086
move linux_types header to libqpol
2016-04-25 12:14:40 -04:00
Chris PeBenito
ee4584ddc8
Merge pull request #131 from jbrindle/master
...
MacOS support
2016-04-22 13:08:24 -04:00
Joshua Brindle
ac1550cc20
remove QPOL_POLICY_OPTION_MATCH_SYSTEM defines
2016-04-22 09:33:14 -04:00
Joshua Brindle
495a7973d8
Darwin define, remove libselinux and libsepol shared lib, remove libqpol map, and add local include dir
2016-04-22 09:33:14 -04:00
Joshua Brindle
f4c843ac24
darwin does not have dccp, set to known hardcoded value (hack)
2016-04-22 09:33:11 -04:00
Joshua Brindle
d6996d1f09
use c99 type for uint64_t
2016-04-22 09:16:30 -04:00
Joshua Brindle
9fbfeb43d2
symtab_datum is only 32 bits so casting triggers increase alignment warning, cast to void first to avoid that
2016-04-22 09:16:30 -04:00
Joshua Brindle
42fb95a9c9
headers and types not present on Darwin either wrapped or added in linux_types.h
2016-04-22 09:16:27 -04:00
Joshua Brindle
9a89d9b63b
remove LIBSELINUX dependency, deprecated functions, and remove symbol map
2016-04-22 09:15:16 -04:00
Chris PeBenito
61613cf3f4
apol: adjust models to handle invalid indices in data().
...
Infrequently data() is called with an invalid index and then apol crashes.
2016-04-21 10:07:12 -04:00
Chris PeBenito
d75cc27e03
PermissionMapEditor: Python 2.7 fix
...
Python 2.7 list class does not have a .clear() function.
For #126
2016-04-20 12:40:25 -04:00
Chris PeBenito
7e529ce988
qhc: Set the home page
2016-04-20 11:57:26 -04:00
Chris PeBenito
2fb2ea0698
qhc: Put a symlink for the icons into the qhc dir.
...
qcollectiongenerator on some distros will ignore files outside
the current directory.
2016-04-20 11:54:43 -04:00
Chris PeBenito
16d397f631
qhc: Add titles to all pages.
2016-04-20 11:50:45 -04:00
Chris PeBenito
2c1e921305
Update README for apol
2016-04-20 10:11:29 -04:00
Chris PeBenito
a22fc0f669
ChooseAnalysis: Fix Ok button.
...
Also move double-click signal connection to .ui.
2016-04-20 09:55:10 -04:00
Chris PeBenito
f6cecd407f
Add a copy of apol.qhc so users don't need to install Qt dev tools.
...
Distros are encouraged to rebuild this using the build_help setup.py
target.
Renamed setup target to build_qhc to bring in line with other help
references.
2016-04-20 09:50:23 -04:00
Chris PeBenito
2828db4a64
apol: Implement help menu
...
Populate with some help text from setools3.
Related to #114
2016-04-19 16:03:15 -04:00
Chris PeBenito
edde585e5f
apol: Add an "about" dialog
2016-04-19 16:03:15 -04:00
Chris PeBenito
7fdff6941b
Man page revisions.
...
* Add in missing xperm rule options.
* Fix copy-paste error in sesearch option descriptions
Closes #118
2016-04-19 09:22:19 -04:00
Chris PeBenito
5c13906b0b
DomainTransitionAnalysis: Fix empty exclude attribute setting.
...
Fixes a crash in apol.
2016-04-19 08:23:26 -04:00
Chris PeBenito
6b00b01e10
apol: implement browser for domain transition and infoflow analyses.
...
Closes #100
2016-04-18 10:01:55 -04:00
Chris PeBenito
fa32092a3c
ApolMainWindow: improve file open/save dialogs
2016-04-15 11:19:17 -04:00
Chris PeBenito
d09bfdd09b
apol: implement default query tab
...
Closes #121
2016-04-14 10:03:34 -04:00
Chris PeBenito
d8256cee4a
apol: implement bounds query
...
Closes #120
2016-04-14 09:55:40 -04:00
Chris PeBenito
243e94e740
apol: InfoFlow/DTA tabs: remove cancel button from busy dialog.
...
Prevention/work-around for #119 .
2016-04-13 13:05:22 -04:00
Chris PeBenito
3fd98337f7
apol: implement sensitivity query
...
Closes #88
2016-04-13 09:14:35 -04:00
Chris PeBenito
e3047740a6
apol: implement category query tab
...
Closes #76
2016-04-13 08:58:49 -04:00
Chris PeBenito
897427e5da
InfoFlowAnalysisTab: add permission exclude option
2016-04-12 15:07:02 -04:00
Chris PeBenito
7938a89e0d
apol: implement permission map editor
...
Closes #91
2016-04-12 15:02:45 -04:00
Chris PeBenito
3b3846a599
PermissionMap: refactor to use Mapping class for individual perm mappings
2016-04-12 10:18:26 -04:00
Chris PeBenito
c16653666a
SummaryTab: disable irrelevant fields when MLS is disabled.
...
Also add tooltips restating that MLS is disabled.
2016-04-11 08:48:28 -04:00
Chris PeBenito
256adbbebc
apol: implement SummaryTab
...
Closes #115
2016-04-10 10:46:34 -04:00
Chris PeBenito
153f2acd7a
InfoFlowAnalysisTab: add perm_map property for getting map updates
...
Also fail to start analysis if no perm map is loaded.
2016-04-08 13:30:13 -04:00
Chris PeBenito
9d8258523d
ExcludeTypes: revise to override QDialog accept method.
...
This is a more typical implementation.
2016-04-08 13:30:13 -04:00
Chris PeBenito
ce347e4537
ChooseAnalysis: revise design to support switching MLS on/off
...
Due to the previous design, if the user loaded several policies with
different MLS on/off settings, the MLS-only analyses would continue
to appear, even if MLS was not enabled in the policy.
Also revise to override QDialog accept and show methods to bring in line
with typical design.
2016-04-08 13:30:01 -04:00
Chris PeBenito
91046e8ddb
apol: move ChooseAnalysis to its own module
2016-04-08 11:47:37 -04:00
Chris PeBenito
2b6b35e558
ApolMainWindow: change tab creation to put analysis widget in directly
...
No need to put an empty widget in.
2016-04-08 09:48:03 -04:00
Chris PeBenito
93b35f6d65
data/perm_map: update to current access vectors
...
Reformatted with new PermissionMap save() function.
2016-04-07 14:04:16 -04:00
Chris PeBenito
44d63daccb
PermissionMap: change to OrderedDict so saving files will have same order
...
Better for revision-controlled map files.
2016-04-07 13:57:37 -04:00
Chris PeBenito
8107602be4
PermissionMap: implement save function.
2016-04-07 13:54:24 -04:00
Chris PeBenito
c9ca5d7826
PermissionMap: move constants out of class to global module scope.
...
These are constants across all PermissionMaps.
2016-04-07 13:49:46 -04:00
Chris PeBenito
1147d00797
Implement DCCP protocol support for portcons.
2016-04-06 13:01:28 -04:00
Chris PeBenito
bb1acd1c7f
Refactor ComponentQuery and ContextQuery into mixins
...
Also move generic matching functions in PolicyQuery into new util module.
2016-04-06 09:59:41 -04:00
Chris PeBenito
0c5f52bc8b
Add debug logging funtions for analysis mixins.
...
Keep mixin implementation details in the mixin.
2016-04-05 15:53:10 -04:00
Chris PeBenito
6502bae091
apol: revise match all vs. equal options
...
Where subset is available, keep "match all" option since that is more
likely to be used. Otherwise, change GUI to "Equal" for correctness.
2016-04-05 15:26:49 -04:00
Chris PeBenito
f1a8077f79
apol: implement common query tab
...
Closes #77
2016-04-05 15:00:05 -04:00
Chris PeBenito
27bc09c0e3
apol: Implement constraint tab
...
Closes #78
2016-04-05 13:37:55 -04:00
Chris PeBenito
75ab2c38c0
objclass, nodecon, portcon .ui: fix tab stops
2016-04-05 10:21:23 -04:00
Chris PeBenito
0fae059145
rule queries.ui: revise vertical stretch so preference is given to results
2016-04-05 10:15:00 -04:00