diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-02-08 05:02:06 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-02-08 05:02:06 +0000 |
commit | eebfc47f73667f8b137ff4b393a24084a2a944fc (patch) | |
tree | 0cb50d31960ff38e9e3c567eaa28519fdf920387 /sys/kern/exec_elf.c | |
parent | 9869f822b115335916f55ddfed57d2e962ea1492 (diff) |
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/kern/exec_elf.c')
-rw-r--r-- | sys/kern/exec_elf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c index ec75ae10fe5..e2ece9d652b 100644 --- a/sys/kern/exec_elf.c +++ b/sys/kern/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.134 2017/02/08 04:55:38 guenther Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.135 2017/02/08 05:02:05 guenther Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -117,6 +117,11 @@ extern char *syscallnames[]; #define ELF_MAX_VALID_PHDR 32 /* + * How many entries are in the AuxInfo array we pass to the process? + */ +#define ELF_AUX_ENTRIES 8 + +/* * This is the OpenBSD ELF emul */ struct emul ELFNAMEEND(emul) = { |