• Linus Torvalds's avatar
    Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 28576760
    Linus Torvalds authored
    Pull overflow updates from Kees Cook:
     "This adds the new overflow checking helpers and adds them to the
      2-factor argument allocators. And this adds the saturating size
      helpers and does a treewide replacement for the struct_size() usage.
      Additionally this adds the overflow testing modules to make sure
      everything works.
    
      I'm still working on the treewide replacements for allocators with
      "simple" multiplied arguments:
    
         *alloc(a * b, ...) -> *alloc_array(a, b, ...)
    
      and
    
         *zalloc(a * b, ...) -> *calloc(a, b, ...)
    
      as well as the more complex cases, but that's separable from this
      portion of the series. I expect to have the rest sent before -rc1
      closes; there are a lot of messy cases to clean up.
    
      Summary:
    
       - Introduce arithmetic overflow test helper functions (Rasmus)
    
       - Use overflow helpers in 2-factor allocators (Kees, Rasmus)
    
       - Introduce overflow test module (Rasmus, Kees)
    
       - Introduce saturating size helper functions (Matthew, Kees)
    
       - Treewide use of struct_size() for allocators (Kees)"
    
    * tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      treewide: Use struct_size() for devm_kmalloc() and friends
      treewide: Use struct_size() for vmalloc()-family
      treewide: Use struct_size() for kmalloc()-family
      device: Use overflow helpers for devm_kmalloc()
      mm: Use overflow helpers in kvmalloc()
      mm: Use overflow helpers in kmalloc_array*()
      test_overflow: Add memory allocation overflow tests
      overflow.h: Add allocation size calculation helpers
      test_overflow: Report test failures
      test_overflow: macrofy some more, do more tests for free
      lib: add runtime test of check_*_overflow functions
      compiler.h: enable builtin overflow checkers and add fallback code
    28576760
Name
Last commit
Last update
..
broadcom Loading commit data...
int340x_thermal Loading commit data...
qcom Loading commit data...
samsung Loading commit data...
st Loading commit data...
tegra Loading commit data...
ti-soc-thermal Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
armada_thermal.c Loading commit data...
clock_cooling.c Loading commit data...
cpu_cooling.c Loading commit data...
da9062-thermal.c Loading commit data...
db8500_thermal.c Loading commit data...
devfreq_cooling.c Loading commit data...
dove_thermal.c Loading commit data...
fair_share.c Loading commit data...
gov_bang_bang.c Loading commit data...
hisi_thermal.c Loading commit data...
imx_thermal.c Loading commit data...
intel_bxt_pmic_thermal.c Loading commit data...
intel_pch_thermal.c Loading commit data...
intel_powerclamp.c Loading commit data...
intel_quark_dts_thermal.c Loading commit data...
intel_soc_dts_iosf.c Loading commit data...
intel_soc_dts_iosf.h Loading commit data...
intel_soc_dts_thermal.c Loading commit data...
kirkwood_thermal.c Loading commit data...
max77620_thermal.c Loading commit data...
mtk_thermal.c Loading commit data...
of-thermal.c Loading commit data...
power_allocator.c Loading commit data...
qcom-spmi-temp-alarm.c Loading commit data...
qoriq_thermal.c Loading commit data...
rcar_gen3_thermal.c Loading commit data...
rcar_thermal.c Loading commit data...
rockchip_thermal.c Loading commit data...
spear_thermal.c Loading commit data...
step_wise.c Loading commit data...
tango_thermal.c Loading commit data...
thermal-generic-adc.c Loading commit data...
thermal_core.c Loading commit data...
thermal_core.h Loading commit data...
thermal_helpers.c Loading commit data...
thermal_hwmon.c Loading commit data...
thermal_hwmon.h Loading commit data...
thermal_sysfs.c Loading commit data...
uniphier_thermal.c Loading commit data...
user_space.c Loading commit data...
x86_pkg_temp_thermal.c Loading commit data...
zx2967_thermal.c Loading commit data...