Cyrill Gorcunov
8324db69ee
Fix comment on CR_FD_SIGACT
...
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2011-11-30 23:33:28 +04:00
Andrey Vagin
25434884e1
Dump and restore sigactions (v2)
...
A parasite code dumps all sigactions in sigact.pid.
v2: remove hard code for sizeof(sigset_t)
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2011-11-30 22:04:09 +04:00
Cyrill Gorcunov
122cae2111
dump: Add -k (kill dumped) option
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-22 22:09:28 +04:00
Cyrill Gorcunov
b712182308
Gather file names formats in one place
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 18:35:55 +04:00
Cyrill Gorcunov
9ab6e9fe5c
crtools: Use %d format for pir_t
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-15 13:12:27 +04:00
Cyrill Gorcunov
c28f9a2eae
crtools: Use memzero_p
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-23 12:30:42 +04:00
Cyrill Gorcunov
118180451e
crtools: Switch to getopt facility
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-13 19:43:52 +04:00
Cyrill Gorcunov
640e5c46be
dump: Call fsync only if needed
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-13 13:41:13 +04:00
Pavel Emelyanov
d48706328e
Add comments on fd set
...
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-13 13:33:32 +04:00
Cyrill Gorcunov
609e431376
Add cr_options structure
...
We will need more options since the
tool should support both cgroups freezer
and a regular task stop/dump/restore/continue
transition.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-04 01:50:19 +04:00
Cyrill Gorcunov
a00ef142f8
Use pr_err for error printing
...
To follow kernel style
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-30 14:37:12 +04:00
Cyrill Gorcunov
523de23624
Initial commit
...
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-23 12:00:45 +04:00