[CRIU] Re: [PATCH] service-fd: Rework it to use in hight performance code

Cyrill Gorcunov gorcunov at openvz.org
Fri Sep 7 09:20:32 EDT 2012


On Fri, Sep 07, 2012 at 05:14:59PM +0400, Pavel Emelyanov wrote:
> > What I really need is to check that fd is service file descriptor
> > with mandatory type. I added this _any-fd_ case only because you
> > were insisting on form like
> > 
> > 	return fd > serice_fd_rlim_cur - SERVICE_FD_OFF_MAX;
> 
> I was sure that we need to check for fd being _any_ service, regardless of
> type, but if you insist, that we do need to check type then OK.

Yeah, unfortunately I need precise type here. I'll update and re-send.


More information about the CRIU mailing list