Date: Tue, 13 Mar 2007 17:48:23 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Julian Elischer <julian@elischer.org> Cc: Dag-Erling Sm?rgrav <des@des.no>, FreeBSD Current <current@freebsd.org>, kmacy@FreeBSD.org Subject: LOCK_PROFILING variant struct sizes (Re: netstat wierdness?) Message-ID: <20070313214823.GA13287@xor.obsecurity.org> In-Reply-To: <45F706A2.5020106@elischer.org> References: <45F388D4.2080900@elischer.org> <45F45172.8070601@elischer.org> <86r6rt6z27.fsf@dwp.des.no> <45F706A2.5020106@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 13, 2007 at 01:16:34PM -0700, Julian Elischer wrote: > Dag-Erling Sm?rgrav wrote: > >Julian Elischer <julian@elischer.org> writes: > >>answering myself.. > >>comes from having options LOCK_PROFILING in my kernel. > >>adding the same to /etc/make.conf and recompiling netstat and libkvm=20 > >>helped. > >>(not sure if both are needed) > > > >This is very bad. LOCK_PROFILING should have no visible effect on > >userland. That is precisely what xinpcb, xunpcb, xtcpcb etc. are for: > >to isolate userland from kernel structures. They should not contain > >any locks or anything else which would be affected by LOCK_PROFILING > >or other kernel options. > > > >DES >=20 > sockstat actually told me that all those were the wrong size, so apparent= ly > they change size too.(!?) >=20 > I haven't gone to look at their definition yet, but as you say, it sounds= =20 > like > something was done wrong. Kip made some changes to this recently, perhaps he can comment. Kris --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF9xwnWry0BWjoQKURAsmCAKDYsPPZUq7UKQdfe9/PQW6nDfT2OgCfdukS KEuPUbFzun9jmpGB8T6XmCw= =BnUH -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070313214823.GA13287>