Files
linux-stable-mirror/include/linux/sysctl.h
Thomas Weißschuh 50a191a8a1 sysctl: update comments to new registration APIs
The sysctl registration APIs do not need a terminating table entry
anymore and with commit acc154691f ("sysctl: Warn on an empty procname
element") even emit warnings if such a sentinel entry is supplied.

While at it also remove the mention of "table->de" which was removed in
commit 3fbfa98112 ("[PATCH] sysctl: remove the proc_dir_entry member
for the sysctl tables") back in 2007.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
2024-10-23 15:28:28 +02:00

9.6 KiB