diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-12-19 19:39:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2023-12-19 19:39:53 +0000 |
commit | 774877c40a549ed7fa31aa2116396e28cccf4c89 (patch) | |
tree | 70e14b598a3b97a3b8db8a49362a64768818b7b0 | |
parent | 3d1c8057e20838da5593ec425d0d48ec628e8f93 (diff) |
static binary setting a table, or dynamic binary trying to do what
ld.so already did, will both be EPERM
-rw-r--r-- | lib/libc/sys/pinsyscalls.2 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/sys/pinsyscalls.2 b/lib/libc/sys/pinsyscalls.2 index 91b4b5b591a..7c45277a668 100644 --- a/lib/libc/sys/pinsyscalls.2 +++ b/lib/libc/sys/pinsyscalls.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pinsyscalls.2,v 1.3 2023/12/19 07:24:42 jmc Exp $ +.\" $OpenBSD: pinsyscalls.2,v 1.4 2023/12/19 19:39:52 deraadt Exp $ .\" .\" Copyright (c) 2023 Theo de Raadt <deraadt@openbsd.org> .\" @@ -64,13 +64,11 @@ will fail if: .Bl -tag -width Er .It Bq Er E2BIG Implausible number of system calls provided. -.It Bq Er EINVAL -Process already has a system call pinning table loaded. .It Bq Er ENOMEM Insufficient memory to service the request. .It Bq Er EPERM A static binary tried to call -.Fn pinsyscalls . +.Fn pinsyscalls , or it was called a second time. .It Bq Er ERANGE At least one system call offset is beyond the bounds of .Ar len . |