Skip to content

Commit 5f80038

Browse files
committed
tools include UAPI: Synchronize linux/fcntl.h with the kernel sources
To pick up the changes in: 6fd7353 ("mm/memfd: add F_SEAL_EXEC") That doesn't add or change any perf tools functionality, only addresses these build warnings: 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 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 811f35f commit 5f80038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/include/uapi/linux/fcntl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#define F_SEAL_GROW 0x0004 /* prevent file from growing */
4444
#define F_SEAL_WRITE 0x0008 /* prevent writes */
4545
#define F_SEAL_FUTURE_WRITE 0x0010 /* prevent future writes while mapped */
46+
#define F_SEAL_EXEC 0x0020 /* prevent chmod modifying exec bits */
4647
/* (1U << 31) is reserved for signed error codes */
4748

4849
/*

0 commit comments

Comments
 (0)