Skip to content

0.15.1: openkal-musl 0.19.1 - #29

Merged
Sunrisepeak merged 1 commit into
mainfrom
pin-openkal-musl-0-19-1
Sep 21, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
pin-openkal-musl-0-19-1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

openkal-musl 0.19.1 moves its openkal-windows pin to 0.10.1, which makes a file opened for writing describable on Windows.

kal_fs_file_info answers through NtQueryInformationFile(FileBasicInformation), which requires FILE_READ_ATTRIBUTES, and FILE_GENERIC_WRITE does not carry it — so a write-only handle held every right except the one needed to ask it about itself, and fstat on a descriptor opened a line earlier returned EACCES. libarchive performs exactly that pair when opening an archive for output.

Measured on three real-Windows conformance jobs in openkal-windows: with the fix the query answers 0, without it 6 (kal_err_access). Wine answers 0 either way and is recorded there as not being a second opinion.

Both dependencies were registered, published and verified resolvable from the published index before this pin moved:

Downloading mcpplibs.openkal-musl v0.19.1
   kernel-abi  openkal  (openkal-windows@0.10.1, graph)
   c-abi       musl     (openkal-musl@0.19.1, graph)

0.19.1 moves its openkal-windows pin to 0.10.1, which makes a file opened for
writing describable on Windows. `kal_fs_file_info` answers through
NtQueryInformationFile(FileBasicInformation), which requires
FILE_READ_ATTRIBUTES, and `FILE_GENERIC_WRITE` does not carry it -- so a
write-only handle held every right except the one needed to ask it about
itself, and `fstat` on a descriptor opened a line earlier returned EACCES.

Measured on three real-Windows conformance jobs in openkal-windows: with the
fix the query answers 0, without it 6. Wine answers 0 either way and is
recorded there as not being a second opinion.

0.19.1 and 0.10.1 were registered, published and verified resolvable from the
published index before this pin moved.
@Sunrisepeak
Sunrisepeak merged commit 37cd230 into main Sep 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant