diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2025-08-05 13:35:41 +0300 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-08-19 11:12:49 +0200 |
commit | a3191475d17c19826fff712cbd057032cb079399 (patch) | |
tree | de8e085583d9673a6465cfd863f2649de0a549b3 /scripts/gdb/linux/vfs.py | |
parent | 5d1c82943f3beaa8b97eb11d865239cbab88e527 (diff) |
dm-ima: more strlen() drops
Following commit ebbd17695e9e ("dm: ima: avoid extra calls to
strlen()"), convert 'dm_ima_alloc_and_copy_capacity_str()' to
return the number of characters emitted by 'scnprintf()' and
simplify the users accordingly. Compile tested only.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Reviewed-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions