Date: Mon, 31 Jul 1995 03:07:34 -0700 From: Mike Pritchard <mpp> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c Message-ID: <199507311007.DAA16205@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
mpp 95/07/31 03:07:33 Modified: sys/kern kern_sysctl.c Log: Fix the sysctl string routines to return as much of the string as possible and return ENOMEM if the entire string cannot be returned. This brings the routines in line with how the man page says they work, and how the calling routines are expecting them to work. This allows the dummy uname() routine in libc to obtain the version string, since the kernel version string is longer than that normally returned by the uname() routine. This is 3/4 of the fix for PR# 462. Reviewed by: Bruce Evans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507311007.DAA16205>