Skip to content

0.16.0 --- openkal.map (openkal 0.18) - #33

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 fstat64 first, since the kernel maps
beyond a file's end and maps some devices; kal_map_sync is msync(MS_ASYNC). No
PROT_EXEC.

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