Sign in
android
/
platform
/
external
/
strace
/
refs/heads/oreo-m3-release
/
.
/
linux
/
sh
/
get_syscall_result.c
blob: f7b93b7465e9c5ecc95b7e89069f55d889382b4b [
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
,
&
sh_r0
)
<
0
?
-
1
:
0
;
}