aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Typo fix in unixmessage.hLaurent Bercot2015-02-081-1/+0
|
* - Doc updateLaurent Bercot2015-02-071-1/+1
| | | | - version: 2.3.0.0 rc
* - Add siovec_truncLaurent Bercot2015-02-055-16/+30
| | | | | | | | - Add openwritevnclose - replace buffer_read/write with fd_readsv/writesv - add localtmn_from_tain_g - refactor cdb_make - rewrite buffer_getvall and buffer_putvall, with a bugfix
* Add allreadwritev and friendsLaurent Bercot2015-02-012-0/+14
|
* make fd_sanitize check stderr tooLaurent Bercot2015-01-301-1/+1
|
* Bugfix: definition of UNIXCONNECTION_ZEROLaurent Bercot2015-01-211-1/+1
|
* Bugfix: definition of avltreeb_extremeLaurent Bercot2015-01-211-1/+1
|
* - Added unixconnectionLaurent Bercot2015-01-193-0/+29
| | | | | - Added sig_name & sig_number (suggestion from Olivier Brunel) - version bumped to 2.2.1.0, rc
* Gnfrlbl... gensetdyn_iter is an unsigned int again, but the valueLaurent Bercot2015-01-101-1/+1
| | | | is now tested against gensetdyn_n(g). It's cleaner, I swear.
* Change gensetdyn_iter to be a boolean. The old behaviour is stillLaurent Bercot2015-01-101-1/+1
| | | | accessible via gensetdyn_iter_nocancel.
* Add unixmessage_unput, for transaction cancellationLaurent Bercot2015-01-091-0/+4
|
* Add cancellation to iterators over avltree(n) and genset(dyn)Laurent Bercot2015-01-095-4/+15
|
* tai conversion functions overhaul.Laurent Bercot2015-01-091-17/+21
| | | | | API change -> rc for 2.2.0.0 Doc updated.
* - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS)v2.1.0.0Laurent Bercot2015-01-062-25/+52
| | | | | | - ABI change: unixmessage protocol header is now 6 bytes (was 8) - API change: skaclient_start(_async) now takes an "options" argument - version increase to 2.1.0.0
* Add unixmessage_drop and some stuff in skaclientLaurent Bercot2015-01-042-0/+4
|
* More macros for asyncout in skaclient.hLaurent Bercot2015-01-041-0/+6
|
* Add unixmessage_receiver_isfullLaurent Bercot2015-01-031-0/+1
|