make efivarfs files immutable by default (for stable)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesIn review
- v13 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | lib/ucs2_string: Add ucs2 -> utf8 helper functionsinclude/ lib/ | +66 | 0 replies | |
| 2/7 | efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad versiondrivers/ fs/ | +14 | 2 replies | |
| 3/7 | efi: Do variable name validation tests in utf8drivers/ | +21 | 0 replies | |
| 4/7 | efi: Make our variable validation list include the guiddrivers/ drivers/ include/ | +38 | 0 replies | |
| 5/7 | efi: Make efivarfs entries immutable by defaultDocumentation/ drivers/ fs/ +6 more | +258 | 0 replies | |
| 6/7 | efi: Add pstore variables to the deletion whitelistdrivers/ | +1 | 0 replies | |
| 7/7 | lib/ucs2_string: Correct ucs2 -> utf8 conversionlib/ | +7 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Lee, Chun-Yi | Matthew Garrett | Peter Jones | Laszlo Ersek |
|---|---|---|---|---|
| 1/7 | T-b | A-b | ||
| 2/7 | T-b | A-b | ||
| 3/7 | T-b | A-b | ||
| 4/7 | T-b | A-b | ||
| 5/7 | T-b | A-b | ||
| 6/7 | A-b T-b | |||
| 7/7 | R-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.
Cover letter [PATCH v2 0/7] make efivarfs files immutable by default (for stable)
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/[email protected]
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(-)
Signature · 1 line
2.6.2