Return-Path: Received: from mail-wm0-f53.google.com ([74.125.82.53]:36661 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbcCJOFz (ORCPT ); Thu, 10 Mar 2016 09:05:55 -0500 Received: by mail-wm0-f53.google.com with SMTP id n186so31889739wmn.1 for ; Thu, 10 Mar 2016 06:05:54 -0800 (PST) From: Matt Fleming To: stable@vger.kernel.org Cc: Ard Biesheuvel , Peter Jones , Matthew Garrett , joeyli , Matt Fleming Subject: [PATCH 0/7] make efivarfs files immutable by default (for 3.10 and 3.14) Date: Thu, 10 Mar 2016 14:05:44 +0000 Message-Id: <1457618751-11514-1-git-send-email-matt@codeblueprint.co.uk> Sender: stable-owner@vger.kernel.org List-ID: This is a backport of the patches previously sent for stable here, http://article.gmane.org/gmane.linux.kernel.stable/166813 This series applies to 3.10-stable and 3.14-stable as Greg reported that the original stable patches didn't apply cleanly. Jason Andryuk (1): lib/ucs2_string: Correct ucs2 -> utf8 conversion Matt Fleming (2): efi: Do variable name validation tests in utf8 efi: Add pstore variables to the deletion whitelist Peter Jones (4): lib/ucs2_string: Add ucs2 -> utf8 helper functions efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version 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 | 34 +++-- drivers/firmware/efi/vars.c | 164 +++++++++++++++++-------- fs/efivarfs/file.c | 71 +++++++++++ fs/efivarfs/inode.c | 30 +++-- fs/efivarfs/internal.h | 3 +- fs/efivarfs/super.c | 16 ++- include/linux/efi.h | 9 +- include/linux/ucs2_string.h | 4 + lib/ucs2_string.c | 62 ++++++++++ tools/testing/selftests/efivarfs/efivarfs.sh | 19 ++- tools/testing/selftests/efivarfs/open-unlink.c | 72 ++++++++++- 12 files changed, 398 insertions(+), 93 deletions(-) -- 2.6.2