[apparmor] [PATCH] Fix: segfault when processing directories

John Johansen john.johansen at canonical.com
Fri Jan 15 01:22:02 UTC 2016


On 01/14/2016 04:57 PM, Steve Beattie wrote:
> On Thu, Jan 14, 2016 at 04:46:36PM -0800, John Johansen wrote:
>> Patch -r 2952 switched over to using the library kernel interface, and
>> added a kernel_interface parameter to the dir_cb struct, that is
>> used to process directories.
>>
>> Unfortunately kernel_interface parameter of the dir_cb struct is not being
>> properly initialized resulting in odd failures and sefaults when the parser
>> is processing directories.
>>
>> Signed-off-by: John Johansen <john.johansen at canonical.com>
> Acked-by: Steve Beattie <steve at nxnw.org> for both trunk and 2.10.
> 
> Is there a bug report open for this?
> 
It does now.
http://bugs.launchpad.net/bugs/1534405

I ran into it today when trying to give Jamie some newer timings for the
parallel jobs patch.

It wasn't caught previously because most of my testing used -Q to skip
the kernel load, and what kernel loads I did do where on a version
pre the kernel_interface patch





More information about the AppArmor mailing list