Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2589337rwd; Mon, 15 May 2023 13:59:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ45ayuxJ6S/TNstgEFnLB5mqOv+SEuz16wW3sGkWD5dsObRXUA7DPKeZdVc+h3BRXjnO9aT X-Received: by 2002:a05:6a20:1591:b0:104:950f:fe02 with SMTP id h17-20020a056a20159100b00104950ffe02mr14207468pzj.21.1684184385151; Mon, 15 May 2023 13:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684184385; cv=none; d=google.com; s=arc-20160816; b=CwJ6iyE9TNtIpVxn5kizdXbtqioHnc6ZJS2n+9MUYA9ukbzGR74BB1P50FnyYFZFoY 5B4f27SnIug+2j7/LMELfTIwgclLrRjqpdwx7FLecj1xjfxJKV7VwB0PU8PPosq7Y+OZ eTGmsAFHLQMlhBRbqPj/HeQUycLTKnLY42MZwkua5+9sQysuR+XqZgLFZIOeq5GpZBNv GpgTOfOrAiBzTnEIfBkJbnsjBffzIz6iJsrgwgbYnR6Y+N4ISzUoXlbamEwU42zqR02n H8xMbDkaASWs0/QcL2ItFgphGP9fORN/tY8bRUrEqgv9zhP99nsjR7SfEkELcu/MTsNZ 9LZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=y8GfYxEehE3KNcEtHln0pLTgiDjTpLWN9Yvcq3hlIwc=; b=mcxtck0gHRRGmyWHVucJtDQ+Sa+q3TlSQ2xRsfRdWDfHrA+BPje2l3PdB0OdBCuMgT NlHXa2Jx2QuQu2GHOo6JEfFVNsSNmEAndTXC8qz9PzxL9Zv4jFrHVbljTiCCQHRZElLa +2tFw9sIhp1grNXF9M0u4LnMYc4j38Vt3IOlyfuyGkc6nGV5ZjAKqmJ5DmHoVvXLCBwf pyJPOYUrQ27AZZij0J8L1Nct7834WVkSrdduSdX21hqvKobIC7UTAudeSyNcfOgUH3m4 7mafsH6VkWEwt5rcSBlvCEb1VpJSxSkyy7PC7otk5+JI4suXP92WHtQvyX3IBq7UVYbY DU4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=35620JKf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a056a00000d00b00625e7f9b859si18488447pfk.339.2023.05.15.13.59.33; Mon, 15 May 2023 13:59:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=35620JKf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245320AbjEOUYU (ORCPT + 99 others); Mon, 15 May 2023 16:24:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245150AbjEOUYT (ORCPT ); Mon, 15 May 2023 16:24:19 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E8FB10CE; Mon, 15 May 2023 13:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=y8GfYxEehE3KNcEtHln0pLTgiDjTpLWN9Yvcq3hlIwc=; b=35620JKfdubiAZiQIWGRjKhamW yU7sN2mTXJJVzsqBgieI9wOkm3kBUrb03E6xEThFvXfIy0+1Ypk+oAY8fnlJ+cVP3Ae7S0A8bOshK MHZ/akWZL0F+/82Ova+HVLa2At7FhTihItrQIlJDGaCwHv68CB1fr+i4BOHWTddCtLceEJIg5Ydgm w+pAwaLkOWBijEaAoFMm6ZIt4Zto1EOAcTeP7b1UMAxX4GQe2ZnrnvtGS+WS8dPZ7VSmxV0TQvgSJ tZUBN73YQ+ILsWpkFmlOr0Gpc0h8L6kLN6PiBqOvQ7H3h6EClSSC57Q+cyipit0StJ0vxKuI0hB/c BFO4CBqg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pyejm-003QNT-0Z; Mon, 15 May 2023 20:24:06 +0000 Date: Mon, 15 May 2023 13:24:06 -0700 From: Luis Chamberlain To: Joel Granados Cc: Sudip Mukherjee , Iurii Zaikin , Kees Cook , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/6] sysctl: Remove register_sysctl_table from parport Message-ID: References: <20230515071446.2277292-1-j.granados@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230515071446.2277292-1-j.granados@samsung.com> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 15, 2023 at 09:14:40AM +0200, Joel Granados wrote: > This is part of the general push to deprecate register_sysctl_paths and > register_sysctl_table. Parport driver uses the "CHILD" pointer > in the ctl_table structure to create its directory structure. We move to > the newer register_sysctl call and remove the pointer madness. Nice! Thanks for doing this and unwinding the sysctl use case which takes the cake for the obfuscation use case of sysctls. > I have separated the parport into 5 patches to clarify the different > changes needed for the 3 calls to register_sysctl_paths. I can squash > them together if need be. I think it makes sense to keep them that way. > We no longer export the register_sysctl_table call as parport was the > last user from outside proc_sysctl.c. Also modified documentation slightly > so register_sysctl_table is no longer mentioned. We can go further, but I'll explain in patch review on the patches. > I'm waiting on the 0-day tests results. Nice! Luis