Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon
From: Wei Liu
Date: Sat Dec 07 2024 - 02:18:23 EST
On Mon, Dec 02, 2024 at 01:35:16PM +0100, Olaf Hering wrote:
> hv_kvp_daemon uses popen(3) and system(3) as convinience helper to
> launch external helpers. These helpers are invoked via a
> temporary shell process. There is no need to keep this temporary
> process around while the helper runs. Replace this temporary shell
> with the actual helper process via 'exec'.
>
> Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: Wei Liu <wei.liu@xxxxxxxxxx>