summaryrefslogtreecommitdiffstats
path: root/compat
Commit message (Collapse)AuthorAge
* compat: Fix a typo in pidfile when O_CLOEXEC is not definedPetr Gotthard2020-02-05
| | | | While here, include fcntl.h in if.c for older environments.
* compat: Add a guard to _strtoi.hRoy Marples2019-12-11
| | | | | Not really needed but LGTM wants it which blows. Should really take this upstream.....
* Sync strtoi and strtou with latest upstream to allow -WundefRoy Marples2019-11-28
| | | | not to error.
* Linux: Support kernels without PR_SET_MM_MAPRoy Marples2019-11-19
|
* compat: Fix UB in arc4random.Roy Marples2019-10-16
|
* compat: Go back to linux specific setproctitleRoy Marples2019-10-15
| | | | | Solaris does not work with argv stamping and this is much cleaner anyway.
* Revert "compat: Use more portable setproctitle from nginx"Roy Marples2019-10-15
| | | | This reverts commit cbcb352f10de5ba5185860f20e148509081f9d2f.
* Revert "compat: Fix setproctitle on Solaris"Roy Marples2019-10-15
| | | | This reverts commit c085a2836f8439bc3e9d01a85d399afb8ad1dc12.
* compat: Fix setproctitle on SolarisRoy Marples2019-10-15
|
* compat: Use more portable setproctitle from nginxRoy Marples2019-10-15
| | | | Hopefully works on older Linux and Solaris.
* compat: Add setproctitle from LXCRoy Marples2019-10-14
|
* Solaris: Fix compile.Roy Marples2019-08-30
|
* Fix compile on Linux.Roy Marples2019-08-28
|
* rbtree: Fix building from a DragonFlyBSD importRoy Marples2019-08-28
|
* Merge branch 'master' into rbtreeRoy Marples2019-05-04
|\
| * Really add consttime_memequalRoy Marples2019-04-19
| |
* | Linux: Fix compileRoy Marples2019-04-17
| |
* | sun: Add rbtree supportRoy Marples2019-04-16
| |
* | rbtree: sync with upstream to remove diffsRoy Marples2019-03-08
| |
* | Resync with upstreamRoy Marples2019-03-07
| |
* | rbtree: reduce more with upstreamRoy Marples2019-03-07
| |
* | rbtree reference fixed headerRoy Marples2019-03-07
| |
* | Use __BITRoy Marples2019-03-07
| |
* | rbtree: Fix crash with priorRoy Marples2019-03-04
| |
* | rbtree: silence more compile warnings.Roy Marples2019-03-04
| |
* | Re-arrange so to reduce diff to upsteam.Roy Marples2019-03-04
| |
* | Linux: now fix compile again ....Roy Marples2019-03-04
| |
* | Fix compile.... dohRoy Marples2019-03-04
| |
* | OpenBSD: Fix crash with rbtreeRoy Marples2019-03-04
| |
* | FreeBSD: Fix compile of rbtree.hRoy Marples2019-03-03
| |
* | Add rbtree(3) from NetBSD if not present in libc.Roy Marples2019-03-03
|/
* Fix compile on Illumos.Roy Marples2017-10-05
|
* Supply __arraycount if not present.Roy Marples2017-10-05
|
* Detect hmac(3) in libc or the library containing MD5.Roy Marples2017-10-05
| | | | If not found, a compat function is provided, taken from NetBSD.
* Add compat/strlcpy.c from OpenBSD libc to use instead ofRoy Marples2017-10-04
| | | | | defining strlcpy to snprintf. This makes dhcpcd smaller on platforms lacking strlcpy(3).
* Specify MD5_BLOCK_LENGTH as ULL to try and work around a compiler issue.Roy Marples2017-10-03
|
* dprintf should append, not truncate.Roy Marples2017-04-14
|
* Update copyrights and headers to better credit the sources.Roy Marples2017-03-30
|
* Fix warnings by including the strtoi header.Roy Marples2017-03-22
|
* Use new strtoi changes.Roy Marples2017-03-22
|
* Update strtoi from latest NetBSD.Roy Marples2017-03-22
|
* Remove posix_spawn(3) compat code.Roy Marples2017-03-21
| | | | All supported OS's have this in libc now.
* Remove getline(3) compat code.Roy Marples2017-03-21
| | | | All supported OS's have this in libc now.
* Remove the strlcpy compat code and just #define it to snprintf(3).Roy Marples2017-03-21
| | | | This is the same and reduces code size.
* Place correct license in compat headers.Roy Marples2017-03-21
|
* Move md5 and sha256 out to compat.Roy Marples2017-03-19
| | | | Stop using .. to find config.h.
* Move compat out of src.Roy Marples2017-03-19
|
* Move the source files along with dev, crypt and comapt into src dir.Roy Marples2017-03-15
| | | | This makes the toplevel directory more manageable.
* Fix returning a pid if open fails.Roy Marples2016-05-04
|
* Use reallocarray(3) to fix a pontential overflow issue discovered by Coverity.Roy Marples2016-05-03
| | | Provide a shim based on our eloop one if not available in libc.