The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5c78797e42497270d8719590d11243a4473114c4

commit 5c78797e42497270d8719590d11243a4473114c4
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2022-08-12 22:12:20 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2022-08-20 17:33:17 +0000

    reap_kill_proc_locked(): remove outdated part of the comment
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Differential revision:  https://reviews.freebsd.org/D36207
---
 sys/kern/kern_procctl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys/kern/kern_procctl.c b/sys/kern/kern_procctl.c
index 79725686bc44..36372fd31bd4 100644
--- a/sys/kern/kern_procctl.c
+++ b/sys/kern/kern_procctl.c
@@ -281,10 +281,6 @@ reap_kill_proc_locked(struct thread *td, struct proc *p2,
         * into all structures during fork, ignored by iterator, and
         * then escaping signalling.
         *
-        * If need_stop is true, then reap_kill_proc() returns true if
-        * the process was successfully stopped and signalled, and
-        * false if stopping failed and the signal was not sent.
-        *
         * The thread cannot usefully stop itself anyway, and if other
         * thread of the current process forks while the current
         * thread signals the whole subtree, it is an application

Reply via email to