Chris PeBenito
fec1f17a7a
apol: Add save/load functions for label query tabs.
...
For #97 and #98 .
2016-06-23 13:30:22 -04:00
Chris PeBenito
5367f1a288
apol: Whitespace fixes in tab save/load functions.
2016-06-22 14:23:55 -04:00
Chris PeBenito
a59a5c5a66
InfoFlowAnalysisTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-22 14:12:40 -04:00
Chris PeBenito
b5647e2129
PermissionMap: Make permission maps iterable.
2016-06-22 13:38:46 -04:00
Chris PeBenito
e9332819d2
DomainTransitionAnalysisTab: Add save/load of excluded types.
...
Missed this from the original change.
For #97 and #98 .
2016-06-20 13:48:48 -04:00
Chris PeBenito
7f20bd5be7
DomainTransitionAnalysisTab: Add save/restore tab functions.
...
For #97 and #98 .
2016-06-17 14:28:13 -04:00
Chris PeBenito
cc8ed3cc12
apol: Add workspace functions for save/restore QSpinBoxes.
...
For #97 and #98 .
2016-06-17 14:25:28 -04:00
Chris PeBenito
e12ff2e94f
DefaultQueryTab: Add save/load tab functions.
...
For #97 and #98 .
2016-06-17 14:07:00 -04:00
Chris PeBenito
4b357379d8
apol: Add workspace functions for save/load QComboBoxes.
...
For #97 and #98 .
2016-06-17 14:00:36 -04:00
Chris PeBenito
c012a2446f
ConstraintQueryTab: Add save/load tab.
...
For #97 and #98 .
2016-06-17 09:09:17 -04:00
Chris PeBenito
2e9700d9bc
CommonQueryTab: Add save/restore
...
For #97 and #98 .
2016-06-16 16:03:11 -04:00
Chris PeBenito
1acfc41a70
Bool/Bounds/Category/SensitivityQuery: Add save/load functions.
...
For #97 and #98 .
2016-06-13 08:40:43 -04:00
Chris PeBenito
83f232e55f
MLS/RBACRuleQueryTab: Add tab save/restore functions.
...
For #97 and #98 .
2016-06-09 09:35:27 -04:00
Chris PeBenito
da8a238ffc
apol: Fix model headers so extra columns aren't added.
...
The section number (column header) is -1 when the section is hidden. The
defaultdict use would cause extra columns to be created since the column
count is based on the size of the headers object and -1 would add a new
entry. Change headers to lists.
2016-06-08 07:26:32 -04:00
Chris PeBenito
7c540405ea
TERuleQueryTab: Implement save/load tab settings functions.
...
Related to #97 and #98 .
2016-06-01 12:55:50 -04:00
Chris PeBenito
dd98098eed
SummaryTab: Implement save/load tab settings functions.
...
Related to #97 and #98 .
2016-06-01 12:55:50 -04:00
Chris PeBenito
7b2c99cbfe
apol: Implement core save/load tabs and workspace functions.
...
Still needs funtions on each individual tab for saving/loading settings.
Related to #97 and #98 .
2016-06-01 12:55:50 -04:00
Chris PeBenito
6eaf7a26f5
libqpol: Remove unused syntactic rule functions.
2016-05-20 10:31:18 -04:00
Chris PeBenito
dff3b19c29
ExcludeTypes: Keep the current scroll location when lists change.
...
Previously, when including or excluding a type, the lists would reset to
the top. Now the current scroll location is preserved while updating the
lists.
Closes #124
2016-05-17 07:14:33 -04:00
Chris PeBenito
91ba8b229d
Add ChangeLog.
2016-05-12 11:13:44 -04:00
Chris PeBenito
38cd43c80b
sesearch: Fix xperm options for consistency.
...
The options should have been like --allowxperm but were like --allowx. Fix
to be consistent with sediff, which has these options.
Fortunately argparse recognizes abbreviations of long options, so anyone
that started using, --allowx, for example, can still use that.
2016-05-12 10:07:04 -04:00
Chris PeBenito
0ca66d2302
ExcludeTypes: Add combo box for filtering lists by attribute membership.
...
This by itself does not include/exclude types.
Closes #125
2016-05-11 08:44:55 -04:00
Chris PeBenito
f5c2ff345a
ExcludeTypes: Convert from QListWidget to QListView for lists.
2016-05-11 08:44:55 -04:00
Chris PeBenito
6cce18f779
SEToolsListModel: Add append and remove functions.
2016-05-11 08:44:55 -04:00
Chris PeBenito
9f516c6ba7
Merge pull request #144 from jakev/fix_missing_sepol
...
Add error check for missing libsepol.so
2016-05-11 08:11:47 -04:00
Jake Valletta
1655fb7e56
Add error check for missing libsepol.so
...
The setup.py script attempts to locate the 'libsepol.so' library
if the SEPOL environment variable is not set, but does not fail
safely if the find fails. This commit adds error checking if the
'libsepol.so' is not located.
2016-05-10 14:16:53 -04:00
Chris PeBenito
a87015d4b5
Merge pull request #143 from jbrindle/master
...
bison generates unreachable code
2016-05-09 12:42:04 -04:00
Joshua Brindle
f6ed116a81
bison generates unreachable code
2016-05-09 11:02:21 -04:00
Chris PeBenito
e5c3f24f69
DomainTransitionAnalysisTab: Add additional sorting for stable output.
2016-05-06 15:09:13 -04:00
Chris PeBenito
df8d706919
DomainTransitionAnalysis: change entrypoints output from generator to list.
...
This fixes a bug in apol where the transitions browser would show
empty entrypoint lists because the entrypoint generator had been consumed
already.
2016-05-06 15:09:02 -04:00
Chris PeBenito
d732d141ff
Update support text for Python 3.5 SWIG issues.
2016-05-06 13:36:36 -04:00
Chris PeBenito
a3478df43c
Merge pull request #142 from pebenito/master
...
Update Travis-CI builds to use SWIG 3.0.8 to fix Python 3.5 wrapper issues.
2016-05-06 09:59:48 -04:00
Chris PeBenito
cfde8fd5e1
Update Travis-CI builds to use SWIG 3.0.8 to fix Python 3.5 wrapper issues.
2016-05-06 09:27:56 -04:00
Chris PeBenito
0a91898ad0
Add Python 3.5 testing.
2016-05-06 08:39:44 -04:00
Chris PeBenito
d6f94d53c7
apol: Replace icons with icons from the current theme.
...
Koloria license may be problematic for some distributions.
2016-05-05 09:47:51 -04:00
Chris PeBenito
1d90732651
Merge pull request #141 from fishilico/libqpol-clang
...
Fix warnings reported by clang
2016-05-05 08:28:06 -04:00
Nicolas Iooss
ffe1d1c1cf
qpol.i: remove break after return
...
clang warns about unreachable break instructions:
setools/policyrep/qpol_wrap.c:5522:51: error: 'break' will never be
executed [-Werror,-Wunreachable-code-break]
case 0x0400: return "dontauditxperm"; break;
^~~~~
2016-05-04 23:14:45 +02:00
Nicolas Iooss
d5f2bd2654
qpol.i: remove extra semicolons in SWIG file
...
clang complained about these semicolons:
setools/policyrep/qpol_wrap.c:6117:6: error: extra ';' outside of a
function [-Werror,-Wextra-semi]
};
^
2016-05-04 23:14:38 +02:00
Nicolas Iooss
2e028845ad
libqpol: fix typos in documentation comments
...
clang warns about unknown documentation commands, which are spelling
errors:
libqpol/include/qpol/cond_query.h:87:5: error: unknown command tag
name 'returm'; did you mean 'return'?
[-Werror,-Wdocumentation-unknown-command]
* @returm 0 on success and < 0 on failure; if the call fails,
^~~~~~~
return
2016-05-04 23:14:27 +02:00
Chris PeBenito
49e2819258
Remove libsepol 2.3 patch as it is no longer useful.
...
SETools now requires libsepol 2.5, which requires a large patch to revert
to libsepol 2.3.
2016-05-04 08:24:12 -04:00
Chris PeBenito
6303dad5f7
perm_map: Add security:validate_trans permission.
2016-05-03 08:19:22 -04:00
Chris PeBenito
ea73e7705f
Update MANIFEST.in for recent file removals.
2016-05-02 15:02:32 -04:00
Chris PeBenito
2ec9336009
apol: Use stylesheet to create a border around all QGroupBoxes.
...
Apply stylesheet in SEToolsWidget so all widgets will have the sheet
and it will propagate to child widgets. This will add more visual
grouping to related options. Adjust BooleanQueryTab so
the "Default State" group box title is completely shown.
2016-05-02 10:36:54 -04:00
Chris PeBenito
ce821b850f
perm_map: Add cap_userns and cap2_userns classes.
2016-04-27 08:45:32 -04:00
Chris PeBenito
c526264f52
policyrep: Make helper class naming consistent.
2016-04-26 13:29:26 -04:00
Chris PeBenito
be48ffd29e
policyrep/selinuxpolicy.py: Remove unnecessary imports.
2016-04-26 13:29:18 -04:00
Chris PeBenito
9dc79ce672
qpol: Do not try to infer policy version on source policies.
...
Version is a compile-time setting. The policy can also be downgraded
or may not use newer policy version features.
Set source policies to maximum supported policy version supported by
libsepol.
2016-04-26 10:12:03 -04:00
Chris PeBenito
e0d59c1eb8
Update KNOWN-BUGS
2016-04-25 15:43:43 -04:00
Chris PeBenito
48e009d8a4
Drop UNSTABLE_API file.
2016-04-25 14:26:57 -04:00
Chris PeBenito
5e16d57988
Remove duplicate linux_types.h.
2016-04-25 14:21:45 -04:00