提交 4c49b070 编写于 作者: G guzhihao4

update find vdso_info: reutrn only find vdso_info at first time

Signed-off-by: Nguzhihao4 <guzhihao4@huawei.com>
上级 49adc74b
......@@ -66,6 +66,9 @@ struct __vdso_info {
void __get_vdso_info()
{
if (vdso_info.base != -1) {
return ;
}
size_t i;
for (i=0; libc.auxv[i] != AT_SYSINFO_EHDR; i+=2)
if (!libc.auxv[i]) return ;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册