Sign in
nest-open-source
/
nest-cam
/
4320010
/
strace
/
refs/heads/master
/
.
/
strace
/
linux
/
sh
/
get_syscall_result.c
blob: 5db3025489558526d652843f51f1602b4b79ef95 [
file
] [
log
] [
blame
] [
edit
]
static
int
get_syscall_result_regs
(
struct
tcb
*
tcp
)
{
/* new syscall ABI returns result in R0 */
return
upeek
(
tcp
->
pid
,
4
*
REG_REG0
,
(
long
*)&
sh_r0
)
<
0
?
-
1
:
0
;
}