On Tue, Jul 25, 2023 at 10:08:38PM +0000, justinstitt@xxxxxxxxxx wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1]. > > A suitable replacement is `strscpy` [2]. > > There are some hopes that someday the `strncpy` api could be ripped out > due to the vast number of suitable replacements (strscpy, strscpy_pad, > strtomem, strtomem_pad, strlcpy) [1]. > > [1]: www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings > [2]: manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html > > --- > > > Link: https://github.com/KSPP/linux/issues/90 > Signed-off-by: Justin Stitt <justinstitt@xxxxxxxxxx> > --- You've put your signoff after a --- which means it gets deleted when applied, don't do this. The Signoff should be start of the main changelog.
Attachment:
signature.asc
Description: PGP signature