summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-16 23:29:25 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-17 01:21:47 +0200
commit4226b662cddd5ce0b0d8a3abe45161a74b756a88 (patch)
tree08bce2f7dd63f36be3f8b9e84c359bb581124c20 /Kernel/API/POSIX
parent7979b5a8bb4bf2960b716c3774bd96f4cb391f6d (diff)
downloadserenity-4226b662cddd5ce0b0d8a3abe45161a74b756a88.zip
Kernel+Userland: Remove global futexes
We only ever use private futexes, so it doesn't make sense to carry around all the complexity required for global (cross-process) futexes.
Diffstat (limited to 'Kernel/API/POSIX')
-rw-r--r--Kernel/API/POSIX/futex.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/API/POSIX/futex.h b/Kernel/API/POSIX/futex.h
index 74f030c866..d814e9910e 100644
--- a/Kernel/API/POSIX/futex.h
+++ b/Kernel/API/POSIX/futex.h
@@ -52,9 +52,8 @@ extern "C" {
#define FUTEX_WAIT_BITSET 9
#define FUTEX_WAKE_BITSET 10
-#define FUTEX_PRIVATE_FLAG (1 << 7)
#define FUTEX_CLOCK_REALTIME (1 << 8)
-#define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
+#define FUTEX_CMD_MASK ~(FUTEX_CLOCK_REALTIME)
#define FUTEX_BITSET_MATCH_ANY 0xffffffff