2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00
Andrew Vagin a1457a7b73 sysctl: restore sysctls for correct namespaces
When we don't use userns, __userns_sysctl_op is called
in context of the current process. A mount namespaces is restored
the last one, so when we restore namespaces, we see /proc from the
host pid namespace. In this case we can't use virtual pid to access
/proc/pid.

Let's open /proc/self/ns and use this descriptor to switch namespaces.

Cc: Tycho Andersen <tycho.andersen@canonical.com>
Fixes: f79f4546cf ("sysctl: move sysctl calls to usernsd")
Signed-off-by: Andrew Vagin <avagin@openvz.org>
Acked-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-10-09 18:25:35 +03:00
2015-10-07 14:57:28 +03:00
2015-10-09 18:25:00 +03:00
2015-10-08 13:27:32 +03:00
2015-07-24 18:57:35 +03:00
2015-08-03 17:06:42 +03:00
2012-03-25 23:31:20 +04:00
2015-07-23 15:12:50 +03:00
2015-04-22 15:39:05 +03:00
2013-04-01 12:29:06 +04:00
2015-09-21 12:15:28 +03:00
2014-12-19 18:58:46 +03:00
2015-10-09 18:25:00 +03:00
2012-07-30 13:52:37 +04:00
2015-09-21 11:51:39 +03:00
2013-04-30 20:17:55 +04:00
2014-09-30 21:48:10 +04:00
2014-09-30 21:48:13 +04:00
2015-08-18 18:17:31 +03:00
2014-09-30 21:48:13 +04:00
2015-10-05 13:11:31 +03:00
2015-10-05 13:16:14 +03:00
2015-08-18 18:17:31 +03:00
2015-10-05 13:16:14 +03:00
2015-08-03 17:14:18 +03:00
2015-09-28 22:00:36 +03:00
2015-10-07 14:57:28 +03:00
2014-09-03 20:56:58 +04:00
2015-03-13 14:42:54 +03:00
2014-09-03 20:48:36 +04:00
2015-03-16 15:58:32 +03:00
2015-09-21 12:14:07 +03:00
2015-05-19 22:38:06 +03:00
2013-12-12 09:58:50 +04:00
2013-12-12 09:58:50 +04:00
2015-02-10 16:54:31 +03:00
2015-09-24 13:11:18 +03:00
2014-09-30 21:48:13 +04:00
2014-09-30 21:48:13 +04:00
2013-11-29 15:36:07 +04:00
2015-10-05 13:16:14 +03:00

CRIU (Checkpoint and Restore in Userspace)

An utility to checkpoint/restore tasks. Using this tool, you can freeze a running application (or part of it) and checkpoint it to a hard drive as a collection of files. You can then use the files to restore and run the application from the point it was frozen at. The distinctive feature of the CRIU project is that it is mainly implemented in user space.

The project home is at http://criu.org.

Pages worth starting with are:

How to contribute

Description
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%