aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs6/s6-ftrigrd.c
Commit message (Collapse)AuthorAgeFilesLines
* Add s6-notify-fd-from-socket and s6-notify-socket-from-fdLaurent Bercot2026-04-091-1/+1
| | | | | Also add .gitkeep files, remove old include-local/s6lockd.h, update a little bit of doc, make s6-ftrigrd pipe-only
* Refactor ftrig using sass; clean up API a bit, update its usersLaurent Bercot2026-03-161-199/+113
|
* Don't step on POSIXLaurent Bercot2024-11-101-3/+3
| | | | | | remove() is in stdio.h, which bionic pulls. lol @ bionic. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* this is why I hate free's signatureLaurent Bercot2024-05-051-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-ftrigrd: don't have in-object pointers when reallocingLaurent Bercot2024-05-051-6/+15
| | | | | | | | | | | | | | Make all pointers out-of-object, even if that means an additional alloc. Objects that move need to be flat, so in the absence of a proper multi-object storage structure, deep allocs is the only solution. The alternative is to use gensetdyn so objects don't move, but here we already have a ftrig1_t, a stralloc and a regex_t making deep allocs, so who cares about one more - the overhead of gensetdyn is probably more expensive. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Restore cleanups in s6-ftrigrd; fix an old bug and a new bugLaurent Bercot2024-05-031-8/+41
| | | | | | | | ftrigw_clean() didn't clean properly. ftrig1_make() didn't give enough perms to the fifo, notification could fail in certain cases. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: bad length computation in s6-ftrigrdLaurent Bercot2024-04-251-8/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't limit the amount of fifodirs s6-ftrigrd can listen toLaurent Bercot2024-04-181-60/+39
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.13.0.0Laurent Bercot2022-11-291-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Pass errno as unsigned charLaurent Bercot2021-09-021-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* skalibs-2.11.0.0 API changeLaurent Bercot2021-08-091-3/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to new stopwatch APILaurent Bercot2019-09-061-2/+1
|
* Separate wall clocks from stopwatchesLaurent Bercot2019-09-041-0/+1
|
* Accept empty regexes even on BSDsLaurent Bercot2019-05-111-1/+2
|
* Adaptation to skalibs/posixishard.hLaurent Bercot2019-02-191-0/+3
|
* Use mkptemp() in s6-ftrigrd. Prepare for 2.7.2.3.Laurent Bercot2019-01-091-1/+0
|
* Port ftrigr and s6lock to textclientLaurent Bercot2017-12-221-26/+26
|
* s6-ftrigrd: be silent when the client dies in the middle of an asyncout flushLaurent Bercot2017-06-131-1/+1
| | | | Also add ./configure output to .gitignore
* bugfix: use memmove instead of memcpy in an overlapping stralloc in s6-ftrigrdLaurent Bercot2017-06-131-1/+1
|
* Adapt to skalibs-2.5.0.0Laurent Bercot2017-03-121-8/+6
|
* Types fix, first passLaurent Bercot2017-01-121-7/+9
|
* Unconditionally switch s6-ftrigrd to surf (avoid boot stalling problems, ↵Laurent Bercot2016-10-161-3/+1
| | | | and nobody cares about that RNG not being CS)
* Port to the new librandom APILaurent Bercot2016-10-141-0/+3
|
* Cosmetic fixes (remove useless headers, add a const)Laurent Bercot2016-02-231-1/+0
|
* - fix stupid, stupid s6-ftrigrd crash (thx jjk)Laurent Bercot2016-01-071-12/+10
| | | | - rc for 2.2.4.3
* - bugfix in s6-ftrigrd and s6lockd, need to align with skalibs-2.1.0.0v2.0.0.1Laurent Bercot2015-01-061-2/+2
| | | | - version increased to 2.0.0.1
* Cosmetic fix in s6-ftrigrdLaurent Bercot2014-12-091-1/+1
|
* Rewrite s6-ftrigrd to avoid moving buffers (and pointers in them)Laurent Bercot2014-12-071-41/+37
|
* someday I'll test BEFORE committingLaurent Bercot2014-12-061-1/+1
|
* typo in s6-ftrigrdLaurent Bercot2014-12-061-1/+1
|
* Fix: correctly init ftrigio buffer in s6-ftrigrdLaurent Bercot2014-12-061-1/+7
|
* Initial commitLaurent Bercot2014-12-051-0/+266