[apparmor] [PATCH] tests: Add dbus tests for unrequested reply messages

2014-08-28 Thread Tyler Hicks
Unrequested replies are message types that are typically replies, such as error and method_return message types, but have not been requested by the recipient. The AppArmor mediation code in dbus-daemon allows requested reply messages through if the original message was allowed. However,

Re: [apparmor] [PATCH] tests: Add dbus tests for unrequested reply messages

2014-08-28 Thread Seth Arnold
On Thu, Aug 28, 2014 at 02:41:21AM -0500, Tyler Hicks wrote: Unrequested replies are message types that are typically replies, such as error and method_return message types, but have not been requested by the recipient. The AppArmor mediation code in dbus-daemon allows requested reply

[apparmor] [Merge] lp:~intrigeri/apparmor-profiles/gstreamer-abstraction into lp:apparmor-profiles

2014-08-28 Thread noreply
The proposal to merge lp:~intrigeri/apparmor-profiles/gstreamer-abstraction into lp:apparmor-profiles has been updated. Status: Needs review = Merged For more details, see: https://code.launchpad.net/~intrigeri/apparmor-profiles/gstreamer-abstraction/+merge/228398 --

Re: [apparmor] [Patch] utils: add limited support for af_unix rules

2014-08-28 Thread Steve Beattie
On Thu, Aug 28, 2014 at 10:23:10PM +0200, Christian Boltz wrote: Am Mittwoch, 27. August 2014 schrieb Steve Beattie: Is it really that hard to use an array for all rules to test and a foreach loop to actually test them? I tend to NAK this (part of the) patch to make sure you finally learn

[apparmor] [patch 1/8] utils tests: assign regex function at test setup

2014-08-28 Thread Steve Beattie
This patch moves the assignment of the regex function into the unittest setUp() function rather than at script load time. If for some reason the python utils library does not define the relevant function, without this patch the script fails entirely; with it, each individual test class that

[apparmor] [patch 4/8] utils tests: restructure DBUS parse tests

2014-08-28 Thread Steve Beattie
Convert the DBUS parse tests to use common AAParseTest super class in common_test.py. Signed-off-by: Steve Beattie st...@nxnw.org --- utils/test/test-dbus_parse.py | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) Index: b/utils/test/test-dbus_parse.py

[apparmor] [patch 2/8] utils: convert raw rules classes to subclass from _Raw_Rule

2014-08-28 Thread Steve Beattie
The patch that adds support for af_unix rules added a _Raw_Rule base class to inherit from in rules.py. This patch converts the rest of the raw rules classes to use the same. Signed-off-by: Steve Beattie st...@nxnw.org --- utils/apparmor/rules.py | 65

[apparmor] [patch 7/8] utils tests: restructure ptrace parse tests

2014-08-28 Thread Steve Beattie
Convert the ptrace parse tests to use common AAParseTest super class in common_test.py. Signed-off-by: Steve Beattie st...@nxnw.org --- utils/test/test-ptrace_parse.py | 54 +--- 1 file changed, 18 insertions(+), 36 deletions(-) Index:

[apparmor] [patch 0/8] utils: misc cleanup patches

2014-08-28 Thread Steve Beattie
This patch set does some minor cleanups of the apparmor utils, mostly focused on the tests and based on improvements that Christian Boltz requested. -- Steve Beattie sbeat...@ubuntu.com http://NxNW.org/~steve/ -- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe

[apparmor] [patch 8/8] utils tests: restructure signal parse tests

2014-08-28 Thread Steve Beattie
Convert the signal parse tests to use common AAParseTest super class in common_test.py. Signed-off-by: Steve Beattie st...@nxnw.org --- utils/test/test-signal_parse.py | 66 1 file changed, 21 insertions(+), 45 deletions(-) Index:

[apparmor] [patch 6/8] utils tests: restructure pivotroot parse tests

2014-08-28 Thread Steve Beattie
Convert the pivotroot parse tests to use common AAParseTest super class in common_test.py. Signed-off-by: Steve Beattie st...@nxnw.org --- utils/test/test-pivot_root_parse.py | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) Index:

[apparmor] [patch 5/8] utils tests: restructure mount parse tests

2014-08-28 Thread Steve Beattie
Convert the mount parse tests to use common AAParseTest super class in common_test.py. Signed-off-by: Steve Beattie st...@nxnw.org --- utils/test/test-mount_parse.py | 94 - 1 file changed, 29 insertions(+), 65 deletions(-) Index:

[apparmor] Fwd: Bug#756807: apparmor: FTBFS with clang instead of gcc

2014-08-28 Thread intrigeri
Hi, here's a bug that was reported on Debian. I guess that's an upstream issue. I've not checked if the problem and/or patch applies to the 2.9.x series. ---BeginMessage--- Package: apparmor Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs Hello,