aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-07-16 02:41:21 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:49 -0400
commit2be7fe075af8f8ba9c8b8ab0feec4ba4fff04979 (patch)
tree13c1fb37c6978f911014b32589ba0cb597b9a6fb /kernel/sysctl.c
parent97d8f83cb734525f96992fd61e4f7323ab3d549c (diff)
sysctl.c: add text telling people to use CTL_UNNUMBERED
Hopefully this will help people to understand the new regime. Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 2cce2286bdcd..7dca326648d5 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -203,7 +203,10 @@ static ctl_table root_table[] = {
203 .mode = 0555, 203 .mode = 0555,
204 .child = dev_table, 204 .child = dev_table,
205 }, 205 },
206 206/*
207 * NOTE: do not add new entries to this table unless you have read
208 * Documentation/sysctl/ctl_unnumbered.txt
209 */
207 { .ctl_name = 0 } 210 { .ctl_name = 0 }
208}; 211};
209 212
@@ -992,6 +995,14 @@ static ctl_table vm_table[] = {
992 .extra1 = &zero, 995 .extra1 = &zero,
993 }, 996 },
994#endif 997#endif
998/*
999 * NOTE: do not add new entries to this table unless you have read
1000 * Documentation/sysctl/ctl_unnumbered.txt
1001 */
1002/*
1003 * NOTE: do not add new entries to this table unless you have read
1004 * Documentation/sysctl/ctl_unnumbered.txt
1005 */
995 { .ctl_name = 0 } 1006 { .ctl_name = 0 }
996}; 1007};
997 1008
@@ -1132,6 +1143,14 @@ static ctl_table fs_table[] = {
1132 .child = binfmt_misc_table, 1143 .child = binfmt_misc_table,
1133 }, 1144 },
1134#endif 1145#endif
1146/*
1147 * NOTE: do not add new entries to this table unless you have read
1148 * Documentation/sysctl/ctl_unnumbered.txt
1149 */
1150/*
1151 * NOTE: do not add new entries to this table unless you have read
1152 * Documentation/sysctl/ctl_unnumbered.txt
1153 */
1135 { .ctl_name = 0 } 1154 { .ctl_name = 0 }
1136}; 1155};
1137 1156