mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-29 13:00:45 +00:00
For tests, we need to know if elf file parsing was interrupted in a proper place (and thus meaningful error numbers). Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com> Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
10 lines
235 B
C
10 lines
235 B
C
#ifndef __PIEGEN_ERR_H__
|
|
#define __PIEGEN_ERR_H__
|
|
|
|
/* Error numbers for piegen. Success is 0, so errors should differ. */
|
|
#define E_UNKNOWN 1
|
|
#define E_NOMEM 2
|
|
#define E_NOT_ELF 3
|
|
#define E_NO_STR_SEC 4
|
|
|
|
#endif /* __PIEGEN_ERR_H__ */
|