Evrim Cicek
f658dd8dad
fix(libkernel): convert a directory flock in place as FreeBSD does on Windows
2026-10-27 22:32:46 +03:00
Evrim Cicek
c1fbed0764
test(libkernel): expect flock on a directory to conflict with another open of it on Windows
2026-10-27 21:02:51 +03:00
boykopovar
f38d29fd08
refactor(sdk): add canonical headers for remaining libraries
2026-10-24 23:17:42 +03:00
Dean
57c44fd6b8
Merge pull request #8378 from orezraey/fix/guest-tests-unicode-temp-paths
...
test(libs): keep non-ASCII temporary paths out of narrow Windows calls in guest tests
2026-10-23 20:45:15 +13:00
xXPBSXx and Claude Sonnet 5.5
0e2252f638
fix(libkernel): accept flock on a directory descriptor on Windows
...
FreeBSD 11.4's sys_flock only requires a vnode descriptor, so flock on a directory descriptor succeeds. On Windows the call reached LockFileEx, which rejects a directory handle with ERROR_INVALID_PARAMETER, and flock_nid_postfix turned that into a runtime_error that aborted the process. A directory descriptor now returns 0 without taking a lock; the new guest_file_lock_directory case covers it and the debt entry records that no lock is held.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-21 13:35:39 +02:00
orezraey and Claude Opus 5.5
1f5ab519b3
test(libs): keep non-ASCII temporary paths out of narrow Windows calls in guest tests
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-20 08:46:41 -03:00
thuanquang and Claude
ed021c48c5
test(libkernel): check the file lock process case with four child processes
...
Co-Authored-By: Claude <[email protected] >
2026-10-20 01:16:11 +07:00
thuanquang and Claude
83e7dcfce2
test(libkernel): wait up to 30 s for the file lock test's child process
...
Co-Authored-By: Claude <[email protected] >
2026-10-19 19:25:47 +07:00
David
b962be8536
test(libc): read and write through another descriptor while a flock is held
2026-10-13 22:29:20 +00:00
Ondra97
bd842bc7d2
fix(libs): share Windows flock state between duplicated descriptors
2026-10-12 16:03:47 +02:00