]> git.itanic.dy.fi Git - linux-stable/commit
proc_sysctl: enhance documentation
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 21:00:16 +0000 (13:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 11:59:00 +0000 (13:59 +0200)
commit6390b0658e73bc0a20618d72f570a3df4b82a3e8
tree3c621a070e64179e2f4393ce7a0cd09ac18800ea
parent9b41c223ab06aad73ccde239da0da840ce669768
proc_sysctl: enhance documentation

commit 1dc8689e4cc651e21566e10206a84c4006e81fb1 upstream.

Expand documentation to clarify:

  o that paths don't need to exist for the new API callers
  o clarify that we *require* callers to keep the memory of
    the table around during the lifetime of the sysctls
  o annotate routines we are trying to deprecate and later remove

Cc: stable@vger.kernel.org # v5.17
Cc: Christian Brauner <brauner@kernel.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/proc/proc_sysctl.c