summaryrefslogtreecommitdiff
path: root/src/libunixonacid
AgeCommit message (Collapse)Author
2017-11-27 Add access_at, because MacOSLaurent Bercot
2017-09-27 Rewrite openwrite(v)nclose using mkstempLaurent Bercot
2017-08-16 Make skaclient's fd coeLaurent Bercot
2017-07-27 Add unixmessage_receiver_hasmsginbuf, fix unixmessage_handleLaurent Bercot
2017-07-16 Add egidingroups sysdeps, change fd_close() to void and saving errno, ↵Laurent Bercot
propagate changes
2017-04-23 Align ancillary buffers on struct cmsghdr and int boundariesLaurent Bercot
2017-03-15 Fix unixmessage_putv() (the normal message wasn't taken into account!)Laurent Bercot
2017-03-13 More superflous headers cleanup and tiny fixesLaurent Bercot
2017-02-21 Types change: big pass on libstddjb and libunixonacidLaurent Bercot
libdatastruct still missing, library still not functional
2017-02-17 More types changesLaurent Bercot
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
2017-02-15 add arc4random_addrandom sysdep; next batch of types changes.Laurent Bercot
The library isn't supposed to be functional yet: there are still a lot of type mismatches.
2016-10-14 Clean up and modernize librandom.Laurent Bercot
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.
2016-07-24 ipc_timed_send workaround for the usual OpenBSD braindead headersLaurent Bercot
2016-07-20 Actually call ipc_timed_recv ipc_timed_recvLaurent Bercot
2016-07-20 Add ipc_timed_recvLaurent Bercot
2016-07-20 Add ipc_timed_sendLaurent Bercot
2016-04-22 Fix closecb support wherever a unixmessage may get dropped; add closecb ↵Laurent Bercot
support to unixconnection
2016-02-02 Tentative re-commit of the closecb featureLaurent Bercot
2016-02-02Revert " Add support for advanced closing callbacks to ↵Laurent Bercot
unixmessage_sender_flush." This reverts commit c9c7e241a7b68f67e0cc8a7d3874510dced532d6. (something is segfaulting, reverting until I find the fix)
2016-01-18 Add support for advanced closing callbacks to unixmessage_sender_flush.Laurent Bercot
(Typically, this will be used for refcounting when broadcasting copies of the same fd.)
2015-08-13 Add atomic_rm_rf and atomic_rm_rf_tmpLaurent Bercot
2015-05-16 - add bitarray_countLaurent Bercot
- add openwritevnclose_at - rc for 2.3.5.0
2015-05-05 OpenBSD sucks, but everyone knew this already.v2.3.4.0Laurent Bercot
2015-05-05 - add stat_atLaurent Bercot
- make case_diff* work as a function is more cases - make sig_number case-insensitive - make child signal unblocking work in child_spawn*
2015-03-13 Applied Roman Kimov's fixesv2.3.1.3Laurent Bercot
2015-02-19 - Bugfix: unixmessage_sender_init didn't initialize b->shortyLaurent Bercot
- byte_zero the ancilbuf's padding to appease valgrind
2015-02-05 - Add siovec_truncLaurent Bercot
- 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
2015-01-23 Bugfixes:v2.2.1.0Laurent Bercot
- seek_set now uses SEEK_SET (those functions are useless now, they will go at the next major version update) - skaclient_server_init now correctly sanitizes unixmessage_timed_receive
2015-01-19 - Added unixconnectionLaurent Bercot
- Added sig_name & sig_number (suggestion from Olivier Brunel) - version bumped to 2.2.1.0, rc
2015-01-10 Without a segfault in unixmessage_sender_free, please.v2.2.0.0Laurent Bercot
2015-01-10 Bugfix: unixmessage_sender_free didn't close all the pending fdsLaurent Bercot
2015-01-09 Add unixmessage_unput, for transaction cancellationLaurent Bercot
2015-01-09 Bugfix: unixmessage_put was recording the wrong number of fdsLaurent Bercot
2015-01-06 - Bugfixes in unixmessage/skaclient (short writes / fd leakage / DoS)v2.1.0.0Laurent Bercot
- 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
2015-01-04 Add unixmessage_drop and some stuff in skaclientLaurent Bercot
2015-01-03 Remove redundant _XPG4_2 in unixmessage_sender_flushLaurent Bercot
2015-01-03 ... without breaking everything, if possibleLaurent Bercot
2015-01-03 Easier error reporting in unixmessage_handleLaurent Bercot
2015-01-02 Really add it >.>Laurent Bercot
2015-01-02 Add skaclient_syncify for easier async/sync handlingLaurent Bercot
2014-12-31 Safe wrappers around sendmsg and recvmsg in unixmessage primitivesLaurent Bercot
2014-12-21 So MSG_WAITALL can block even with MSG_DONTWAIT... wtfbsdseriously.Laurent Bercot
Only include MSG_WAITALL when it's tested nb, then. Also test yet another fix for the tryancilautoclose FreeBSD problem.
2014-12-21 So the non-portable MSG_DONTWAIT may alleviate the problem... mightLaurent Bercot
as well use it on architectures that support it.
2014-12-20 Found the BSD unixmessage bug. recvmsg(..., MSG_WAITALL) blocksLaurent Bercot
until buffer full or socket shutdown on BSD, *even if the socket is nonblocking*. So I added an "okwaitall" sysdeps, and won't set MSG_WAITALL on retarded systems.
2014-12-20 Lots of cosmetic fixes.Laurent Bercot
sha256 documented.
2014-12-18 Fix fd management in new child_spawn1, make socket nb for skaclientLaurent Bercot
2014-12-18 Separate socket from pipe in child_spawn. Less code in skaclient!Laurent Bercot
2014-12-18 Fix timed_getlnmax: correctly update wLaurent Bercot
2014-12-15 Fix: timed_buffer_flush -> buffer_timed_flushLaurent Bercot
2014-12-14unixmessage_receive: don't read more than 1 message at a timeLaurent Bercot