[CRIU] [PATCH] criu/test/zdtm/sockets_dgram: check the length of path used

Pavel Emelyanov xemul at parallels.com
Wed Aug 7 04:16:13 EDT 2013


On 08/07/2013 01:30 AM, Yicheng Qin wrote:
> From: Yicheng Qin <yichengq at google.com <mailto:yichengq at google.com>>
> Subject: [PATCH] test/zdtm/sockets_dgram: check the length of path used
> 
> Path generated in the test is copied into sun_path attribute in
> struct sockaddr_un. Additional check on whether sun_path can
> contain the whole path is added. It is useful because if sun_path
> can only contain the first part of the path, all sockadd_un
> will point to the same location, which leads to error.
> 
> Signed-off-by: Yicheng Qin <yichengq at google.com <mailto:yichengq at google.com>>

Applied. Yicheng, your patches came with tabs screwed-up. I'll fix that,
but try to avoid this in the future.



More information about the CRIU mailing list