Skip to content

Commit e33ff03

Browse files
committed
tools headers uapi: Sync linux/fcntl.h to get the F_SEAL_FUTURE_WRITE addition
To get the changes in: ab3948f ("mm/memfd: add an F_SEAL_FUTURE_WRITE seal to memfd") And silence this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/fcntl.h' differs from latest version at 'include/uapi/linux/fcntl.h' diff -u tools/include/uapi/linux/fcntl.h include/uapi/linux/fcntl.h Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Joel Fernandes (Google) <joel@joelfernandes.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-lvfx5cgf0xzmdi9mcjva1ttl@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent be709d4 commit e33ff03

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/include/uapi/linux/fcntl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */
4242
#define F_SEAL_GROW 0x0004 /* prevent file from growing */
4343
#define F_SEAL_WRITE 0x0008 /* prevent writes */
44+
#define F_SEAL_FUTURE_WRITE 0x0010 /* prevent future writes while mapped */
4445
/* (1U << 31) is reserved for signed error codes */
4546

4647
/*

0 commit comments

Comments
 (0)