From cdc495da6ff15d590df13dd5bf927893e33f9e3a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 27 Jan 2022 16:31:51 +0100 Subject: sys/linux: add PR_SET_VMA descriptions --- sys/linux/prctl.txt | 2 ++ sys/linux/prctl.txt.const | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sys') 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 -- cgit mrf-deployment