diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 05:10:41 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 05:10:41 +0000 |
commit | 2f5d579dd9378450f2c2f1627bb16331ed82f9e7 (patch) | |
tree | 415c7acab8728c2059dedd651fb604b3cb1bbf48 /sys/kern/kern_sig.c | |
parent | bdf5e8705d9964417b0f2083918d9ac81874de35 (diff) |
uvm allocation and name changes
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 6ab789bbe77..515d21fa8ef 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.32 1999/02/18 00:01:38 deraadt Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.33 1999/02/26 05:10:40 art Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -71,6 +71,10 @@ #include <vm/vm.h> #include <sys/user.h> /* for coredump */ +#if defined(UVM) +#include <uvm/uvm_extern.h> +#endif + void stop __P((struct proc *p)); void killproc __P((struct proc *, char *)); int cansignal __P((struct proc *, struct pcred *, struct proc *, int)); @@ -1259,7 +1263,11 @@ coredump(p) * vm_coredump() spits out all appropriate segments. * All that's left to do is to write the core header. */ +#if defined(UVM) + error = uvm_coredump(p, vp, cred, &core); +#else error = vm_coredump(p, vp, cred, &core); +#endif if (error) goto out; error = vn_rdwr(UIO_WRITE, vp, (caddr_t)&core, |