3416 lines · 80.0 KB · C
RawDownload
		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#ifdef CONFIG_FUNCTION_TRACER	{		.procname	= "ftrace_enabled",		.data		= &ftrace_enabled,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= ftrace_enable_sysctl,	},#endif#ifdef CONFIG_STACK_TRACER	{		.procname	= "stack_tracer_enabled",		.data		= &stack_tracer_enabled,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= stack_trace_sysctl,	},#endif#ifdef CONFIG_TRACING	{		.procname	= "ftrace_dump_on_oops",		.data		= &ftrace_dump_on_oops,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "traceoff_on_warning",		.data		= &__disable_trace_on_warning,		.maxlen		= sizeof(__disable_trace_on_warning),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "tracepoint_printk",		.data		= &tracepoint_printk,		.maxlen		= sizeof(tracepoint_printk),		.mode		= 0644,		.proc_handler	= tracepoint_printk_sysctl,	},#endif#ifdef CONFIG_KEXEC_CORE	{		.procname	= "kexec_load_disabled",		.data		= &kexec_load_disabled,		.maxlen		= sizeof(int),		.mode		= 0644,		/* only handle a transition from default "0" to "1" */		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ONE,		.extra2		= SYSCTL_ONE,	},#endif#ifdef CONFIG_MODULES	{		.procname	= "modprobe",		.data		= &modprobe_path,		.maxlen		= KMOD_PATH_LEN,		.mode		= 0644,		.proc_handler	= proc_dostring,	},	{		.procname	= "modules_disabled",		.data		= &modules_disabled,		.maxlen		= sizeof(int),		.mode		= 0644,		/* only handle a transition from default "0" to "1" */		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ONE,		.extra2		= SYSCTL_ONE,	},#endif#ifdef CONFIG_UEVENT_HELPER	{		.procname	= "hotplug",		.data		= &uevent_helper,		.maxlen		= UEVENT_HELPER_PATH_LEN,		.mode		= 0644,		.proc_handler	= proc_dostring,	},#endif#ifdef CONFIG_CHR_DEV_SG	{		.procname	= "sg-big-buff",		.data		= &sg_big_buff,		.maxlen		= sizeof (int),		.mode		= 0444,		.proc_handler	= proc_dointvec,	},#endif#ifdef CONFIG_BSD_PROCESS_ACCT	{		.procname	= "acct",		.data		= &acct_parm,		.maxlen		= 3*sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#ifdef CONFIG_MAGIC_SYSRQ	{		.procname	= "sysrq",		.data		= NULL,		.maxlen		= sizeof (int),		.mode		= 0644,		.proc_handler	= sysrq_sysctl_handler,	},#endif#ifdef CONFIG_PROC_SYSCTL	{		.procname	= "cad_pid",		.data		= NULL,		.maxlen		= sizeof (int),		.mode		= 0600,		.proc_handler	= proc_do_cad_pid,	},#endif	{		.procname	= "threads-max",		.data		= NULL,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= sysctl_max_threads,	},	{		.procname	= "random",		.mode		= 0555,		.child		= random_table,	},	{		.procname	= "usermodehelper",		.mode		= 0555,		.child		= usermodehelper_table,	},#ifdef CONFIG_FW_LOADER_USER_HELPER	{		.procname	= "firmware_config",		.mode		= 0555,		.child		= firmware_config_table,	},#endif	{		.procname	= "overflowuid",		.data		= &overflowuid,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= &minolduid,		.extra2		= &maxolduid,	},	{		.procname	= "overflowgid",		.data		= &overflowgid,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= &minolduid,		.extra2		= &maxolduid,	},#ifdef CONFIG_S390	{		.procname	= "userprocess_debug",		.data		= &show_unhandled_signals,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#ifdef CONFIG_SMP	{		.procname	= "oops_all_cpu_backtrace",		.data		= &sysctl_oops_all_cpu_backtrace,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},#endif /* CONFIG_SMP */	{		.procname	= "pid_max",		.data		= &pid_max,		.maxlen		= sizeof (int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= &pid_max_min,		.extra2		= &pid_max_max,	},	{		.procname	= "panic_on_oops",		.data		= &panic_on_oops,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "panic_print",		.data		= &panic_print,		.maxlen		= sizeof(unsigned long),		.mode		= 0644,		.proc_handler	= proc_doulongvec_minmax,	},#if defined CONFIG_PRINTK	{		.procname	= "printk",		.data		= &console_loglevel,		.maxlen		= 4*sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "printk_ratelimit",		.data		= &printk_ratelimit_state.interval,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_jiffies,	},	{		.procname	= "printk_ratelimit_burst",		.data		= &printk_ratelimit_state.burst,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "printk_delay",		.data		= &printk_delay_msec,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= &ten_thousand,	},	{		.procname	= "printk_devkmsg",		.data		= devkmsg_log_str,		.maxlen		= DEVKMSG_STR_MAX_SIZE,		.mode		= 0644,		.proc_handler	= devkmsg_sysctl_set_loglvl,	},	{		.procname	= "dmesg_restrict",		.data		= &dmesg_restrict,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax_sysadmin,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},	{		.procname	= "kptr_restrict",		.data		= &kptr_restrict,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax_sysadmin,		.extra1		= SYSCTL_ZERO,		.extra2		= &two,	},#endif	{		.procname	= "ngroups_max",		.data		= &ngroups_max,		.maxlen		= sizeof (int),		.mode		= 0444,		.proc_handler	= proc_dointvec,	},	{		.procname	= "cap_last_cap",		.data		= (void *)&cap_last_cap,		.maxlen		= sizeof(int),		.mode		= 0444,		.proc_handler	= proc_dointvec,	},#if defined(CONFIG_LOCKUP_DETECTOR)	{		.procname       = "watchdog",		.data		= &watchdog_user_enabled,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler   = proc_watchdog,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},	{		.procname	= "watchdog_thresh",		.data		= &watchdog_thresh,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_watchdog_thresh,		.extra1		= SYSCTL_ZERO,		.extra2		= &sixty,	},	{		.procname       = "nmi_watchdog",		.data		= &nmi_watchdog_user_enabled,		.maxlen		= sizeof(int),		.mode		= NMI_WATCHDOG_SYSCTL_PERM,		.proc_handler   = proc_nmi_watchdog,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},	{		.procname	= "watchdog_cpumask",		.data		= &watchdog_cpumask_bits,		.maxlen		= NR_CPUS,		.mode		= 0644,		.proc_handler	= proc_watchdog_cpumask,	},#ifdef CONFIG_SOFTLOCKUP_DETECTOR	{		.procname       = "soft_watchdog",		.data		= &soft_watchdog_user_enabled,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler   = proc_soft_watchdog,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},	{		.procname	= "softlockup_panic",		.data		= &softlockup_panic,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},#ifdef CONFIG_SMP	{		.procname	= "softlockup_all_cpu_backtrace",		.data		= &sysctl_softlockup_all_cpu_backtrace,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},#endif /* CONFIG_SMP */#endif#ifdef CONFIG_HARDLOCKUP_DETECTOR	{		.procname	= "hardlockup_panic",		.data		= &hardlockup_panic,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},#ifdef CONFIG_SMP	{		.procname	= "hardlockup_all_cpu_backtrace",		.data		= &sysctl_hardlockup_all_cpu_backtrace,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},#endif /* CONFIG_SMP */#endif#endif #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86)	{		.procname       = "unknown_nmi_panic",		.data           = &unknown_nmi_panic,		.maxlen         = sizeof (int),		.mode           = 0644,		.proc_handler   = proc_dointvec,	},#endif #if (defined(CONFIG_X86_32) || defined(CONFIG_PARISC)) && \	defined(CONFIG_DEBUG_STACKOVERFLOW)	{		.procname	= "panic_on_stackoverflow",		.data		= &sysctl_panic_on_stackoverflow,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#if defined(CONFIG_X86)	{		.procname	= "panic_on_unrecovered_nmi",		.data		= &panic_on_unrecovered_nmi,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "panic_on_io_nmi",		.data		= &panic_on_io_nmi,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "bootloader_type",		.data		= &bootloader_type,		.maxlen		= sizeof (int),		.mode		= 0444,		.proc_handler	= proc_dointvec,	},	{		.procname	= "bootloader_version",		.data		= &bootloader_version,		.maxlen		= sizeof (int),		.mode		= 0444,		.proc_handler	= proc_dointvec,	},	{		.procname	= "io_delay_type",		.data		= &io_delay_type,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#if defined(CONFIG_MMU)	{		.procname	= "randomize_va_space",		.data		= &randomize_va_space,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#if defined(CONFIG_S390) && defined(CONFIG_SMP)	{		.procname	= "spin_retry",		.data		= &spin_retry,		.maxlen		= sizeof (int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#if	defined(CONFIG_ACPI_SLEEP) && defined(CONFIG_X86)	{		.procname	= "acpi_video_flags",		.data		= &acpi_realmode_flags,		.maxlen		= sizeof (unsigned long),		.mode		= 0644,		.proc_handler	= proc_doulongvec_minmax,	},#endif#ifdef CONFIG_SYSCTL_ARCH_UNALIGN_NO_WARN	{		.procname	= "ignore-unaligned-usertrap",		.data		= &no_unaligned_warning,		.maxlen		= sizeof (int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#ifdef CONFIG_IA64	{		.procname	= "unaligned-dump-stack",		.data		= &unaligned_dump_stack,		.maxlen		= sizeof (int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif#ifdef CONFIG_DETECT_HUNG_TASK#ifdef CONFIG_SMP	{		.procname	= "hung_task_all_cpu_backtrace",		.data		= &sysctl_hung_task_all_cpu_backtrace,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},#endif /* CONFIG_SMP */	{		.procname	= "hung_task_panic",		.data		= &sysctl_hung_task_panic,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,		.extra2		= SYSCTL_ONE,	},	{		.procname	= "hung_task_check_count",		.data		= &sysctl_hung_task_check_count,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec_minmax,		.extra1		= SYSCTL_ZERO,	},	{		.procname	= "hung_task_timeout_secs",

Lines 2001–2500 of 3416. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t