Move fork_agent() into shared/
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jul 2021 09:20:39 +0000 (11:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jul 2021 09:39:45 +0000 (11:39 +0200)
commit3e24e8cd647478b3d161f1887785132e334e5df5
tree4b8a5245b590c84e103d79bf63c518a25cb23a74
parent3bd6a01c0190655f50fb7f171c00f1c4c48a4069
Move fork_agent() into shared/

Currently it's only used in two places in src/shared/, so the function was
already included just once in compiled code. But it seems appropriate to
move it there anyway, because library code should have no need to fork
agents, so it doesn't belong in basic/.
src/basic/process-util.c
src/basic/process-util.h
src/shared/exec-util.c
src/shared/exec-util.h
src/shared/spawn-ask-password-agent.c
src/shared/spawn-polkit-agent.c