summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc/syscall.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-12-18 19:20:03 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-12-18 19:20:03 +0000
commit8f09080005732280987e9c3a5d4dfb4b7ff1d0ff (patch)
tree40b3f487a7bc16dc52413c5ce00772fd5430b427 /libexec/ld.so/sparc/syscall.h
parent90f6776918c0b71f3eac3550935610833e3ed1ef (diff)
Prepare for an upcoming ELF executable change. This will allow ld.so to
protect the GOT and PLT sections of the executable from being overwritten. This behavior is enabled by changes in the executable/shared object layout, and does not occur without the ld changes.
Diffstat (limited to 'libexec/ld.so/sparc/syscall.h')
-rw-r--r--libexec/ld.so/sparc/syscall.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/sparc/syscall.h b/libexec/ld.so/sparc/syscall.h
index c11613b6120..ac19f7fb0ca 100644
--- a/libexec/ld.so/sparc/syscall.h
+++ b/libexec/ld.so/sparc/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.2 2002/11/23 19:14:25 drahn Exp $ */
+/* $OpenBSD: syscall.h,v 1.3 2002/12/18 19:20:02 drahn Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -37,6 +37,7 @@
#include <sys/syscall.h>
#include <sys/stat.h>
+#include <sys/signal.h>
#ifndef _dl_MAX_ERRNO
#define _dl_MAX_ERRNO 4096
@@ -59,6 +60,7 @@ int _dl_fcntl(int, int, ...);
int _dl_getdirentries(int, char*, int, long *);
int _dl_sysctl(int *, u_int, void *, size_t *, void *, size_t);
+int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
static inline off_t
_dl_lseek(int fildes, off_t offset, int whence)