freebsd-dev/sys
Mike Pritchard e145373611 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
1995-07-31 10:07:31 +00:00
..
alpha First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
amd64 Fix a bug in my disabled version of trap_pfault()...curpcb may be NULL even 1995-07-30 17:49:24 +00:00
compat/linux First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Add new ``SNAPDATE=""'' for use in snapshot building. 1995-07-29 18:42:29 +00:00
ddb Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
dev Pause the sequencer when message only requests complete. This allows the 1995-07-31 08:21:59 +00:00
fs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
gnu Obtained from: partly from ancient patches of mine via 1.1.5 1995-07-22 16:45:22 +00:00
i386 Return the correct number of I/O ports as part of the probe so that the 1995-07-31 09:38:21 +00:00
isa Don't let IXOFF or ECHONL stop the setting of TS_CAN_BYPASS_L_RINT. IXOFF 1995-07-29 08:33:13 +00:00
isofs/cd9660 Change extern inline' to static inline' so that several functions 1995-07-25 21:50:50 +00:00
kern Fix the sysctl string routines to return as much of the 1995-07-31 10:07:31 +00:00
libkern Rearrange the inner loop of scanc() to get better code on i*86's 1995-07-11 18:50:47 +00:00
miscfs Fix some incorrect comments that make reference to /dev/fd. 1995-07-31 09:52:21 +00:00
modules First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
msdosfs Fixed VOP_LINK argument order botch. 1995-06-28 07:06:55 +00:00
net Obtained from: partly from ancient patches by ache and me via 1.1.5 1995-07-29 13:40:13 +00:00
netccitt Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
netinet Add connection drop capability for persist timeouts. 1995-07-29 18:48:44 +00:00
netiso Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
netns Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
nfs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
nfsclient Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
nfsserver Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
pci Initialize "name" to quiet compiler. 1995-07-29 18:21:48 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
scsi Change memcmp() to bcmp(). memcmp() isn't declared or implemented 1995-07-25 22:09:06 +00:00
sys Ignore trailing slashes in pathnames that "refer to a directory", 1995-07-31 00:35:58 +00:00
tools The generated VCALL always uses the first vp which in the case of /link/ 1995-07-07 13:41:28 +00:00
ufs Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
vm Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00