]> err.no Git - linux-2.6/commit
[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)
commit99595d0237926b5aba1fe4c844a011a1ba1ee1f8
treea879592fe82042e78304919532aeaa89fcf98ce5
parenta73a3ff127df1b35d6771f7d3ce36373def8398f
[ARM] 3308/1: old ABI compat: struct sockaddr_un

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>
arch/arm/kernel/calls.S
arch/arm/kernel/sys_oabi-compat.c