summaryrefslogtreecommitdiff
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-2113-49/+49
|
* Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).schwarze2014-01-201-3/+3
|
* Usually, you don't want macros in the .Nd line, so remove instances of .Tnschwarze2014-01-191-5/+3
| | | | | | marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
* Punctuation after macro arguments needs to be in a separate argument.schwarze2014-01-191-3/+4
| | | | Found while testing mandocdb(8).
* don't try writing past the end unless we have totedu2013-12-311-8/+16
| | | | ok gilles millert
* Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass thekettenis2013-12-281-10/+1
| | | | | | | | | | right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@
* Install a bunch more of OpenSSL manpages. ok deraadt@jca2013-12-231-1/+49
|
* Reliability fix for SHA384 SSL/TLS ciphers on strict alignmentjca2013-12-192-2/+16
| | | | | | | | | architectures. ok miod@ djm@ Upstream patch: commit cdd1acd788020d2c525331da1712ada778f1373c Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:27:35 2013 +0100
* fix double word error;jmc2013-12-191-2/+2
|
* Split out strncpy and strncat from strcpy and strcat manuals.millert2013-12-195-168/+308
| | | | Requested by deraadt@
* pseudo-code corrections from Solar Designer <solar@openwall.com>deraadt2013-12-191-4/+4
|
* inet_nsap_ntoa() and inet_nsap_addr() go away. Unused APIs from darkerderaadt2013-12-172-100/+4
| | | | days.
* no more regexp(3), so point to regex(3);jmc2013-12-051-3/+3
| | | | as advised by deraadt
* unsigned char changes for ctypederaadt2013-11-251-10/+11
| | | | re-re-reviewed by krw
* use an unsigned char instead, to avoid lots of castsderaadt2013-11-251-2/+2
|
* most obvious unsigned char casts for ctypederaadt2013-11-244-20/+27
| | | | ok jca krw ingo
* remove dead fileseric2013-11-1211-7785/+0
| | | | ok deraadt@
* permute15() should be static. Not cranking libc now, because it isderaadt2013-11-121-2/+2
| | | | not urgent.
* avoid arithetic on void *deraadt2013-11-121-4/+4
| | | | ok guenther otto
* Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directlyguenther2013-11-012-7/+4
| | | | ok deraadt@
* tweak previous;jmc2013-10-221-4/+2
|
* delete extra words; Henri Kemppainenderaadt2013-10-221-3/+2
|
* update documentation for these functions. They now state the case regardingderaadt2013-10-211-63/+45
| | | | | | | pthreads and chroot, and safe initialization without /dev/random and such junk. If you are in control of an arc4random in another library, please look at these pages and get caught up. ok various
* Remove arc4random_stir() and arc4random_addrandom(), which none shouldderaadt2013-10-212-28/+2
| | | | | | be using directly. Well, a few rare people cloned it upstream and it will take a bit of time for them to learn. ok various
* Missed the file renames for the string functions when committing theguenther2013-10-141-1/+25
| | | | DIST_LIB/DIST_OBJ/*.do changes
* a couple of warning fixes and an RCS marker; ok markus@djm2013-10-041-2/+4
|
* replace rc4 with ChaCha20; inspired by Nick Mathewson's work on libottery;markus2013-10-012-98/+326
| | | | feedback and ok djm@
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-302-12/+12
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* Add examples to show why this is a terrible API. OK jmc@ henning@millert2013-09-251-1/+60
|
* According to POSIX, if the src and dst strings overlap, the behaviormillert2013-09-256-12/+48
| | | | is undefined. Add a warning to that effect. OK deraadt@ jmc@
* use Bsx;jmc2013-08-141-3/+4
| | | | from jan stary
* no longer any need to quote macro lines with >9 args;jmc2013-08-143-9/+9
| | | | From: Jan Stary
* Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther2013-08-133-3/+3
| | | | | | | | | | | | | | | | | | | | members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
* Add linker warnings for rand() and random() and various related functions.kettenis2013-08-012-1/+31
| | | | ok deraadt@
* HISTORY; tweaks and ok sobrado@ jmc@schwarze2013-07-183-9/+38
|
* more library historyschwarze2013-07-1711-29/+71
| | | | | facts checked by sobrado@ style tweaks and ok jmc@
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-167-20/+20
|
* more macro simplification; from Jan Staryjmc2013-07-161-3/+2
|
* Remove no longer needed vax CFLAGS workarounds.miod2013-07-131-13/+1
|
* rfc 3493 obsoletes 2553. i spotted this after reading hiroki sato's changesjmc2013-07-101-5/+6
| | | | | | | | in freebsd src commit r253066. our man pages had been updated, but i must have missed the following: - getnameinfo.3: 2553 -> 3493 - ip6.4: we listed both. remove 2553.
* VAX ELF userland bits. Consists mostly of register prefix additions.miod2013-07-051-151/+151
|
* spacingderaadt2013-06-111-3/+2
|
* Fix parsing of ambiguous options, the whole loop must be processed.millert2013-06-081-15/+22
| | | | From FreeBSD. OK miod@
* Move _Exit() from the exit() manpage to the _exit() manpage, as it'sguenther2013-06-052-36/+10
| | | | | | just an alias of the latter. ok matthew@ tedu@
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-05113-379/+379
|
* remove some incredible lies about overlapping buffersderaadt2013-06-042-22/+10
| | | | ok guenther
* Two small cleanups to atexit: remove unneeded __atexit_invalid, andmatthew2013-06-022-12/+5
| | | | | | | move the call_depth decrement so it happens unconditionally and can still return to 0 when called with dso!=NULL. ok millert
* Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.stsp2013-06-011-2/+2
| | | | | | | | | Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm
* Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned thematthew2013-05-302-4/+4
| | | | | | | | hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt
* Remove useless include.ajacoutot2013-05-301-2/+1
| | | | ok millert@