aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2025-05-17 17:14:54 +0200
committerPeter Zijlstra <peterz@infradead.org>2025-05-21 13:57:41 +0200
commit4140e2b31bedd87bfc53362441165979aa4fc5d8 (patch)
treeb8ac911213ff7b8ffe3f6e6c1454d6d63018f8c0 /tools/include
parentfutex: Use RCU_INIT_POINTER() in futex_mm_init(). (diff)
downloadlinux-4140e2b31bedd87bfc53362441165979aa4fc5d8.tar.gz
linux-4140e2b31bedd87bfc53362441165979aa4fc5d8.zip
tools headers: Synchronize prctl.h ABI header
The prctl.h ABI header was slightly updated during the development of the interface. In particular the "immutable" parameter became a bit in the option argument. Synchronize prctl.h ABI header again and make use of the definition in the testsuite and "perf bench futex". Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: André Almeida <andrealmeid@igalia.com> Link: https://lore.kernel.org/r/20250517151455.1065363-5-bigeasy@linutronix.de
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/prctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/prctl.h b/tools/include/uapi/linux/prctl.h
index 21f30b3ded74..43dec6eed559 100644
--- a/tools/include/uapi/linux/prctl.h
+++ b/tools/include/uapi/linux/prctl.h
@@ -367,6 +367,7 @@ struct prctl_mm_map {
/* FUTEX hash management */
#define PR_FUTEX_HASH 78
# define PR_FUTEX_HASH_SET_SLOTS 1
+# define FH_FLAG_IMMUTABLE (1ULL << 0)
# define PR_FUTEX_HASH_GET_SLOTS 2
# define PR_FUTEX_HASH_GET_IMMUTABLE 3