chiark / gitweb /
core: use the same test as upstart for apparmor
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>
Wed, 29 May 2013 19:38:04 +0000 (15:38 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 May 2013 04:43:39 +0000 (00:43 -0400)
commitcb0edd735c40f3bda8a1956489a5794c322aee59
tree680df037962a12e07a6a5a18bc88b279f1c18506
parent827f70eb764428baa397e9f3e295c470a1fd43e6
core: use the same test as upstart for apparmor

Lennart:
> Hmm, I just noticed this patch:
>
> https://code.launchpad.net/~mdeslaur/upstart/apparmor-support/+merge/164169
>
> It contains a different check for AppArmor. Basically something like this:
>
> /sys/module/apparmor/parameters/enabled == 'Y'
>
> I'd prefer if we could change our code to do the same, given that
> the Ubuntu guys are guys are upstream for apparmor.

https://bugs.freedesktop.org/show_bug.cgi?id=63312
src/core/condition.c