Sign in
android
/
platform
/
external
/
strace
/
refs/tags/android-wear-o-preview-4
/
.
/
linux
/
i386
/
set_scno.c
blob: 3abe7768b91efc6244e42e5017c4ba0182800937 [
file
] [
log
] [
blame
]
static
int
arch_set_scno
(
struct
tcb
*
tcp
,
kernel_ulong_t
scno
)
{
#ifdef
HAVE_GETREGS_OLD
return
upoke
(
tcp
->
pid
,
4
*
ORIG_EAX
,
scno
);
#else
i386_regs
.
orig_eax
=
scno
;
return
set_regs
(
tcp
->
pid
);
#endif
}