Received: by 10.223.185.116 with SMTP id b49csp4419663wrg; Tue, 6 Mar 2018 15:45:30 -0800 (PST) X-Google-Smtp-Source: AG47ELvNaM+6UJm8WOVufE3K3V9zuvr06+IJ77MM6GNTh8Oxpxulpey5X07ktPGaQz0t+D4cTGsv X-Received: by 10.99.98.5 with SMTP id w5mr16800271pgb.307.1520379930470; Tue, 06 Mar 2018 15:45:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520379930; cv=none; d=google.com; s=arc-20160816; b=EEc25Txr9D67vAWGyHhEmOoGCkJbRhl4PkGntGHupNA+q/D7sbGIdr1frVR2SIIClf z/wpc9m3I+TATna+GZKkK2mYTvrEBgRxQ6izsq2cOY12iLBQeS6C1V7TVugDJZ6IKuf3 27m2T0AgU5jRS0FqA2boUVzwLeg3yVo1J8AvCRzUQ8rEnu4c2bnTAddKGx7KXOA3hpay OOCUGmHUmUP9gaG7HTJKIJLiPd75DtkXL7OCwMrzCCBQWFrD39H106YgJbJyc43yBv8h caBiVy+sO1Wk0iBJrooa0aZoXiWNdRKuKPfE/hwNypzpumUoIPHWqjX3JldPlAYTdhTa jAhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature :arc-authentication-results; bh=D7tIIFB3ej5bkPh+CdS6CdgTMoosifT2aGIcjmL7WZo=; b=JmeXBokf7E0EAS8yuLFc7w2Sb5BUSig6WInlBJk6UMSIOEoCNBjcEGcp9m7gYRS1t3 GF912wooT7TtkacCqNPCxTnOYFtCHVBnl6y0axn7eeoyfQJ6f43UBB7UHJwlNxO7B9I8 avw7lVcvTAhujFcQ0nfLMyPZwaOHI9qsFfb1C61zigMMgfENFEt4rnrxC+JmVnvwPQTC BgXi1DIP2ZVZuznJRNuBlPmhpbkwNUpyzZSpbAnG81pUJUCeXhXBIuc3aGSrCvMzAKWc JDnDai/AqfJbAHmzImfvlTfVNha9Azdt9EiPn/RDmpvCOXDFnlDvp1PYGU2V+1Z3fOCR 3AkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=mXBnzZj+; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=ZtSJ8stV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9-v6si4117964plk.71.2018.03.06.15.45.15; Tue, 06 Mar 2018 15:45:30 -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; dkim=pass header.i=@fb.com header.s=facebook header.b=mXBnzZj+; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=ZtSJ8stV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754129AbeCFXnV (ORCPT + 99 others); Tue, 6 Mar 2018 18:43:21 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:48234 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753525AbeCFXnR (ORCPT ); Tue, 6 Mar 2018 18:43:17 -0500 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w26Ndw6X021611; Tue, 6 Mar 2018 15:42:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=D7tIIFB3ej5bkPh+CdS6CdgTMoosifT2aGIcjmL7WZo=; b=mXBnzZj+AFNomNfrbRxnUn+kYoW95cLQaFPvkuJczlUDEqlmjO/Du9dkcvYbnZSJutXW pvFQCLJsXcc6DGN+dpvRXhRpaukQt6s+wfWKvY1DknbuazGcG2kHYOvKKH0uJqh8+baf kiMJNmk53jYXjjqTFs2s+CW3ZGcHtzcD1IQ= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2gj3hnga17-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 06 Mar 2018 15:42:51 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.24) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 6 Mar 2018 18:42:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=D7tIIFB3ej5bkPh+CdS6CdgTMoosifT2aGIcjmL7WZo=; b=ZtSJ8stVeu+xF88MR83JGGBymLT0oNMSJfE6ewx8b52MTbUdritPvjmRovqZhax3/c9KrmAdph18dVyr3oBbykqBW3ckcx8eR0ymnSGbxAfcOlqHNnywiOwpl99fQs5OfXIpiMVb7yysFPY/Pd+J7/5RtdB6lOKzWkexlHl79oE= Received: from [172.21.93.225] (2620:10d:c090:200::4:23fa) by BN6PR15MB1876.namprd15.prod.outlook.com (10.174.239.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 6 Mar 2018 23:42:45 +0000 From: Chris Mason To: Linus Torvalds CC: Alexei Starovoitov , David Miller , Daniel Borkmann , Greg Kroah-Hartman , "Luis R. Rodriguez" , Network Development , Linux Kernel Mailing List , kernel-team , Linux API Subject: Re: [PATCH net-next] modules: allow modprobe load regular elf binaries Date: Tue, 6 Mar 2018 15:42:41 -0800 X-Mailer: MailMate (1.10r5443) Message-ID: In-Reply-To: References: <20180306013457.1955486-1-ast@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Originating-IP: [2620:10d:c090:200::4:23fa] X-ClientProxiedBy: DM5PR19CA0040.namprd19.prod.outlook.com (10.173.167.154) To BN6PR15MB1876.namprd15.prod.outlook.com (10.174.239.136) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 48d896c6-2101-4b3f-f386-08d583bbf723 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603328)(7153060)(7193020);SRVR:BN6PR15MB1876; X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1876;3:S1HBUf0fAUqi7ctdJxebW0Mqw3XS7DBSeP4Y5/WUju8C5PTCqH1VQItkPGIHLeFpD9f9FSt/vPZItXDkVoQ1B/gkudyQPvMshKz0k3zlO+vFRyTRuKUh0zjF0d/Yyd8Pd5JzPMqKjc3CrBN9LKk+od+YzeOPIORncE9CSPJyIZ2meLNo0CiWu9Jg8Q/Q6Tv9eJLrEa+5BYJhcCwx1imTtm9nzDMKQQidsmi5QvDlmQC3a4crxvhRUlZNdwW6MuDz;25:0jfVbFgYAMq5ao1npA3gIq31pEVO9A453gzADnnv75ngbEhxQKUsSxCg8who2w8P5lQyuqwO1h5S9gKUu+IzuNoW3De9cdgUvelxcharo8F7OqMs93rRjS4yEJ2Fqt/Z92gLC2uq6EECoWr1zLHfiSuYda8/2fLIn7L325e1KkAZBwxynaV4XMJsMsLtRU6A/tO4KFIdvF/lGu0UrhhZoH2UQJjlfZHdsOw02pzDWMXyIa/J4ZsGxdGq/joc5az34Hkne8t8/LgPUEluiejHwpOI01inM0jfUWINSgdUDwiCuhwQ2hya3eTu4k6xfLXVjpHLt5rnAvpH5ueZpHLh4w==;31:RuAl+1CN01kG7dJOnVxA1hvPtlHvnZ73DdCqMmD+ReHoKwyQp0Y3YsNzQOcFuncvPhMh3w/BTyOUr5k9NPid6fY9LVJy71scw1LINVkEYOmfm+osMqJHt5cmOCd14TIugLoVPU+/KG7pxTF33hEZZUgvjKiBTiAEDe+ZDMcp61BqJ8U8su3FuE4ALH/dGTADNMnY6hfxNcPqFxkKXE7VOb3zeJClIRibu6470p0gFWk= X-MS-TrafficTypeDiagnostic: BN6PR15MB1876: X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1876;20:BPEwcZ9QZRh2rlJGGSdGFOaN/i012ivZpPItJrJGBf9RcTTN3e2uWp0DSinSwnwKGFGdTzVy7sOCm0dJRKmaItn9TE2GRC10KtR92Hm2c2nfHRXCFO0VMEPcOZDIHFr4UBYkoLWgDfRAz689tof56agKmACzzTOYKhj3S4Bwg2wGZmAtf46zPTrAoqsISuJTNMXsOVOUCMQo+C0/oiHTJ7vZT8sYmIrQMM0JqpOxs09pqsdKdWz3Znri3636PCQACY46nqLpg7T/Tj0in2CKI1hKK00nxxKDyk7pF4ky4LGrSrThJVj2cDJc9JSMbBpd9H0XSnhtju7109GSI13lWKM5urAgYfs8IR//7idVWkU2TjBoZpBOu3w9bjP67MI21PaxDdiNEkLecmYSML2ariahDjhRMEEDBu/Lm51YHs0ZqUFLYXuhx447QxBxnCMoMBRESpLoQ6gEpektnQNRhdt8X2KelqnUur99bo921cAoFKYRf0Jo8ylai3RAnL5j;4:fH7p4+nmiErCDBciuvntCMZ+CeFOYjp5v+Q/36ieRKgguZ/Pp82+5scix5KBGkzJxnYBTv431wTwieMl35X6V8/ltTRR9OTZCoxRtfBJFzoShCYP6c1BlwGPWl7/E1c1cZnrU/8N4sAOPqsjZgBDPfenJsAW9o1CoJePZRk11gMBETsSafg9fVj9F1I7lzdpNvdpLisK5FQoiUw97KBSqhPRi6XKL/KfAiQd1jj+apWwnNvrQhOyKXlzfcmPMTsPEhtQdhfTIehcNmNP9i9Jl7R/gOmFqxpEBE7fUfIfi0bvASwa6lW01sp0Xpef/89i X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231220)(11241501184)(944501244)(52105095)(10201501046)(3002001)(6041288)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:BN6PR15MB1876;BCL:0;PCL:0;RULEID:;SRVR:BN6PR15MB1876; X-Forefront-PRVS: 06036BD506 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(39860400002)(376002)(346002)(396003)(366004)(39380400002)(199004)(189003)(105586002)(5660300001)(50226002)(4326008)(305945005)(7736002)(86362001)(966005)(81156014)(83716003)(36756003)(25786009)(81166006)(8936002)(33656002)(8676002)(16526019)(478600001)(6246003)(77096007)(68736007)(67846002)(2906002)(97736004)(386003)(82746002)(186003)(6666003)(51416003)(50466002)(52396003)(52116002)(229853002)(316002)(76176011)(6916009)(46003)(53546011)(53936002)(90366009)(6116002)(59450400001)(16586007)(106356001)(54906003)(6486002)(6306002)(47776003)(2950100002)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR15MB1876;H:[172.21.93.225];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR15MB1876;23:2KcsbFoQgoOjD0GpexC+wqjyYsa9Opk2JwDgIe3R/?= =?us-ascii?Q?uIRtcDESp1nUoZHgor7JCucLVLXOGVMhH7rlspP0U6xX/CNYiPcul2Kefg6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tfqD8bpie6SbSvWq1ox39Tqd5xnrPWETqIw1ucB0L/ZsFxjU25jjM49a/unOqAxRECGuhmwap2go34BlZ+ZigoXOcAh46RV6DI1eBRzfYM+GlB1P7bVliBJ+foz/ZfPekXcGdIbSx1q0nE1eZ7K9cFDy7q84m9Kti96w=;24:mUmhF42wxuiWC1ryhr/qR180cuk7jWeH7q5JNr9iYAFQWOXozCAnap+FnqsOAypij1itxpjnIaEtZSJad/HqNrZGxqXLS68fjKJSNFdnvqc=;7:C1GI1CWG6c/IIKNnTKhwxFlwLpkIMAxuMf4lMfcNTtX75HcENTnu4jYvII+qWL8fR2dSN+2RRPWd1DEu06Copj2NIuAcIyeyKqxJS+iErfyYHpWv25q4yy6m41diKuYOHL98YFRDHt5bVskzfl/oh73qSRHX1kQoKt8dLt30fE3YWjg5ToNveif7C/aRCxgFP8/2qF3qT1tpFJoiTIxc3BmbWQ8awtveB6iBbNZ1hjJxQIWxdFzlvnAlvhu/Yikn SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1876;20:QbiKqW9LOBpcuLNcfulsWRowLEyvj3vLunTUdDWRYodmVKBlTMAWIop6dBmJ8+Q95H6ACOC3cPyuOfVmMzhkmKAfScnu8nwY1VLHXdiNxxmbzxZsNBvtYX1NryZb17bl3KHwBRXEKEdhjxZ5YjQgXcHR19NALE4Ayg3aBOMXem4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2018 23:42:45.8275 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 48d896c6-2101-4b3f-f386-08d583bbf723 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR15MB1876 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-06_13:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6 Mar 2018, at 11:12, Linus Torvalds wrote: > On Mon, Mar 5, 2018 at 5:34 PM, Alexei Starovoitov > wrote: >> As the first step in development of bpfilter project [1] the >> request_module() >> code is extended to allow user mode helpers to be invoked. Idea is >> that >> user mode helpers are built as part of the kernel build and installed >> as >> traditional kernel modules with .ko file extension into distro >> specified >> location, such that from a distribution point of view, they are no >> different >> than regular kernel modules. Thus, allow request_module() logic to >> load such >> user mode helper (umh) modules via: > [,,] > > I like this, but I have one request: can we make sure that this action > is visible in the system messages? > > When we load a regular module, at least it shows in lsmod afterwards, > although I have a few times wanted to really see module load as an > event in the logs too. > > When we load a module that just executes a user program, and there is > no sign of it in the module list, I think we *really* need to make > that event show to the admin some way. > > .. and yes, maybe we'll need to rate-limit the messages, and maybe it > turns out that I'm entirely wrong and people will hate the messages > after they get used to the concept of these pseudo-modules, but > particularly for the early implementation when this is a new thing, I > really want a message like > > executed user process xyz-abc as a pseudo-module > > or something in dmesg. > > I do *not* want this to be a magical way to hide things. Especially early on, this makes a lot of sense. But I wanted to plug bps and the hopefully growing set of bpf introspection tools: https://github.com/iovisor/bcc/blob/master/introspection/bps_example.txt Long term these are probably a good place to tell the admin what's going on. -chris