mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 19:14:04 +00:00
When PTRACE_GET_THREAD_AREA errors on kernels with !CONFIG_IA32_EMULATION beacuse of missing support (-EIO), compel should ignore uch errors in native mode. However the check for error type uses return value of ptrace rather than errno, which will always result in error propagation. Use errno to detect type of error to fix this. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> |
||
|---|---|---|
| .. | ||
| arch | ||
| include | ||
| plugins | ||
| src | ||
| test | ||
| .gitignore | ||
| compel-host | ||
| Makefile | ||