|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | OK jmc and millert. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | | -starttls option. Without this openssl s_client -starttls crashed with
malloc.conf -> J. OK deraadt@, hshoexer@ | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | OK otto@ | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | 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 | 
| | | | | 
| | | | 
| | | | 
| | | | | from FreeBSD.  With help from jmc@. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | is more readable than
`.' notation
zap some silly .Tn whilst here; | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | 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@ | 
| | | | | |  | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | oustside, seqencer, toghether, nessissary, etc. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK jmc@. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK moritz@ and jaredy@ | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | wrappers around fopen/fclose.  From tbert.
OK millert@, tedu@, and itojun@. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK otto@. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | to #ifdefs where they are used.  Found by lint by bret dot lambert
at gmail.
OK deraadt@. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK moritz@. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK moritz@ and jaredy@. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | getaddrinfo reentrant.
OK millert@ and deraadt@. | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | Sync the documentation in getpid with arc4random's format. | 
| | | | | 
| | | | 
| | | | 
| | | | | +These options are ignored | 
| | | | | 
| | | | 
| | | | 
| | | | | some time ago--it caused too many problems. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK moritz@, millert@, and jaredy@. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | will be able to sign CRLs.
OK reyk, hshoexer, millert | 
| | | | | 
| | | | 
| | | | 
| | | | | ok deraadt millert | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | immediately after.
OK millert@. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | No binary change with NLS enabled.
ok otto millert espie | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | 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@. | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | 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 | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Suggested by itojun@ in response to my getaddrinfo fixes.
OK millert@. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK itojun@. | 
| | | | | 
| | | | 
| | | | 
| | | | | OK itojun@, moritz@, and millert@. | 
| | | | | 
| | | | 
| | | | 
| | | | | ok jakob@ | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | calls with their reentrant versions.
OK millert@. | 
| | | | | 
| | | | 
| | | | 
| | | | | found by Srebrenko Sehic, corrected by millert and claudio; | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | OK millert@. | 
| | | | | 
| | | | 
| | | | 
| | | | | done by arc4random(); ok millert@ deraadt@ | 
| | | | | 
| | | | 
| | | | 
| | | | | to get random data without calling getpid(), ok millert@ deraadt@ | 
| | | | | |  | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | | ok jmc@ |