summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2023-03-03 16:57:50 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-03-03 22:34:20 -0300
commit5f800380af3881f1a0528d332838d4619a64593b (patch)
treeba2fd79d5bf8f71ae1de8c5e636bed35d12ab863
parent811f35ff59b6f99ae272d6f5b96bc9e974f88196 (diff)
downloadlwn-5f800380af3881f1a0528d332838d4619a64593b.tar.gz
lwn-5f800380af3881f1a0528d332838d4619a64593b.zip
tools include UAPI: Synchronize linux/fcntl.h with the kernel sources
To pick up the changes in: 6fd7353829cafc40 ("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 <acme@redhat.com>
-rw-r--r--tools/include/uapi/linux/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/fcntl.h b/tools/include/uapi/linux/fcntl.h
index 2f86b2ad6d7e..e8c07da58c9f 100644
--- a/tools/include/uapi/linux/fcntl.h
+++ b/tools/include/uapi/linux/fcntl.h
@@ -43,6 +43,7 @@
#define F_SEAL_GROW 0x0004 /* prevent file from growing */
#define F_SEAL_WRITE 0x0008 /* prevent writes */
#define F_SEAL_FUTURE_WRITE 0x0010 /* prevent future writes while mapped */
+#define F_SEAL_EXEC 0x0020 /* prevent chmod modifying exec bits */
/* (1U << 31) is reserved for signed error codes */
/*