diff options
author | Christophe JAILLET <[email protected]> | 2023-09-30 11:14:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-10-05 13:34:05 +0200 |
commit | 77f048bcbf07f7dc961f3b2b7815038b5405ec60 (patch) | |
tree | 4abac0c86e22107a136b6789df03cbf7036a1ed7 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | e6c1ccaa711aeca0191f9d9f036e688a2c52ab8c (diff) |
comedi: Annotate struct comedi_lrange with __counted_by
Prepare for the coming implementation by GCC and Clang of the __counted_by
attribute. Flexible array members annotated with __counted_by can have
their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
(for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
functions).
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: "Gustavo A. R. Silva" <[email protected]>
Link: https://lore.kernel.org/r/5c3b7459b820e22e2ac6ce892d4aadcc119cc919.1696065263.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions