OpenCloudOS-Kernel/Documentation/kernel-hacking
Stephen Kitt 220ee02a0b docs: stop suggesting strlcpy
Since strlcpy is deprecated, the documentation shouldn't suggest using
it. This patch fixes the examples to use strscpy instead. It also uses
sizeof instead of underlying constants as far as possible, to simplify
future changes to the corresponding data structures.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Federico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2019-06-20 14:08:49 -06:00
..
conf.py docs-rst: convert kernel-hacking to ReST 2017-05-16 08:00:49 -03:00
hacking.rst docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
index.rst doc: add some chapter labels 2018-06-26 09:08:06 -06:00
locking.rst docs: stop suggesting strlcpy 2019-06-20 14:08:49 -06:00