summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_exec.h
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2013-11-03 13:52:44 +0000
committerpirofti <pirofti@openbsd.org>2013-11-03 13:52:44 +0000
commit3939ef0bdbfed78fb65ba8679ba6ba5798f1e01a (patch)
treeaa914655a4718229f06a172349cffdefbf79d12d /sys/compat/linux/linux_exec.h
parentFix bogus kthread_create() usage leading to wrong struct proc * pointer (diff)
downloadwireguard-openbsd-3939ef0bdbfed78fb65ba8679ba6ba5798f1e01a.tar.xz
wireguard-openbsd-3939ef0bdbfed78fb65ba8679ba6ba5798f1e01a.zip
Remove a.out support from compat_linux(8).
Tested with the syscall regression test suite from IBM and Opera. Requested by deraadt@.
Diffstat (limited to 'sys/compat/linux/linux_exec.h')
-rw-r--r--sys/compat/linux/linux_exec.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_exec.h b/sys/compat/linux/linux_exec.h
index b216205a5a6..8744c18e90f 100644
--- a/sys/compat/linux/linux_exec.h
+++ b/sys/compat/linux/linux_exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_exec.h,v 1.8 2012/09/11 15:44:19 deraadt Exp $ */
+/* $OpenBSD: linux_exec.h,v 1.9 2013/11/03 13:52:44 pirofti Exp $ */
/* $NetBSD: linux_exec.h,v 1.5 1995/10/07 06:27:01 mycroft Exp $ */
/*
@@ -44,8 +44,6 @@
#define LINUX_MID_MACHINE LINUX_M_I386
#endif
-#define LINUX_AOUT_HDR_SIZE (sizeof (struct exec))
-
#define LINUX_N_MAGIC(ep) ((ep)->a_midmag & 0xffff)
#define LINUX_N_MACHTYPE(ep) (((ep)->a_midmag >> 16) & 0xff)
@@ -66,7 +64,6 @@
#define LINUX_N_BSSADDR(x,m) (LINUX_N_DATADDR(x,m) + (x).a_data)
-int exec_linux_aout_makecmds(struct proc *, struct exec_package *);
int exec_linux_elf32_makecmds(struct proc *, struct exec_package *);
int linux_elf_probe(struct proc *, struct exec_package *, char *,