OLD | NEW |
1 /* | 1 /* |
2 * sysctl.c: General linux system control interface | 2 * sysctl.c: General linux system control interface |
3 * | 3 * |
4 * Begun 24 March 1995, Stephen Tweedie | 4 * Begun 24 March 1995, Stephen Tweedie |
5 * Added /proc support, Dec 1995 | 5 * Added /proc support, Dec 1995 |
6 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. | 6 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. |
7 * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. | 7 * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. |
8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. | 8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. |
9 * Dynamic registration fixes, Stephen Tweedie. | 9 * Dynamic registration fixes, Stephen Tweedie. |
10 * Added kswapd-interval, ctrl-alt-del, printk stuff, 1/8/97, Chris Horn. | 10 * Added kswapd-interval, ctrl-alt-del, printk stuff, 1/8/97, Chris Horn. |
(...skipping 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 .procname = "memory_failure_recovery", | 1417 .procname = "memory_failure_recovery", |
1418 .data = &sysctl_memory_failure_recovery, | 1418 .data = &sysctl_memory_failure_recovery, |
1419 .maxlen = sizeof(sysctl_memory_failure_recovery), | 1419 .maxlen = sizeof(sysctl_memory_failure_recovery), |
1420 .mode = 0644, | 1420 .mode = 0644, |
1421 .proc_handler = &proc_dointvec_minmax, | 1421 .proc_handler = &proc_dointvec_minmax, |
1422 .strategy = &sysctl_intvec, | 1422 .strategy = &sysctl_intvec, |
1423 .extra1 = &zero, | 1423 .extra1 = &zero, |
1424 .extra2 = &one, | 1424 .extra2 = &one, |
1425 }, | 1425 }, |
1426 #endif | 1426 #endif |
| 1427 { |
| 1428 .ctl_name = CTL_UNNUMBERED, |
| 1429 .procname = "min_filelist_kbytes", |
| 1430 .data = &min_filelist_kbytes, |
| 1431 .maxlen = sizeof(min_filelist_kbytes), |
| 1432 .mode = 0644, |
| 1433 .proc_handler = &proc_dointvec, |
| 1434 .strategy = &sysctl_intvec, |
| 1435 .extra1 = &zero, |
| 1436 }, |
1427 | 1437 |
1428 /* | 1438 /* |
1429 * NOTE: do not add new entries to this table unless you have read | 1439 * NOTE: do not add new entries to this table unless you have read |
1430 * Documentation/sysctl/ctl_unnumbered.txt | 1440 * Documentation/sysctl/ctl_unnumbered.txt |
1431 */ | 1441 */ |
1432 { .ctl_name = 0 } | 1442 { .ctl_name = 0 } |
1433 }; | 1443 }; |
1434 | 1444 |
1435 #if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE) | 1445 #if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE) |
1436 static struct ctl_table binfmt_misc_table[] = { | 1446 static struct ctl_table binfmt_misc_table[] = { |
(...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3249 EXPORT_SYMBOL(proc_doulongvec_minmax); | 3259 EXPORT_SYMBOL(proc_doulongvec_minmax); |
3250 EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax); | 3260 EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax); |
3251 EXPORT_SYMBOL(register_sysctl_table); | 3261 EXPORT_SYMBOL(register_sysctl_table); |
3252 EXPORT_SYMBOL(register_sysctl_paths); | 3262 EXPORT_SYMBOL(register_sysctl_paths); |
3253 EXPORT_SYMBOL(sysctl_intvec); | 3263 EXPORT_SYMBOL(sysctl_intvec); |
3254 EXPORT_SYMBOL(sysctl_jiffies); | 3264 EXPORT_SYMBOL(sysctl_jiffies); |
3255 EXPORT_SYMBOL(sysctl_ms_jiffies); | 3265 EXPORT_SYMBOL(sysctl_ms_jiffies); |
3256 EXPORT_SYMBOL(sysctl_string); | 3266 EXPORT_SYMBOL(sysctl_string); |
3257 EXPORT_SYMBOL(sysctl_data); | 3267 EXPORT_SYMBOL(sysctl_data); |
3258 EXPORT_SYMBOL(unregister_sysctl_table); | 3268 EXPORT_SYMBOL(unregister_sysctl_table); |
OLD | NEW |