aboutsummaryrefslogtreecommitdiff
path: root/libunbound/python/doc/examples
diff options
context:
space:
mode:
authorGenericRikka <rikka.goering@outlook.de>2026-04-20 23:32:49 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-04-21 23:36:07 +0000
commit0f89380a3d208d67698f2d35afd35257e5fdbe09 (patch)
tree3cc739d6314e72b20b85617168c97eb24463c1cb /libunbound/python/doc/examples
parent5c89d661a023c83a2001cf5b354b09c7d3ac91d8 (diff)
kern/proc: expose reaper PID and subtree root in struct kinfo_procHEADmain
Expose process reaper metadata through struct kinfo_proc so userland can reconstruct reaper hierarchies from kern.proc.all without adding a new procctl(2) operation. Two pid_t fields are added by carving 8 bytes from ki_sparestrings (46 -> 38), restoring KI_NSPARE_INT to 2 and keeping sizeof(struct kinfo_proc) unchanged: ki_reaper: PID of the owning reaper process ki_reapsubtree: PID of the direct child of the reaper that roots the subtree the process belongs to fill_kinfo_proc_pgrp() populates both fields under proctree_lock. kvm_proclist() is updated for crash dump consumers. The freebsd32 compat struct and freebsd32_kinfo_proc_out() are updated accordingly. PR: 293871 Reviewed by: kib MFC after: 1 week Differential revision: https://reviews.freebsd.org/D56538
Diffstat (limited to 'libunbound/python/doc/examples')
0 files changed, 0 insertions, 0 deletions