Sign in
nest-open-source
/
nest-cam
/
4320010
/
strace
/
0a5c7a0d880fea205c91be8a5c7927f7fca3b0ac
/
.
/
strace
/
linux
/
sh64
/
get_scno.c
blob: 50a52232a8e85f2088eb011f97762b184d079a7f [
file
] [
log
] [
blame
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
if
(
upeek
(
tcp
->
pid
,
REG_SYSCALL
,
&
tcp
->
scno
)
<
0
)
return
-
1
;
tcp
->
scno
&=
0xffff
;
return
1
;
}