Subject: Re: Use of sun_len in AF_UNIX socket addresses
To: None <tech-net@NetBSD.org>
From: Antti Kantee <pooka@cs.hut.fi>
List: tech-net
Date: 10/11/2006 23:35:39
On Wed Oct 11 2006 at 22:13:47 +0200, Christian Biere wrote:
> > You can't get rid of it since the kernel uses the same memory layout for
> > the structure. Of course you could play games, but that's not really
> > a thing I want to see just to hide the field. You can't set it wrong,
> > so does it really matter?
>
> A simple way to get rid of it would be renaming "sun_len".
Yes, see "games". Would we then obfuscate the kernel for the new name
or obfuscate the headers to have two definitions?
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/ http://www.NetBSD.org/
"la qualité la plus indispensable du cuisinier est l'exactitude"