aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add sig_altignore()2.11.0.0Laurent Bercot2021-07-293-0/+17
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Huge incompatible changes.Laurent Bercot2021-07-28367-1726/+1091
| | | | | | | | | | | | - 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>
* Don't use dirfd as an identifierLaurent Bercot2021-07-241-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Hide cdb_find_state in the common caseLaurent Bercot2021-07-244-53/+64
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add cdb_init_at and cdb_init_fromfd, rename cdb_readerLaurent Bercot2021-07-247-33/+57
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New 2.11.0.0 branch with several modificationsLaurent Bercot2021-07-2358-1171/+285
| | | | | | | | - libbiguint removed - cdb_make changed to cdbmake (because different ui) - cdb redesigned Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Save errno when freeing a cdbLaurent Bercot2021-07-211-1/+8
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: offset in cdb mmapLaurent Bercot2021-06-302-3/+3
| | | | | | | An offset of -1 worked because most OSes treat it as 0, but DS9k would fail on it. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* cdb always mmapsLaurent Bercot2021-06-295-46/+31
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* gccattributes.h: define gccattr_returns_twiceLaurent Bercot2021-06-141-0/+3
| | | | Signed-off-by: Jesse Young <jlyo@jlyo.org>
* doc: allreadwrite: document scatter/gatter functionsLaurent Bercot2021-06-142-3/+55
| | | | Signed-off-by: Jesse Young <jlyo@jlyo.org>
* doc: reconcile openwrite{,v}nclose_suffix{,_devino}{,_sync} with djbunix.hLaurent Bercot2021-06-141-6/+6
| | | | Signed-off-by: Jesse Young <jlyo@jlyo.org>
* Fix ML URLLaurent Bercot2021-06-141-1/+1
| | | | Signed-off-by: Laurent Bercot <ska-skaware@skarnet.org>
* Add CONTRIBUTING and DCO filesLaurent Bercot2021-06-142-0/+42
| | | | Signed-off-by: Laurent Bercot <ska-skaware@skarnet.org>
* Cosmetic fixesLaurent Bercot2021-05-143-10/+9
|
* version: 2.10.0.3v2.10.0.3Laurent Bercot2021-04-151-3/+3
|
* Prepare for 2.10.0.3Laurent Bercot2021-04-136-3/+16
|
* Do not ld into /dev/nullLaurent Bercot2021-04-111-13/+12
|
* No need for noexecstack, but the strip is too greedyLaurent Bercot2021-04-092-3/+4
|
* version: 2.10.0.2v2.10.0.2Laurent Bercot2021-02-151-1/+2
|
* bugfix: ipc_bind_reuse_lock must ignore umaskLaurent Bercot2021-02-131-1/+2
|
* Prepare for 2.10.0.2Laurent Bercot2021-02-115-3/+15
|
* Solaris: get endianness info wherever we canLaurent Bercot2021-02-051-1/+1
|
* Work around broken shells, including bash and dash. Yeah.Laurent Bercot2021-02-011-1/+1
|
* Align infinity on 2^61Laurent Bercot2021-01-271-1/+1
|
* version: 2.10.0.1v2.10.0.1Laurent Bercot2021-01-191-1/+1
|
* Better deps.makLaurent Bercot2021-01-191-0/+1
|
* Don't touch /dev/urandom when getrandom() existsLaurent Bercot2021-01-151-9/+8
|
* Prepare for 2.10.0.1Laurent Bercot2021-01-145-3/+15
|
* Undocument pathexec functions (replaced with exec.h stuff)Laurent Bercot2021-01-141-121/+0
|
* bugfix: genqdyn_n() definitionLaurent Bercot2021-01-122-4/+4
|
* version: 2.10.0.0v2.10.0.0Laurent Bercot2021-01-101-1/+1
|
* INSTALL clarification about sysdepsLaurent Bercot2021-01-021-2/+3
|
* Document latest changesLaurent Bercot2021-01-022-2/+8
|
* Remove -fno-stack-protector from default CFLAGSLaurent Bercot2020-12-281-1/+0
|
* Add chroot sysdep, fix endianness sysdep string in .hLaurent Bercot2020-12-143-1/+22
|
* Add mkptemp2()Laurent Bercot2020-12-094-16/+28
|
* Reflect changes in docLaurent Bercot2020-12-094-7/+16
|
* Get rid of webipc.h and DJBUNIX_FLAG_*Laurent Bercot2020-12-0930-165/+162
| | | | | | | | | | | | | | 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-079-8/+14
|
* Fix iobufferk_init on recent Linux; remove last superfluous coeLaurent Bercot2020-12-043-20/+9
|
* Add documenting comments to exec.hLaurent Bercot2020-12-041-26/+19
|
* Fix sysdep lib filling of config.makLaurent Bercot2020-11-302-4/+9
|
* Revamp lock primitives; prepare for 2.10.0.0 instead of 2.9.4.0Laurent Bercot2020-11-2919-237/+101
| | | | | | | | | | | flock() doesn't have a way to test for a lock without taking it. lockf() doesn't have shared locks. The only way to have both is fcntl(). So I rewrote all the locking stuff around fcntl(), and used the opportunity to change the interface. The point of changing the interface is to stop having to bother with the old one, so to hell with compatibility, let's just do a major bump.
* Do not use skalibs/environ.hLaurent Bercot2020-11-262-10/+10
|
* trivial bugfixLaurent Bercot2020-11-261-1/+1
|
* child_spawn cleanup, configure cleanupLaurent Bercot2020-11-257-209/+230
|
* Fix typosLaurent Bercot2020-11-251-9/+9
|
* Complete revamp of the pathexec functionsLaurent Bercot2020-11-2454-209/+435
| | | | | | | | | | | | | | | | | - pathexec_run is now called exec_ae a for provided file name (default: argv[0]) e for provided envp (default: environ) - pathexec is now called mexec. m for merge environment. Option letters are: a for provided file name (default: argv[0]) e for provided envp (default: environ) f for provided envp *and* length of the envp m for provided modif string plus its length (the length is always needed because the modifs are null-terminated) n for provided modif string, length *and* number of modifs - functions have a foo0 version for _exit(0) when argv[0] is null - functions have a xfoo version to die if the exec fails - and a xfoo0 - Compatibility #defines and #includes are there until the next major bump
* Save syscalls on coe and ndelay_onLaurent Bercot2020-11-234-6/+4
|