% sysctl -ad | grep -i thread kern.proc.proc: Return process table, no threads kern.proc.proc_td: Return process table, no threads Cursory examination of the sysctl declarations (in sys/kern/kern_proc.c) suggests the latter should be something like "Return process table, including threads". Present in at least 12.1 and 14-current.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=edc374e7c41d3d9e28e0b3a76bc9ed021d7db571 commit edc374e7c41d3d9e28e0b3a76bc9ed021d7db571 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-02-02 21:55:51 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-02-02 22:00:05 +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 sys/kern/kern_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=dbe043d42cda38e7f4186f0c0ed39569b713f05b commit dbe043d42cda38e7f4186f0c0ed39569b713f05b Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-02-02 21:55:51 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-02-05 00:26:10 +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(-)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7523914d08f9afba1b15f051bc34245cd551c725 commit 7523914d08f9afba1b15f051bc34245cd551c725 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-02-02 21:55:51 +0000 Commit: Ed Maste <emaste@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(-)
A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bfb217a826bdd920ddeef74f925944b911b69f89 commit bfb217a826bdd920ddeef74f925944b911b69f89 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-02-02 21:55:51 +0000 Commit: Ed Maste <emaste@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(-)
Thank you for the submission Now merged to stable branches and releng/13.0
^Triage: Track merges