diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile index a90c1515019..4cc2979f8e0 100644 --- a/libexec/ld.so/Makefile +++ b/libexec/ld.so/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.85 2023/07/08 11:03:45 jasper Exp $ +# $OpenBSD: Makefile,v 1.86 2023/12/20 14:54:29 deraadt Exp $ SUBDIR=ldconfig ldd MAN= ld.so.1 @@ -29,7 +29,8 @@ SRCS+= malloc.c reallocarray.c tib.c ffs.c syscall=close exit fstat getdents getentropy getthrid issetugid kbind \ mimmutable mmap mprotect munmap msyscall open pledge pinsyscall \ - read __realpath sendsyslog __set_tcb sysctl thrkill utrace write + pinsyscalls read __realpath sendsyslog __set_tcb sysctl thrkill \ + utrace write .if (${MACHINE_ARCH} == "i386") syscall+=mquery diff --git a/libexec/ld.so/syscall.h b/libexec/ld.so/syscall.h index 649fc240e25..b1f198e9281 100644 --- a/libexec/ld.so/syscall.h +++ b/libexec/ld.so/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.5 2023/12/12 17:39:14 deraadt Exp $ */ +/* $OpenBSD: syscall.h,v 1.6 2023/12/20 14:54:29 deraadt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -52,6 +52,7 @@ int _dl_mprotect(const void *, size_t, int); void *_dl_mquery(void *, size_t, int, int, int, off_t); int _dl_msyscall(void *addr, size_t len); int _dl_pinsyscall(int, void *addr, size_t len); +int _dl_pinsyscalls(void *base, size_t len, u_int *pin, int pinlen); int _dl_munmap(const void *, size_t); int _dl_mimmutable(const void *, size_t); int _dl_open(const char *, int);