On Tue, 15 Jan 2019 13:31:13 +0100
Stefan Agner wrote:
> + case F_OFD_GETLK:
> + case F_OFD_SETLK:
> + case F_OFD_SETLKW:
These probably need an #ifdef for systems that don't have those names
yet, but otherwise this looks reasonable?
-s
--
__
Linux 3.15 and newer introduced new open file description locks.
Currently pseudo prints a warning if fcntl is used with OFD locks:
unknown fcntl argument 37, assuming long argument.
However, calls to fcntl with a OFC lock set need a struct flock
pointer. Treat F_OFD_GETLK (and friends) like F_G