- 30 Jan, 2012 6 commits
-
-
Pavel Emelyanov authored
These are setXXXid, capset and various bits for prctl and caps machinery. The thing is that the caps API is not yet fully in glibc so we have to declare some bits even for core code, not just for restorer/parasite. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
All the IDs and caps are in there. Just read them for future use. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Add command and basis for dumping minor bits for task from parasite code. It's supposed to retrieve minor bits form tasks which cannot be read from /proc. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
I occasionally droppped this file but it's a part of commit dcd64e9d So add it back. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org>
-
Cyrill Gorcunov authored
Just disable it for a while, otherwise we get in test/zdtm/live/streaming/netlink00.c cc1: warnings being treated as errors netlink00.c: In function ‘form_request_del’: netlink00.c:311: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules netlink00.c:312: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules netlink00.c:310: note: initialized from here netlink00.c: In function ‘form_request_add’: netlink00.c:271: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules netlink00.c:272: error: dereferencing pointer ‘rtap’ does break strict-aliasing rules netlink00.c:270: note: initialized from here Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
- 29 Jan, 2012 1 commit
-
-
Cyrill Gorcunov authored
It's outdated anyway. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
- 28 Jan, 2012 3 commits
-
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
- 27 Jan, 2012 21 commits
-
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
This covers UNIX stream sockets including in-flight connections. No dgram sockets yet implemented. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
It's done in two steps - On checkpoint we find which icons are present over all sockets and setup peer number to appropriate listening socket - On restore we collect listening sockets and once we find in-flight connection we search for appropriate listening socket name and use it to call connect() then Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Otherwise debug printing has no inode number in report. Not really it's that important but very convenient if you need detailed output. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Stanislav Kinsbursky authored
Signed-off-by:
Stanislav Kinsbursky <skinsbursky@parallels.com> Acked-by:
Pavel Emelyanov <xemul@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
https://github.com/avagin/crtoolsCyrill Gorcunov authored
* 'zdtm' of https://github.com/avagin/crtools: zdtm: remove warnings zdtm: move tast_daemon after preparation actions zdtm: fix warnings in mmx00.c zdtm: say no to EINTR zdtm: fix warning in Makefile zdtm: fix warning in transition/ptrace.c zdtm: initilize a variable in cmdlinenv00.c
-
Andrey Vagin authored
It may be legal. E.g. for zombie Signed-off-by:
Andrey Vagin <avagin@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Andrey Vagin authored
-
Andrey Vagin authored
-
Andrey Vagin authored
mmx00.c:22:34: warning: array subscript is above array bounds [-Warray-bounds] mmx00.c:22:34: warning: array subscript is above array bounds [-Warray-bounds] PSUBW handles 64 bits.
-
Cyrill Gorcunov authored
Otherwise if restored task exit we get error message in form | Error (cr-restore.c:1302): 7244 exited, status=0 while restored task simply finished working. Pointed-out-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Everyone have known that EINTR is returned due to cpt/rst. But it's error, we forgot to set SA_RESTART;).
-
Andrey Vagin authored
Makefile:100: warning: overriding commands for target cmdlinenv00.pid' Makefile:91: warning: ignoring old commands for target cmdlinenv00.pid'
-
Andrey Vagin authored
-
Andrey Vagin authored
-
- 26 Jan, 2012 9 commits
-
-
Cyrill Gorcunov authored
Otherwise use-after-free error happens. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
Convenient for debug purpose. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This one is actually an internal kernel magic number for pipefs filesystem and shouldn't be changed. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Existing ones are boring. Let's switch them into geographical coordinates of various Russian towns in NNNNEEEE form. 4 digits for a coordinate give us up to 2km of inaccuracy, which is more than enough to find a town. We cannot use longitude further than 99.99, i.e. we won't cover the Far East region, but that's OK -- there's more than enough good candidates even in the European part of the country only. Feel free to extend. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Andrey Vagin authored
* handle EINTR * add more details in an error message Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Plus a small infrastructure change to fork a test task in a desired namespace. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Only two fields are modifiable -- hostname and domainname. So read them on dump and write on restore. File format is simple -- u32 magic u32 length of nodename u8[] nodename string u32 length of domainname u8[] domainname string For OpenVZ we can write the release at the end, but this is later. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
New option -n to dump/restore namespaces. Fork the namespaces dumping task and write a helper for switching a namespace. Prepare the restorer code for restoring namespaces before root task. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
In order to restore task in namespaces we'll have to clone() them, not fork. Thus switch the restorer into using clone. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-