aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Make stralloc.h and tai.h suitable for inclusion in C++-compatible headersLaurent Bercot2017-11-202-11/+10
|
* Add lock_unx()Laurent Bercot2017-10-301-0/+1
|
* Rewrite openwrite(v)nclose using mkstempLaurent Bercot2017-09-272-4/+24
|
* Make cbuffer_?peek take a const; make *_init not leak when misusedLaurent Bercot2017-07-311-2/+2
|
* Add unixmessage_receiver_hasmsginbuf, fix unixmessage_handleLaurent Bercot2017-07-271-1/+3
|
* More secure setgroups functions. (thanks muh)Laurent Bercot2017-07-161-0/+1
|
* git unignore setgroups.h ...Laurent Bercot2017-07-161-0/+24
|
* Change setgroups() management, in particular add skalibs_setgroups()Laurent Bercot2017-07-162-1/+10
|
* Add egidingroups sysdeps, change fd_close() to void and saving errno, ↵Laurent Bercot2017-07-162-2/+2
| | | | propagate changes
* mitigation: bump UNIXMESSAGE_MAXREADS to something that will never be ↵Laurent Bercot2017-07-151-1/+1
| | | | reached. Real fix coming later.
* Add xpathexec_* functions, prepare for 2.5.1.0Laurent Bercot2017-05-181-2/+11
|
* Accommodate some broken GNU toolchains by including sys/types.h in sysdeps ↵Laurent Bercot2017-05-161-1/+2
| | | | tests
* Add _DEFAULT_SOURCE ftm to skalibs/nonposix.hLaurent Bercot2017-04-301-0/+3
|
* Change SKALIBS_NSIG to SKALIBS_DEFAULT_NSIG and NSIG to SKALIBS_NSIG to ↵Laurent Bercot2017-04-281-2/+11
| | | | accommodate OpenBSD snowflakiness
* Always pair skalibs/nsig.h with skalibs/nonposix.h (and screw NSIG with a ↵Laurent Bercot2017-04-281-1/+5
| | | | chainsaw)
* Fix NSIG definition (max+1 instead of max)Laurent Bercot2017-04-281-1/+1
|
* OpenBSD doesn't export a proper NSIG without __BSD_VISIBLE. Ah, OpenBSD.Laurent Bercot2017-04-281-0/+1
|
* Cleanups - mostly removing superfluous includes in headersLaurent Bercot2017-03-1315-28/+10
|
* Types change: switch libdatastruct to uint32_tLaurent Bercot2017-02-226-49/+57
| | | | Still needs to be reviewed.
* Types change: big pass on libstddjb and libunixonacidLaurent Bercot2017-02-2113-86/+75
| | | | libdatastruct still missing, library still not functional
* More types changesLaurent Bercot2017-02-1721-173/+181
| | | | | | | | | New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet
* add arc4random_addrandom sysdep; next batch of types changes.Laurent Bercot2017-02-1510-83/+73
| | | | | The library isn't supposed to be functional yet: there are still a lot of type mismatches.
* More work on the types. This commit builds but has errors.Laurent Bercot2017-01-254-62/+52
| | | | | | | Rework src/headers entirely: build skalibs/types.h Convert skalibs/fmtscan.h types. Propagate changes until it builds. There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul.
* Types fix: librandom, libstdcryptoLaurent Bercot2017-01-217-30/+36
|
* Types fix, start: preparation and libbiguintLaurent Bercot2017-01-212-29/+30
|
* Add the alarm library, first draft.Laurent Bercot2016-10-242-0/+14
|
* Add child_spawn2Laurent Bercot2016-10-191-0/+9
|
* More typo fixingLaurent Bercot2016-10-141-0/+1
|
* Clean up and modernize librandom.Laurent Bercot2016-10-147-170/+9
| | | | | | | | | | | | | | | | | | | | | | Correct random number generation has historically been suprisingly painful to achieve. There was no standard, every system behaved in a subtly different way, and there were a few userland initiatives to get decent randomness, all incompatible of course. The situation is a bit better now, we're heading towards some standardization. The arc4random() series of functions is a good API, and available on a lot of systems - unfortunately not Linux, but on Linux the new getrandom() makes using /dev/random obsolete. So I removed the old crap in librandom, dropped EGD support, dropped dynamic backend selection, made a single API series (random_* instead of goodrandom_* and badrandom_*), added an arc4random backend and a getrandom backend, and defaulted to /dev/urandom backed up by SURF in the worst case. This should be much smaller and logical. However, it's a major API break, so the skarnet.org stack will be changed to adapt.
* Actually call ipc_timed_recv ipc_timed_recvLaurent Bercot2016-07-201-2/+2
|
* Add ipc_timed_recvLaurent Bercot2016-07-201-0/+2
|
* Add ipc_timed_sendLaurent Bercot2016-07-201-0/+3
|
* Fix closecb support wherever a unixmessage may get dropped; add closecb ↵Laurent Bercot2016-04-221-0/+1
| | | | support to unixconnection
* Tentative re-commit of the closecb featureLaurent Bercot2016-02-021-1/+9
|
* Revert " Add support for advanced closing callbacks to ↵Laurent Bercot2016-02-021-9/+1
| | | | | | | | unixmessage_sender_flush." This reverts commit c9c7e241a7b68f67e0cc8a7d3874510dced532d6. (something is segfaulting, reverting until I find the fix)
* Add support for advanced closing callbacks to unixmessage_sender_flush.Laurent Bercot2016-01-181-1/+9
| | | | | (Typically, this will be used for refcounting when broadcasting copies of the same fd.)
* Add bitarray_first{clear,set}_skip (thx jjk)Laurent Bercot2016-01-051-0/+5
| | | | version: rc for 2.3.9.0 after Makefile fix
* Add touch, filecopy_unsafe, filecopy_suffixLaurent Bercot2015-08-251-0/+3
|
* Add atomic_rm_rf and atomic_rm_rf_tmpLaurent Bercot2015-08-131-0/+3
|
* - fd_close fixLaurent Bercot2015-07-201-0/+1
| | | | | - add openreadnclose_nb - rc for 2.3.6.0
* - sysdeps for strnlen (Solaris... sigh)Laurent Bercot2015-07-131-1/+8
| | | | - rc for 2.3.5.2
* Turn non-linear buffer macros calling str_len() into functions. >.>Laurent Bercot2015-06-021-6/+6
|
* C macros suck. Rewrote the case_diffb thing.Laurent Bercot2015-05-161-3/+3
|
* - add bitarray_countLaurent Bercot2015-05-162-0/+3
| | | | | - add openwritevnclose_at - rc for 2.3.5.0
* - add stat_atLaurent Bercot2015-05-052-6/+14
| | | | | | - make case_diff* work as a function is more cases - make sig_number case-insensitive - make child signal unblocking work in child_spawn*
* - added str_nlen()Laurent Bercot2015-04-081-0/+2
| | | | - various fixes for --enable-libc-replacements
* - added sha512 (buggy, need to commit to test somewhere else)Laurent Bercot2015-03-272-0/+22
| | | | | - version bump (not a rc yet) - bugfix: buffer_get returned -1 EPIPE on short reads w/o EOF
* Add hiercopy and hiercopy_tmpv2.3.1.0Laurent Bercot2015-02-231-0/+3
|
* - Add wait_estatus()Laurent Bercot2015-02-191-1/+2
| | | | - version: rc for 2.3.1.0
* Modify wait_status to return 256 when WIFSIGNALEDLaurent Bercot2015-02-181-1/+1
|