[CRIU] Re: [PATCH 14/16] parasite: To execute parasite blob we need
prepare regs
Pavel Emelyanov
xemul at parallels.com
Tue Feb 14 05:47:05 EST 2012
> +static void parasite_setup_regs(unsigned long new_ip, user_regs_struct_t *regs)
> +{
> + regs->ip = new_ip;
> +
> + /* Avoid end of syscall processing */
> + regs->orig_ax = -1;
> +
> + /* Make sure flags are in known state */
> + regs->flags &= ~(X86_EFLAGS_TF | X86_EFLAGS_DF | X86_EFLAGS_IF);
Why these flags?
> +}
More information about the CRIU
mailing list