mirror of
https://github.com/openbsd/src.git
synced 2025-01-03 06:45:37 -08:00
create a stub for pinsyscalls(2)
This commit is contained in:
parent
43ad502097
commit
a346a8255f
@ -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
|
SUBDIR=ldconfig ldd
|
||||||
MAN= ld.so.1
|
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 \
|
syscall=close exit fstat getdents getentropy getthrid issetugid kbind \
|
||||||
mimmutable mmap mprotect munmap msyscall open pledge pinsyscall \
|
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")
|
.if (${MACHINE_ARCH} == "i386")
|
||||||
syscall+=mquery
|
syscall+=mquery
|
||||||
|
@ -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
|
* 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);
|
void *_dl_mquery(void *, size_t, int, int, int, off_t);
|
||||||
int _dl_msyscall(void *addr, size_t len);
|
int _dl_msyscall(void *addr, size_t len);
|
||||||
int _dl_pinsyscall(int, 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_munmap(const void *, size_t);
|
||||||
int _dl_mimmutable(const void *, size_t);
|
int _dl_mimmutable(const void *, size_t);
|
||||||
int _dl_open(const char *, int);
|
int _dl_open(const char *, int);
|
||||||
|
Loading…
Reference in New Issue
Block a user