summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Correctly NUL terminate the message buffer that is used with theclaudio2007-08-061-4/+24
| | | | | | | | | | | | | | | | | | | | -starttls option. Without this openssl s_client -starttls crashed with malloc.conf -> J. OK deraadt@, hshoexer@
* | | | /*FALLTHRU*/ -> /* FALLTHROUGH */ray2007-08-051-2/+2
| | | |
* | | | Reference limits.h, not sys/param.h since we document using PATH_MAXmillert2007-07-061-3/+3
| | | | | | | | | | | | | | | | OK otto@
* | | | from ginsbach@netbsd, -r1.18:jmc2007-07-031-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document that getopt_long(3) can and will accept unique abbreviated long option names. This feature has been present since getopt_long(3) was first released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior. ok millert
* | | | Document behavior when no conversion could be performed. Adaptedmillert2007-06-292-5/+17
| | | | | | | | | | | | | | | | from FreeBSD. With help from jmc@.
* | | | ``dot'' notationjmc2007-06-121-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | is more readable than `.' notation zap some silly .Tn whilst here;
* | | | _FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt2007-06-051-21/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@
* | | | remove ipx-related stuff. objections nobody. major bump by kurt in a fewhenning2007-06-054-385/+3
| | | |
* | | | convert to new .Dd format;jmc2007-05-31105-210/+210
| | | |
* | | | More comment typos from Diego Casati. Including winners like funtion, allmost,krw2007-05-261-1/+1
| | | | | | | | | | | | | | | | oustside, seqencer, toghether, nessissary, etc.
* | | | Typos.ray2007-05-201-3/+3
| | | | | | | | | | | | | | | | OK jmc@.
* | | | Remove no-op code. From tbert.ray2007-05-181-3/+1
| | | | | | | | | | | | | | | | OK moritz@ and jaredy@
* | | | Improve reentrancy by not using global variable. Removes tworay2007-05-171-31/+11
| | | | | | | | | | | | | | | | | | | | | | | | wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@.
* | | | Add basename(3) and dirname(3) regression tests, from tbert.ray2007-05-175-3/+170
| | | | | | | | | | | | | | | | OK otto@.
* | | | Wrap some functions, labels, and variables in #ifdefs correspondingray2007-05-162-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@.
* | | | Use size_t for strlen results.ray2007-05-121-4/+6
| | | | | | | | | | | | | | | | OK moritz@.
* | | | Clean up macros according to style. From tbert <bret dot lambert at gmail>.ray2007-05-121-27/+27
| | | | | | | | | | | | | | | | OK moritz@ and jaredy@.
* | | | Use syslog_r instead of syslog in getaddrinfo. Slowly makingray2007-05-101-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | getaddrinfo reentrant. OK millert@ and deraadt@.
* | | | macros at start of line require a `.';jmc2007-05-021-2/+2
| | | |
* | | | Document the lack of error return value in arc4random.pyr2007-05-021-1/+4
| | | | | | | | | | | | | | | | Sync the documentation in getpid with arc4random's format.
* | | | -These option are ignoredjmc2007-04-211-2/+2
| | | | | | | | | | | | | | | | +These options are ignored
* | | | Support for optional args separated with whitespace was removedmillert2007-04-101-17/+1
| | | | | | | | | | | | | | | | some time ago--it caused too many problems.
* | | | Add proper checks against fgets failure. From Charles Longeau.ray2007-04-062-2/+4
| | | | | | | | | | | | | | | | OK moritz@, millert@, and jaredy@.
* | | | Add the cRLSign bit by default, so that certs generated using this filecloder2007-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | will be able to sign CRLs. OK reyk, hshoexer, millert
* | | | remove some bogus *p tests from charles longeautedu2007-03-206-10/+10
| | | | | | | | | | | | | | | | ok deraadt millert
* | | | Get rid of useless #if 0 block, especially since the code is includedray2007-03-191-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | immediately after. OK millert@.
* | | | If NLS is disabled, strerror does not print the correct error string.bluhm2007-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | No binary change with NLS enabled. ok otto millert espie
* | | | usage(): add -P and tweak -X; from Igor Sobradojmc2007-02-201-3/+3
| | | |
* | | | Change hard coded numbers to sizeof(buf). Also change someray2007-02-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@.
* | | | wording fix from wiz@netbsd, -r1.11;jmc2007-02-191-2/+2
| | | |
* | | | from hubertf@netbsd:jmc2007-02-191-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try to tell what this really does. Including a BUGS section on why it doesn't. *roff code by wiz@, with some input from Slava Semushin <slava.semushin@gmail.com> ok millert
* | | | strlen(3) returns size_t, not int.ray2007-02-181-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | Suggested by itojun@ in response to my getaddrinfo fixes. OK millert@.
* | | | strlen(3) returns size_t.ray2007-02-181-4/+6
| | | | | | | | | | | | | | | | OK itojun@.
* | | | Remove duplicate code. No functional change.ray2007-02-171-39/+22
| | | | | | | | | | | | | | | | OK itojun@, moritz@, and millert@.
* | | | remove two expired certificates, diff from <Christian_Rusch@genua.de>grunk2007-02-171-97/+0
| | | | | | | | | | | | | | | | ok jakob@
* | | | Remove two mutexes by replacing getservbyname() and getservbyport()ray2007-02-152-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | calls with their reentrant versions. OK millert@.
* | | | correct a mistake concerning ifa_data;jmc2007-02-141-6/+5
| | | | | | | | | | | | | | | | found by Srebrenko Sehic, corrected by millert and claudio;
* | | | remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31.itojun2007-02-141-5/+2
| | | |
* | | | Remove int pretending to be a size_t.ray2007-02-141-5/+2
| | | | | | | | | | | | | | | | OK millert@.
* | | | get cheaper random bytes, less waste and no getpid() calls, which areotto2007-02-121-2/+3
| | | | | | | | | | | | | | | | done by arc4random(); ok millert@ deraadt@
* | | | provide an libc internal interface to get random bytes, to be used by mallocotto2007-02-121-3/+12
| | | | | | | | | | | | | | | | to get random data without calling getpid(), ok millert@ deraadt@
* | | | consistency tweak;jmc2007-02-071-2/+2
| | | |
* | | | fix some dodgy displays;jmc2007-02-061-2/+2
| | | |
* | | | sync with the code: int -> intmax_tsteven2007-01-161-3/+3
| | | | | | | | | | | | | | | | ok jmc@
* | | | advertising clauses that can be droppedderaadt2007-01-081-6/+2
| | | |
* | | | Fix format string misuse in kssl_err_set(), which is notmoritz2007-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | called with user-supplied strings at the moment. ok markus@
* | | | RFC4291 declares that IPv6 numeric representation must have no more thanitojun2006-12-301-3/+8
| | | | | | | | | | | | | | | | 4 hex digits between colons. deraadt ok
* | | | a failed mmap returns MAP_FAILED, not NULL. found while exercising paxotto2006-12-191-3/+3
| | | | | | | | | | | | | | | | in low-mem conditions; ok dim@
* | | | tweak the text on deprecated functions, after some help from tom;jmc2006-12-092-12/+14
| | | |
* | | | various tweaks;jmc2006-12-091-18/+17
| | | |