AnyPS5/core/libs/prx/libkernel/File
Zurisen d2b8e66c09 fix(libkernel): decode flock operations as FreeBSD does
FreeBSD sys_flock takes LOCK_UN over LOCK_EX over LOCK_SH, ignores other
bits and fails with EBADF when none of the three is set. The operation
reached the host unchanged, so malformed operations differed between
hosts: Linux rejects them with EINVAL and the Windows lock tracking threw.
Decode the operation before either host sees it.
2026-10-10 06:49:20 +02:00
..
include fix(libkernel): give flock BSD semantics on Windows 2026-10-10 06:49:20 +02:00
src fix(libkernel): decode flock operations as FreeBSD does 2026-10-10 06:49:20 +02:00