HardenedBSD/sys
Guido van Rooij f81fcd410f Fix bug in sysctl_string so that when a string has a length that is to
short, it gets filled uop to its length. This matches the getdomainname
and gethostname manual pages.
(getbootfile also uses this function and I think it should have the same
behaviour)

This also fixes a bug with keyinit where the seed was not saved in
/etc/skeykeys. So S/Key should be fully functional again.

Reviewed by:
Submitted by:
Obtained from:
1994-12-18 13:56:50 +00:00
..
alpha/include
amd64 Add a 'vn' to GENERIC 1994-12-18 12:01:40 +00:00
compile
conf Bump LINT's symtab space. 1994-12-17 08:37:22 +00:00
ddb
dev Continue implementing disk slices and labels for the vn driver. Everything 1994-12-16 16:50:15 +00:00
fs
gnu
i386 Add a 'vn' to GENERIC 1994-12-18 12:01:40 +00:00
isa
isofs/cd9660
kern Fix bug in sysctl_string so that when a string has a length that is to 1994-12-18 13:56:50 +00:00
libkern
miscfs
modules
msdosfs
net
netccitt
netinet
netiso
netns
nfs
nfsclient
nfsserver
pci
powerpc/include
rpc
scsi
sys Add prototype for dsgone. Remove prototype for nonexistent dswlabel. 1994-12-16 16:05:11 +00:00
tools
ufs Duplicate readdisklabel() and writedisklabel() and remove DOS stuff from 1994-12-16 16:31:23 +00:00
vm Fixed bug where statically allocated map entries might be freed to the 1994-12-18 10:28:40 +00:00
Makefile