freebsd-dev/lib/libc
Ian Dowse 1a154a146c Extract the path from an AF_LOCAL sockaddr_un in a way that correctly
terminates the string in all cases, based on code from netstat(1).
The path in a sockaddr_un is terminated either by a '\0', or by
the end of the sockaddr as defined by sun_len.

Previously, the code could write the "safety" '\0' beyond the end
of the sockaddr (sockaddr_un's need only be large enough to store
sun_len bytes), and writing into the the supplied sockaddr is bad
anyway.
2001-05-12 20:05:26 +00:00
..
alpha Clean up syscall generation in libc by removing HIDDEN_SYSCALLS 2001-01-29 03:23:46 +00:00
amd64 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
compat-43 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
db MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
gen * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
gmon MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
i386 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
ia64 Use relative paths to find byte_swap_*.S to make it easier to use these 2001-03-06 16:08:19 +00:00
include Add entries for the posix1e functions that will be overridden in libc_r. 2001-04-04 18:04:10 +00:00
locale add nl_langinfo(3) 2001-05-03 15:12:52 +00:00
mips
mipseb
mipsel
net gethostbyname2() can't do AF_INET6 lookups over NIS. 2001-05-08 11:21:15 +00:00
nls MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
posix1e Correct prototype (entry_p -> *entry_p) 2001-05-07 23:16:25 +00:00
quad $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
regex MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
rpc Extract the path from an AF_LOCAL sockaddr_un in a way that correctly 2001-05-12 20:05:26 +00:00
stdio mdoc(7) police: fix markup. 2001-04-18 13:16:47 +00:00
stdlib Grammar nit. 2001-04-27 08:16:57 +00:00
stdtime MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
string MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
sys mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
xdr Fix a comment within a comment warning due to a missing "*/". 2001-04-10 03:47:40 +00:00
yp Remove _THREAD_SAFE and make libc thread-safe by default by 2001-01-24 13:01:12 +00:00
Makefile Fix the current libc breakage in current: 2001-02-16 06:11:22 +00:00
Makefile.inc Activate build of posix1e extensions in libc and libc_r that have been 2001-04-04 18:17:28 +00:00