[ARM] 3308/1: old ABI compat: struct sockaddr_un
authorNicolas Pitre <nico@cam.org>
Wed, 8 Feb 2006 21:19:36 +0000 (21:19 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Feb 2006 21:19:36 +0000 (21:19 +0000)
Patch from Nicolas Pitre

struct sockaddr_un loses its padding with EABI.  Since the size of the
structure is used as a validation test in unix_mkname(), we need to
change the length argument to 110 whenever it is 112.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found