git: bfb217a826bd - releng/13.0 - Correct description for kern.proc.proc_td

Ed Maste emaste at FreeBSD.org
Wed Feb 10 17:10:43 UTC 2021


The branch releng/13.0 has been updated by emaste:

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

commit bfb217a826bdd920ddeef74f925944b911b69f89
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-02-02 21:55:51 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-02-10 17:10:01 +0000

    Correct description for kern.proc.proc_td
    
    kern.proc.proc_td returns the process table with an entry for each
    thread.  Previously the description included "no threads", presumably
    a cut-and-pasteo in 2648efa621748.
    
    Description suggested by PauAmma.
    
    PR:             253146
    Approved by:    re (gjb)
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit edc374e7c41d3d9e28e0b3a76bc9ed021d7db571)
    (cherry picked from commit dbe043d42cda38e7f4186f0c0ed39569b713f05b)
---
 sys/kern/kern_proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index ae80ba9ed5ed..305bc7e8a2ef 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -3186,7 +3186,7 @@ static SYSCTL_NODE(_kern_proc, (KERN_PROC_PID | KERN_PROC_INC_THREAD), pid_td,
 
 static SYSCTL_NODE(_kern_proc, (KERN_PROC_PROC | KERN_PROC_INC_THREAD), proc_td,
 	CTLFLAG_RD | CTLFLAG_MPSAFE, sysctl_kern_proc,
-	"Return process table, no threads");
+	"Return process table, including threads");
 
 #ifdef COMPAT_FREEBSD7
 static SYSCTL_NODE(_kern_proc, KERN_PROC_OVMMAP, ovmmap, CTLFLAG_RD |


More information about the dev-commits-src-all mailing list