From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6EDDC4727D for ; Wed, 23 Sep 2020 18:51:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26DC2208B6 for ; Wed, 23 Sep 2020 18:51:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A3XDPKWL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="j6zFoRR/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26DC2208B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alum.mit.edu Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=momOcsyS/zf/Icdvqo2ErNAjXduj7fMQgMLodAX8ks0=; b=A3XDPKWL6gzCQ8pmm+bkdaSq8 0/2KJxkOVJnmXKXTZUjmamkW5MwuULd8PCpPpzaulhQjSmI2Y13X8573lRLtAP6B6Rs/wJyKqcUug tlJiBltyclF1/qvPllyjSM22VoGktGa9jXQLydx/cABIEkQeIMtDMRfv+gg7fJqPHl12Y8V5Q84Vy zxcukuygq0J3pvl+I2i1wqAB2hFL2/sbiTMDXYcM7D60zjZXq7Dvhb7XiwUZWmpcnGR8L0T9MMwnx m/nGsVV2c2rMHRXOGWdepKSt/KcM8VPDJJ8uZiwk+Wt3IPecBDpw+ToW7T0JLkDzQ3JHo0p94uHiX lExJOZidw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kL9pg-0003Yg-TU; Wed, 23 Sep 2020 18:49:36 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kL9pf-0003Xo-47 for linux-arm-kernel@lists.infradead.org; Wed, 23 Sep 2020 18:49:36 +0000 Received: by mail-qt1-x842.google.com with SMTP id e7so768607qtj.11 for ; Wed, 23 Sep 2020 11:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RkpPiL5sLMoQ72Z4SVPCyIzaZVEUsKD6IONs26Z9oQ4=; b=j6zFoRR/TNHPnYOJYg/v6yC5mOjqz6GhBvNdUdw/ZZY3Z659h4thQrXUvmYYNs/dMc 9AtbSQc1r9/KTQ+OdnHEMcrYOKmjexHp+zLAowzXW60xVUgp32upPori8ocBAUEa2r3r RBgGigmHJn+mG8rh+rrSfDqq2SdthMmzakAE8uf56Ks1STHFgtkyEvVJSTmUDeKd4JlH Cx+3SJd1aI9By0RJ0GJTBMtFDnsq45jEHay9VWPh2LaXhf87zwX1sup1iq4GFW7bYwHN wYZuJxH556l/n/M+2V+a2YdPh4IkzEbo9S36Kf5zviplDX4eWHJkLL/e8sUM7P5GbZLv 8Ccw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=RkpPiL5sLMoQ72Z4SVPCyIzaZVEUsKD6IONs26Z9oQ4=; b=l0axOl6xlcRpsVJC9CcgNDHTerIg0/Gq8RobENQwQ2XvFZJoAELG8EzGamzV4XtXOb eCEQDts4nOyVbclSHGsTXHzoQ1IxAL3MWuiD3PMPh+sdH69YukS7TGXNhMspeETtoFLn VspCjklikQFLW89pbJs4BjkZECW6t8D00zfRnpiZcYfXkUQvwRM/9x0EUgKKkvizeuKp Bzonny9Ei6tgU2TzDoMcf5y/Vb34PHOebQaPDCx6stuzI3dJHZb8I7PuOS8B4Kn5RN9J SPCnLDkegNMnZZI+q0q7fTVzRWNSYiX+tsNt8g81pFSn80EhM79FBMYTHB/aFvRbICmx cggw== X-Gm-Message-State: AOAM533nWPFDX34gGoUB+FDmxpzrXcdrcM+HtDEy1osovefqu2LJ21lP yf/C1yf6K83RWZa4cHDBX/0= X-Google-Smtp-Source: ABdhPJwkH8cFnD08Pdj7anSenqn2tvNw6QetwTg2I4xIrVuO/X572JBB17yMeOLN0zGx1aVaPRH8zA== X-Received: by 2002:aed:3203:: with SMTP id y3mr1556830qtd.278.1600886973396; Wed, 23 Sep 2020 11:49:33 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id r187sm518764qkc.63.2020.09.23.11.49.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2020 11:49:32 -0700 (PDT) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Wed, 23 Sep 2020 14:49:30 -0400 To: Solar Designer Subject: Re: [PATCH v2 0/4] [RFC] Implement Trampoline File Descriptor Message-ID: <20200923184930.GA1352963@rani.riverdale.lan> References: <20200922215326.4603-1-madvenka@linux.microsoft.com> <20200923081426.GA30279@amd> <20200923091456.GA6177@openwall.com> <87wo0ko8v0.fsf@oldenburg2.str.redhat.com> <20200923181136.GA8846@openwall.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200923181136.GA8846@openwall.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200923_144935_190111_DA7349B9 X-CRM114-Status: GOOD ( 20.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Weimer , mark.rutland@arm.com, Rich Felker , luto@kernel.org, kernel-hardening@lists.openwall.com, linux-api@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, oleg@redhat.com, madvenka@linux.microsoft.com, mic@digikod.net, linux-security-module@vger.kernel.org, David.Laight@ACULAB.COM, Pavel Machek , linux-fsdevel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: > > * Solar Designer: > > > > > 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?) > > [...] > > I think it's unnecessary for the libffi use case. > [...] > > > 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel