s/strncpy/strlcpy/
strncpy doesn't necessarily nul-terminate strings. We also use sizeof(arg0) so that you can visually validate that we are measuring the correct buffers without xrefing the header files.
strncpy doesn't necessarily nul-terminate strings. We also use sizeof(arg0) so that you can visually validate that we are measuring the correct buffers without xrefing the header files.