- 11 Jul, 2013 9 commits
-
-
Cyrill Gorcunov authored
Quite convenient to know which exactly names are used. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Remove the first part from linues like this: libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6d83000) Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
make: Entering directory `/root/crtools/test/zdtm/live/static' make -C ../../lib make[1]: Entering directory `/root/crtools/test/zdtm/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/crtools/test/zdtm/lib' rm -f -f -r env00.pid env00.out* *env00.test* env00.*.test env00.state make: Leaving directory `/root/crtools/test/zdtm/live/static' pid00 caps00 maps01 groups sched_prio00 sched_policy00 sock_opts00 sock_opts01 cmdlinenv00 packet_sock fanotify00 sk-netlink make: Entering directory `/root/crtools/test/zdtm/live/static' make -C ../../lib make[1]: Entering directory `/root/crtools/test/zdtm/lib' Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Like this: mkdir: cannot create directory ‘/tmp/criu-root.wt2oW0/lib64’: File exists Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
This patches fixes compilation on Raspberry Pi and removes a few defines from tests. msg.c: In function ‘test_msg’: msg.c:41:11: error: ‘PAGE_SIZE’ undeclared (first use in this function) CC: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
zdtm.sh reports error immediatly, if a test process exited or crashed. We should be fear, that pid can be reused. There are many place, which will fail in this case. And a chance to get this situation is really small. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 10 Jul, 2013 14 commits
-
-
Andrey Vagin authored
Nobody uses it. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
It is never called for thread leaders, because they are dumped by dump_task_core_all Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
To restore SAS we have two ways: - call for sigaltstack explicitly in restorer.c right before we call for sigreturn - pass stack value to sigreturn call and allow the kernel to restore stack for us Since second way is a simplier one -- we stick with it. [alekskartashov@: use RT_SIGFRAME_UC] Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> CC: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
[alekskartashov@: use encode_pointer] Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> CC: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Will need it to store thread alternative signal stack. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Mm used to be in code, so the call was left in that place. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Alexander Kartashov authored
The description of the syscall mincore breaks the traditional ordering of syscall descriptions. Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Alexander Kartashov authored
This patch modifies the ARM syscall glue as follows: * the macros syscallX that produce different code for syscalls with different number of arguments are replaced by the generic syscall thunk copied from libc; * the syscall tables generation script is simplified since the syscall argument number analysis is redundant; * the ARMv7 specific instruction MOVW is eliminated. Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Alexander Kartashov authored
Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Alexander Kartashov authored
This patch modifies the build system to analyze the version of the target ARM architecture and setup the compiler flags accordingly. This makes it possible to support the ARM architectures prior to ARMv7. Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 09 Jul, 2013 8 commits
-
-
Andrey Vagin authored
Actully for dumping tmpfs it should be remounted to somewhere else to avoid overmounts. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
- include "protobuf/core.pb-c.h" for CoreEntry definition - gather structure predeclaration on top - move general comment on top as well - add extern for construct_sigframe helper Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Will need it to retrieve signal stack parameters. Note for simplicty I declared the syscall having void * arguments, while libc has it as stack_t *. This need to be cleaned up one day (because we use similar structure for sigframe definition and need to merge both definitions down). ARM syscall def from alekskartashov@ Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
It's not arch dependent by any means, thus it looks strange that we allocate it in arch/ but free in pstree.c. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
- return -1 on error - assign allocated entries immediately - test for fpstate allocated on free path Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> CC: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
- We have a convention to return -1 on error - Drop empty line Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Yicheng Qin authored
Make criu still set scheduler and priority on restored process even when its setting is the default one. Or if criu itself has special setting on it, forked processes will inherit it, which is a wrong setting for restored ones. Signed-off-by:
Yicheng Qin <yichengq@google.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 08 Jul, 2013 2 commits
-
-
Cyrill Gorcunov authored
Number of rlimits may vary depending on system version criu is compiled against. So we use rst-allocator to carry all limits read from file. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 05 Jul, 2013 7 commits
-
-
Pavel Emelyanov authored
This memory is unmapped by handr, so no need in polluting self-smaps with it. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Actually after remap the rst-mem is still visible in the crtools, although at another address. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Reported-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The memory in question is allocated and then remaped into restorer with one call to mremap. Thus, to use the mem we need to provide to users API for * alloc memory * get current allocation pointer * convert current pointer into remapped one * the remap itself This would help combinding lots of small allocations such as tcp sockets to unrepair, siginfos and posix timers. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-