fix some vDSO bugs.

- vDSO sometimes becomes invalid.
- vDSO is not succeeded for child process.
- vDSO becomes invalid when execve.
refs #744
This commit is contained in:
Tomoki Shirasawa
2016-09-04 23:13:00 +09:00
parent f74dcfc2a1
commit 20ea65b38c
5 changed files with 7 additions and 2 deletions

View File

@ -2198,6 +2198,7 @@ fork_err:
strcpy(desc->shell_path, shell_path);
}
desc->enable_vdso = enable_vdso;
__dprintf("execve(): load_elf_desc() for %s OK, num sections: %d\n",
path, desc->num_sections);