Skip to content
Snippets Groups Projects
user avatar
Stephen Kitt authored
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: default avatarStephen Kitt <steve@sk2.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarFederico Vaga <federico.vaga@vaga.pv.it>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
220ee02a
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.