Skip to content
Commit 2e8ddb2d authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

proc: Don't use parent proc_self_fd cached descriptor



When we call open_proc(PROC_SELF, ...) the /proc/self descriptor is
cached in criu. If the process fork()-s after than and child goes
open_proc(PROC_SELF, ...) then it will get the parent's proc descriptor.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: default avatarAndrew Vagin <avagin@virtuozzo.com>
parent c9c41ddf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment