]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/chkname.[ch]: login_name_max_size(): Add function
authorAlejandro Colomar <alx@kernel.org>
Fri, 10 May 2024 23:34:05 +0000 (01:34 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Tue, 21 May 2024 11:26:41 +0000 (13:26 +0200)
commit99df9d746ea2e36116accfe0a5fe57082de3d025
tree91e8fd1db85e3488bb0013e52436f13ede87be2c
parent27e467a61a5509a7aa5f3fffd688394c7e8bc3aa
lib/chkname.[ch]: login_name_max_size(): Add function

It encapsulates some logic that we may want to reuse elsewhere.

Link: <https://github.com/shadow-maint/shadow/pull/989>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/chkname.c
lib/chkname.h