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
F103236787: D47010.id.diff
Fri, Nov 22, 12:31 PM
Unknown Object (File)
Tue, Nov 19, 4:08 PM
Unknown Object (File)
Sun, Nov 17, 7:25 PM
Unknown Object (File)
Fri, Nov 15, 1:59 PM
Unknown Object (File)
Wed, Nov 6, 7:04 PM
Unknown Object (File)
Wed, Nov 6, 11:01 AM
Unknown Object (File)
Tue, Nov 5, 5:31 AM
Unknown Object (File)
Sat, Nov 2, 12:39 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.