summaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-16 04:42:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-16 04:42:09 +0000
commitb7c6aad45ee0aa3b9854ba91916340bcfc5ea142 (patch)
tree1890b2c7febcfc9fae5a5c3945ab1e058ab3fc89 /sys/kern/syscalls.master
parent627535f1d71887996ee3bdd5ef1e3b6076a8bcdd (diff)
Add pinsyscall(2). With this you can tell the kernel the location
(start,len) of the syscall stub in libc.so for a specified syscall (using SYS_* notation). Only SYS_execve is supported at this time. ok gnezdo mortimer kettenis
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index d799adcc9b2..67a5424af2f 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.243 2023/02/14 08:34:49 mvs Exp $
+; $OpenBSD: syscalls.master,v 1.244 2023/02/16 04:42:06 deraadt Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -284,7 +284,7 @@
143 STD { int sys_setthrname(pid_t tid, const char *name); }
144 OBSOL ogetrlimit
145 OBSOL osetrlimit
-146 OBSOL okillpg
+146 STD NOLOCK { int sys_pinsyscall(int syscall, void *addr, size_t len); }
147 STD { int sys_setsid(void); }
148 STD { int sys_quotactl(const char *path, int cmd, \
int uid, char *arg); }