Move freeze() into shared/
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jul 2021 09:34:00 +0000 (11:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jul 2021 09:39:45 +0000 (11:39 +0200)
commit45a68ed3073a006c44703acf2928be156805ef9f
tree47b390e17dab2415bf3525b71d1f5ab31bc37a07
parent3e24e8cd647478b3d161f1887785132e334e5df5
Move freeze() into shared/

Library code should not call freeze(), this is something that should
only be done by "application code", so moving it into shared/ is appropriate.

The fallback to call _exit() is dropped: let's trust that the infinite loop
is infinite.
src/basic/process-util.c
src/basic/process-util.h
src/libsystemd/sd-event/test-event.c
src/shared/exec-util.c
src/shared/exec-util.h
src/shared/mount-util.c