Commit graph

88 commits

Author SHA1 Message Date
Kshitij Gupta
9bbf089634 some fixed bugs 2013-10-01 01:30:50 +05:30
Kshitij Gupta
f3e549e772 fixed 22013 to 2013 in __init__.py license 2013-09-28 20:47:45 +05:30
Kshitij Gupta
4f8c524839 Added license headers 2013-09-28 20:43:06 +05:30
Kshitij Gupta
173d8fca00 Fixes the TypeError associated with Python3 in calling netstat in aa-unconfined 2013-09-26 18:41:41 +05:30
Kshitij Gupta
7cccd1fae5 fixed test for cleanprof 2013-09-24 00:34:09 +05:30
Kshitij Gupta
be63388638 remove the allow prefix from rules 2013-09-24 00:21:47 +05:30
Kshitij Gupta
72e0aac551 Final push for GSoC 2013 (hopefully) 2013-09-24 00:02:26 +05:30
Kshitij Gupta
63efd5d96a added handler for conflicting *x access 2013-09-23 23:56:28 +05:30
Kshitij Gupta
a8a19da607 Fixes netrule deletion for includes 2013-09-23 23:05:25 +05:30
Kshitij Gupta
24f3b67b56 2013-09-23 21:00:36 +05:30
Kshitij Gupta
6f46a777ca updated messages.pot 2013-09-23 20:09:09 +05:30
Kshitij Gupta
37529a4cd1 Added first version of aa-mergeprof, does not include the check for conflicting ix rules yet 2013-09-23 19:32:25 +05:30
Kshitij Gupta
381ff97efa fix for the delete count 2013-09-23 03:47:15 +05:30
Kshitij Gupta
0b0aeeda29 Fixed the netrule persistence issue in cleanprof, some elementary work for mergeprof 2013-09-23 02:14:11 +05:30
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