[CRIU] [PATCH] sk-queue: Use int values in getsockopt

Cyrill Gorcunov gorcunov at openvz.org
Fri Jul 13 10:28:59 EDT 2012


On Fri, Jul 13, 2012 at 06:25:40PM +0400, Stanislav Kinsbursky wrote:
> 
> Ок, now I see.
> But, anyway, it looks strange...
> I.e. you pass pointer and data size. And probably will expect, that
> this pointer will be filled with valid data. But kernel leaves
> garbage in passed memory regardless to passed size.
> And this is not that must be expected by user from my POW.

Yeah, it's strange, agree, but hell knows, it seems to be a part of ABI
and I fear we can't change it.

	Cyrill


More information about the CRIU mailing list