Page MenuHomeFreeBSD

procctl(2): Clarify the ESRCH error code case
ClosedPublic

Authored by arrowd on Oct 8 2024, 12:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 30, 11:08 PM
Unknown Object (File)
Fri, Mar 21, 11:20 AM
Unknown Object (File)
Tue, Mar 18, 10:01 AM
Unknown Object (File)
Mon, Mar 3, 8:54 AM
Unknown Object (File)
Feb 26 2025, 2:58 PM
Unknown Object (File)
Feb 25 2025, 7:11 AM
Unknown Object (File)
Feb 17 2025, 4:46 AM
Unknown Object (File)
Feb 17 2025, 4:27 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/libsys/procctl.2
758

Such cases are usually described by listing the error for each condition.
I.e. there should be yet another
.It Bq Er ESRCH
list element with the adapted text of your change.

  • Move the clarification into a separate list item

I would say something like 'No descendant processes can be found matching criteria specified in .Dv PROC_REAP_KILL request'.

Note that this thing kills not only children, but the whole (sub)tree. I also want the language to be similar to that from killpg(2).

This revision is now accepted and ready to land.Oct 8 2024, 4:38 PM
This revision was automatically updated to reflect the committed changes.