Thread (5 messages) 5 messages, 5 authors, 2020-09-23

Re: [PATCH v2 0/4] [RFC] Implement Trampoline File Descriptor

From: Arvind Sankar <hidden>
Date: 2020-09-23 18:49:38
Also in: linux-api, linux-arm-kernel, linux-fsdevel, linux-security-module, lkml

Possibly related (same subject, not in this thread)

On Wed, Sep 23, 2020 at 08:11:36PM +0200, Solar Designer wrote:
On Wed, Sep 23, 2020 at 04:39:31PM +0200, Florian Weimer wrote:
quoted
* Solar Designer:
quoted
While I share my opinion here, I don't mean that to block Madhavan's
work.  I'd rather defer to people more knowledgeable in current userland
and ABI issues/limitations and plans on dealing with those, especially
to Florian Weimer.  I haven't seen Florian say anything specific for or
against Madhavan's proposal, and I'd like to.  (Have I missed that?)
[...]
quoted
I think it's unnecessary for the libffi use case.
[...]
quoted
I don't know if kernel support could
make sense in this context, but it would be a completely different
patch.
Thanks.  Are there currently relevant use cases where the proposed
trampfd would be useful and likely actually made use of by userland -
e.g., specific userland project developers saying they'd use it, or
Madhavan intending to develop and contribute userland patches?

Alexander
The trampoline it provides in this version can be implemented completely
in userspace. The kernel part of it is essentially just providing a way
to do text relocations without needing a WX mapping, but the text
relocations would be unnecessary in the first place if the trampoline
was position-independent code.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help