[PATCH v2 0/3] openat2: flag fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christian Brauner <christian.brauner@xxxxxxxxxx>

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
-- 
2.27.0




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux