Re: [PATCH v2] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN

From: Christoph Hellwig
Date: Thu Feb 09 2017 - 03:37:54 EST


I'm really not a fan of adding a global synchronization point for
no good reason. Arnd's original patch looks fine to me, but if you
really don't want it I'd suggest to use memdup_user and just
dynamically allocate the structure.