All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: linux-mm@kvack.org, linux-api@vger.kernel.org, libc-alpha@sourceware.org
Subject: Are vDSO addresses special?
Date: Thu, 11 Feb 2021 10:58:20 +0100	[thread overview]
Message-ID: <87zh0bq62r.fsf@oldenburg.str.redhat.com> (raw)

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


             reply	other threads:[~2021-02-11 10:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11  9:58 Florian Weimer [this message]
2021-02-11 16:10 ` Are vDSO addresses special? Andy Lutomirski
2021-02-12 17:29   ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh0bq62r.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.