Are vDSO addresses special?

Florian Weimer fweimer@redhat.com
Thu Feb 11 09:58:20 GMT 2021


In glibc, we have some code that copies the DT_SONAME string of the
kernel vDSO into the heap, commented this way:

             /* Work around a kernel problem.  The kernel cannot handle
                addresses in the vsyscall DSO pages in writev() calls.  */

Is this really a problem anymore?  vDSO addresses are ordinary userspace
addresses, I think.  (The vsyscall stuff is very different, of course,
and maybe the vDSO started out the same way.)

We only care about Linux 3.2 or later in glibc.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list