summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2001-08-22"This section" and variants ==> 'The manual pages in section x'Heikki Korpela
in intro manual pages to hopefully confuse users a little bit less aaron@ ok
2001-08-20Powered by @mantoya.Mike Pechkin
o) fix bogus .Xr usage; millert@ ok.
2001-08-20cope with sa_len < sizeof(struct sockaddr).Jun-ichiro itojun Hagino
From: Patrik Lindergren <patrik@datacom.nu>
2001-08-20cope with negative return value from snprintf.Jun-ichiro itojun Hagino
2001-08-20use snprintf, not sprintf. sync with kameJun-ichiro itojun Hagino
2001-08-19remove unused bits and pieces.Brad Smith
-- Ok'd by art@
2001-08-18deal with -1 from snprintf, if it ever happensTheo de Raadt
2001-08-18be more careful with snprintf; millert okTheo de Raadt
2001-08-18Add a possibility to add a random offset to the stack on exec. This makesArtur Grabowski
it slightly harder to write generic buffer overflows. This doesn't really give any real security, but it raises the bar for script-kiddies and it's really cheap. The range of the random offsets is controlled by the sysctl kern.stackgap_random (must be a power of 2). This is disabled by default right now, but we'll set it to a reasonable value (1024?) soon, after some more testing.
2001-08-16Use calloc() to allocate response data. Be more careful when freeingHakan Olsson
memory. jakob@ ok.
2001-08-16Xr raise(3)Theo de Raadt
2001-08-15Typo fixes; andrew.hoerter@NeuStar.comAaron Campbell
2001-08-13Fix a bug with the %e flag introduced in a -Wall pass. The originalTodd C. Miller
code was in error but due to C precedence rules it didn't cause a problem.
2001-08-13Explicitly NUL terminate dst in strvis() and strvisx() in caseTodd C. Miller
we are passes an empty string. vis() and strnvis() were already OK. Based on patch by wilfried@openbsd.org
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-08-11Define INFTIM to -1, as appears everywhere. Talk about it in theFederico G. Schwindt
manpage; millert@ ok.
2001-08-08add CAVEATS section that talks about trust and the AD-bitJakob Schlyter
2001-08-07Do the memset only if tcgetattr() fails just in case the failedTodd C. Miller
tcgetattr() mucked with the passed in struct termios in some way.
2001-08-07Keep a verbatim copy of the old struct termios instead of usingTodd C. Miller
flags to keep track of what we changed. Print a newline if echo is off, even if we didn't turn it off ourselves. Fixes art's problem with a newline not being printed when piping to less.
2001-08-07typo.Peter Valchev
2001-08-07KNF; and i bonked jakob in the head for it too, with a plastic bottle of cokeTheo de Raadt
2001-08-07add copyright notices; noted as missing by itojunTheo de Raadt
2001-08-07typoJun-ichiro itojun Hagino
2001-08-07-WunusedJun-ichiro itojun Hagino
2001-08-07sorry, correct the polarity of return value on AF_INET6.Jun-ichiro itojun Hagino
2001-08-07for AF_INET6, must compare sin6_scope_id.Jun-ichiro itojun Hagino
2001-08-06add note about updating minor in libc_r/shlib_version; deraadt@Jakob Schlyter
2001-08-06add AUTHORS and update HISTORYJakob Schlyter
2001-08-06OpenBSD id-tagsJakob Schlyter
2001-08-06add getrrsetbyname(3) - API to retrieve arbitrary DNS recordsJakob Schlyter
2001-08-06o) We always close .Bl and .Bd tags;Mike Pechkin
o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
2001-08-05Spelling corrections per PR 1988 by Andrew Hoerter.Hugh Graham
2001-08-05there's no no host.conf on openbsd. pointed out by smbJun-ichiro itojun Hagino
2001-08-04Move decision whether to make a new hash table or not to be afterTodd C. Miller
the open(). That way if the user opened with O_EXLOCK and another process has the .db locked we don't decide to zero hash before the locking process has had a chance to write to the database. This also makes the logic simpler since we can just fstat the fd and check for size == 0 && !O_RDONLY. Closes PR 1934.
2001-08-03Update sp->fts_cur in fts_read() before returning NULL. ThisTodd C. Miller
prevents a duplicate free() in fts_close(). From karls@inet.no with some other, similar cases added.
2001-08-03Acknowledge VM's limitations.Marc Espie
2001-08-02pet peeve, insure vs ensureHugh Graham
insure is to indemnify against some contingency ensure is to make sure
2001-07-31add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@Jakob Schlyter
2001-07-31Add missing LINK for cgetusedbKenneth R Westerback
2001-07-31Document that entries with d_fileno == 0 are invalid.Artur Grabowski
From Egil Möller <redhog@mini.dhs.org>
2001-07-30fix YESEXPR; jabley@buddha.automagic.orgTheo de Raadt
2001-07-30handling of arg can cause EFAULT; dd@FreeBSD.orgTheo de Raadt
2001-07-29Minor style pedentry from ben@arbor.net plus some of my own and syncTodd C. Miller
libkern and libc versions.
2001-07-27clean up.Mike Pechkin
millert@ ok
2001-07-27varargs.h -> stdarg.hMarco S Hyman
2001-07-25typo in arg name; ok deraadt@Kevin Steves
2001-07-22typo; david@phobia.msTheo de Raadt
2001-07-17mode -> type in description to match the synopsis.Aaron Campbell
2001-07-15Mention leap seconds as the reason for (00-61)Nathan Binkert
2001-07-10put another YP-only piece inside the ifdefTheo de Raadt