Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters
From: Tycho Andersen
Date: Tue Oct 20 2015 - 18:08:29 EST
Hi Kees, Oleg,
On Tue, Oct 20, 2015 at 10:20:24PM +0200, Oleg Nesterov wrote:
>
> No, you can't do copy_to_user() from atomic context. You need to pin this
> filter, drop the lock/irq, then copy_to_user().
Attached is a patch which addresses this.
Tycho