feat(libkernel): implement killpg #4671
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4671"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by jagrat04 on 2026-10-12T18:25:35Z.
What
Implement
killpg(+yoBbbK8cuk) inlibkernel:killpg_nid_postfixdelegating process group signaling tokill_nid_postfix(-pgrp, guest).EINVAL(22) as specified in FreeBSDsys_killpg.GuestKillverifying signaling process groups0andself, rejection of negative and non-existent process groups (EINVAL/ESRCH), and invalid signal numbers.Tested
GuestKilltest suite: verifiedkillpg_nid_postfixwith process groups0andself(signal 0 check and signal 15 delivery), rejection of negative process groups withEINVAL, non-existent groups withESRCH, and invalid signals withEINVAL.python tools/check_conventions.py --base origin/mainpassed cleanly.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T18:34:47Z.
Progress report (
e0fad55→f08dc5e)📈 System libraries: 87.58% (+0.01%, +1 implemented functions)
✅ 1 implemented
killpg_nid_postfixImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T21:14:15Z.
Checked
killpgagainst FreeBSD'ssys_killpg(negative group →EINVAL, otherwisekillpg1), the newGuestKillcases (they fail to link without the change) and the debt entry.docs/dev/debt/libkernel.mdconflicted with main next tosigaction; I rebased, keeping main'ssigactionline and merging thekill, killpgentry.guest_killpasses on the rebased tree; merging once CI is green.