diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-09-07 01:26:34 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-09-07 01:26:34 +0000 |
| commit | 1a50106e308050e8fc5be47f280e26cf2d850d37 (patch) | |
| tree | 700d132a2fed5404976bd42f37e4c0bcb821a86e /sys/alpha | |
| parent | 0dafadb731116cf0b4b75d4dc69fadbf2312ceb1 (diff) | |
Notes
Diffstat (limited to 'sys/alpha')
| -rw-r--r-- | sys/alpha/alpha/vm_machdep.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/alpha/alpha/vm_machdep.c b/sys/alpha/alpha/vm_machdep.c index dc1e52bbbaf22..c34f9f1ec018b 100644 --- a/sys/alpha/alpha/vm_machdep.c +++ b/sys/alpha/alpha/vm_machdep.c @@ -395,29 +395,6 @@ cpu_wait(p) } /* - * Dump the machine specific header information at the start of a core dump. - */ -int -cpu_coredump(td, vp, cred) - struct thread *td; - struct vnode *vp; - struct ucred *cred; -{ - int error; - - /* XXXKSE this is totally bogus! (and insecure) */ - error = vn_rdwr(UIO_WRITE, vp, (caddr_t) td->td_proc->p_uarea, - ctob(UAREA_PAGES), (off_t)0, - UIO_SYSSPACE, IO_UNIT, cred, NOCRED, (int *)NULL, td); - if (error) - return error; - error = vn_rdwr(UIO_WRITE, vp, (caddr_t) td->td_kstack, - ctob(KSTACK_PAGES), (off_t)ctob(UAREA_PAGES), - UIO_SYSSPACE, IO_UNIT, cred, NOCRED, (int *)NULL, td); - return error; -} - -/* * Map an IO request into kernel virtual address space. * * All requests are (re)mapped into kernel VA space. |
