[PATCH 5/6] bpftool: Make task comm always be NUL-terminated
Quentin Monnet
qmo at kernel.org
Sun Jun 2 21:01:01 UTC 2024
On 02/06/2024 03:37, Yafang Shao wrote:
> Let's explicitly ensure the destination string is NUL-terminated. This way,
> it won't be affected by changes to the source string.
>
> Signed-off-by: Yafang Shao <laoar.shao at gmail.com>
> Cc: Quentin Monnet <qmo at kernel.org>
The change looks good to me, thank you.
Reviewed-by: Quentin Monnet <qmo at kernel.org>
More information about the Linux-security-module-archive
mailing list