[PATCH] UBUNTU: SAUCE: apparmor: fix sleep from invalid context

John Johansen john.johansen at canonical.com
Mon Feb 1 19:08:37 UTC 2016


On 01/30/2016 06:07 AM, Andy Whitcroft wrote:
> On Fri, Jan 29, 2016 at 04:53:15PM -0800, John Johansen wrote:
>> This is a patch to an apparmor feature that is not currently upstream
>>
>> BugLink: http://bugs.launchpad.net/bugs/1539349
>>
>> Commit 08518549722f0c992a9e4be71a0777f37147e9d2 made it so kern_path() via
>> getname_kernel() may do a GFP_KERNEL based allocation which is causing the
>> "sleep from invalid context" lockdep warning. Rework The apparmor mount
>> code to move kern_path() calls outside of the get_buffers()/put_buffers()
>> RCU read_lock block.
>>
>> Signed-off-by: John Johansen <john.johansen at canonical.com>
> 
> Looks reasonable.  Which series are affected by this?  I assume we have
> these features in a number of branches these days ?
> 

Sorry it applies to wily and xenial.





More information about the kernel-team mailing list