On Tue, Mar 03, 2015 at 12:58:49AM +0100, Christian Boltz wrote:
> Hello,
>
> the upcoming function parse_profile_start() (which is a wrapper around
> the updated RE_PROFILE_START, and will live in regex.py) needs
> strip_profile(), but importing it from aa.py fails with an import loop.
> Theref
Parts of the regression tests that use the do_open() inline function
from changehat.h fail to build under gcc-5 like so:
cc -g -O0 -Wall -Wstrict-prototypeschangeprofile.c -lapparmor -o
changeprofile
/tmp/ccT6GE6k.o: In function `main':
/home/ubuntu/bzr/apparmor/tests/regression/appar
On Tue, Mar 03, 2015 at 10:58:57AM -0800, Steve Beattie wrote:
> Parts of the regression tests that use the do_open() inline function
> from changehat.h fail to build under gcc-5 like so:
>
> cc -g -O0 -Wall -Wstrict-prototypeschangeprofile.c -lapparmor -o
> changeprofile
> /tmp/ccT6GE6
On Tue, Mar 03, 2015 at 10:58:57AM -0800, Steve Beattie wrote:
> Parts of the regression tests that use the do_open() inline function
> from changehat.h fail to build under gcc-5 like so:
>
> cc -g -O0 -Wall -Wstrict-prototypeschangeprofile.c -lapparmor -o
> changeprofile
> /tmp/ccT6GE6
Hello,
as a follow-up to the logparser.py change that converts disconnected
path events to an error, this patch adds a testcase to test-logparser.py.
In theory, trunk is enough for added tests, but also adding it to 2.9
can't hurt ,-)
[ test-logparser-disconnected-path.diff ]
=== modified file
On Tue, Mar 03, 2015 at 08:04:02PM +0100, Christian Boltz wrote:
> Hello,
>
> as a follow-up to the logparser.py change that converts disconnected
> path events to an error, this patch adds a testcase to test-logparser.py.
>
> In theory, trunk is enough for added tests, but also adding it to 2.9
Hello,
this patch adds better support for looping over a tests[] array to
common_test.py:
- class AATest - a base class we can use for all tests, and that will
probably get more features in the future (for example tempdir
handling)
- setup_all_tests() - a function that iterates over all clas
Hello,
this patch splits off serialize_parse_profile_start_line() from
serialize_profile_from_old_profile() in aa.py, as a preparation to add
tests and then switch to the upcoming RE_PROFILE_START wrapper function.
Besides moving the code, I replaced write_prof_data[profile][hat]['profile']
an
Hello,
Am Dienstag, 3. März 2015 schrieb Christian Boltz:
> this patch adds better support for looping over a tests[] array to
> common_test.py:
> - class AATest - a base class we can use for all tests, and that will
> probably get more features in the future (for example tempdir
> handling)
Hello,
this patch converts test-regex_matches.py to the new tests[] loop.
Needless to say that this patch depends on
[patch] add better loop support to common_test.py
The test behaviour is the same with and without this patch - 166 tests
run, all successful.
BTW: I don't care too much for
The error path was being taken when openat() return 0 but openat()
returns -1 on error.
Signed-off-by: Tyler Hicks
---
Another minor bug that I came across while working on the libapparmor API
changes. Nominated for 2.9 and trunk.
parser/parser_main.c | 4 +++-
1 file changed, 3 insertions(+),
On Tue, Mar 03, 2015 at 08:00:43PM -0600, Tyler Hicks wrote:
> The error path was being taken when openat() return 0 but openat()
> returns -1 on error.
>
> Signed-off-by: Tyler Hicks
Acked-by: Seth Arnold
Thanks
> ---
>
> Another minor bug that I came across while working on the libapparmor
On Sun, Mar 01, 2015 at 09:19:16PM +0100, Christian Boltz wrote:
> this patch fixes aa-status find_apparmorfs() to work with non-ascii
> mountpoints.
>
> (I even made a temporary non-ascii mountpoint to verify it ;-)
>
> Patch by Alain Benedetti
>
> References: https://bugs.launchpad.net/bugs/1
On 03/03/2015 11:01 AM, Steve Beattie wrote:
> On Tue, Mar 03, 2015 at 10:58:57AM -0800, Steve Beattie wrote:
>> Parts of the regression tests that use the do_open() inline function
>> from changehat.h fail to build under gcc-5 like so:
>>
>> cc -g -O0 -Wall -Wstrict-prototypeschangeprofile.c
14 matches
Mail list logo