diff options
| author | 2001-09-19 13:28:43 +0000 | |
|---|---|---|
| committer | 2001-09-19 13:28:43 +0000 | |
| commit | d3ead6b10ba4edc79d4b76949e7ce6ebbcf13c34 (patch) | |
| tree | 23606e5e71bf97fcd2f49c9788fc6a78e60811cd /sys/compat/linux/linux_exec.c | |
| parent | key_read() now returns -1 on type mismatch, too (diff) | |
| download | wireguard-openbsd-d3ead6b10ba4edc79d4b76949e7ce6ebbcf13c34.tar.xz wireguard-openbsd-d3ead6b10ba4edc79d4b76949e7ce6ebbcf13c34.zip | |
Unify elf32 and elf64 code with macros. This forced a renaming
of a few functions from elf32.
Diffstat (limited to 'sys/compat/linux/linux_exec.c')
| -rw-r--r-- | sys/compat/linux/linux_exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index 821eaca947b..350c153bf0f 100644 --- a/sys/compat/linux/linux_exec.c +++ b/sys/compat/linux/linux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_exec.c,v 1.16 2001/08/11 23:21:14 art Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.17 2001/09/19 13:28:43 art Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /* @@ -112,9 +112,9 @@ struct emul emul_linux_elf = { NULL, #endif LINUX_ELF_AUX_ARGSIZ, - elf_copyargs, + elf32_copyargs, setregs, - exec_elf_fixup, + exec_elf32_fixup, linux_sigcode, linux_esigcode, }; @@ -387,7 +387,7 @@ linux_elf_probe(p, epp, itp, pos, os) int error; size_t len; - brand = elf_check_brand(eh); + brand = elf32_check_brand(eh); if (brand && strcmp(brand, "Linux")) return (EINVAL); if (itp[0]) { |
