Line 78:
Line 78:
int criu_restore(void);
int criu_restore(void);
−
=== restore as child ===
+
=== restore as a child ===
−
This one is special. It will fork and exec criu swrk(Service WoRKer) to allow restoring process as a caller child. Calling "exec" implies some restrictions, as, for example, one should make sure, that criu binary is present in PATH and has suid bit set(see [[Usage#Security]]).
+
+
This one is special. It will fork and exec criu swrk (Service WoRKer) to allow restoring process as a caller child. Calling "exec" implies some restrictions, as, for example, one should make sure, that criu binary is present in PATH and has suid bit set (see [[Usage#Security]]).
int criu_restore_child(void);
int criu_restore_child(void);