NetBSD/sbin
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
..
atactl Print the raw SMART values always. These are important in a bunch of cases -- 2004-03-28 01:23:15 +00:00
badsect Don't require ffsv2 suberblocks to have FS_FLAGS_UPDATED set 2004-03-27 12:52:16 +00:00
bim Fix "variable shadows global declaration" warnings. 2003-11-12 06:45:14 +00:00
brconfig realloc pedant 2003-09-19 08:35:15 +00:00
ccdconfig Support CCDF_NOLABEL. Document what CCDF_UNIFORM actually does. 2003-10-17 05:23:56 +00:00
cgdconfig Add options to SYNOPSIS. 2004-07-04 17:19:57 +00:00
chkconfig Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
clri Don'r check FS_FLAGS_UPDATED for ffsv2 2004-03-27 12:53:53 +00:00
disklabel Warn overlapping partitions (except the one marked as FS_UNUSED). 2004-07-13 21:23:13 +00:00
dkctl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
dmesg Bump date for previous; add comma in SEE ALSO; use Dv instead of Em. 2004-04-30 16:11:03 +00:00
dump Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
dump_lfs Add description for -l, from dump(8). 2004-07-13 17:08:50 +00:00
edlabel use snprintf 2003-05-17 23:10:57 +00:00
fastboot Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:11 +00:00
fdisk s/Nm/Nx/, as it's NetBSD that has ports, not fdisk. 2004-07-13 19:24:03 +00:00
fsck Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
fsck_ext2fs Remove option letter from getopt string, since it does not 2004-05-13 00:18:46 +00:00
fsck_ffs Add -a to usage. Closes PR 25916 by Kouichirou Hiratsuka. 2004-06-25 14:50:15 +00:00
fsck_lfs Improve description of -b and -m. 2004-07-06 16:51:18 +00:00
fsck_msdos Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
fsdb Standardize flags display in usage. 2004-01-04 00:13:00 +00:00
fsirand Don't use 1st alternate superblock at offset 64k for ffsv1. 2004-03-21 20:12:16 +00:00
ifconfig The change in revision 1.38 (in 1997!) was wrong. If we don't want the kernel 2004-07-06 23:26:31 +00:00
init clear_session_logs is not needed when we are small. 2004-06-06 01:42:20 +00:00
ldconfig Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
lmcctl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mbrlabel Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mknod Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
modload Remove an extraneous comment before main() that seems to have been 2004-06-28 19:27:06 +00:00
modunload New sentence, new line; drop trailing whitespace. 2003-09-06 20:12:41 +00:00
mount Print fsid on verbose printing. It is useful when debugging nfs. 2004-04-30 00:48:07 +00:00
mount_ados print masks and modes in octal. 2003-05-03 15:37:07 +00:00
mount_cd9660 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
mount_ext2fs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
mount_fdesc Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
mount_ffs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
mount_filecore Sync usage with reality. Closes PR 25915 by Kouichirou Hiratsuka. 2004-06-25 14:48:01 +00:00
mount_kernfs add /kern/ipsecsa and /kern/ipsecsp, which can be inspected by setkey(8). 2003-09-08 06:51:53 +00:00
mount_lfs Add -b and -N to usage. Use getprogname. 2004-07-06 16:39:37 +00:00
mount_msdos Remove extra newline from usage message. 2004-01-05 23:27:16 +00:00
mount_nfs Came in here to add nfsstat(1) reference in SEE ALSO, 2004-05-05 00:21:00 +00:00
mount_ntfs s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
mount_null Fix SEE ALSO; remove .sp; put .Pp before sentences. 2004-06-10 14:13:36 +00:00
mount_overlay Fix SEE ALSO; remove .sp; put .Pp before sentences. 2004-06-10 14:13:36 +00:00
mount_portal unifdef -DINET6. getaddrinfo will always be there, so there's no point in 2004-03-01 23:01:18 +00:00
mount_procfs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
mount_smbfs install the example dot.nsmbrc 2003-04-04 07:50:43 +00:00
mount_umap Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
mount_union Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
newbtconf Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
newfs Minimally document -d; addresses second part of 2004-06-25 14:44:40 +00:00
newfs_lfs remove definitions for ffs, which don't belong here. 2003-12-17 05:08:43 +00:00
newfs_msdos Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
nologin Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
pdisk remove workaround for missing errno.h include 2002-08-22 22:38:05 +00:00
pfctl PF from openbsd 3.5 2004-06-22 15:16:29 +00:00
ping add -h option in synopsis. Fixes PR#25863 from Kouichirou Hiratsuka. 2004-06-08 08:05:30 +00:00
ping6 correct mistake in usage(). Chris Pinnock 2004-06-09 01:59:20 +00:00
pppoectl Spell length with h after t. Inspired by a commit by brad@openbsd. 2004-02-13 18:02:05 +00:00
raidctl Use Dq instead of quotes; bump date for previous. 2004-05-24 00:08:04 +00:00
rcorder Move Matt Green's code from a 4-clause to a 3-clause licence by removing 2003-10-13 14:22:20 +00:00
reboot Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
resize_ffs Dunno why this code is playing 'hunt the superblock', but stop it 2004-03-21 21:02:01 +00:00
restore Fix byteswapping a direntry. From Wolfgang Solfrank. 2003-11-05 22:27:16 +00:00
rndctl strlcat 2003-07-13 07:59:24 +00:00
route bump buffer size for any_ntoa(), for huge sa_len 2004-05-15 14:13:36 +00:00
routed PR 9431: if rnh_addradd() fails, total_routes will be wrong. 2004-07-06 23:36:24 +00:00
rtsol rtsol: factor out dump.c if -DSMALL (for boot floppy) 2004-01-03 01:40:31 +00:00
savecore Fix an integer overflow that prevented saving cores from machines with 2004-07-14 07:26:12 +00:00
scsictl Increase the SCSI command timeout for device start & stop from 10 2004-06-01 02:40:00 +00:00
setkey Bump date for previous. 2004-04-29 12:46:06 +00:00
shutdown Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 10:04:22 +00:00
slattach Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
swapctl Drop trailing whitespace. 2004-06-08 15:53:05 +00:00
sysctl Bump date for last. 2004-04-28 20:28:39 +00:00
ttyflags use strlcat/strlcpy 2003-07-12 14:33:55 +00:00
tunefs Remove removed options from usage. From Kouichirou Hiratsuka in PR 25874. 2004-06-25 14:35:29 +00:00
umount Call -t argument fstypelist, to be in sync with code 2004-04-21 22:31:16 +00:00
veriexecctl Bump date for previous. 2004-03-06 23:38:40 +00:00
vinum Don't initialize an int to NULL. 2003-10-21 02:33:34 +00:00
wdogctl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
wsconsctl PR/26101: Dheeraj: WSKBDIO_GETSCROLL: Operation not supported by device 2004-06-28 20:01:33 +00:00
Makefile PF from openbsd 3.5 2004-06-22 15:16:29 +00:00
Makefile.inc Revert previous; the change that required it will be done differently. 2002-09-27 21:04:46 +00:00