From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752168AbcFJXCr (ORCPT ); Fri, 10 Jun 2016 19:02:47 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:35519 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbcFJXCq (ORCPT ); Fri, 10 Jun 2016 19:02:46 -0400 Date: Fri, 10 Jun 2016 16:02:44 -0700 From: Kees Cook To: Greg KH Cc: linux-kernel@vger.kernel.org, Kees Cook Subject: [PULL] lkdtm update (next) Message-ID: <20160610230244.GA24889@www.outflux.net> 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 lkdtm changes for next. Thanks! -Kees The following changes since commit 3d0f0b6a5520878305589411b8d434fe088e4f21: Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs (2016-06-10 14:13:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next for you to fetch changes up to b54845276a969b72daa2dee1afe379847a639478: lkdtm: split atomic test into over and underflow (2016-06-10 15:57:51 -0700) ---------------------------------------------------------------- Rearranged build to be able to deal with unusual executable sections (i.e. functions in rodata). New tests for prior memory protections (EXEC_RODATA), new tests for upcoming kernel self-protections (USERCOPY_HEAP_SIZE_TO, USERCOPY_HEAP_SIZE_FROM, USERCOPY_HEAP_FLAG_TO, USERCOPY_HEAP_FLAG_FROM, USERCOPY_STACK_FRAME_TO, USERCOPY_STACK_FRAME_FROM, USERCOPY_STACK_BEYOND), and updated tests (ATOMIC_UNDERFLOW, ATOMIC_OVERFLOW). ---------------------------------------------------------------- Kees Cook (5): lkdtm: split build into multiple source files lkdtm: clean up after rename lkdtm: add function for testing .rodata section lkdtm: add usercopy tests lkdtm: split atomic test into over and underflow MAINTAINERS | 2 +- drivers/misc/Makefile | 10 + drivers/misc/lkdtm.h | 6 + drivers/misc/{lkdtm.c => lkdtm_core.c} | 333 +++++++++++++++++++++++++++++++-- drivers/misc/lkdtm_rodata.c | 10 + 5 files changed, 341 insertions(+), 20 deletions(-) create mode 100644 drivers/misc/lkdtm.h rename drivers/misc/{lkdtm.c => lkdtm_core.c} (72%) create mode 100644 drivers/misc/lkdtm_rodata.c -- Kees Cook Chrome OS & Brillo Security