Re: [OpenWrt-Devel] [PATCH v2 ubus] ubusd/libubus-io: fix socket descriptor passing

2019-12-27 Thread Hannu Nyman
Petr Štetiar kirjoitti 27.12.2019 klo 16.15: In commit 5d7ca8309d0a ("ubusd/libubus-io: fix variable sized struct position warning") the position of cmsghdr struct has been changed in order to fix clang-9 compiler warning, but it has introduced regression in at least `logread` which hanged indefi

[OpenWrt-Devel] [PATCH v2 ubus] ubusd/libubus-io: fix socket descriptor passing

2019-12-27 Thread Petr Štetiar
In commit 5d7ca8309d0a ("ubusd/libubus-io: fix variable sized struct position warning") the position of cmsghdr struct has been changed in order to fix clang-9 compiler warning, but it has introduced regression in at least `logread` which hanged indefinitely. So this patch reworks the socket descr