[PATCH] UBUNTU: SAUCE: apparmor: fix sleep from invalid context
Andy Whitcroft
apw at canonical.com
Sat Jan 30 14:07:21 UTC 2016
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 ?
-apw
More information about the kernel-team
mailing list