Skip to content

Add a future write seal to memfd

Joel Fernandes linux-api linux-fsdevel linux-kselftest linux-mm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v3 posting 2/22 patches 31 repliesSuperseded
  3. v3 posting 1/22 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches8 repliesSuperseded
v1 RFC1 patch4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/memfd: Add an F_SEAL_FUTURE_WRITE seal to memfdfs/hugetlbfs/inode.c include/uapi/linux/fcntl.h mm/memfd.c +1 more+26 -51 reply
2/2selftests/memfd: Add tests for F_SEAL_FUTURE_WRITE sealtools/testing/selftests/memfd/memfd_test.c+74 -02 replies

Reviews trailers per patch

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

PatchShuah KhanJohn Stultz
1/2A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Add a future write seal to memfd

From: "Joel Fernandes (Google)" <[email protected]>

This is just a resend of the previous series at
https://lore.kernel.org/patchwork/patch/1014892/
with a small if block refactor as Andy suggested:
https://lore.kernel.org/patchwork/comment/1198679/

All,
Could you please provide your Reviewed-by / Acked-by tags?

I will also resend the manpage changes shortly.

Joel Fernandes (Google) (2):
mm/memfd: Add an F_SEAL_FUTURE_WRITE seal to memfd selftests/memfd: Add tests for F_SEAL_FUTURE_WRITE seal

fs/hugetlbfs/inode.c                       |  2 +-
include/uapi/linux/fcntl.h                 |  1 +
mm/memfd.c                                 |  3 +-
mm/shmem.c                                 | 25 +++++++-
tools/testing/selftests/memfd/memfd_test.c | 74 ++++++++++++++++++++++
5 files changed, 100 insertions(+), 5 deletions(-)

--
2.20.1.97.g81188d93c3-goog