Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2016 11:52:29 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Eric van Gyzen <vangyzen@FreeBSD.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: kinfo_proc::ki_tdname truncation
Message-ID:  <20161206095229.GL54029@kib.kiev.ua>
In-Reply-To: <3379ac69-16e0-4071-8e69-4fb05b011ba7@FreeBSD.org>
References:  <3379ac69-16e0-4071-8e69-4fb05b011ba7@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161206095229.GL54029>