aboutsummaryrefslogtreecommitdiffstats
path: root/src/libunixonacid
Commit message (Collapse)AuthorAgeFilesLines
* Support running from a socket again in sassserverLaurent Bercot2026-04-076-56/+111
| | | | | | | | | | A sassserver can run the same when forked or spawned from a local service, that's the point of textclient. Most sassservers don't need local service support in any way, and cutting the support from that saves pulling a good amount of code, but some do. Put back local service support while refactoring the code so running as a child from the client (common case) doesn't pull the socket code.
* sassclient: don't auto-release on update >.>Laurent Bercot2026-03-291-1/+0
|
* sassserver only supports child process, not local serviceLaurent Bercot2026-03-261-1/+1
|
* sassclient_update bugfixLaurent Bercot2026-03-171-6/+4
|
* And another oneLaurent Bercot2026-03-162-6/+9
|
* sassclient_sendv bugfixLaurent Bercot2026-03-161-1/+1
|
* Separate sassserver_event() into write and read eventsLaurent Bercot2026-03-161-1/+4
|
* And use it in sassclientLaurent Bercot2026-03-162-23/+6
|
* USe SASS_FLAG singular; remove duplicate deps for generated headersLaurent Bercot2026-03-131-1/+1
|
* ZI data in a sassserver_queryLaurent Bercot2026-03-121-0/+1
|
* Add a cleanup hook to sassserverLaurent Bercot2026-03-121-16/+65
|
* fix: initialize sassserver with datasizeLaurent Bercot2026-03-121-0/+1
|
* Fix build, update sassclient APILaurent Bercot2026-03-102-2/+2
|
* No global definitions for sassserverLaurent Bercot2026-03-101-79/+79
| | | | | Except for textmessage_receiver_0 and the textmessage_senders, but these are like buffer_0 and buffer_1, so.
* Add flags management to sass, refactor some thingsLaurent Bercot2026-02-214-13/+32
|
* Fix sassserver typos and bad APIsLaurent Bercot2026-02-201-10/+13
|
* Add sassclient/sassserver, prepare for 2.14.6.0Laurent Bercot2026-02-2010-0/+528
|
* Save/restore errno in all safe wrappersLaurent Bercot2026-01-017-6/+20
|
* Add qsortr, env_dump4Laurent Bercot2025-08-191-1/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkntemp, atomic_symlink4Laurent Bercot2025-08-032-32/+45
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* gol_argv bugfix, tai.html doc fixLaurent Bercot2025-07-131-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* fix symlink_at depsLaurent Bercot2025-06-301-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor _at functions, add symlink_atLaurent Bercot2025-06-307-104/+210
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't autoflush buffer_timed_putv; fix IFS bug in configureLaurent Bercot2025-03-251-3/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* timed_read[v] needs sanitize_read()Laurent Bercot2025-03-222-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add timed_write and timed_writevLaurent Bercot2025-03-222-0/+82
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add timed_read[v], buffer_timed_[get|put]vLaurent Bercot2025-03-014-0/+126
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix small bugs, add autodelegation for IOPAUSE_EXCEPTLaurent Bercot2024-07-301-7/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: unixmessage_put, fd bits initializationLaurent Bercot2024-06-213-13/+19
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More support for old MacOS fossilsLaurent Bercot2024-04-161-4/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative support for old MacOS with no O_CLOEXECLaurent Bercot2024-04-1613-21/+25
| | | | | | Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* cspawn revamp, part 1. Prepare for 2.14.0.0.Laurent Bercot2023-09-094-3/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More more jjk fixesLaurent Bercot2023-07-062-2/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More jjk fixesLaurent Bercot2023-07-068-16/+48
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tables should be constLaurent Bercot2023-02-122-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.1.0; add buffer_timed_put(s)Laurent Bercot2022-10-282-0/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Clean up / homogenize openreadnclose() familyLaurent Bercot2022-06-081-12/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add openc_*at functionsLaurent Bercot2022-05-3016-8/+104
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add opendir_at, prepare for 2.11.1.0Laurent Bercot2021-12-041-0/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't forget textclient_commandvLaurent Bercot2021-09-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make textclient_command work with errno > 127Laurent Bercot2021-09-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Huge incompatible changes.Laurent Bercot2021-07-28100-318/+181
| | | | | | | | | | | | - Obsolete skalibs/environ.h and skalibs/getpeereid.h removed. - rc4 and md5 removed. - All *_t types renamed to avoid treading on POSIX namespace. - subgetopt() renamed to lgetopt(). - signal functions reworked; skasigaction removed; sig_stack removed - Various functions removed: skaoffsetof(), selfpipe_untrap() - New posixplz function: munmap_void. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Get rid of webipc.h and DJBUNIX_FLAG_*Laurent Bercot2020-12-094-4/+6
| | | | | | | | | | | | | | Decent semantic header separation is hard. It's always an ongoing process. Here socket.h always included webipc.h for listen(), and webipc.h always included djbunix.h for socket_internal() and socketpair_internal(). That's ugh. Just move all the socket stuff into one socket header. Of course, djbunix.h is still needed most of the time for fd_close() and other operations on fds, but those are generic anyway. Also, O_CLOEXEC exists everywhere now, so we can use it as well as O_NONBLOCK instead of redefining the flags in djbunix.h.
* Some trivial bugfixes and cleanupsLaurent Bercot2020-12-072-4/+7
|
* Refactor textmessage/textclient with channel creation around ancil_*Laurent Bercot2020-10-267-73/+110
|
* Separate and expose ancil_recv_fd/ancil_send_fdLaurent Bercot2020-10-2616-107/+137
| | | | | | | The goal is to make late channel creation easy, as opposed to textclient which always creates a new channel at start time. This commit also moves posixishard.h inclusions as late as possible.
* Add skalibs/posixishard.hLaurent Bercot2019-02-1914-30/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will break things. It's a known issue. Patches to other packages will come later, to adapt them to the new API. To work around brokenness, there needs to be *two* different headers: 1. one to be used before including system headers, that maximizes visibility by enabling system-dependent feature test macros (that will be tested by system headers) 2. one to be used after including system headers, that performs preprocessor tests and defines. skalibs/nonposix.h is the first one. Previously, there was no second one, and the tests were scattered all over. There was a strnlen declaration in skalibs/posixplz.h (which serves a totally different function: declaring things that should be in POSIX, but *are not*, i.e. working around problems in the standard, instead of problems in systems failing to respect the standard), a build-time sysdep for error.h, #defines for MSG_NOSIGNAL, etc. etc. skalibs/posixishard.h now is the second one, and centralizes all the tests. As a result, the eproto sysdep is unnecessary and has been removed. skalibs/error.h is now a static header, it is not built anymore.
* Add DragonFly macro; remove nbwaitall and ancilautocloseLaurent Bercot2019-02-195-38/+0
|
* Remove mkdir_unique, rewrite atomic_symlink with mkltempLaurent Bercot2019-01-082-44/+10
|
* Add unlink_void, change dir_close, prepare for 2.7.0.0Laurent Bercot2018-07-212-0/+6
|