Skip to content

make efivarfs files immutable by default (for 3.10 and 3.14)

Matt Fleming stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7lib/ucs2_string: Add ucs2 -> utf8 helper functionsinclude/linux/ucs2_string.h lib/ucs2_string.c+66 -00 replies
2/7efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad versiondrivers/firmware/efi/efivars.c fs/efivarfs/super.c+13 -220 replies
3/7efi: Do variable name validation tests in utf8drivers/firmware/efi/efivars.c drivers/firmware/efi/vars.c include/linux/efi.h+40 -280 replies
4/7efi: Make our variable validation list include the guiddrivers/firmware/efi/efivars.c drivers/firmware/efi/vars.c include/linux/efi.h+39 -220 replies
5/7efi: Make efivarfs entries immutable by defaultDocumentation/filesystems/efivarfs.txt drivers/firmware/efi/vars.c fs/efivarfs/file.c +6 more+259 -410 replies
6/7efi: Add pstore variables to the deletion whitelistdrivers/firmware/efi/vars.c+1 -00 replies
7/7lib/ucs2_string: Correct ucs2 -> utf8 conversionlib/ucs2_string.c+7 -70 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchLee, Chun-YiMatthew GarrettPeter JonesLaszlo Ersek
1/7T-b A-b
2/7T-b A-b
3/7T-b A-b
4/7T-b A-b
5/7T-b A-b
6/7A-b T-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] make efivarfs files immutable by default (for 3.10 and 3.14)

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(-)
Signature · 1 line
2.6.2