Commit 040131fd authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Print out current pid in testing purpose

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 98cf8f1a
......@@ -283,9 +283,6 @@ self_len_end:
write_hex_n(__LINE__);
write_hex_n(vma_entry.start);
vma_entry.fd = -1UL; /* for a while */
vma_entry.pgoff = 0;
sys_mprotect(vma_entry.start,
vma_entry.end - vma_entry.start,
vma_entry.prot);
......@@ -302,6 +299,7 @@ self_len_end:
sys_rt_sigreturn();
core_restore_end:
write_hex_n(sys_getpid());
for (;;)
local_sleep(5);
sys_exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment