Credentials are restored here to allow CRIU perform privileged operations such as fork-with-pid or chroot().
Credentials are restored here to allow CRIU perform privileged operations such as fork-with-pid or chroot().
−
Threads are restored here for simplicity. If we restored them before, we'd have to "park" them while we change the memory layout. Instead of doing this, we first toss the memory arond, then create threads.
+
Threads are restored here for simplicity. If we restored them before, we'd have to "park" them while we change the memory layout. Instead of doing this, we first toss the memory around, then create threads.