Files
shadow/lib/spawn.c
Tobias Stoeckmann a772484f00 lib/: Use _exit in case of execv errors
Calling exit might trigger cleanup functions registered through
atexit. Since some programs use this mechanism, be extra cautious to
never release passwd/group locks too early.

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2025-01-10 10:23:57 +01:00

1.4 KiB