[CRIU] [PATCH 1/2] fsnotify: Open handle with O_PATH

Pavel Emelyanov xemul at parallels.com
Tue Feb 25 10:55:02 PST 2014


On 02/25/2014 12:21 PM, Cyrill Gorcunov wrote:
> 
> Otherwise if the mark is set up on link we end
> with -ELOOP error trying to open it. 

I don't understand this explanation. Please, elaborate.

> Thus, use
> O_PATH pointing the kernel that we're not going
> to read/write this descriptor.
> 
> Repored-by: Andrew Vagin <avagin at parallels.com>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> Acked-by: Andrew Vagin <avagin at parallels.com>
> ---
>  fsnotify.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 




More information about the CRIU mailing list