2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00
Libo Chen 6cc5de60ed session03: change CLONE_STACK_SIZE from PAGE_SIZE to 4096
Update to patch "check: Introduce --ms option" (commit: 379abca968)

I find this error in my box:
cc -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -iquote ../../lib/arch/x86/include -I../../lib   session03.c ../../lib/libzdtmtst.a   -o session03
session03.c:112:7: error: variably modified ‘stack’ at file scope

The reason is :
"#define CLONE_STACK_SIZE PAGE_SIZE" is conflict with  "#define PAGE_SIZE  (sysconf(_SC_PAGESIZE))" defined in <sys/user.h>.

I think CLONE_STACK_SIZE should be seted  4096 as session02.c.

If this patch is appropriate, please let me know.

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Acked-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-04-29 16:04:07 +04:00
2013-04-23 23:38:47 +04:00
2013-04-12 19:45:15 +04:00
2013-02-18 18:10:45 +04:00
2012-03-25 23:31:20 +04:00
2013-04-01 12:29:06 +04:00
2013-04-23 23:38:47 +04:00
2013-04-15 12:46:25 +04:00
2012-07-30 13:52:37 +04:00
2013-04-23 23:38:47 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:25 +04:00
2013-04-15 12:46:25 +04:00
2013-04-15 12:46:46 +04:00
2013-04-12 19:45:15 +04:00
2013-04-09 19:22:21 +04:00
2013-04-15 12:46:25 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:25 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:46 +04:00
2013-04-09 19:22:21 +04:00
2013-04-09 19:22:21 +04:00
2012-01-29 16:26:36 +04:00
2013-04-15 12:46:25 +04:00
2013-04-10 00:56:29 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:25 +04:00
2013-04-15 12:46:46 +04:00
2013-04-23 23:38:47 +04:00
2013-04-05 08:23:17 +04:00
2013-04-15 12:46:46 +04:00
2013-04-15 12:46:46 +04:00
2013-04-09 19:22:21 +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%