Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp818095ybt; Wed, 1 Jul 2020 10:44:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt7RZGQaqXKl9MEG53PyT680eI7fpLkr/r1AKvyKd20dEAtiT6T67lQYW5qyODDnmYADQI X-Received: by 2002:a17:906:191a:: with SMTP id a26mr24979310eje.315.1593625443643; Wed, 01 Jul 2020 10:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593625443; cv=none; d=google.com; s=arc-20160816; b=tkyKOHEBDsi7kff/gxpoXYbRaPpldxV4QbrJlWg1DlK+243k0ShIMoHL0o8iGLiQwZ 7kpw18bEijfVySp+NleNiwK+rM8A6bWrTfljpE19blGElK8/KxdIKO/yZfGwwhjrALZ1 qc6oJT8jMfNsjjNLM1hhBRSzNtFBM4C22IhrsUy7ilsf5vnD41KZbcGeBstDEGd648cC I9m1ecB+SqXwaAVtfbP/R3Y7LS1ihAyOUwNTbqHSQHOYtnDKQyr3HbvKn0PGNifFst+D DONGjqGxpyuzFNYjJraI86ucgLKqJStNRDAG/A5l58fFusCMj7dS3VIx4/ROJcprX/20 Umww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=xKzsF8Jbjc+SMMY4SAymQB2Q+fuQEz+Ym10cAxHzc3A=; b=yx5O6L/+I/fvwNwwUAiVhMdOJLcUlLmoPdTF2+6llzN7GSHRl3Nb/FPXzIkQaxrfbO fjqlmxYeBVwO0c9ZGnNXauAYxpPU9Du+xkr81xFpFHEG0CwNAajLlFOOzxamCRH0D5Bm 17+2Tgw+xOFSwvSHE+x6PzXPDLMhgwjyVzh/fpTtGlQ8be7z22wUHc8s8Db7nRd+4ADi ekXd+LTLV+WLc+MN50Exe7ZPe/O6qzWnS8GUtb0+qd0ATbtWOR0CXAE7xKORhtrtMUdr jeT4jjI9NFO/D23PqJ5FHfm6xbZ+YQrQVpRftQJZFk5ouEucEhZ6zCYRRfCZvBG54kny aVLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aPNsR72t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si4354464edv.217.2020.07.01.10.43.40; Wed, 01 Jul 2020 10:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aPNsR72t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732817AbgGARmu (ORCPT + 99 others); Wed, 1 Jul 2020 13:42:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732794AbgGARmt (ORCPT ); Wed, 1 Jul 2020 13:42:49 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E4ADC08C5C1; Wed, 1 Jul 2020 10:42:49 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id n23so28253777ljh.7; Wed, 01 Jul 2020 10:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xKzsF8Jbjc+SMMY4SAymQB2Q+fuQEz+Ym10cAxHzc3A=; b=aPNsR72toRiBFPx4Y7En8MH9MybkqXLIkS7Ra3U/lOFOJ5pwqNLmUvyF+myjzpKJGC HDyVEXBzOfiH4Oo9rdqG0w2SQK0QGq0cfHxdZG8DfhPbfHhcrNONfP6RBJSXucJoE72u oyN4XhxXUPAHj4EFwS9An+zKPT3ODVI827KY9SNiL7cMNRGcVtu1LfpRDu68cMGEgMFC 0aR+ypottIk697EE5AUUQF/rpVpOGtVC2ztdlPhEVw4ZN64NHBQ5kXb3uIQ0AYekGydp KtTRi5RZnP0SctqXC7OBdeFo4j/FGu+2A5aLX6d5gxYb6uzh0z4myZo8muFHHn35pr3X 0i3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xKzsF8Jbjc+SMMY4SAymQB2Q+fuQEz+Ym10cAxHzc3A=; b=ZWPbEIv6a96eXJQiKGM3uZYE+dd1kK+zszD3e7y2ih4q48wa8pqDh/g0ETggslNh/O wp9+K1Jk7sGagy9bFFafPhLWFBbAw3ZIEkPfteZINqBtlzcPL+To4QZGJHGsAZ1ROle7 njUXl4+LarVQtQf/SY2B6/YfexSitIziC1wpOWaK3zt3/oTEcMyCiYcCeVIKAbQ/CZLK bvKCLx1qXq97eV15qXBcZ84cNMd5eULg+gCl9oKOeJow0saBEcaMCaILkc4pir/hOJ5t YsKDgSU1qcwehfbd48oiIlVoD2uNCtbPx5VMuoXOAeAvfmmg5VsbycuRze6Hn+CqLTT0 pfHQ== X-Gm-Message-State: AOAM531xRxHXDgD7smc5f3ynNPjEn+Al/CmCHfKHXU2HxM1cIvT5kI8c RiMa6aQoUbW12qfMdQmv+3+8urW4eQZdL3lFtJgb1w== X-Received: by 2002:a2e:9bc3:: with SMTP id w3mr5780315ljj.121.1593625367751; Wed, 01 Jul 2020 10:42:47 -0700 (PDT) MIME-Version: 1.0 References: <20200625095725.GA3303921@kroah.com> <778297d2-512a-8361-cf05-42d9379e6977@i-love.sakura.ne.jp> <20200625120725.GA3493334@kroah.com> <20200625.123437.2219826613137938086.davem@davemloft.net> <87pn9mgfc2.fsf_-_@x220.int.ebiederm.org> <87y2oac50p.fsf@x220.int.ebiederm.org> <87bll17ili.fsf_-_@x220.int.ebiederm.org> <87imf963s6.fsf_-_@x220.int.ebiederm.org> <87ftabw3v5.fsf@x220.int.ebiederm.org> In-Reply-To: <87ftabw3v5.fsf@x220.int.ebiederm.org> From: Alexei Starovoitov Date: Wed, 1 Jul 2020 10:42:36 -0700 Message-ID: Subject: Re: [PATCH v2 05/15] umh: Separate the user mode driver and the user mode helper support To: "Eric W. Biederman" Cc: Linus Torvalds , Linux Kernel Mailing List , David Miller , Greg Kroah-Hartman , Tetsuo Handa , Kees Cook , Andrew Morton , Alexei Starovoitov , Al Viro , bpf , linux-fsdevel , Daniel Borkmann , Jakub Kicinski , Masahiro Yamada , Gary Lin , Bruno Meneguele , LSM List , Casey Schaufler , Luis Chamberlain Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 1, 2020 at 10:23 AM Eric W. Biederman wrote: > > Linus Torvalds writes: > > > On Mon, Jun 29, 2020 at 1:05 PM Eric W. Biederman wrote: > >> > >> This makes it clear which code is part of the core user mode > >> helper support and which code is needed to implement user mode > >> drivers. > >> > >> kernel/umd.c | 146 +++++++++++++++++++++++++++++++++++++++ > >> kernel/umh.c | 139 ------------------------------------- > > > > I certainly don't object to the split, but I hate the name. > > > > We have uml, umd and umh for user mode {linux, drivers, helper} > > respectively.And honestly, I don't see the point in using an obscure > > and unreadable TLA for something like this. > > > > I really don't think it would hurt to write out even the full name > > with "usermode_driver.c" or something like that, would it? > > > > Then "umd" could be continued to be used as a prefix for the helper > > functions, by all means, but if we startv renaming files, can we do it > > properly? > > I will take care of it. I have to respin the patchset for a silly bug anyways. I guess with the header name too: umd.h -> usermode_driver.h ?