mirror of https://github.com/torvalds/linux.git
Add the const qualifier to all the ctl_tables in the tree except for
watchdog_hardlockup_sysctl, memory_allocation_profiling_sysctls,
loadpin_sysctl_table and the ones calling register_net_sysctl (./net,
drivers/inifiniband dirs). These are special cases as they use a
registration function with a non-const qualified ctl_table argument or
modify the arrays before passing them on to the registration function.
Constifying ctl_table structs will prevent the modification of
proc_handler function pointers as the arrays would reside in .rodata.
This is made possible after commit
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| bt-bmc.c | ||
| ipmb_dev_int.c | ||
| ipmi_bt_sm.c | ||
| ipmi_devintf.c | ||
| ipmi_dmi.c | ||
| ipmi_dmi.h | ||
| ipmi_ipmb.c | ||
| ipmi_kcs_sm.c | ||
| ipmi_msghandler.c | ||
| ipmi_plat_data.c | ||
| ipmi_plat_data.h | ||
| ipmi_powernv.c | ||
| ipmi_poweroff.c | ||
| ipmi_si.h | ||
| ipmi_si_hardcode.c | ||
| ipmi_si_hotmod.c | ||
| ipmi_si_intf.c | ||
| ipmi_si_mem_io.c | ||
| ipmi_si_parisc.c | ||
| ipmi_si_pci.c | ||
| ipmi_si_platform.c | ||
| ipmi_si_port_io.c | ||
| ipmi_si_sm.h | ||
| ipmi_smic_sm.c | ||
| ipmi_ssif.c | ||
| ipmi_watchdog.c | ||
| kcs_bmc.c | ||
| kcs_bmc.h | ||
| kcs_bmc_aspeed.c | ||
| kcs_bmc_cdev_ipmi.c | ||
| kcs_bmc_client.h | ||
| kcs_bmc_device.h | ||
| kcs_bmc_npcm7xx.c | ||
| kcs_bmc_serio.c | ||
| ssif_bmc.c | ||