summaryrefslogtreecommitdiffstats
path: root/Documentation/block
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-06-02 13:29:14 -0700
committerJonathan Corbet <corbet@lwn.net>2021-06-04 11:21:43 -0600
commitf9ce26c56d37fa6d32f700dfc77f4ceb445ce215 (patch)
treec568a0bfd717affc70d4d1b7892c1218dd0a5f58 /Documentation/block
parent709dedfdf3daa8719240ecff1c0b70b278005386 (diff)
downloadlinux-stable-f9ce26c56d37fa6d32f700dfc77f4ceb445ce215.tar.gz
linux-stable-f9ce26c56d37fa6d32f700dfc77f4ceb445ce215.tar.bz2
linux-stable-f9ce26c56d37fa6d32f700dfc77f4ceb445ce215.zip
docs: networking: Replace strncpy() with strscpy()
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@chromium.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20210602202914.4079123-1-keescook@chromium.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions