sysctl.c (bfdb4d9f0f611687d71cf6a460efc9e755f4a462) sysctl.c (5211a242d0cbdded372aee59da18f80552b0a80a)
1/*
2 * sysctl.c: General linux system control interface
3 *
4 * Begun 24 March 1995, Stephen Tweedie
5 * Added /proc support, Dec 1995
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.
8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver.

--- 321 unchanged lines hidden (view full) ---

330 .proc_handler = &proc_dointvec,
331 },
332 {
333 .ctl_name = CTL_UNNUMBERED,
334 .procname = "timer_migration",
335 .data = &sysctl_timer_migration,
336 .maxlen = sizeof(unsigned int),
337 .mode = 0644,
1/*
2 * sysctl.c: General linux system control interface
3 *
4 * Begun 24 March 1995, Stephen Tweedie
5 * Added /proc support, Dec 1995
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.
8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver.

--- 321 unchanged lines hidden (view full) ---

330 .proc_handler = &proc_dointvec,
331 },
332 {
333 .ctl_name = CTL_UNNUMBERED,
334 .procname = "timer_migration",
335 .data = &sysctl_timer_migration,
336 .maxlen = sizeof(unsigned int),
337 .mode = 0644,
338 .proc_handler = &proc_dointvec_minmax,
339 .strategy = &sysctl_intvec,
340 .extra1 = &zero,
341 .extra2 = &one,
338 .proc_handler = &proc_dointvec,
342 },
343#endif
344 {
345 .ctl_name = CTL_UNNUMBERED,
346 .procname = "sched_rt_period_us",
347 .data = &sysctl_sched_rt_period,
348 .maxlen = sizeof(unsigned int),
349 .mode = 0644,

--- 392 unchanged lines hidden (view full) ---

742 .ctl_name = KERN_PANIC_ON_NMI,
743 .procname = "panic_on_unrecovered_nmi",
744 .data = &panic_on_unrecovered_nmi,
745 .maxlen = sizeof(int),
746 .mode = 0644,
747 .proc_handler = &proc_dointvec,
748 },
749 {
339 },
340#endif
341 {
342 .ctl_name = CTL_UNNUMBERED,
343 .procname = "sched_rt_period_us",
344 .data = &sysctl_sched_rt_period,
345 .maxlen = sizeof(unsigned int),
346 .mode = 0644,

--- 392 unchanged lines hidden (view full) ---

739 .ctl_name = KERN_PANIC_ON_NMI,
740 .procname = "panic_on_unrecovered_nmi",
741 .data = &panic_on_unrecovered_nmi,
742 .maxlen = sizeof(int),
743 .mode = 0644,
744 .proc_handler = &proc_dointvec,
745 },
746 {
747 .ctl_name = CTL_UNNUMBERED,
748 .procname = "panic_on_io_nmi",
749 .data = &panic_on_io_nmi,
750 .maxlen = sizeof(int),
751 .mode = 0644,
752 .proc_handler = &proc_dointvec,
753 },
754 {
750 .ctl_name = KERN_BOOTLOADER_TYPE,
751 .procname = "bootloader_type",
752 .data = &bootloader_type,
753 .maxlen = sizeof (int),
754 .mode = 0444,
755 .proc_handler = &proc_dointvec,
756 },
757 {

--- 2435 unchanged lines hidden ---
755 .ctl_name = KERN_BOOTLOADER_TYPE,
756 .procname = "bootloader_type",
757 .data = &bootloader_type,
758 .maxlen = sizeof (int),
759 .mode = 0444,
760 .proc_handler = &proc_dointvec,
761 },
762 {

--- 2435 unchanged lines hidden ---