2021-11-01 11:30:07

by Hamza Mahfooz

[permalink] [raw]
Subject: Question regarding register_sysctl_table()

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



2021-11-01 18:22:49

by Luis Chamberlain

[permalink] [raw]
Subject: Re: Question regarding register_sysctl_table()

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/[email protected]

So I'll refresh this work soon.

Luis