vpnhide/data
okhsunrog 22d9f62ce0 kpm: speak the control/stats protocol over ctl0
Dispatch the KernelPatch ctl0 supercall on the §4 header kind:
- config  -> vpnhide_parse_config: per-uid hookmask + debug (replaces the
  uid-only target set; each hook now gated by its bit, enabling per-hook
  control). The decimal load-args path stays for headless QEMU bring-up and
  enables the full kernel mask.
- status  -> vpnhide_format_status: backend id, kver, installed-hook mask,
  dominant error (ok / partial_hooks), via out_msg + clamp_to_line.
- stats   -> format wired; per-(uid,hook) counters are a follow-up (TODO).

Add backend ids (kmod/kpm/zygisk/lsposed, protocol §4.3) to the registry so
the status emitter and the app share one source — codegen now renders them
to C/Rust/Kotlin alongside the hook ids and error codes.
2026-06-28 11:53:30 +03:00
..
hooks.toml kpm: speak the control/stats protocol over ctl0 2026-06-28 11:53:30 +03:00
interfaces.toml chore(codegen): drop unused suffix forms digits_optional / any 2026-04-26 05:16:18 +03:00