[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87im2tzgsd.fsf@meer.lwn.net>
Date: Fri, 04 Jun 2021 11:22:10 -0600
From: Jonathan Corbet <corbet@....net>
To: Kees Cook <keescook@...omium.org>
Cc: Kees Cook <keescook@...omium.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Maxim Krasnyansky <maxk@....qualcomm.com>,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH] docs: networking: Replace strncpy() with strscpy()
Kees Cook <keescook@...omium.org> writes:
> Replace example code's use of strncpy() with strscpy() functions. Using
> strncpy() is considered deprecated:
> https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
> ---
> Documentation/input/joydev/joystick-api.rst | 2 +-
> Documentation/networking/packet_mmap.rst | 2 +-
> Documentation/networking/tuntap.rst | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
jon
Powered by blists - more mailing lists