]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/sysconf: Move sysconf handling into own file
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 13 Mar 2026 16:23:45 +0000 (17:23 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Fri, 13 Mar 2026 20:15:39 +0000 (21:15 +0100)
commitd6638d5d15eed5001a5238206c8e4e6ddac05fec
treea7badef92970c506ac9fda691bf5345a8615a700
parent3eda8411bc9d75a6cd154837400ca5966d870267
lib/sysconf: Move sysconf handling into own file

Move sysconf() calls and error handling into its own file.

While at it, adjust the data type for ngroup max value.

Requested-by: Alejandro Colomar <alx@kernel.org>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
lib/Makefile.am
lib/chkname.c
lib/chkname.h
lib/sysconf.c [new file with mode: 0644]
lib/sysconf.h [new file with mode: 0644]
src/login.c
src/useradd.c
src/usermod.c
tests/unit/Makefile.am