Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | zap trailing whitespace; | 2016-10-15 | 1 | -3/+3 | |
| | |||||
* | Fixup the example for msgbuf_write() and imsg_read() to check the | 2016-10-10 | 1 | -5/+11 | |
| | | | | | | | | error cases for -1 and 0 explicitly (it initially only checked for -1, I updated it to also check for 0, and rzalamena@ figured out that 0 has to be checked in a differently). OK millert@ rzalamena@ | ||||
* | Use a constant format string and output the variable part with %s | 2016-08-30 | 1 | -11/+11 | |
| | | | | ok krw@ millert@ | ||||
* | Use O_CLOEXEC when opening fds local to a function | 2016-08-30 | 4 | -12/+13 | |
| | | | | ok jca@ krw@ | ||||
* | Pull in <stdio.h> for NULL | 2016-08-27 | 2 | -2/+4 | |
| | | | | ok deraadt@ | ||||
* | Refer to /etc/passwd consistently as the "legacy password file" and | 2016-08-14 | 2 | -8/+10 | |
| | | | | | | remove some references to differences between versions 6 and 7. ok jmc, millert, tedu | ||||
* | Fix example: long long should be print with %lld | 2016-07-16 | 1 | -3/+3 | |
| | |||||
* | Remove obsolete caveat. OK deraadt@ | 2016-05-18 | 1 | -9/+2 | |
| | |||||
* | for some time now mandoc has not required MLINKS to function | 2016-03-30 | 1 | -57/+1 | |
| | | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | ||||
* | mention that ibuf_free() does not need a NULL check. | 2015-12-29 | 1 | -2/+5 | |
| | |||||
* | check for NULL in ibuf_free(). | 2015-12-29 | 1 | -1/+3 | |
| | | | | | ok and slight improvement, mmcco@ ok semarie@ and encouragement tedu@ krw@ | ||||
* | Switch login(3) from lseek+read/write to pread/pwrite and only do the pread() | 2015-12-28 | 2 | -14/+15 | |
| | | | | | | | | if the data is needed. Use O_CLOEXEC on the internal fd as MT paranoia. Fix cast in offset calculation; delete register keyword; prefer memset() over bzero() ok millert@ | ||||
* | Add a cast to silence a compiler warning by clang on FreeBSD. | 2015-12-09 | 1 | -2/+2 | |
| | | | | | From Craig Rodrigues. ok tedu@ | ||||
* | Do not loop on EAGAIN in imsg_read(). Better to return the error to the | 2015-12-05 | 2 | -9/+7 | |
| | | | | | caller and let him do another poll loop. This fixes spinning relayd processes seen on busy TLS relays. OK benno@ henning@ | ||||
* | Remove three NULL-checks before free(). ok millert@ | 2015-11-27 | 3 | -11/+7 | |
| | |||||
* | Use the backchannel for all error messages instead of syslog(3). | 2015-11-26 | 1 | -16/+15 | |
| | | | | OK deraadt@ beck@ | ||||
* | creat() -> open equiv; from Frederic Nowak | 2015-11-11 | 1 | -2/+2 | |
| | |||||
* | update NAME section to include all documented functions, | 2015-11-10 | 1 | -3/+3 | |
| | | | | | | or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | ||||
* | Don't Xr flock, since that is not the locking method used. | 2015-10-15 | 1 | -3/+2 | |
| | | | | ok millert | ||||
* | Remove useless quoting from .Fo and .Fn function names, to prevent | 2015-09-14 | 1 | -3/+3 | |
| | | | | | | development of a cargo cult in case people look at existing files for examples. This achieves a consistent .Fo and .Fn quoting style across the whole tree. | ||||
* | in the SYNOPSIS, make void function arguments explicit | 2015-09-14 | 2 | -7/+7 | |
| | |||||
* | reduce more .Nd to one line and kill more .Tn | 2015-09-10 | 1 | -4/+3 | |
| | |||||
* | reduce .Nd to one line and kill .Tn while here | 2015-09-10 | 2 | -10/+6 | |
| | |||||
* | Remove lies about openpty(4) searching for a free pseudo-tty by iterating | 2015-08-28 | 1 | -12/+6 | |
| | | | | through all existing pseudo-tty devices in /dev. | ||||
* | remove cast of malloc(), since stdlib.h is included | 2015-08-20 | 1 | -2/+2 | |
| | |||||
* | Handle malloc(0) returning NULL (which can happen on some other | 2015-07-19 | 1 | -2/+4 | |
| | | | | | platforms) by explicitly making imsg->data = NULL when there is no data. ok deraadt | ||||
* | typo in manual page. | 2015-07-15 | 1 | -3/+3 | |
| | | | | ok jsing@ | ||||
* | Use memset instead of bzero for better portability. | 2015-07-12 | 2 | -10/+10 | |
| | | | | ok gilles claudio doug | ||||
* | typo in embedded code block; from Ben Cornett | 2015-07-11 | 1 | -3/+3 | |
| | |||||
* | bzero cmsgbuf before using it, silences valgrind warnings. | 2015-07-03 | 2 | -2/+4 | |
| | | | | henning@ "sure" | ||||
* | The correct semantic is to check msgbuf_write() for <= 0, not just < 0. | 2015-06-11 | 2 | -9/+9 | |
| | | | | | | | | Fix one occurence in imsg_flush() and clarify it the man page. Discussed with at least blambert@ jsg@ yasuoka@. OK gilles@ | ||||
* | Do not assume that asprintf() clears the pointer on failure, which | 2015-06-03 | 1 | -3/+2 | |
| | | | | | is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@ | ||||
* | Use strtonum() instead of strtoul() when parsing uid/gid so we get | 2015-04-24 | 1 | -49/+52 | |
| | | | | | | | consistent handling of negative ids on 32bit/64bit systems. The only negative uid/gid allowed is -1 which is special-cased so it can be preserved when writing the new master.passwd file instead of being written as an unsigned number. OK deraadt@ | ||||
* | tzfile.h is an internal header that should never have been installed. | 2015-03-15 | 1 | -4/+5 | |
| | | | | | | | | | What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ | ||||
* | Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@ | 2015-02-05 | 1 | -2/+2 | |
| | |||||
* | Move to the <limits.h> universe. | 2015-01-16 | 1 | -3/+4 | |
| | | | | review by millert, binary checking process with doug, concept with guenther | ||||
* | remove .Tn; from Jan Stary <hans at stare dot cz> | 2015-01-15 | 3 | -18/+10 | |
| | |||||
* | rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks, | 2015-01-12 | 1 | -6/+6 | |
| | | | | nor are they the same size. | ||||
* | declare a local version of MIN(), call it MINIMUM() | 2015-01-08 | 1 | -2/+4 | |
| | | | | (sorry, my other changes were accidentally premature) | ||||
* | declare a local version of MIN(), call it MINIMUM() | 2015-01-08 | 1 | -2/+4 | |
| | |||||
* | Do not need sys/param.h | 2015-01-07 | 2 | -4/+3 | |
| | |||||
* | typo in comment: ouput => output | 2014-12-30 | 1 | -2/+2 | |
| | |||||
* | return ERANGE instead of ENOMEM, so callers can differentiate real oom | 2014-12-25 | 1 | -2/+2 | |
| | | | | | | from this case where we have a static buffer and cant realloc. ok phessler, claudio, reyk | ||||
* | use the actual function name in .Dt and NAME .Nm, not an alias; | 2014-12-04 | 1 | -4/+4 | |
| | | | | found with mandoc.db(5) | ||||
* | no first person in man pages. | 2014-11-25 | 1 | -3/+3 | |
| | |||||
* | Explain why we deviate slightly from the PBKDF2 standard. | 2014-09-27 | 1 | -3/+5 | |
| | | | | | | | This explanation is based off of Ted's site. Also, fix a comment from the SHA-1 version. ok tedu@ | ||||
* | obvious cases of missing .An; | 2014-09-08 | 2 | -8/+13 | |
| | | | | | found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes | ||||
* | Delete secret or secret-derived data with explicit_bzero. | 2014-08-25 | 1 | -2/+2 | |
| | | | | | concept ok deraadt@ diff looks ok tedu@ | ||||
* | Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC) | 2014-08-15 | 1 | -10/+3 | |
| | | | | | | | on it, simplifying error checking, reducing system calls, and improving thread-safety for libraries. ok miod@ | ||||
* | include stdint.h for standard ints. from Jean-Philippe Ouellet | 2014-07-13 | 1 | -1/+2 | |
| |