summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1995-07-31 10:07:31 +0000
committermpp <mpp@FreeBSD.org>1995-07-31 10:07:31 +0000
commit08d1bb1b892e340765b0d6e348481660b3d28481 (patch)
treec68f5661bbddc7b6f4e72669121642bef37ac4e0 /sys/netinet/tcp_input.c
parentc8b0e9e03740c203c7108cfb7946efad6d2c3355 (diff)
downloadFreeBSD-src-08d1bb1b892e340765b0d6e348481660b3d28481.zip
FreeBSD-src-08d1bb1b892e340765b0d6e348481660b3d28481.tar.gz
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
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud