Received: by 10.213.65.16 with SMTP id m16csp51645imf; Sun, 11 Mar 2018 14:46:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELu1tq0uMuELyHRbbKZjJSNmQ/j/23mTCGTdZd53eW5WW82uM7ZMobPaJ8IPJvSyxv0PrTN5 X-Received: by 10.99.116.28 with SMTP id p28mr4781620pgc.306.1520804787200; Sun, 11 Mar 2018 14:46:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520804787; cv=none; d=google.com; s=arc-20160816; b=wP9dXx1+lyU3HKv3WLvDFc0ETXFJYYRLYh+qtAG+4sFd56OkbqZT9OKGhzkDzSCsqy hj0xrQmo3GTmIwLVNw/wVCEeqnc6E/0pJ4ZR15upIf5xpDIXEfxgIFKcWD8u8moIrPf+ 5BMbkCK0qh+dF0x7XH+JPD+4Wi9Q/O6bCxsTsMcMqB8kFlxBvEsUAAaqg04VtSshBRjC BcJTQOPPVE9gPukdfBrWg3xZHSgNu1+5IwbOdo2Sua+cO9YtsVVOSurlQckJUbjaOjxb KEa1xUfsB/0kQABUKZWF8Gq2VesCDDEJP+tVkjnhFHU03+D7pguBcR7kgfiNylc9C1xy CruQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=5zrKtehBN4/ijYXh1z2gg8D5kMFFn2pwa6gSj2tTFlM=; b=m8nLd1AkRo8zlwf9ys/rjx9yfFW2IotJT7khUQRFHOhb9416OL1p8Ietd2pGmuOl87 w0ch2+mWXBCxALYEPcJlISudGjxi62c2tiIgJuJuXgMYVswiOulYqWLmCbNQxdjXs/pr OPyLXQ/VgrcFvEfTFnInNFyXXGBkqY5Xkz9N2kJbVfkh8RpGb7vadaZeWju8AakD5bMY Pr7W/ByRgTQnCVieuToXcl81pSW+K3wRDS6B/6Sl251h1T1jS90k4fnYi48IgRhoufK1 hjwP4hxBvhUFVsyPl2jzK85yIYW7qDvdlIbxi7wHZN0/zYf+OjIpEBj+I4dof/pORFi9 p05Q== 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 u16-v6si4749650plq.183.2018.03.11.14.46.12; Sun, 11 Mar 2018 14:46:27 -0700 (PDT) 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 S932440AbeCKVpT (ORCPT + 99 others); Sun, 11 Mar 2018 17:45:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:39109 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932286AbeCKVpR (ORCPT ); Sun, 11 Mar 2018 17:45:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 36AF9ACAD; Sun, 11 Mar 2018 21:45:14 +0000 (UTC) Date: Sat, 10 Mar 2018 15:16:52 +0000 From: "Luis R. Rodriguez" To: Alexei Starovoitov , Jessica Yu , Linus Torvalds Cc: Mimi Zohar , Djalal Harouni , David Miller , Andy Lutomirski , Kees Cook , Alexei Starovoitov , Al Viro , Daniel Borkmann , Greg Kroah-Hartman , Network Development , Linux Kernel Mailing List , kernel-team , Linux API , "Luis R. Rodriguez" Subject: Re: [PATCH net-next] modules: allow modprobe load regular elf binaries Message-ID: <20180310151652.GV4449@wotan.suse.de> References: <20180309.135724.452219538059491199.davem@davemloft.net> <81b7599d-aab7-6cb6-7843-64510c8f6260@fb.com> <20180310140843.GP4449@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180310140843.GP4449@wotan.suse.de> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 10, 2018 at 02:08:43PM +0000, Luis R. Rodriguez wrote: > The alternative to this would be a simple equivalent of try_then_request_module() > for UMH modules: try_umhm_then_request_umh_module() or whatever. So just as I > argued earlier over UMH limitations, this is not the end of the world for umh > modules, and it doesn't mean you can't get *properly* add umh modules upstream, > it would *just mean* we'd be perpetuating today's (IMHO) horrible and loose > semantics. I was about to suggest that perhaps a try_umhm_then_request_umh_module() or whatever should not be a macro -- but instead an actual routine, and we don't export say the simple form to avoid non-deterministic uses of it from the start... but the thing is *it'd have to be a macro* given that the *check* for the module *has to be loose*, just as try_then_request_module()... *Ugh* gross. Another reason for me to want an actual deterministic clean proper solution from the start. Luis