From 7e80a36e6897cb5a1408da25e9459b2c30d9369d Mon Sep 17 00:00:00 2001 From: Michal Biesek Date: Thu, 10 Aug 2023 20:25:33 +0200 Subject: [PATCH] pr.h: add PR_{G,S}ET_IO_FLUSHER from linux v5.6 see: linux commit 8d19f1c8e1937baf74e1962aae9f90fa3aeab463 prctl: PR_{G,S}ET_IO_FLUSHER to support controlling memory reclaim --- libc/sysv/consts/pr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/sysv/consts/pr.h b/libc/sysv/consts/pr.h index fded62fdf..4006e3949 100644 --- a/libc/sysv/consts/pr.h +++ b/libc/sysv/consts/pr.h @@ -99,6 +99,8 @@ #define PR_SET_SPECULATION_CTRL 53 #define PR_SET_TAGGED_ADDR_CTRL 55 #define PR_GET_TAGGED_ADDR_CTRL 56 +#define PR_SET_IO_FLUSHER 57 +#define PR_GET_IO_FLUSHER 58 #define PR_SET_PTRACER 0x59616d61 #define PR_SET_PTRACER_ANY -1