Hi Linus, Here are some metag usercopy fixes for 4.11-rc6. Please consider pulling. The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201: Linux 4.11-rc1 (2017-03-05 12:59:56 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git tags/metag-for-v4.11-rc6 for you to fetch changes up to b884a190afcecdbef34ca508ea5ee88bb7c77861: metag/usercopy: Add missing fixups (2017-04-05 15:25:07 +0100) Thanks James ---------------------------------------------------------------- metag/usercopy: Fault handling fixes These patches fix a bunch of longstanding (some over a decade old) metag user copy fault handling bugs. Thanks go to Al Viro for spotting some of the questionable code in the first place. ---------------------------------------------------------------- James Hogan (7): metag/usercopy: Drop unused macros metag/usercopy: Fix alignment error checking metag/usercopy: Add early abort to copy_to_user metag/usercopy: Zero rest of buffer from copy_from_user metag/usercopy: Set flags before ADDZ metag/usercopy: Fix src fixup in from user rapf loops metag/usercopy: Add missing fixups arch/metag/include/asm/uaccess.h | 15 +- arch/metag/lib/usercopy.c | 324 +++++++++++++++------------------------ 2 files changed, 134 insertions(+), 205 deletions(-)
Attachment:
signature.asc
Description: Digital signature