diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-05 19:52:25 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-05 19:52:25 +0000 |
commit | 94b35ac8ba6c670755f5c398f89709d960544622 (patch) | |
tree | 0c62a6bd55e1b1b55e3b7f5f166d8d94a0c07777 /sys/compat/ultrix | |
parent | 4939771421161444c79853f0ec2588d8aac2627e (diff) |
Make ELF platforms generate ELF core dumps. Somewhat based on code from
NetBSD.
ok kurt@, drahn@, miod@
Diffstat (limited to 'sys/compat/ultrix')
-rw-r--r-- | sys/compat/ultrix/ultrix_misc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c index bfac657c5ac..ae56326ac42 100644 --- a/sys/compat/ultrix/ultrix_misc.c +++ b/sys/compat/ultrix/ultrix_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_misc.c,v 1.30 2007/06/06 17:15:13 deraadt Exp $ */ +/* $OpenBSD: ultrix_misc.c,v 1.31 2009/03/05 19:52:24 kettenis Exp $ */ /* $NetBSD: ultrix_misc.c,v 1.23 1996/04/07 17:23:04 jonathan Exp $ */ /* @@ -89,6 +89,7 @@ /*#include <sys/stat.h>*/ /*#include <sys/ioctl.h>*/ #include <sys/kernel.h> +#include <sys/core.h> #include <sys/exec.h> #include <sys/malloc.h> #include <sys/mbuf.h> @@ -161,6 +162,7 @@ struct emul emul_ultrix = { copyargs, ULTRIX_EXEC_SETREGS, NULL, + coredump_trad, sigcode, esigcode, }; |