summaryrefslogtreecommitdiffstats
path: root/sys/sys/exec_elf.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2017-02-08 05:02:05 +0000
committerguenther <guenther@openbsd.org>2017-02-08 05:02:05 +0000
commit41d803c5993501a5c0db6d5505ae2f7906751186 (patch)
tree2e6543d68ebf544699a428b963a4b08f3e2f231f /sys/sys/exec_elf.h
parentChange ELFNAME(read_from)'s buf parameter to be void*, eliminating a cast (diff)
downloadwireguard-openbsd-41d803c5993501a5c0db6d5505ae2f7906751186.tar.xz
wireguard-openbsd-41d803c5993501a5c0db6d5505ae2f7906751186.zip
Move ELF_AUX_ENTRIES from exec_elf.h to exec_elf.c; it's totally internal
and not something we guarantee to userspace ok jca@
Diffstat (limited to 'sys/sys/exec_elf.h')
-rw-r--r--sys/sys/exec_elf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h
index 466891456b1..8d4e72e52ba 100644
--- a/sys/sys/exec_elf.h
+++ b/sys/sys/exec_elf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.h,v 1.69 2017/02/08 04:47:23 guenther Exp $ */
+/* $OpenBSD: exec_elf.h,v 1.70 2017/02/08 05:02:05 guenther Exp $ */
/*
* Copyright (c) 1995, 1996 Erik Theisen. All rights reserved.
*
@@ -610,7 +610,6 @@ struct elfcore_procinfo {
#if defined(_KERNEL) || defined(_DYN_LOADER)
#define ELF32_NO_ADDR ((uint32_t) ~0) /* Indicates addr. not yet filled in */
-#define ELF_AUX_ENTRIES 8 /* Size of aux array passed to loader */
typedef struct {
Elf32_Sword au_id; /* 32-bit id */
@@ -618,7 +617,6 @@ typedef struct {
} Aux32Info;
#define ELF64_NO_ADDR ((__uint64_t) ~0)/* Indicates addr. not yet filled in */
-#define ELF64_AUX_ENTRIES 8 /* Size of aux array passed to loader */
typedef struct {
Elf64_Shalf au_id; /* 32-bit id */