aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-01-27 16:31:51 +0100
committerDmitry Vyukov <dvyukov@google.com>2022-01-27 16:50:32 +0100
commitcdc495da6ff15d590df13dd5bf927893e33f9e3a (patch)
treeb33af7ca538d37f671be631188dc866712818996 /sys
parent9e445916a0d037c71a23d5bf00e4283283533e98 (diff)
sys/linux: add PR_SET_VMA descriptions
Diffstat (limited to 'sys')
-rw-r--r--sys/linux/prctl.txt2
-rw-r--r--sys/linux/prctl.txt.const2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/prctl.txt b/sys/linux/prctl.txt
index c5dbee017..ea4273fd7 100644
--- a/sys/linux/prctl.txt
+++ b/sys/linux/prctl.txt
@@ -163,6 +163,8 @@ prctl$PR_SCHED_CORE(option const[PR_SCHED_CORE], cmd intptr[0:PR_SCHED_CORE_MAX]
pid_type = PIDTYPE_PID, PIDTYPE_TGID, PIDTYPE_PGID, PIDTYPE_SID
+prctl$PR_SET_VMA(option const[PR_SET_VMA], cmd const[PR_SET_VMA_ANON_NAME], addr vma, size bytesize[addr], name ptr[in, string]) (breaks_returns, ignore_return)
+
arch_prctl$ARCH_GET_FS(code const[ARCH_GET_FS], arg ptr[out, intptr])
arch_prctl$ARCH_GET_GS(code const[ARCH_GET_GS], arg ptr[out, intptr])
arch_prctl$ARCH_SET_GS(code const[ARCH_SET_GS], arg ptr[out, intptr])
diff --git a/sys/linux/prctl.txt.const b/sys/linux/prctl.txt.const
index a939aa1bb..15a2838c5 100644
--- a/sys/linux/prctl.txt.const
+++ b/sys/linux/prctl.txt.const
@@ -118,6 +118,8 @@ PR_SET_TIMERSLACK = 29
PR_SET_TIMING = 14
PR_SET_TSC = 26
PR_SET_UNALIGN = 6
+PR_SET_VMA = 1398164801
+PR_SET_VMA_ANON_NAME = 0
PR_SPEC_DISABLE = 4
PR_SPEC_ENABLE = 2
PR_SPEC_FORCE_DISABLE = 8