aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.h
diff options
context:
space:
mode:
authorRicardo Branco <rbranco@suse.de>2026-04-19 21:06:52 +0000
committerPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-04-22 09:26:55 +0000
commit50ff71e956b631b56a878bd723a9b32dfbdac60f (patch)
tree8d52d63cab97f77ffa734ac55339580b135c9c90 /sys/compat/linux/linux_misc.h
parentd8651498746e2b9f69abf664f540cbc9daa0aec1 (diff)
linux: Support PR_GET_CHILD_SUBREAPER prctl(2)
PR: 294651 Signed-off-by: Ricardo Branco <rbranco@suse.de> Reviewed by: kib, pouria Pull-Request: https://github.com/freebsd/freebsd-src/pull/2151
Diffstat (limited to 'sys/compat/linux/linux_misc.h')
-rw-r--r--sys/compat/linux/linux_misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h
index 63ed914afc63..4412ff5b0f92 100644
--- a/sys/compat/linux/linux_misc.h
+++ b/sys/compat/linux/linux_misc.h
@@ -57,7 +57,8 @@
#define LINUX_PR_GET_SECCOMP 21
#define LINUX_PR_SET_SECCOMP 22
#define LINUX_PR_CAPBSET_READ 23
-#define LINUX_PR_SET_CHILD_SUBREAPER 36
+#define LINUX_PR_SET_CHILD_SUBREAPER 36 /* Get child subreaper status */
+#define LINUX_PR_GET_CHILD_SUBREAPER 37 /* Set child subreaper status */
#define LINUX_PR_SET_NO_NEW_PRIVS 38
#define LINUX_PR_SET_PTRACER 1499557217