Skip to content

0.19.0 --- openkal.map (openkal 0.18) - #43

Merged
Sunrisepeak merged 1 commit into
mainfrom
openkal-0.18.0
Oct 30, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
openkal-0.18.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Implements openkal.map of openkal 0.18.0 (mcpplibs/openkal#55): kal_map_file, kal_map_sync, kal_map_release, KAL_IFACE_MAP; provides-interfaces names it. The file's length and kind are checked at the call; no executable mapping.

Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com

…p, msync and munmap (openkal 0.18)

The file's length and kind are read with fstat first: the kernel maps beyond a
file's end and maps some devices, and the specification refuses both at the
call. kal_map_sync is msync(MS_ASYNC), the visibility the specification asks
for and not durability. No PROT_EXEC.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit ff8ce45 into main Oct 30, 2026
2 of 4 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