qemu-e2k/tools/virtiofsd
Mahmoud Mandour 01c6c6f982 virtiofsd: Changed allocations of iovec to GLib's functions
Replaced the calls to malloc()/calloc() and their respective
calls to free() of iovec structs with GLib's allocation and
deallocation functions and used g_autofree when appropriate.

Replaced the allocation of in_sg_cpy to g_new() instead of a call
to calloc() and a null-checking assertion. Not g_new0()
because the buffer is immediately overwritten using memcpy.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Message-Id: <20210427181333.148176-1-ma.mandourr@gmail.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2021-05-06 19:47:44 +01:00
..
50-qemu-virtiofsd.json.in
buffer.c Clean up includes 2020-12-10 17:16:44 +01:00
fuse_common.h viriofsd: Add support for FUSE_HANDLE_KILLPRIV_V2 2021-02-16 17:03:09 +00:00
fuse_i.h tools/virtiofsd: add support for --socket-group 2020-10-12 12:39:38 +01:00
fuse_log.c Clean up includes 2020-12-10 17:16:44 +01:00
fuse_log.h Clean up includes 2020-12-10 17:16:44 +01:00
fuse_lowlevel.c virtiofsd: Changed allocations of iovec to GLib's functions 2021-05-06 19:47:44 +01:00
fuse_lowlevel.h viriofsd: Add support for FUSE_HANDLE_KILLPRIV_V2 2021-02-16 17:03:09 +00:00
fuse_misc.h Clean up includes 2020-12-10 17:16:44 +01:00
fuse_opt.c Clean up includes 2020-12-10 17:16:44 +01:00
fuse_opt.h
fuse_signals.c Clean up includes 2020-12-10 17:16:44 +01:00
fuse_virtio.c virtiofsd: Changed allocations of iovec to GLib's functions 2021-05-06 19:47:44 +01:00
fuse_virtio.h
helper.c virtiofsd: Add help for -o xattr-mapping 2021-05-06 19:47:44 +01:00
meson.build libvhost-user: make it a meson subproject 2020-12-08 13:48:58 -05:00
passthrough_helpers.h
passthrough_ll.c virtiofs: Fixup printf args 2021-05-06 19:47:44 +01:00
passthrough_seccomp.c tools/virtiofsd: Replace the word 'whitelist' 2021-02-16 17:03:09 +00:00
passthrough_seccomp.h Clean up includes 2020-12-10 17:16:44 +01:00