History

tools headers uapi: Sync linux/fcntl.h to get the F_SEAL_FUTURE_WRITE addition

To get the changes in: ab3948f58ff8 ("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

Arnaldo Carvalho de Melo committed 7 years ago

Commit e33ff031 parent be709d41 file · +1 −0Browse files

Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all

Unified · Split

tools/include/uapi/linux/fcntl.h+1−0
@@ -41,6 +41,7 @@ · 40 unmodified lines
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 /*