aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h8
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 */
1063struct ctl_path {
1064 const char *procname;
1065 int ctl_name;
1066};
1067
1062struct ctl_table_header *register_sysctl_table(struct ctl_table * table); 1068struct ctl_table_header *register_sysctl_table(struct ctl_table * table);
1069struct ctl_table_header *register_sysctl_paths(const struct ctl_path *path,
1070 struct ctl_table *table);
1063 1071
1064void unregister_sysctl_table(struct ctl_table_header * table); 1072void unregister_sysctl_table(struct ctl_table_header * table);
1065int sysctl_check_table(struct ctl_table *table); 1073int sysctl_check_table(struct ctl_table *table);