mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 16:14:25 +08:00
f9ce26c56d
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> |
||
---|---|---|
.. | ||
devices | ||
joydev | ||
event-codes.rst | ||
ff.rst | ||
gamepad.rst | ||
gameport-programming.rst | ||
index.rst | ||
input_kapi.rst | ||
input_uapi.rst | ||
input-programming.rst | ||
input.rst | ||
interactive.svg | ||
multi-touch-protocol.rst | ||
notifier.rst | ||
shape.svg | ||
uinput.rst | ||
userio.rst |