aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJustin Stitt <justinstitt@google.com>2023-08-09 01:06:08 +0000
committerFlorian Westphal <fw@strlen.de>2023-08-22 15:13:21 +0200
commit6d87a4eae89e2ae015b40fd0adc90e9a7dc9fccb (patch)
tree31ca7d387e03689d4f503fc52d585540f465427e /tools/perf/scripts/python/task-analyzer.py
parent7457af8bf9948aeb31de21e4be3bc1fef2730958 (diff)
netfilter: nft_osf: refactor deprecated strncpy
Use `strscpy_pad` over `strncpy` for NUL-terminated strings. We can also drop the + 1 from `NFT_OSF_MAXGENRELEN + 1` since `strscpy` will guarantee NUL-termination. Signed-off-by: Justin Stitt <justinstitt@google.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions