Return-Path: Received: from mail-wm0-f41.google.com ([74.125.82.41]:37489 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760658AbcBYQbu (ORCPT ); Thu, 25 Feb 2016 11:31:50 -0500 Received: by mail-wm0-f41.google.com with SMTP id g62so35419758wme.0 for ; Thu, 25 Feb 2016 08:31:49 -0800 (PST) From: Matt Fleming To: stable@vger.kernel.org Cc: Ard Biesheuvel , Peter Jones , Matthew Garrett , joeyli , Matt Fleming Subject: [PATCH 0/3] make efivarfs files immutable by default (for stable) Date: Thu, 25 Feb 2016 16:31:43 +0000 Message-Id: <1456417906-21471-1-git-send-email-matt@codeblueprint.co.uk> Sender: stable-owner@vger.kernel.org List-ID: Stable folks, This is a backport of the efivarfs anti-bricking changes [1] for stable. Some fixing up was required because the series doesn't include the ucs2 cleanups that are in Linus' tree since they're not really stable material. [1] - https://lkml.kernel.org/r/1454960895-3473-1-git-send-email-pjones@redhat.com Matt Fleming (1): efi: Add pstore variables to the deletion whitelist Peter Jones (2): efi: Make our variable validation list include the guid efi: Make efivarfs entries immutable by default. Documentation/filesystems/efivarfs.txt | 7 ++ drivers/firmware/efi/efivars.c | 4 +- drivers/firmware/efi/vars.c | 161 +++++++++++++++++++------ fs/efivarfs/file.c | 70 +++++++++++ fs/efivarfs/inode.c | 30 +++-- fs/efivarfs/internal.h | 3 +- fs/efivarfs/super.c | 9 +- include/linux/efi.h | 5 +- tools/testing/selftests/efivarfs/efivarfs.sh | 19 ++- tools/testing/selftests/efivarfs/open-unlink.c | 72 ++++++++++- 10 files changed, 320 insertions(+), 60 deletions(-) -- 2.6.2