David S. Miller 7379b42b60 [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>
2007-10-13 21:53:12 -07:00
..
2007-08-11 15:47:40 -07:00
2007-09-06 11:10:56 +09:00
2007-10-13 00:53:01 +01:00
2007-08-27 00:29:25 -04:00
2007-10-09 15:56:24 +09:00
2007-07-17 10:23:03 -07:00
2007-10-13 10:01:23 -07:00