]> git.baikalelectronics.ru Git - kernel.git/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)
commitdab1eb0378769eece37e90e9939d87c678a295e2
treea879592fe82042e78304919532aeaa89fcf98ce5
parent6f70c221dca8997e59219e7ea5abde9f334378b2
[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