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

@@ -100,8 +100,6 @@ void get_vdso_info(ihk_os_t os, long vdso_rpa)
vdso_pa = ihk_device_map_memory(dev, vdso_rpa, sizeof(*vdso));
vdso = ihk_device_map_virtual(dev, vdso_pa, sizeof(*vdso), NULL, 0);
memset(vdso, 0, sizeof(*vdso));
/* VDSO pages */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)
size = vdso_image->size;