All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] make efivarfs files immutable by default (for 3.10 and 3.14)
@ 2016-03-10 14:05 Matt Fleming
  2016-03-10 14:05 ` [PATCH 1/7] lib/ucs2_string: Add ucs2 -> utf8 helper functions Matt Fleming
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Matt Fleming @ 2016-03-10 14:05 UTC (permalink / raw)
  To: stable; +Cc: Ard Biesheuvel, Peter Jones, Matthew Garrett, joeyli, Matt Fleming

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


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH v2 0/7] make efivarfs files immutable by default (for stable)
@ 2016-02-25 21:02 Matt Fleming
  2016-02-25 21:02 ` [PATCH 3/7] efi: Do variable name validation tests in utf8 Matt Fleming
  0 siblings, 1 reply; 11+ messages in thread
From: Matt Fleming @ 2016-02-25 21:02 UTC (permalink / raw)
  To: stable; +Cc: Ard Biesheuvel, Peter Jones, Matthew Garrett, joeyli, Matt Fleming

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 apply
cleanly before v4.5-rc1 due to the missing inode_lock() accessor.

[1] - https://lkml.kernel.org/r/1454960895-3473-1-git-send-email-pjones@redhat.com

Jason Andryuk (1):
  lib/ucs2_string: Correct ucs2 -> utf8 conversion

Matt Fleming (1):
  efi: Add pstore variables to the deletion whitelist

Peter Jones (5):
  lib/ucs2_string: Add ucs2 -> utf8 helper functions
  efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version
  efi: Do variable name validation tests in utf8
  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                 |  35 +++---
 drivers/firmware/efi/vars.c                    | 144 ++++++++++++++++++-------
 fs/efivarfs/file.c                             |  70 ++++++++++++
 fs/efivarfs/inode.c                            |  30 ++++--
 fs/efivarfs/internal.h                         |   3 +-
 fs/efivarfs/super.c                            |  16 +--
 include/linux/efi.h                            |   5 +-
 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, 384 insertions(+), 83 deletions(-)

-- 
2.6.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-03-15 14:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 14:05 [PATCH 0/7] make efivarfs files immutable by default (for 3.10 and 3.14) Matt Fleming
2016-03-10 14:05 ` [PATCH 1/7] lib/ucs2_string: Add ucs2 -> utf8 helper functions Matt Fleming
2016-03-10 14:05 ` [PATCH 2/7] efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version Matt Fleming
2016-03-10 14:05 ` [PATCH 3/7] efi: Do variable name validation tests in utf8 Matt Fleming
2016-03-10 14:05 ` [PATCH 4/7] efi: Make our variable validation list include the guid Matt Fleming
2016-03-10 14:05 ` [PATCH 5/7] efi: Make efivarfs entries immutable by default Matt Fleming
2016-03-10 14:05 ` [PATCH 6/7] efi: Add pstore variables to the deletion whitelist Matt Fleming
2016-03-10 14:05 ` [PATCH 7/7] lib/ucs2_string: Correct ucs2 -> utf8 conversion Matt Fleming
2016-03-13  4:00 ` [PATCH 0/7] make efivarfs files immutable by default (for 3.10 and 3.14) Greg KH
2016-03-15 14:23 ` Luis Henriques
  -- strict thread matches above, loose matches on Subject: below --
2016-02-25 21:02 [PATCH v2 0/7] make efivarfs files immutable by default (for stable) Matt Fleming
2016-02-25 21:02 ` [PATCH 3/7] efi: Do variable name validation tests in utf8 Matt Fleming

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.