Skip to content

openat2: flag fixes

Christian Brauner linux-fsdevel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fcntl: remove unused VALID_UPGRADE_FLAGSinclude/linux/fcntl.h+0 -40 replies
2/3open: don't silently ignore unknown O-flags in openat2()fs/open.c+11 -31 reply
3/3test: add openat2() test for invalid upper 32 bit flag valuetools/testing/selftests/openat2/openat2_test.c+6 -11 reply

Reviews trailers per patch

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

PatchRichard Guy BriggsChristoph HellwigAleksa Sarai
1/3R-b R-b
2/3R-b R-b R-b
3/3R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] openat2: flag fixes

From: Christian Brauner <[email protected]>

Hey,

A few fixes and tests to openat2 to prevent silent truncation when passing in flags in the upper 32 bits.
With the feedback from Richard worked in I picked this up so it can sit in -next for a bit.

Thanks!
Christian

Christian Brauner (3):
fcntl: remove unused VALID_UPGRADE_FLAGS
open: don't silently ignore unknown O-flags in openat2()
test: add openat2() test for invalid upper 32 bit flag value

 fs/open.c                                      | 14 +++++++++++---
 include/linux/fcntl.h                          |  4 ----
 tools/testing/selftests/openat2/openat2_test.c |  7 ++++++-
 3 files changed, 17 insertions(+), 8 deletions(-)

base-commit: c4681547bcce777daf576925a966ffa824edd09d

Signature · 1 line
2.27.0