criu/pie
Filipe Brandenburger d5bb7e9748 dump: preserve the dumpable flag on criu dump/restore
Preserve the dumpable flag, which affects whether a core dump will be
generated, but also affects the ownership of the virtual files under
/proc/$pid after restoring a process.

Tested: Restored a process with a criu including this patch and looked
at /proc/$pid to confirm that the virtual files were no longer all owned
by root:root.

zdtm tests pass except for cow01 which seems to be broken.
(see https://bugzilla.openvz.org/show_bug.cgi?id=2967 for details.)

This patch fixes https://bugzilla.openvz.org/show_bug.cgi?id=2968

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Change-Id: I8c386508448a84368a86666f2d7500b252a78bbf
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-05-14 01:02:37 +04:00
..
log-simple.c plugin: allow to use logging function in plugins 2013-12-18 21:52:12 +04:00
Makefile vdso.c: share the PIE part of the vDSO proxy machinery between all architectures 2014-03-19 21:09:01 +04:00
parasite.c dump: preserve the dumpable flag on criu dump/restore 2014-05-14 01:02:37 +04:00
pie.lds.S.in pie: Fix pie.lds.S.in script to work with the gold linker 2014-03-11 22:15:02 +04:00
restorer.c dump: preserve the dumpable flag on criu dump/restore 2014-05-14 01:02:37 +04:00
util-fd.c util-fd: print errors from send_fds 2014-04-09 13:24:40 +04:00
util.c headers: Move fcntl related data to include/fcntl.h 2013-11-14 22:13:10 +04:00
vdso-stub.c vdso.c: share the PIE part of the vDSO proxy machinery between all architectures 2014-03-19 21:09:01 +04:00
vdso.c vdso.c: share the PIE part of the vDSO proxy machinery between all architectures 2014-03-19 21:09:01 +04:00