kinfo_proc::ki_tdname truncation

Konstantin Belousov kostikbel at gmail.com
Tue Dec 6 09:52:34 UTC 2016


On Mon, Dec 05, 2016 at 08:29:29PM -0600, Eric van Gyzen wrote:
> I just noticed that kinfo_proc::ki_tdname is three characters shorter than
> thread::td_name.  Would anyone object if I steal 4 bytes from ki_sparestrings to
> add a field for these three extra characters (and fix all consumers
> accordingly)?  Yes, I care enough about those three characters to do this.
> 

You also should update kinfo_proc32 and freebsd32_kinfo_proc_out() then.


More information about the freebsd-hackers mailing list