Skip to contentSkip to conversation

setools-3.3.7:apol: Add constraints search tab

PATCH New Richard Haines 1 participant 1 message Oct 25, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setools-3.3.7:apol: Add constraints search tab

I've been using this to investigate constraints in policies with no problems for a few weeks. Thought it maybe a useful addition to APOL.

The "Constraints" tab will allow searching for mls/constrain and mls/validatetrans rules based on keyword, user, role, type or type attribute of a constraint expression. Help text is available that explains the search rules. The Query:Policy Summary has also been updated to reflect the number of these rules within the current policy.

---
 apol/Makefile.am         |    1 +
 apol/apol_help.txt       |   81 +++
 apol/constraints_tab.tcl | 1790 ++++++++++++++++++++++++++++++++++++++++++++++
 apol/top.tcl             |   59 ++
 4 files changed, 1931 insertions(+), 0 deletions(-)
 create mode 100644 apol/constraints_tab.tcl
apol/Makefile.am +1 -0
index 646d8b1..4ea51b0 100644
@@ -31,6 +31,7 @@ EXTRA_DIST = \
 	common_widgets.tcl \
 	cond_bools_tab.tcl \
 	cond_rules_tab.tcl \
+	constraints_tab.tcl \
 	context_dialog.tcl \
 	context_selector.tcl \
 	directflow_module.tcl \
apol/apol_help.txt +81 -0

87 lines not on this page · raw message

apol/constraints_tab.tcl new file +1790 -0

1,790 lines not on this page · raw message

apol/top.tcl +59 -0

95 lines not on this page · raw message

Signature · 9 lines
1.7.7.6




--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.