LockCloseOnExec was 131072 and LockNoFollow 262144, which on Linux are O_NOFOLLOW and O_NOATIME, so the build lock got no-follow only by accident on x86 and not at all on ARM, where 131072 is O_LARGEFILE. LockNoFollow is now O_NOFOLLOW per platform: 256 on macOS, 32768 on ARM64 and ARMv7 Linux and Android, 131072 elsewhere. The build lock is opened without close-on-exec, as inherited_by_compilers, so compilers a killed builder leaves behind keep the output directory locked, which native_build_parallel_cases checks; macOS no longer differs there. The object store's sweep lock opens with each platform's own O_RDWR|O_CREAT|O_CLOEXEC.