Re: Question regarding register_sysctl_table()
From: Luis Chamberlain
Date: Mon Nov 01 2021 - 14:21:01 EST
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@xxxxxxxxxx
So I'll refresh this work soon.
Luis