diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-05-05 02:13:48 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-05-05 02:13:48 +0000 |
commit | 40b409238afa7889605830c063f16b4d731eaec2 (patch) | |
tree | 07026cd7c5b72f5fe0c6ee04fa46812bcb5229c4 /sys/compat | |
parent | 8b8ca5671214b412eb81645a853cca97bd0c4963 (diff) |
emul_native is only used for kernel threads which can't dump core, so
delete coredump_trad(), uvm_coredump(), cpu_coredump(), struct md_coredump,
and various #includes that are superfluous.
This leaves compat_linux processes without a coredump callback. If that
ability is desired, someone should update it to use coredump_elf32() and
verify the results...
ok kettenis@
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_exec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index d8b592f917d..4982f3bb1fe 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.42 2014/07/12 18:50:00 tedu Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.43 2015/05/05 02:13:47 guenther Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /*- @@ -39,7 +39,6 @@ #include <sys/namei.h> #include <sys/vnode.h> #include <sys/mount.h> -#include <sys/core.h> #include <sys/exec.h> #include <sys/exec_elf.h> @@ -96,7 +95,7 @@ struct emul emul_linux_elf = { elf32_copyargs, setregs, exec_elf32_fixup, - coredump_trad, + NULL, /* coredump */ linux_sigcode, linux_esigcode, 0, |