diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-15 12:06:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-15 19:35:00 +0200 |
commit | 9f20fc28f0a624ea49ac941bcde57b5435a01b6e (patch) | |
tree | bf447f0960ab1fe5cf5c76b13e6b38e309d4a531 /LICENSE.GPL2 | |
parent | alloc-util: add alloca() counterparts for memdup() and memdup_suffix0() (diff) | |
download | systemd-9f20fc28f0a624ea49ac941bcde57b5435a01b6e.tar.xz systemd-9f20fc28f0a624ea49ac941bcde57b5435a01b6e.zip |
socket-util: add new sockaddr_un_unlink() helper
The helper is supposed to properly handle cases where .sun_path does not
contain a NUL byte, and thus copies out the path suffix a NUL as
necessary.
This also reworks the more specific socket_address_unlink() to be a
wrapper around the more generic sockaddr_un_unlink()
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions