]> git.proxmox.com Git - mirror_qemu.git/commit
qga: use qga_open_cloexec() for safe_open_or_create()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 25 May 2022 14:41:31 +0000 (16:41 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 28 May 2022 09:42:56 +0000 (11:42 +0200)
commit1a89a17b769352dbced5c6d8b0935e4d1f306c6e
tree6dea622ec257c65a303570c8b0ede5217bb95a0e
parent0edbfbe31c532a98a8674b68c94a97537f4e4230
qga: use qga_open_cloexec() for safe_open_or_create()

The function takes care of setting CLOEXEC.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220525144140.591926-7-marcandre.lureau@redhat.com>
qga/commands-posix.c