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
F109063085: D47010.diff
Fri, Jan 31, 7:49 AM
Unknown Object (File)
Mon, Jan 20, 2:32 AM
Unknown Object (File)
Fri, Jan 17, 4:38 PM
Unknown Object (File)
Fri, Jan 17, 3:42 PM
Unknown Object (File)
Fri, Jan 17, 12:41 PM
Unknown Object (File)
Wed, Jan 15, 5:30 AM
Unknown Object (File)
Wed, Jan 8, 11:42 PM
Unknown Object (File)
Dec 18 2024, 6:53 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 59852
Build 56737: arc lint + arc unit

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.