kerndat: Introduce task_size variable

If we want one CRIU binary to work across all AArch64 kernel
configurations, a single task size value cannot be hard coded.

Signed-off-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Christopher Covington 2015-07-31 10:36:24 -04:00 committed by Pavel Emelyanov
parent f13ec96e58
commit c0c0546c31
6 changed files with 38 additions and 0 deletions

View file

@ -23,6 +23,7 @@ struct kerndat_s {
bool has_dirty_track;
bool has_memfd;
bool has_fdinfo_lock;
unsigned long task_size;
};
extern struct kerndat_s kdat;