| Summary: | Linux x86_64: glibc should prefer the vDSO over vsyscalls | ||
|---|---|---|---|
| Product: | glibc | Reporter: | Andy Lutomirski <luto> |
| Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Flags: | fweimer:
security-
|
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
|
Description
Andy Lutomirski
2011-05-26 21:24:41 UTC
As an added benefit of the vDSO over vsyscalls: things like UML can replace the vDSO if they want to. This means that sched_getcpu and gettimeofday would have a better chance of returning the guest's answer (instead of the host's) on UML. I did add code to use the vdso in dynamically linked code. But I don't change the static code. Just go ahead, make the vsyscalls slow. Noone should use statically linked code at all. It's OK to be slower. |