[CRIU] [PATCH 3/8] unix: add ability to set callbacks for external sockets (v3)

Pavel Emelyanov xemul at parallels.com
Sun Dec 15 09:57:28 PST 2013


On 12/15/2013 07:20 PM, Andrew Vagin wrote:
> On Sat, Dec 14, 2013 at 12:07:10PM -0800, Shawn Landden wrote:
>>> If a callback can not handle a socket, it
>> must return CRIU_CB_SKIP.
>>
>> Why don't we just use -ENOTSUP?
> 
> I decided to not intersect with standard errors to avoid mishmash.
> 
> Now I think we may use ENOTSUP and maybe it's even more obvious.
> 
> Pavel, what do you think?

I think standard error codes would be better than home-brew.


More information about the CRIU mailing list