]> 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)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:22 +0000 (11:49 -0700)
commit1dc8689e4cc651e21566e10206a84c4006e81fb1
treee775da6943b4ce28f655e76f9c7e19af267e6bb1
parent9f17a75b2d10ddd786b3b2c4fd732356de4f483e
proc_sysctl: enhance documentation

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>
fs/proc/proc_sysctl.c