diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-08-14 13:01:28 +0300 |
---|---|---|
committer | Anna Schumaker <anna.schumaker@oracle.com> | 2024-09-23 22:03:12 +0300 |
commit | bb8e4ce500cb09950c2b51a3be0e94e337a215aa (patch) | |
tree | fce7a247c65f89400e27cf1b8a43597bdb2fb678 /tools/perf/scripts/python | |
parent | d98f72272500f505cd7e152ffa456e64ee3855f0 (diff) | |
download | linux-bb8e4ce500cb09950c2b51a3be0e94e337a215aa.tar.xz |
nfs: Annotate struct nfs_cache_array with __counted_by()
Add the __counted_by compiler attribute to the flexible array member
array to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Increment size before adding a new struct to the array.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions