• Laurent Dufour's avatar
    cr-check: fix kcmp check · 046a1fc8
    Laurent Dufour authored
    The commit 16e673c2f6a0 ("cr-check: Inspect errno on syscall
    failures") reverts the way the returned the error returned by kcmp is
    checked. As a consequence 'criu check' is always failing with the
    following message:
    
    Error (cr-check.c:165): System call kcmp is not supported: No such process
    
    This patch ensure is reported only if syscall(SYS_kcmp) returns
    ENOSYS.
    
    Fixes: 16e673c2f6a0 ("cr-check: Inspect errno on syscall failures")
    Looks-good-to: Filipe Brandenburger <filbranden@google.com>
    Cc: Pavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    046a1fc8
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...