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
..
1994-12-18 12:01:40 +00:00
1994-12-17 08:37:22 +00:00
1994-12-12 12:35:50 +00:00
1994-12-18 12:01:40 +00:00
1994-12-12 12:35:50 +00:00
1994-12-13 23:07:03 +00:00
1994-12-13 22:33:05 +00:00
1994-08-02 07:55:43 +00:00
1994-08-02 07:55:43 +00:00