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

@@ -1563,6 +1563,7 @@ static int vdso_get_vdso_info(void)
struct ihk_ikc_channel_desc *ch = cpu_local_var(syscall_channel);
dkprintf("vdso_get_vdso_info()\n");
memset(&vdso, '\0', sizeof vdso);
vdso.busy = 1;
vdso.vdso_npages = 0;