]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/chkname.c: Support unlimited user name lengths
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 3 Feb 2024 00:10:22 +0000 (01:10 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sun, 4 Feb 2024 23:03:12 +0000 (17:03 -0600)
commit6a1f45d932c859725bc175f96f7c42b9ccc20ea4
treede61cf2f883dee93d7caa6d79d4a15eddcc3931b
parent403a2e3771be6b1c0c6fc16b2be65b4d36f759ab
lib/chkname.c: Support unlimited user name lengths

If the system does not have a user name length limit, support it
accordingly. If the system has no _SC_LOGIN_NAME_MAX, use
LOGIN_NAME_MAX constant instead.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/chkname.c