Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3301856pxb; Mon, 1 Nov 2021 11:22:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTjsZ99riY4yK7K8K3Oj9lteJDs5DYSIRsSeRZzZFFlX+qNDSLjIhtZww/Wo5a3Dt5Dqr1 X-Received: by 2002:a05:6602:2e8c:: with SMTP id m12mr21931426iow.91.1635790969047; Mon, 01 Nov 2021 11:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635790969; cv=none; d=google.com; s=arc-20160816; b=VpE62VWQ563lPNQGe87g0R/kjXD5T/cDPRQrrbMAQeXtQ35ArYPfXeAKwNykxw5p1J yPwPtBF100fZkvaqBQozUan2ho89b0klz7ZN0gEFsXZTB85j+PTxDA/aZUf0LPM7AIAz Ftuqd+0FoYTIffgdfFYeibo5XKWrtpPvwt+No90OAeDXgJMFLVVlMP5nMqukoQ7rkL9I QAIYw4Vqh9DflBgVYnaoID8RrA25a+pYerscbNWU77w4QCqRmvD6VZaTiibmgks38TuR wK1DEeqj9fRdZD/iYdilZGIuJtEMDMWLzLWyHQNIsUFgLLS9bDNOY3loCHGarLK+7H7W 2qsg== 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=FmpiN0JeXadxFm1B2urNgZ7EEIDPC1g3NeWyJIxU4xc=; b=DHCg1CIG6ZP3HiuhxTfWtmzz4dEaA0YCnul+Wk2ggoVt+30PIy1G/oQ/df42HJ2cDF IFAxWk/56D7PY9IB1b0S93MnYJJwkWulxVpySzECxKs7/IXVZq4mxfeyUos0cBsgECKx h7ppK7k5C7Yxn1Un8XTw0u4jZXflsyjpEerkA9490T8t3kWrue4slz1X8VCx1/n43cnT 1m2LJAuNm11pnJ26sTv6oKjw4Z8QFzMHl9QN9H6TKV8/mK7iG17slQ4TaWwRhyb8oD6M Z+wDbD2YadB4oKWBPG601dLXkajLvPIeTiHjiTwRiyMc218aoXzA+RF452duK32ENEzF Rtkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=vZBvRvvo; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si16683357ilh.104.2021.11.01.11.22.35; Mon, 01 Nov 2021 11:22:49 -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=@infradead.org header.s=bombadil.20210309 header.b=vZBvRvvo; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231533AbhKASX2 (ORCPT + 99 others); Mon, 1 Nov 2021 14:23:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbhKASXX (ORCPT ); Mon, 1 Nov 2021 14:23:23 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1788EC061714 for ; Mon, 1 Nov 2021 11:20:50 -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=FmpiN0JeXadxFm1B2urNgZ7EEIDPC1g3NeWyJIxU4xc=; b=vZBvRvvoQyzUZ0nzL1nfdCdAJa UuWKEpz7BppRy8V60iZKv/6ahu4CEFkDcgAqvrQ0OeBDaH7IpgbXLKeeZW0fvYhwSKZE7yjh6pNq7 1Quf+xa42oC37/Ubck5r8JOUP5gJ7MakQUPrg0tMYRxVpMsTu4/heWTGfSzW2hrTEUWsKMLEiERjE pkUk8g7oXcu7rO5HzwvrBs6OvMLsBrneMhGL9T+27o/K2yfTrFPd42NeLh8IWzqzoj0DdKtMZpeZT syZu1lXYCtRwKjaEmN+++cM+6IloimGd01WIxVTs35XHBwDpmT7yTUmL+5XZIWdqu/bibUuexGlAY io9zmYLA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhbvM-00H0LB-Ov; Mon, 01 Nov 2021 18:20:48 +0000 Date: Mon, 1 Nov 2021 11:20:48 -0700 From: Luis Chamberlain To: Hamza Mahfooz Cc: linux-kernel@vger.kernel.org Subject: Re: Question regarding register_sysctl_table() Message-ID: References: <565W1R.3MI0EBO1N6WW@effective-light.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <565W1R.3MI0EBO1N6WW@effective-light.com> Sender: Luis Chamberlain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 01, 2021 at 07:27:41AM -0400, Hamza Mahfooz wrote: > Hey Luis, > > I recently came across [1], and was wondering why it is desirable to > unexport > register_sysctl_table()? > > 1. https://kernelnewbies.org/KernelProjects/proc https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20200528-sysctl-cleanups But please read this thread completely: https://lkml.kernel.org/r/20200529074108.16928-1-mcgrof@kernel.org So I'll refresh this work soon. Luis