Mark Johnston c7f893a42b ps(1): Fix formatting of the "command" field for kernel threads.
When -H is specified, for kernel threads the command is formatted as
"<proc name>/<td name>" and truncated to MAXCOMLEN.  But each of the
proc name and td name may be up to MAXCOMLEN bytes in length.

Also handle the ki_moretdname field to ensure that the full thread name
gets printed.  This is already handled correctly when formatting for
"-o tdname".

Reported by:	freqlabs
Reviewed by:	freqlabs
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D25840
2020-07-28 15:26:19 +00:00
..
2020-07-26 15:10:33 +00:00
2019-03-09 00:30:13 +00:00
2018-11-04 17:56:16 +00:00
2017-12-07 01:57:27 +00:00
2020-05-21 15:15:50 +00:00
2018-12-03 20:01:51 +00:00
2020-02-02 20:51:28 +00:00
2018-06-17 05:14:50 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-06 08:43:14 +00:00