Received: by 10.223.185.111 with SMTP id b44csp647428wrg; Fri, 9 Mar 2018 10:58:36 -0800 (PST) X-Google-Smtp-Source: AG47ELteHWV9vOGbk2aZQRNKVdefgNWvgb/2uVIcGspPtdnpentkUMJYI8cXw+82oAopjewnRRkk X-Received: by 2002:a17:902:7e44:: with SMTP id a4-v6mr20969506pln.392.1520621916154; Fri, 09 Mar 2018 10:58:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520621916; cv=none; d=google.com; s=arc-20160816; b=Gj2IG14vzQakLoT2+OMxupK34BusdidcMJoKLslOG31aesbR3U1V5kUMbwa4vh97cG f8d8vXmu0TO3WmM6uWQwV08a1Wiz0BJzenbB+kv9yHgs4YoDhG8GYsXRCbaENWl3iQA8 f04+VupfrueNRS/QsusiGBeAggqTERJ3Iwb/O5hJerIi0AiHXUEjDs4SAVPqBOeEP+Hc lBOMidq+NcE457SZ4GDnXMXS8DdtMEuyEeNiPPV77WDYSwfba+X0AYSulIbgdJQOc9yK lxxidIua++TMNyEUTdgm11YPjV9CDLJZeopbvFLI5bboMU82s2U6cKahVZbI9H7byLKt MRPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=leLDTnR9h+AuiCNBaKyYL7h6veb4onRkY0p7dbOTnFk=; b=XH11hAyw94tGIDqMf0LJVjR5EtiuKMRx7FaHuO6JOlxnfOAev7y6XDlfAx7VW6xVfx GiotugZGE7EzSd2G3ijk1x0En1Sjlm3b38rrJDgegTHMzQF+MCtmHuyj44h7PSMcLBmF CamXQrz/7nuydeRy8hG1my8khaM3wl2y0qY0XnyWUWjCaR5XsJ3beXyc0xUg7AvA97qB 2tLCPRaoS2wCls+tM307br5ycVuK+wI0/bZCqVX3LGu7jsP2xNzKWKU8kmWeuDyQ9Y0H +xoE+wqnLxnDa4F/42ZLNY5UhTcV0l4caH173ndCthT5shqMiNVEROFgVMz8ixMbF2PR LNRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u16si1107169pgn.488.2018.03.09.10.58.21; Fri, 09 Mar 2018 10:58:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932523AbeCIS52 (ORCPT + 99 others); Fri, 9 Mar 2018 13:57:28 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:55254 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932074AbeCIS50 (ORCPT ); Fri, 9 Mar 2018 13:57:26 -0500 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 87B5013D25A45; Fri, 9 Mar 2018 10:57:25 -0800 (PST) Date: Fri, 09 Mar 2018 13:57:24 -0500 (EST) Message-Id: <20180309.135724.452219538059491199.davem@davemloft.net> To: torvalds@linux-foundation.org Cc: luto@amacapital.net, ast@fb.com, keescook@chromium.org, ast@kernel.org, tixxdz@gmail.com, viro@zeniv.linux.org.uk, daniel@iogearbox.net, gregkh@linuxfoundation.org, mcgrof@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, linux-api@vger.kernel.org Subject: Re: [PATCH net-next] modules: allow modprobe load regular elf binaries From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 09 Mar 2018 10:57:26 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linus Torvalds Date: Fri, 9 Mar 2018 10:53:45 -0800 > Anyway, see my other suggestion that makes this all irrelevant. Just > wait synchronously (until the exit), and just use deny_write_access(). What exit? Once the helper UMH is invoked, it runs asynchronously taking eBPF translation requests.