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

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 25 00:21:05 PST 2014


Otherwise if the mark is set up on link we end
with -ELOOP error trying to open it. 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(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fsnotify-Open-handle-with-O_PATH.patch
Type: text/x-patch
Size: 426 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140225/5ee2ae20/attachment.bin>


More information about the CRIU mailing list