mm: memfd_luo: preserve file seals
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review 1 of 2 applied
- v12 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- Define the set of seals supported by this version. Support for any other seal would need a version bump. Make sure the memfd only has this set of seals. Reject any that don't.
- Make seals a u32 since uABI defined it as an int. Change the __reserved into flags.
Patches in v2 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | memfd: export memfd_{add,get}_seals()include/ mm/ | +14 | 0 replies | |
| 2/2 | mm: memfd_luo: preserve file sealsinclude/ mm/ | +50 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Mike Rapoport (Microsoft) | Samiullah Khawaja |
|---|---|---|
| Series | T-b | |
| 1/2 | A-b | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] mm: memfd_luo: preserve file seals
From: "Pratyush Yadav (Google)" <[email protected]>
Hi,
This series adds support for preserving file seals when preserving a memfd using LUO. Patch 1 exports some memfd seal manipulation functions and patch 2 adds support for preserving them. Since it makes changes to the serialized data structure for memfd, it also bumps the version number.
Changes in v2:
- Define the set of seals supported by this version. Support for any other seal would need a version bump. Make sure the memfd only has this set of seals. Reject any that don't.
- Make seals a u32 since uABI defined it as an int. Change the __reserved into flags.
Pratyush Yadav (Google) (2):
memfd: export memfd_{add,get}_seals()
mm: memfd_luo: preserve file seals
include/linux/kho/abi/memfd.h | 18 +++++++++++++++++- include/linux/memfd.h | 12 ++++++++++++ mm/memfd.c | 4 ++-- mm/memfd_luo.c | 35 +++++++++++++++++++++++++++++++++-- 4 files changed, 64 insertions(+), 5 deletions(-)
Signature · 1 line
2.53.0.335.g19a08e0c02-goog