2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00
Alexander Kartashov a27f0e5cb0 cr-restore: align the stack on 8-byte boundary
The section 5.2.1.2 of the AAPCS says that the stack must be 8-byte aligned
and this rule is broken when the thread restore_task_with_children()
is forked by the function fork_with_pid() since the variable ca
and its field stack are likely to be 4-byte aligned.

This patch forces 8-byte alingment of the field cr_clone_arg::stack.
This made the following tests pass on ARM:
* static/shm,
* static/ipc_namespace.

Particulary the unaligned stack results in incorrect passing
of the 64-bit argument to the function snprintf() in the function
sysctl_write_u64().

Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-01-29 09:21:46 +04:00
2013-01-23 17:43:38 +04:00
2012-07-09 15:03:38 +04:00
2012-03-25 23:31:20 +04:00
2011-12-05 14:11:05 +04:00
2012-07-30 13:52:37 +04:00
2013-01-16 19:20:08 +04:00
2013-01-16 19:20:08 +04:00
2013-01-16 19:20:08 +04:00
2013-01-17 16:00:48 +04:00
2013-01-14 14:26:18 +04:00
2013-01-24 13:20:57 +04:00
2013-01-15 23:24:01 +04:00
2013-01-18 13:25:16 +04:00
2012-01-29 16:26:36 +04:00
2013-01-16 19:20:08 +04:00
2013-01-18 13:25:16 +04:00
2013-01-16 19:20:08 +04:00
2013-01-15 23:24:01 +04:00

crtools
=======

An utility to checkpoint/restore tasks.

Some code snippets are borrowed from

 - Linux kernel (http://kernel.org/)
 - git (http://git-scm.com/)
 - kvm-tools (https://github.com/penberg/linux-kvm)
 - ptrace-parasite (https://code.google.com/p/ptrace-parasite/)

Many thanks to these projects.

Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)
Description
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%