From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932158AbdBUUEB (ORCPT ); Tue, 21 Feb 2017 15:04:01 -0500 Received: from mail-pg0-f41.google.com ([74.125.83.41]:33365 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754468AbdBUUDz (ORCPT ); Tue, 21 Feb 2017 15:03:55 -0500 Date: Tue, 21 Feb 2017 12:03:42 -0800 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Hoeun Ryu Subject: [GIT PULL] usercopy updates for v4.11-rc1 Message-ID: <20170221200342.GA51526@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please pull these usercopy changes for v4.11-rc1. Thanks! -Kees The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88: Linux 4.10-rc2 (2017-01-01 14:31:53 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/usercopy-v4.11-rc1 for you to fetch changes up to 4c5d7bc63775b40631b75f6c59a3a3005455262d: usercopy: Add tests for all get_user() sizes (2017-02-21 11:59:38 -0800) ---------------------------------------------------------------- This improves the usercopy tests: - check zeroing on failed copy_from_user()/get_user() (caught bug on ARM) - adjust tests for SMAP/PAN (can't zero userspace memory on failure) ---------------------------------------------------------------- Hoeun Ryu (1): usercopy: add testcases to check zeroing on failure Kees Cook (2): usercopy: Adjust tests to deal with SMAP/PAN usercopy: Add tests for all get_user() sizes lib/test_user_copy.c | 117 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 103 insertions(+), 14 deletions(-) -- Kees Cook Pixel Security