From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751958AbdGEE3u (ORCPT ); Wed, 5 Jul 2017 00:29:50 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:34180 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbdGEE3s (ORCPT ); Wed, 5 Jul 2017 00:29:48 -0400 Date: Tue, 4 Jul 2017 21:29:46 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Ankit Kumar , Anton Blanchard , Douglas Anderson , Geliang Tang , Mahesh Salgaonkar Subject: [GIT PULL] pstore updates for v4.13-rc1 Message-ID: <20170705042946.GA71633@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 pstore changes for v4.13-rc1. Thanks! -Kees The following changes since commit 5ed02dbb497422bf225783f46e6eadd237d23d6b: Linux 4.12-rc3 (2017-05-28 17:20:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v4.13-rc1 for you to fetch changes up to 0752e4028c003fba1e2b44c4b3cf6a4482e931b6: powerpc/nvram: use memdup_user (2017-06-27 17:02:50 -0700) ---------------------------------------------------------------- Various fixes and tweaks for the pstore subsystem. Highlights: - use memdup_user() instead of open-coded copies (Geliang Tang) - fix record memory leak during initialization (Douglas Anderson) - avoid confused compressed record warning (Ankit Kumar) - prepopulate record timestamp and remove redundant logic from backends ---------------------------------------------------------------- Ankit Kumar (1): pstore: Don't warn if data is uncompressed and type is not PSTORE_TYPE_DMESG Douglas Anderson (1): pstore: Fix leaked pstore_record in pstore_get_backend_records() Geliang Tang (2): pstore: use memdup_user powerpc/nvram: use memdup_user Kees Cook (5): pstore: Avoid potential infinite loop efi-pstore: Refactor erase routine pstore: Create common record initializer pstore: Populate pstore record->time field pstore: Fix format string to use %u for record id arch/powerpc/kernel/nvram_64.c | 14 +++---- drivers/firmware/efi/efi-pstore.c | 87 +++++++++++++++++---------------------- fs/pstore/inode.c | 22 +++++----- fs/pstore/internal.h | 2 + fs/pstore/platform.c | 69 ++++++++++++++++++++----------- fs/pstore/pmsg.c | 10 ++--- fs/pstore/ram.c | 16 +++---- include/linux/pstore.h | 5 ++- 8 files changed, 114 insertions(+), 111 deletions(-) -- Kees Cook Pixel Security