Commit graph

74 commits

Author SHA1 Message Date
Kshitij Gupta
93d59eb6eb Fixes from rev70..72 2013-09-22 23:49:19 +05:30
Kshitij Gupta
4debd1ea79 Only ran sed -i s/ *// in ./apparmor/*.py , ./Tools/aa* and ./Testing/*.py no other changes, should ignore this commit unless it broke something 2013-09-22 22:51:30 +05:30
Kshitij Gupta
86e7c22196 Added help messages to translate strings and a few other minor fixes 2013-09-22 15:25:20 +05:30
Kshitij Gupta
2c19d7f3da added a little tiny abstraction redundancy in profile in test case 2013-09-22 15:08:30 +05:30
Kshitij Gupta
61ed67f27b So that closes the first proper version of aa-cleanprof with testcases added, fixed profile writer to work on multiple profiles at once, please use the view clean changes option in logprof and genprof, the comment preserver version needs tweaking that version wont be written anyways. Plus a few other changes 2013-09-22 15:01:34 +05:30
Kshitij Gupta
e44863e908 Fixes from rev58, working on the general concerns will push it soon 2013-09-21 18:50:00 +05:30
Kshitij Gupta
72f9a80c76 Fixed flag reader and writer to be able to set unset flag for a specific target program also fixed tests for mini tools to be independent of existence of ntpd 2013-09-21 12:36:51 +05:30
Kshitij Gupta
1d3c2be0be fixes from rev65 2013-09-21 01:08:34 +05:30
Kshitij Gupta
877f8253c3 fixed the explicit LANG in aa-unconfined to LANG=C 2013-09-20 21:21:35 +05:30
Kshitij Gupta
0b73862cfe rev 63-64, fixes man pages, messages 2013-09-20 19:20:41 +05:30
Kshitij Gupta
b512123303 Finally added the translations pot file for the current codebase 2013-09-19 21:20:40 +05:30
Kshitij Gupta
3d0307a5a9 Added manpages for the tools, fixes from rev 59..62, some fixes from rev 58 2013-09-19 10:32:19 +05:30
Kshitij Gupta
e41a8aec0e 2013-09-17 22:37:13 +05:30
Kshitij Gupta
3f9526c1ac seperated the code to check for duplicates into a separate module, will be using it to remove duplicates/superfluous rules/includes from base and other profiles in the aa-mergeprof 2013-09-17 22:30:48 +05:30
Kshitij Gupta
a8a1878281 added check for matching profile paths 2013-09-17 14:03:58 +05:30
Kshitij Gupta
9482ccdb74 2013-09-17 11:46:17 +05:30
Kshitij Gupta
2763f0c064 Updated __init_.py tested with de_DE and hi_IN translations using old apparmor-utils.mo file, not pushing remainder of files for their lack of beauty 2013-09-12 14:42:15 +05:30
Kshitij Gupta
2ce5fd6267 Renamed tools to get rid of the .py extension and fixed the same in minitools_test 2013-08-31 17:48:40 +05:30
Kshitij Gupta
bdc2677f7b 2013-08-31 04:13:05 +05:30
Kshitij Gupta
c7a74802ab Tests for minitools aa-disable, aa-audit, aa-complain, aa-enforce added and some minor bugs fixed. Ran all existing test suites on python2 and python3 and tweaked a few things 2013-08-31 04:08:26 +05:30
Kshitij Gupta
27efe62a92 Fixes from review 52-53, merging cleanprof into apparmor/tools.py corrected enforce() and complain() to create/remove symlinks to force-complain/disable subdirs. Wrote some tests for globbing methods, segregated glob-path and glob-path-with-extension into methods in aa.py 2013-08-30 03:54:31 +05:30
Kshitij Gupta
781ff9c3d9 aa-cleanprof tool 2013-08-26 00:41:15 +05:30
Kshitij Gupta
41b9aa112d Merged aa-audit, aa-autodep, aa-complain, aa-disable, aa-enforce to share the common code into a tools.py module. Added -r/--remove feature to aa-complain, aa-enforce, aa-audit and -r/--revert feature to aa-disable. Some other fixes from review 48..51 2013-08-26 00:23:59 +05:30
Kshitij Gupta
5490dddbda First set of tools in their alpha release, logprof and genprof are pre-bleeding edge so dont hurt yourself or worse your distro. 2013-08-21 11:26:09 +05:30
Kshitij Gupta
1fb521418d Semmingly working writer from old profile 2013-08-19 12:37:47 +05:30
Kshitij Gupta
ed28caeba6 first partially working iteration of new profile writer from old profile 2013-08-18 14:13:46 +05:30
Kshitij Gupta
457604014f working commit prior to writer code alterations 2013-08-17 12:34:42 +05:30
Kshitij Gupta
6ce67f3cbe debugging level 0 fix 2013-08-13 00:48:37 +05:30
Kshitij Gupta
2a1e419bf8 some fixes from review 41..45 and fixes for python3 compatibility 2013-08-13 00:43:20 +05:30
Kshitij Gupta
396b504b5f minor fix 2013-08-11 23:22:08 +05:30
Kshitij Gupta
f12667c011 Working tool (seemingly to me), except the writing profile order needs to be fixed 2013-08-11 23:16:35 +05:30
Kshitij Gupta
5886faf63b Working tool (seemingly to me), except the writing profile order needs to be fixed 2013-08-11 23:16:05 +05:30
Kshitij Gupta
4f4a8f6163 backup commit for modes 2013-08-11 18:30:01 +05:30
Kshitij Gupta
05e695c7d3 A commit before changing modes style 2013-08-11 15:22:07 +05:30
Kshitij Gupta
3212422921 fixes from rev 32..39 and fixed(?) flags=(..)thing 2013-08-10 12:46:22 +05:30
Kshitij Gupta
eacdddaf12 working logger 2013-08-10 01:17:00 +05:30
Kshitij Gupta
a9c594d5bc fixed test encoded data for log entries 2013-08-09 16:49:01 +05:30
Kshitij Gupta
2d9f37be87 fixed debugglogger 2013-08-09 11:04:32 +05:30
Kshitij Gupta
da49e6a3ee fixed allow 2013-08-08 21:40:56 +05:30
Kshitij Gupta
d48c88428e certain fixes 2013-08-07 14:43:17 +05:30
Kshitij Gupta
bb4c83d404 Some code for logprof 2013-08-06 01:53:28 +05:30
Kshitij Gupta
68afe0f0e9 Added some tests for common module and fixed a few minor bugs in regex parser 2013-08-05 18:55:34 +05:30
Kshitij Gupta
e78dd6e9bc updated regex parser 2013-08-01 21:57:27 +05:30
Kshitij Gupta
8f378e3ce2 Intermediate codebase update and the test cases are still broken 2013-07-31 19:56:33 +05:30
Kshitij Gupta
928e4503c6 Intermediate: codebase update with broken tests 2013-07-30 20:13:08 +05:30
Kshitij Gupta
1af5f1f03f python regex fix 2013-07-28 08:29:59 +05:30
Kshitij Gupta
375fc3b5bb edits from review 26,27 and codebase update 2013-07-28 08:23:46 +05:30
Kshitij Gupta
bcceaa9c28 minor fix to regex from rev 26 2013-07-27 15:32:12 +05:30
Kshitij Gupta
5abbc86d37 Revision 24 edits and code update 2013-07-27 15:28:12 +05:30
Kshitij Gupta
60def06040 Code-base update 2013-07-24 22:12:34 +05:30