From: shawnlandden@tutanota.com
To: Musl <musl@lists.openwall.com>
Subject: [musl] Running FDPIC binaries in the same memory space as the caller.
Date: Fri, 31 Mar 2023 04:18:30 +0200 (CEST) [thread overview]
Message-ID: <NRpSNfU--3-9@tutanota.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
I am not really in the mood to sell all the benifits of doing this---but dpkg felt obligated to support all the nonstandard comoressors APIs of compressors that all supported the standard gzip interface, because of a percieved slowness of the 386's MMU. Now that we have FDPIC binaries that run both with and without a MMU this is no longer an excuse to be weird.
But I do think it would be easiest to do this, without any changes to the compilers (or god-forbid the c standard), by making stdin stdout and stderr (always been 0 1 and 2) stored in thread-local storage.
But supporting that instead of just 0 1 and 2 would only be necessary for using the c abi (which is not UNIX!) at the same time as the shell api. Otherwise Linux can handle it.
Sorry for not selling this like soap,
Shawn Paul Landden
[-- Attachment #2: Type: text/html, Size: 1161 bytes --]
reply other threads:[~2023-03-31 2:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=NRpSNfU--3-9@tutanota.com \
--to=shawnlandden@tutanota.com \
--cc=musl@lists.openwall.com \
/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).