NetBSD/sbin/savecore
tls e8092c77bc Fix an integer overflow that prevented saving cores from machines with
more than 2GB of RAM.

"dumpsize" in the on-disk core header is in pages, but, unfortunately,
c.size in our kcore format is an unsigned 32-bit int, gross.

We sleaze it, using a 64-bit int internally here and handing it to
libkvm as a *signed* 32-bit int.  Won't always work, but shouldn't be
broken any worse than it is now, and sometimes work better.

We must fix the kcore format and libkvm.
2004-07-14 07:26:12 +00:00
..
Makefile
savecore.8 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
savecore.c Fix an integer overflow that prevented saving cores from machines with 2004-07-14 07:26:12 +00:00
zopen.c