[PATCH] Fix IA64 success/failure indication in syscall auditing.
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 18 Nov 2005 14:43:54 +0000 (14:43 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Mar 2006 19:08:54 +0000 (14:08 -0500)
commitee436dc46a762f430e37952d375a23d87735f73f
tree3fde296efe8da60dff929e2891bff22bf46fe771
parent7306a0b9b3e2056a616c84841288ca2431a05627
[PATCH] Fix IA64 success/failure indication in syscall auditing.

Original 2.6.9 patch and explanation from somewhere within HP via
bugzilla...

ia64 stores a success/failure code in r10, and the return value (normal
return, or *positive* errno) in r8. The patch also sets the exit code to
negative errno if it's a failure result for consistency with other
architectures.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
arch/ia64/kernel/ptrace.c