task: Exit early if ia32 task detected

We don't support yet 32bit tasks in criu.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Don't forget to add eos on read data

There is no guarantee that data read is valid,
so use obj_set_eos() helper to push end of string.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
todo: Update notes

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Provide space for auxiliary offsets in task_struct

Instead of waiting until everything read and check for
all data present, read the offsets needed early thus
we can reuse them when conversion start.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Add reading of auxiliary objects positions

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Move early validation to own routine

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
task: Rework reading of core data

Instead of reading all data in one big routine
we split it to small helpers and call where needed.

It become easier for code reading.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>