[PATCH 11/11] proc_sysctl: deprecate register_sysctl_paths()
Eric Biggers
ebiggers at kernel.org
Fri Mar 10 04:17:07 UTC 2023
On Thu, Mar 02, 2023 at 12:28:26PM -0800, Luis Chamberlain wrote:
> diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
> index 780690dc08cd..e8459fc56b50 100644
> --- a/include/linux/sysctl.h
> +++ b/include/linux/sysctl.h
> @@ -221,13 +221,8 @@ extern void retire_sysctl_set(struct ctl_table_set *set);
> struct ctl_table_header *__register_sysctl_table(
> struct ctl_table_set *set,
> const char *path, struct ctl_table *table);
> -struct ctl_table_header *__register_sysctl_paths(
> - struct ctl_table_set *set,
> - const struct ctl_path *path, struct ctl_table *table);
> struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table);
> struct ctl_table_header *register_sysctl_table(struct ctl_table * table);
> -struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path,
> - struct ctl_table *table);
>
> void unregister_sysctl_table(struct ctl_table_header * table);
>
> @@ -277,12 +272,6 @@ static inline struct ctl_table_header *register_sysctl_mount_point(const char *p
> return NULL;
> }
>
> -static inline struct ctl_table_header *register_sysctl_paths(
> - const struct ctl_path *path, struct ctl_table *table)
> -{
> - return NULL;
> -}
> -
Seems that this patch should be titled "remove register_sysctl_paths()", not
"deprecate register_sysctl_paths()"?
- Eric
More information about the Linux-security-module-archive
mailing list