From 81efdbb29c4fcb42f73190bdf8f13db53139855d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 16 Dec 2016 15:42:11 +0100 Subject: sys: describe new pkey_* syscalls --- sys/sys_amd64.const | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/sys_amd64.const') diff --git a/sys/sys_amd64.const b/sys/sys_amd64.const index 51ab7ff17..65ff99e0e 100644 --- a/sys/sys_amd64.const +++ b/sys/sys_amd64.const @@ -336,6 +336,8 @@ PER_SVR4 = 68157441 PER_UW7 = 68157454 PER_WYSEV386 = 83886084 PER_XENIX = 83886087 +PKEY_DISABLE_ACCESS = 1 +PKEY_DISABLE_WRITE = 2 POLLERR = 8 POLLHUP = 16 POLLIN = 1 @@ -352,7 +354,10 @@ PRIO_PGRP = 1 PRIO_PROCESS = 0 PRIO_USER = 2 PROT_EXEC = 4 +PROT_GROWSDOWN = 16777216 +PROT_GROWSUP = 33554432 PROT_READ = 1 +PROT_SEM = 8 PROT_WRITE = 2 PR_CAPBSET_DROP = 24 PR_CAPBSET_READ = 23 @@ -722,6 +727,9 @@ __NR_personality = 135 __NR_pipe = 22 __NR_pipe2 = 293 __NR_pivot_root = 155 +__NR_pkey_alloc = 330 +__NR_pkey_free = 331 +__NR_pkey_mprotect = 329 __NR_poll = 7 __NR_ppoll = 271 __NR_prctl = 157 -- cgit mrf-deployment