chiark / gitweb /
memfd: internalize functions, drop sd_memfd type
authorDaniel Mack <zonque@gmail.com>
Mon, 18 Aug 2014 11:28:43 +0000 (13:28 +0200)
committerDaniel Mack <zonque@gmail.com>
Mon, 18 Aug 2014 11:32:08 +0000 (13:32 +0200)
commitfac9c0d508f72cc5d469c969a4acc3694247c03b
treede438cd330880b7b99771780dc82deaecf3f03f6
parent8a02decaf1e81bad3c06752e998734c96ab11260
memfd: internalize functions, drop sd_memfd type

Remove the sd_ prefix from internal functions and get rid of the sd_memfd
type. As a memfd is now just a native file descriptor, we can get rid of our
own wrapper type, and also use close() and dup() on them directly.
man/sd_bus_message_append_array.xml
man/sd_bus_message_append_string_memfd.xml
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/test-bus-zero-copy.c
src/shared/memfd.c
src/shared/memfd.h
src/systemd/sd-bus.h