[CRIU] [PATCH cr 3/6] util: add ability to change a file descriptor on procfs (v2)

Andrey Vagin avagin at openvz.org
Fri Sep 7 10:59:37 EDT 2012


When a pidns is dumped, crtools uses procfs from this pidns
for getting information about zombies.

v2: Use close_proc() instead of restore_proc_fd().
    A current proc will be opened again, if it's required.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/util.h |    1 +
 util.c         |   15 +++++++++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-util-add-ability-to-change-a-file-descriptor-on-proc.patch
Type: text/x-patch
Size: 791 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120907/cfafa806/0003-util-add-ability-to-change-a-file-descriptor-on-proc.bin


More information about the CRIU mailing list