[CRIU] [PATCH] cr-check: Inspect errno on syscall failures

Pavel Emelyanov xemul at virtuozzo.com
Mon Mar 14 15:28:03 PDT 2016


> There is still:
> - criu/pie/util.c which uses #define __sys(foo) foo but still assumes
> a sys_foo interface
> - criu/include/lock.h which defines sys_futex to return -EXXX when
> errno is set (maybe the opposite approach of leaving errno set would
> be better since it works with pr_perror and %m?)
> 
> If you can take a look at those and fix them if necessary, that would
> be great...

Yup, thanks for spotting those. Will try to look at them :)

-- Pavel



More information about the CRIU mailing list