blob: 3abe7768b91efc6244e42e5017c4ba0182800937 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
}
|