W = waiting (on request queue) R = running (on work queue) D = responding (on done queue)
Make it so we can tell wither client is sending old or new values
Change is backwards compatible - if a client uses the linux bits, responses use linux bits. If new bits are used, responses use new bits.
Add autoconf stuff for large file support, in case it is needed on some system. Include config.h in all test programs. Add test for running executables out of diod fs (mmap). Fix some compiler warnings on 32 bit systems.
Used the version of fsx.c supplied with xfstests
- dead assigment of now = time (NULL) in dtop.c dropped - null deref in list.c assertion under complex conditions commented out (list.c can be considered pretty solid at this point) - make np.c memmove conditional on non-null 's' pointer
Later versions of glibc make setgroups per-process even though the kernel implements it per-thread. We want per-thread so for now bypass glibc with syscall(SYS_setgroups).
Add noreturn attribute to various *_exit functions
This make report generated by llvm static analyzer much more usefull.
Close errors were masked as close occurred when the fid was freed (via callback in the fidpool code), where there was no opportunity to return an error. Move this to diod_clunk () where it belongs and ensure errors are returned properly, and that fid is removed regardless per Plan9 clunk(5).
This is simply to exercise running with rfdno != wfdno.
The internal API changed for the following functions: - diod_sock_startfd () - npc_start () - npc_mount () Drop -s,--stdin option from diod, diodcat. Add -r,--rfdno and -w,--wfdno option to diod. Rename -w,--wthreads diod option to -t,--wthreads. Fix mount.diod so rfdno and wfdno don't have to be the same. Fix tests that used the diod -s option to use -r0 -w0. Fix tests that used the updated API functions.
Do not run test requiring root when fakeroot is used
When build process is run under fakeroot reported UID is 0, but it is not enough to run tests requiring root access. Using fakeroot is needed for example for building Debian package.