[lxc-devel] [RFC PATCH] lxc_cmd_stop_callback(): Fix return value handling of kill()
Thomas Jarosch
thomas.jarosch at intra2net.com
Mon Dec 21 19:07:01 UTC 2015
On Monday, 21. December 2015 07:26:42 Serge Hallyn wrote:
> Quoting Thomas Jarosch (thomas.jarosch at intra2net.com):
> > kill() returns 0 on success or -1 on error.
> >
> > I'm not sure how frozen processes react to signal delivery,
> > judging from the code below it's not possible and that's
> > the reason unfreeze() is called. Please double check.
>
> (no signed-off-by)
>
> nack - we in fact want to unfreeze, and return success, only if
> the kill succeeded.
thanks for checking!
Cheers,
Thomas
More information about the lxc-devel
mailing list