diff options
author | 2022-11-21 10:37:36 +0100 | |
---|---|---|
committer | 2022-11-21 10:37:36 +0100 | |
commit | b5e72d27e39a092c956b34b286f6564ceee4134c (patch) | |
tree | 744c444b3df7124270b2089256c5cd117272c229 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge branch 'slab/for-6.2/kmalloc_redzone' into slab/for-next (diff) | |
parent | slab: Remove special-casing of const 0 size allocations (diff) | |
download | wireguard-linux-b5e72d27e39a092c956b34b286f6564ceee4134c.tar.xz wireguard-linux-b5e72d27e39a092c956b34b286f6564ceee4134c.zip |
Merge branch 'slab/for-6.2/alloc_size' into slab/for-next
Two patches from Kees Cook [1]:
These patches work around a deficiency in GCC (>=11) and Clang (<16)
where the __alloc_size attribute does not apply to inlines.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503
This manifests as reduced overflow detection coverage for many allocation
sites under CONFIG_FORTIFY_SOURCE=y, where the allocation size was not
actually being propagated to __builtin_dynamic_object_size().
[1] https://lore.kernel.org/all/20221118034713.gonna.754-kees@kernel.org/
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions