chiark / gitweb /
sd_pid_notify_with_fds: fix computing msg_controllen
authorMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 8 Sep 2015 13:36:30 +0000 (15:36 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:09 +0000 (10:45 +0200)
CMSG_SPACE(0) may return value other than 0. This caused sendmsg to fail
with EINVAL, when have_pid or n_fds was 0.


No differences found