diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-12-16 15:42:11 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-12-16 15:42:11 +0100 |
| commit | 81efdbb29c4fcb42f73190bdf8f13db53139855d (patch) | |
| tree | 2e09c80956a895c8c53f6f36a04e67556f67802c /sys/sys_amd64.const | |
| parent | 739d40c1b8f4107ca893e6817881ac37b50df4e8 (diff) | |
sys: describe new pkey_* syscalls
Diffstat (limited to 'sys/sys_amd64.const')
| -rw-r--r-- | sys/sys_amd64.const | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
