diff options
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 4f5047df8a9e..3b6e2c9fbb2e 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -1059,7 +1059,15 @@ struct ctl_table_header | |||
1059 | struct completion *unregistering; | 1059 | struct completion *unregistering; |
1060 | }; | 1060 | }; |
1061 | 1061 | ||
1062 | /* struct ctl_path describes where in the hierarchy a table is added */ | ||
1063 | struct ctl_path { | ||
1064 | const char *procname; | ||
1065 | int ctl_name; | ||
1066 | }; | ||
1067 | |||
1062 | struct ctl_table_header *register_sysctl_table(struct ctl_table * table); | 1068 | struct ctl_table_header *register_sysctl_table(struct ctl_table * table); |
1069 | struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path, | ||
1070 | struct ctl_table *table); | ||
1063 | 1071 | ||
1064 | void unregister_sysctl_table(struct ctl_table_header * table); | 1072 | void unregister_sysctl_table(struct ctl_table_header * table); |
1065 | int sysctl_check_table(struct ctl_table *table); | 1073 | int sysctl_check_table(struct ctl_table *table); |