criu/test
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
..
app-emu app-emu/lxc: create /var/run/netns/ 2013-03-14 19:35:36 +04:00
mem-snap page-server: Implement holes writing into pagemap 2013-04-18 17:34:47 +04:00
tcp tcp: Automate TCP stream c/r 2012-04-28 20:37:54 +04:00
zdtm session03: change CLONE_STACK_SIZE from PAGE_SIZE to 4096 2013-04-29 16:04:07 +04:00
app-emu.sh test: add a script for executing all app-emu test cases 2012-11-22 19:08:29 +04:00
functions.sh test/app-emu: wait while tasks are dying before starting restore 2012-11-22 19:08:14 +04:00
Makefile test: don't skip errors if someone fails 2013-04-01 20:10:05 +04:00
zdtm.sh zdtm: add fanotify00 in the default list 2013-04-11 22:06:55 +04:00