[CRIU] [PATCH 3/4] timerfd: Add support of timerfd files
Cyrill Gorcunov
gorcunov at gmail.com
Tue Jun 24 11:59:09 PDT 2014
On Tue, Jun 24, 2014 at 10:38:08PM +0400, Pavel Emelyanov wrote:
> > +
> > + if (timerfd_settime(tmp, tfe->settime_flags, &v, NULL)) {
>
> Not cool. Arming the timer at fd restore time may result in timer firing
> before we jump into restorer code.
What you propose then? Restore them in PIE code?
>
> > + pr_perror("Can't settime for %#x", tfe->id);
> > + goto err_close;
> > + }
More information about the CRIU
mailing list