diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 05:56:31 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-14 06:53:12 +0200 |
commit | 7379b42b607782695f49d05c80d3eb99e5072908 (patch) | |
tree | 7187727755fbcb36b66c583c7ed89cb169a52f12 /arch/ppc/Kconfig.debug | |
parent | [SPARC/64]: Prepare to remove of_platform_driver name. (diff) | |
download | linux-7379b42b607782695f49d05c80d3eb99e5072908.tar.xz linux-7379b42b607782695f49d05c80d3eb99e5072908.zip |
[SPARC64]: Fix bugs in SYSV IPC handling in 64-bit processes.
Thanks to Tom Callaway for the excellent bug report and
test case.
sys_ipc() has several problems, most to due with semaphore
call handling:
1) 'err' return should be a 'long'
2) "union semun" is passed in a register on 64-bit compared
to 32-bit which provides it on the stack and therefore
by reference
3) Second and third arguments to SEMCTL are swapped compared
to 32-bit.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/ppc/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions