mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Rich Felker <dalias@libc.org>
Cc: Nihal Jere <nihal@nihaljere.xyz>,  musl@lists.openwall.com
Subject: Re: [musl] Dynamic linker segfault
Date: Mon, 10 Jan 2022 14:30:17 +0100	[thread overview]
Message-ID: <87iluryaza.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <20220107173536.GK7074@brightrain.aerifal.cx> (Rich Felker's message of "Fri, 7 Jan 2022 12:35:38 -0500")

* Rich Felker:

> By my understanding, p_align implies an understanding by the creator
> of the program that the load segment may be "over-mapped" (extra file
> contents visible and possibly executable) up to that alignment
> boundary due to page granularity. This isn't really a correctness
> contract but a security/hardening contract for folks who consider
> anti-ROP measures a boundary that should be enforced.

Not sure if I follow.  Do you mean p_align is purely for documenting
layout decisions by the link editor?  I suspect that the necessary
overlap would be visible by other means, too.

Thanks,
Florian


      reply	other threads:[~2022-01-10 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04 21:27 Nihal Jere
2022-01-04 21:42 ` Rich Felker
2022-01-05  8:56   ` Florian Weimer
2022-01-05 13:49     ` Rich Felker
2022-01-05 14:00       ` Florian Weimer
2022-01-05 15:00         ` Rich Felker
2022-01-07 13:58           ` Florian Weimer
2022-01-07 17:35             ` Rich Felker
2022-01-10 13:30               ` Florian Weimer [this message]

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=87iluryaza.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    --cc=nihal@nihaljere.xyz \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).