From: Szabolcs Nagy <szabolcs.nagy@arm.com>
To: <libc-alpha@sourceware.org>
Subject: Re: [PATCH v6 0/4] Args adjustment with ./ld.so exe [BZ #23293]
Date: Fri, 6 May 2022 11:07:16 +0100 [thread overview]
Message-ID: <YnTzVEVs0koMnQ+t@arm.com> (raw)
In-Reply-To: <cover.1651757640.git.szabolcs.nagy@arm.com>
The 05/05/2022 14:58, Szabolcs Nagy via Libc-alpha wrote:
> The Hurd ld.so start code had to be adjusted. This revealed that
> the fix actually cuts across abstraction layers: fiddles with
> ELF entry stack layout in generic code, skipping the intermediate
> OS sysdep layer. If the OS layer ever wants to do something more
> complicated with the args then the interface contract with dl_main
> will have to be reevaluated.
or i can avoid touching hurd code if the arg adjustment
is moved to linux dl-sysdep.c
then _dl_skip_args is kept on hurd (hurd can separately
fix that in its dl-sysdeps.c), so all targets can remove
it other than x86.
prev parent reply other threads:[~2022-05-06 10:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-05 13:58 Szabolcs Nagy
2022-05-05 13:58 ` [PATCH v6 1/4] rtld: Use generic argv adjustment in ld.so " Szabolcs Nagy
2022-05-13 19:56 ` Adhemerval Zanella
2022-05-17 9:27 ` Szabolcs Nagy
2022-05-05 13:58 ` [PATCH v6 2/4] rtld: Remove DL_ARGV_NOT_RELRO and make _dl_skip_args const Szabolcs Nagy
2022-05-13 20:14 ` Adhemerval Zanella
2022-05-05 13:59 ` [PATCH v6 3/4] linux: Add a getauxval test [BZ #23293] Szabolcs Nagy
2022-05-13 20:21 ` Adhemerval Zanella
2022-05-05 13:59 ` [PATCH v6 4/4] aarch64: Move ld.so _start to separate file and drop _dl_skip_args Szabolcs Nagy
2022-05-13 20:46 ` Adhemerval Zanella
2022-05-06 10:07 ` Szabolcs Nagy [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=YnTzVEVs0koMnQ+t@arm.com \
--to=szabolcs.nagy@arm.com \
--cc=libc-alpha@sourceware.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 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 read-only IMAP folder(s) and NNTP newsgroup(s).