]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Do not call exit() on code ending in shared libraries
authorCristian Rodríguez <cristian@rodriguez.im>
Sat, 17 May 2025 19:07:02 +0000 (15:07 -0400)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Jun 2025 08:23:46 +0000 (10:23 +0200)
commitb75b2c9b9e068cfb13f25ea38a78e2202e38c192
tree308bc6493f70946e663eb54279ef8fb231e8fc18
parent637501ad1b1b04012d4f8cd3c67426f9d0f84e72
Do not call exit() on code ending in shared libraries

It is not cool to call atexit() handlers of unknown
applications from shared libraries, use _exit instead.

Signed-off-by: Cristian Rodríguez <cristian@rodriguez.im>
(cherry picked from commit 765b9259fa75e7cab64de4bcfdd2f49cb63efedb)
lib/canonicalize.c
libblkid/src/topology/dm.c
libblkid/src/topology/lvm.c