[CRIU] [PATCH 0/5] crit: Add extra handling for sysv ipc data

Cyrill Gorcunov gorcunov at gmail.com
Thu Dec 10 07:37:48 PST 2015


On Thu, Dec 10, 2015 at 06:21:27PM +0300, Cyrill Gorcunov wrote:
> On Thu, Dec 10, 2015 at 05:54:23PM +0300, Cyrill Gorcunov wrote:
> > also I just tried to run tests with your patches applied
> > 
> > cc -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -iquote ../../lib/arch/x86/include -I../../lib   different_creds.c ../../lib/libzdtmtst.a  -lcap -pthread -o different_creds
> > different_creds.c:7:28: fatal error: sys/capability.h: No such file or directory
> > 
> > known issue?
> 
> test/dump/zdtm/live/transition/ipc/79/1/ipcns-sem-9.img decode fails
> test/dump/zdtm/live/transition/ipc/79/1/ipcns-sem-9.img pretty decode fails
> test/dump/zdtm/live/static/sock_filter/79/1/inetsk.img encode fails
> test/dump/zdtm/live/static/sock_filter/79/1/inetsk.img pretty encode fails
> test/dump/zdtm/live/static/sem/79/1/ipcns-sem-9.img decode fails
> test/dump/zdtm/live/static/sem/79/1/ipcns-sem-9.img pretty decode fails
> 
> seems something went wrong ;) gonna check

It looks like there is a problem in tests itself:

 - ./crit decode < test/dump/zdtm/live/transition/ipc/79/1/ipcns-sem-9.img > decoded
 - ./crit encode < decoded > recoded
 - sha1sums

[cyrill at uranus criu] sha1sum recoded
30d0205e0055e433eff2fd94beebb74421f465f0  recoded
[cyrill at uranus criu] sha1sum test/dump/zdtm/live/transition/ipc/79/1/ipcns-sem-9.img
30d0205e0055e433eff2fd94beebb74421f465f0  test/dump/zdtm/live/transition/ipc/79/1/ipcns-sem-9.img


More information about the CRIU mailing list