git: 7523914d08f9 - stable/12 - Correct description for kern.proc.proc_td
Ed Maste
emaste at FreeBSD.org
Fri Feb 5 02:52:48 UTC 2021
The branch stable/12 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=7523914d08f9afba1b15f051bc34245cd551c725
commit 7523914d08f9afba1b15f051bc34245cd551c725
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-05 02:51:45 +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
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit edc374e7c41d3d9e28e0b3a76bc9ed021d7db571)
---
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 566b9a8ea43a..04d82d30f8c2 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -3167,7 +3167,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