Report hook exclusion count in ready record

Phase 1 of the Wine/Proton stage (decisions 5, 18): the helper ready record now carries hook_exclusions with the deduplicated stored exclusion count, so Cthulhu can confirm a helper applied the --exclude-hook-program flags it was sent. Older helpers without the field parse as zero.
This commit is contained in:
hjozwiak committed 2026-11-01 23:25:43 -05:00
1 parent 78b70e1ab9
commit 20d2169d56
3 files changed
+32 -1

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ int main() {
oversized[WINE_ACCESS_MAX_HOOK_EXCLUSION_LENGTH] = 0;
ok &= check(wine_access_hook_exclusions_add(&exclusions, oversized.data()),
"maximum-size exclusion is accepted");
ok &= check(exclusions.count == 2,
"rejected exclusions do not change the stored count");
static WineAccessHookExclusions parsed;
const int added = wine_access_hook_exclusions_parse(