mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
c7f893a42b
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 |
||
---|---|---|
.. | ||
extern.h | ||
fmt.c | ||
keyword.c | ||
Makefile | ||
Makefile.depend | ||
nlist.c | ||
print.c | ||
ps.1 | ||
ps.c | ||
ps.h |