aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb/child_spawn1_socket.c
Commit message (Collapse)AuthorAgeFilesLines
* Add mspawn functions to cspawn.h; move everything to libenvexecLaurent Bercot2024-04-301-16/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* cspawn revamp, part 1. Prepare for 2.14.0.0.Laurent Bercot2023-09-091-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Get rid of webipc.h and DJBUNIX_FLAG_*Laurent Bercot2020-12-091-1/+1
| | | | | | | | | | | | | | 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.
* Fix fd management in new child_spawn1, make socket nb for skaclientLaurent Bercot2014-12-181-1/+1
|
* Separate socket from pipe in child_spawn. Less code in skaclient!Laurent Bercot2014-12-181-0/+16