qemu-e2k/linux-user
Michael Forney b1d2e476e9 linux-user: Remove obsolete F_SHLCK and F_EXLCK translation
These lock types are unsupported by Linux since v2.2[0][1] and
always return EINVAL (except on SPARC up until v2.6, which just
warned).

musl libc does not define these constants, so just remove them from
the translation cases.

[0] https://github.com/mpe/linux-fullhistory/blob/v2.2.0/fs/locks.c#L322-L324
[1] https://github.com/mpe/linux-fullhistory/blob/v2.2.0/fs/locks.c#L429-L445

Signed-off-by: Michael Forney <mforney@mforney.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210114223602.9004-1-mforney@mforney.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-01-21 13:27:34 +01:00
..
2019-06-12 13:20:21 +02:00
2021-01-18 10:05:06 +00:00
2021-01-07 05:09:41 -10:00
2021-01-18 10:05:06 +00:00
2021-01-18 10:05:06 +00:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2020-02-12 18:56:41 +01:00
2019-06-10 07:03:34 -07:00