[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080426.225432.128575953.davem@davemloft.net>
Date: Sat, 26 Apr 2008 22:54:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: samuel.thibault@...-lyon.org
Cc: mtk.manpages@...il.com, mtk.manpages@...glemail.com,
andi@...stfloor.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH,TRIVIAL] AF_UNIX, accept() and addrlen
From: Samuel Thibault <samuel.thibault@...-lyon.org>
Date: Sat, 26 Apr 2008 02:44:45 +0100
> AF_UNIX: make unix_getname use sizeof(sunaddr->sun_family) instead of
> sizeof(short).
>
> Signed-off-by: Samuel Thibault <samuel.thibault@...-lyon.org>
This is just syntactic masterbation, sa_family_t is typedef'd
"unsigned short".
No system on planet earth providing the BSD sockets API uses
anything other than uint16_t or unsigned short for this.
Sorry, I'm not applying this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists