aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* GNU manages to botch dirfd() too. POSIX is hard!Laurent Bercot2017-12-211-0/+3
|
* Add dirfd sysdep, because Solaris sucksLaurent Bercot2017-12-211-0/+19
|
* Big 2.6.3.0 reorganizationLaurent Bercot2017-12-217-2/+102
| | | | | | | - Add libposixplz, update headers - Add memmem and friends - Add textmessage to libunixonacid - Update some sysdeps tests
* Add O_DIRECTORY sysdepLaurent Bercot2017-11-221-0/+5
|
* Add nsgetparent sysdepLaurent Bercot2017-08-281-0/+12
|
* Change xexecvep exit codes ; add namespaces sysdepLaurent Bercot2017-08-231-0/+12
|
* Change setgroups() management, in particular add skalibs_setgroups()Laurent Bercot2017-07-161-39/+0
|
* Add egidingroups sysdeps, change fd_close() to void and saving errno, ↵Laurent Bercot2017-07-161-0/+39
| | | | propagate changes
* Accommodate some broken GNU toolchains by including sys/types.h in sysdeps ↵Laurent Bercot2017-05-162-0/+2
| | | | tests
* bugfixes: invalid clockmon detection and futimens detectionLaurent Bercot2017-05-151-0/+3
|
* Adjust ftms for trysetgroups.c (glibc changed APIs without major version ↵Laurent Bercot2017-04-301-0/+8
| | | | bump -_-)
* Fix getrandom() detection: need to run the test, not only link!Laurent Bercot2017-04-261-1/+2
|
* Align ancillary buffers on struct cmsghdr and int boundariesLaurent Bercot2017-04-232-4/+12
|
* More arc4random_addrandom fixes, how can clang be such a PITA ?Laurent Bercot2017-03-161-1/+1
|
* Fix arc4random_addrandom detection for -Werror=pointer-signLaurent Bercot2017-03-161-1/+2
|
* Better pipe2 detection on BSD systemsLaurent Bercot2017-03-151-2/+14
|
* Fix trydevurandom testLaurent Bercot2017-03-151-1/+1
|
* sysdeps tests cleanup. (I expect BSDs to break, as usual.)Laurent Bercot2017-03-1530-77/+24
|
* Types change: big pass on libstddjb and libunixonacidLaurent Bercot2017-02-214-4/+6
| | | | libdatastruct still missing, library still not functional
* More types changesLaurent Bercot2017-02-171-0/+1
| | | | | | | | | 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
* add arc4random_addrandom sysdep; next batch of types changes.Laurent Bercot2017-02-151-0/+12
| | | | | The library isn't supposed to be functional yet: there are still a lot of type mismatches.
* More work on the types. This commit builds but has errors.Laurent Bercot2017-01-251-0/+22
| | | | | | | Rework src/headers entirely: build skalibs/types.h Convert skalibs/fmtscan.h types. Propagate changes until it builds. There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul.
* Fix trygetrandom.c to correctly detect getrandom() on muslLaurent Bercot2016-12-051-0/+1
|
* More strict test for SKALIBS_HASTIMER (must have struct itimerspec and ↵Laurent Bercot2016-10-241-2/+4
| | | | struct sigevent too)
* Add the alarm library, first draft.Laurent Bercot2016-10-242-0/+22
|
* Clean up and modernize librandom.Laurent Bercot2016-10-143-54/+33
| | | | | | | | | | | | | | | | | | | | | | 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.
* Fix tryfutimens.c header inclusion. The test should be good now...Laurent Bercot2016-04-271-0/+4
|
* Help Solaris finds its own futimens() in its own assLaurent Bercot2016-04-271-3/+5
|
* Even less standards for futimes()Laurent Bercot2016-04-271-0/+2
|
* futimes() is not POSIX, so add some ftmsLaurent Bercot2016-04-271-0/+4
|
* Add new sysdeps for futimens() and futimes(), adapt touch() implementationLaurent Bercot2016-04-272-0/+23
|
* - sysdeps for strnlen (Solaris... sigh)Laurent Bercot2015-07-131-0/+4
| | | | - rc for 2.3.5.2
* Applied Roman Kimov's fixesv2.3.1.3Laurent Bercot2015-03-131-1/+0
|
* Add _GNU_SOURCE to trynbwaitall.c because glibc headersLaurent Bercot2014-12-311-0/+3
| | | | | don't define kill() with only _BSD_SOURCE. That's very disappointing from GNU.
* OK, this one works, and the problem was actually on my side (failure toLaurent Bercot2014-12-213-19/+4
| | | | | | use CMSG_LEN where required in tryancilautoclose). Also, good news: the sys/param.h inclusion in FreeBSD isn't necessary anymore.
* next generation of the FreeBSD fix...Laurent Bercot2014-12-213-15/+5
|
* So MSG_WAITALL can block even with MSG_DONTWAIT... wtfbsdseriously.Laurent Bercot2014-12-211-13/+6
| | | | | Only include MSG_WAITALL when it's tested nb, then. Also test yet another fix for the tryancilautoclose FreeBSD problem.
* Stricter trynbwaitall to actually catch the problemsLaurent Bercot2014-12-211-3/+8
|
* So the non-portable MSG_DONTWAIT may alleviate the problem... mightLaurent Bercot2014-12-212-2/+19
| | | | as well use it on architectures that support it.
* Something is rotten in the state of FreeBSD... but we all knew itLaurent Bercot2014-12-201-1/+2
| | | | already. More tentative workarounds.
* FreeBSD now chokes on tryancilautoclose ; tentative fixLaurent Bercot2014-12-201-31/+33
|
* Found the BSD unixmessage bug. recvmsg(..., MSG_WAITALL) blocksLaurent Bercot2014-12-201-0/+117
| | | | | | 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.
* initial commit with rc for skalibs-2.0.0.0Laurent Bercot2014-09-1835-0/+767