+ /*
+ * Using the MSG_NOSIGNAL when sending data from sessiond to
+ * libust, so libust does not receive an unhandled SIGPIPE or
+ * SIGURG. The sessiond receiver side can be made more resilient
+ * by ignoring SIGPIPE, but we don't have this luxury on the
+ * libust side.
+ */
+ ret = sendmsg(sock, &msg, MSG_NOSIGNAL);