Skip to content

0.19.0 --- openkal 0.23: placement and file parts over placeholders; grants and attenuation; faults, fault reports, samples, touches; resources - #43

Merged
Sunrisepeak merged 5 commits into
mainfrom
openkal-0.23
Nov 2, 2026
Merged

Sunrisepeak merged 5 commits into
mainfrom
openkal-0.23

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

openkal-windows 0.19.0 for openkal 0.23 (branch openkal-0.23).

  • kal_exec_alloc_at; regions of placeholders (VirtualAlloc2 MEM_RESERVE_PLACEHOLDER) replaced by views of a pagefile section, so kal_exec_map_part maps a file's part where it is asked (KAL_EXEC_PROP_FILE on Windows), privately with KAL_EXEC_MAP_WRITE; kal_exec_seal_part; PrefetchVirtualMemory.
  • kal_fs_resolved_name (GetFinalPathNameByHandleW); kal_fs_list_next_info (FileIdFullDirectoryInformation); a stat by name (NtQueryInformationByName, FileStatInformation).
  • Grants conveyed by inheritable duplicates (PROC_THREAD_ATTRIBUTE_HANDLE_LIST, KAL_PREOPENS/KAL_GRANT_RIGHTS checked against the parent), kal_fs_dir_attenuate.
  • KAL_PINFO_FAULTS; the fault report (an unhandled-exception filter, a new thread for a stack overflow, COFF/ELF symbols); samples (a sampler thread); touches (vectored exception handler).
  • kal_env_resources (economy: low memory priority), KAL_SPAWN_RESOURCES_*, kal_memory_info within a job's limits.

Conformance passes on real Windows (llvm, gcc, msvc) and under wine.

…a name with every link followed, GetFinalPathNameByHandleW

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak Sunrisepeak changed the title 0.19.0 --- openkal 0.23: a region at an address, VirtualAlloc at it 0.19.0 --- openkal 0.23: a region at an address, VirtualAlloc at it; a name with every link followed, GetFinalPathNameByHandleW Nov 2, 2026
Sunrisepeak and others added 4 commits November 3, 2026 06:08
…n views, so a part of it is a file's (KAL_EXEC_PROP_FILE) and is read in; grants as inherited handles (KAL_PROCESS_PROP_GRANT_DIR); a handle with less, its records and its unchanging listings; FileIdFullDirectoryInformation and NtQueryInformationByName; a fault reported by the filter that ends the program; samples by a context of the program's own; a fault ends a program as terminated; economy's memory priority

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…port libraries list every name the headers declare, a return type of several words included

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
… protected as the section's views are (KAL_EXEC_MAP_WRITE)

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…ority, which is the system's

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak Sunrisepeak changed the title 0.19.0 --- openkal 0.23: a region at an address, VirtualAlloc at it; a name with every link followed, GetFinalPathNameByHandleW 0.19.0 --- openkal 0.23: placement and file parts over placeholders; grants and attenuation; faults, fault reports, samples, touches; resources Nov 2, 2026
@Sunrisepeak
Sunrisepeak merged commit de0333e into main Nov 2, 2026
4 checks passed
@Sunrisepeak
Sunrisepeak deleted the openkal-0.23 branch November 2, 2026 23:18
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