Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update asr_hostaliases() to make all necessary checks in the function. | 2013-06-01 | 2 | -14/+14 | |
| | | | | | Explicitely check for issetguid() before calling getenv(). Also make asr_hostalias() callable from other parts of asr too. | ||||
* | Add utrace(2), a system call allowing for userland to send its own ktrace | 2013-06-01 | 3 | -6/+99 | |
| | | | | | | records. From FreeBSD via otto@, with tweaks suggested by guenther@. Commite on behalf of otto@ who is not around, to ride the libc minor bump. Causes a librthread minor bump as well (new syscall). | ||||
* | iterating over the ns list only matters for res_send_async.c, so move | 2013-06-01 | 3 | -39/+37 | |
| | | | | things around. | ||||
* | string.h defines null for us | 2013-06-01 | 1 | -2/+1 | |
| | |||||
* | no need to cast null | 2013-06-01 | 2 | -15/+15 | |
| | |||||
* | doesn't need any headers | 2013-05-31 | 1 | -3/+1 | |
| | |||||
* | minor tweaks | 2013-05-31 | 1 | -4/+5 | |
| | |||||
* | fixie | 2013-05-31 | 1 | -2/+2 | |
| | |||||
* | Add getprogname() and setprogname() to ease slackers^porters' work. | 2013-05-31 | 6 | -12/+169 | |
| | | | | | | | | | Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@ | ||||
* | On NOTE_EXIT event of EVFILT_PROC, store the exit status in kn_data. | 2013-05-31 | 1 | -2/+7 | |
| | | | | ok guenther tedu deraadt | ||||
* | add shm_open and friends which i have been told ports programs would | 2013-05-31 | 3 | -3/+209 | |
| | | | | | like to use. ok deraadt guenther | ||||
* | Sort includes. From Vladimir Tamara Patino <vtamara@pasosdeJesus.org> | 2013-05-30 | 1 | -5/+6 | |
| | |||||
* | Remove useless include. | 2013-05-30 | 1 | -2/+1 | |
| | | | | ok millert@ | ||||
* | use paramaters instead of static storage in _gethostbyname() | 2013-05-29 | 1 | -26/+48 | |
| | |||||
* | Add minimal support for _res setup and update. | 2013-05-27 | 11 | -45/+93 | |
| | | | | | | | | Change res_init() to initialize the _res structure on first call, and udpate the global async context if changes were made by the user. All resolver functions now call res_init() internally. fixes issue spotted by otto@ | ||||
* | If pid<0, kill() won't fail with EPERM unless none of the target processes | 2013-05-19 | 1 | -4/+4 | |
| | | | | could be signaled. | ||||
* | typo: compare len against null needle, not haystack | 2013-05-15 | 1 | -2/+2 | |
| | | | | | | from Alf Schlichting ok millert@ | ||||
* | Add an implementation of memmem() -- from FreeBSD with some tweaks. | 2013-05-13 | 4 | -5/+146 | |
| | | | | | | | | | Requires a libc minor bump, committing now so that we have up-to-date snapshots for the upcoming hackathon. joint work with millert@ man page bits ok jmc@ input and ok millert@, guenther@, deraadt@ | ||||
* | Update SYNOPSIS and add STANDARDS | 2013-05-10 | 1 | -3/+7 | |
| | |||||
* | Update STANDARDS | 2013-05-10 | 1 | -3/+3 | |
| | |||||
* | Clarify behavior of SA_NOCLDWAIT | 2013-05-10 | 1 | -7/+13 | |
| | | | | | | Tweak indentation in the synopsis feedback and ok jmc@, espie@ | ||||
* | clarify when EACCESS can fail. if from is read only, you're out of luck. | 2013-05-08 | 1 | -4/+8 | |
| | | | | failure to document this case noticed by Mike Small | ||||
* | fix SEE ALSO; | 2013-05-08 | 1 | -2/+2 | |
| | |||||
* | Update DESCRIPTION, ERRORS, SEE ALSO, and STANDARDS sections | 2013-05-08 | 1 | -11/+15 | |
| | | | | (setpgid has *never* cared about euid in OpenBSD) | ||||
* | Lists should be sorted by the normal alphabet, not my private one | 2013-05-08 | 1 | -2/+2 | |
| | | | | Noted by jmc@ | ||||
* | We have fdatasync() and pselect() now, so uncomment them in the list of | 2013-05-08 | 1 | -4/+5 | |
| | | | | | async-signal-safe functions. Also, add ppoll() as an async-s-s extension interface | ||||
* | on failure errno is set as well | 2013-05-07 | 1 | -3/+6 | |
| | |||||
* | no need to cast calloc | 2013-05-05 | 1 | -4/+3 | |
| | |||||
* | Fix resetting MB_CUR_MAX when switching locales away from a UTF-8 locale. | 2013-05-03 | 3 | -5/+7 | |
| | | | | | Patch by Vladimir Támara Patiño <vtamara@pasosdeJesus.org> ok mpi millert | ||||
* | various small fixes; | 2013-04-30 | 1 | -4/+5 | |
| | |||||
* | Do not take external buffers for storing DNS responses in the internal | 2013-04-30 | 12 | -122/+55 | |
| | | | | | async API. That is actually useless and it makes the code more complicated. The required buffers are always allocated when needed. | ||||
* | copy input flags in result addrinfo structures. | 2013-04-30 | 1 | -1/+2 | |
| | |||||
* | Extend P_SIGSUSPEND handling in userret() to properly restore the | 2013-04-29 | 4 | -33/+104 | |
| | | | | | | | | | | | | | | | sigmask even if there are no pending signals under the temporary sigmask. Refactor existing select() and poll() system calls to introduce the pselect() and ppoll() system calls. Add rthread wrappers for pselect() and ppoll(). While there, update cancellation point comments to reflect recent fdatasync() addition. Minor bumps for libc and librthread due to new symbols. ok guenther, millert, deraadt, jmc | ||||
* | use FD_CLOEXEC instead of 1; from David Hill | 2013-04-29 | 5 | -10/+10 | |
| | | | | ok otto | ||||
* | Do a PC-relative relocation for _map rather than going through | 2013-04-23 | 1 | -2/+2 | |
| | | | | | | | | | GOTPCREL. Uncovered after the binutils patch where it isn't optimized away at assembly and is forced to go through GOTPCREL. But _map is effectively a local variable. Found with cephes by guenther@. OK guenther@, kettenis@, deraadt@. | ||||
* | Fixed typo. | 2013-04-22 | 1 | -3/+3 | |
| | | | | ok jmc | ||||
* | tweak a few comments | 2013-04-21 | 1 | -5/+7 | |
| | |||||
* | this man page is mostly about password hashing now (you really don't | 2013-04-21 | 1 | -18/+5 | |
| | | | | | want to be using DES) and some of the notes about the export controls are no longer so relevant. ok deraadt jmc | ||||
* | wording fix; | 2013-04-21 | 1 | -3/+2 | |
| | |||||
* | identify the argument containing the requested timeout, give arguments | 2013-04-20 | 1 | -10/+11 | |
| | | | | better names, and reword time to duration for clarity | ||||
* | Xr encrypt(1) to give people a hint if they just want a password string | 2013-04-20 | 1 | -2/+3 | |
| | |||||
* | add clock_gettime to see also. i think guenther was ok with this. | 2013-04-19 | 2 | -4/+6 | |
| | |||||
* | check return value of strdup(), fix mem leak in error path and take | 2013-04-17 | 1 | -10/+17 | |
| | | | | into account that asr_use_resolver() can return NULL; ok tedu@ eric@ | ||||
* | surround the error strings with quotes to clarify exactly which strings | 2013-04-17 | 1 | -5/+5 | |
| | | | | the function is going to return. | ||||
* | the tiniest of style tweaks | 2013-04-17 | 1 | -7/+7 | |
| | |||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 17 | -28/+44 | |
| | | | | silence some warnings. | ||||
* | silence some warnings by adding prototypes, casts, and headers as | 2013-04-17 | 5 | -11/+14 | |
| | | | | appropriate. in regex, stop using the struct hack for a fixed size array | ||||
* | use CLOCK_MONOTONIC, and repair future time_t overflow | 2013-04-17 | 1 | -8/+8 | |
| | | | | ok millert guenther | ||||
* | give a timespec a name that is easier to verify | 2013-04-17 | 1 | -5/+5 | |
| | |||||
* | Replace a realloc() + memcpy() with calloc() + memcpy(). | 2013-04-16 | 1 | -6/+5 | |
| | | | | | We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@ |