summaryrefslogtreecommitdiff
path: root/man/systemd-journal-gatewayd.service.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-09-05 15:20:15 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-09-30 14:23:13 -0400
commit0260d1d542da73b3358fa659fb1fa634badbf00e (patch)
tree0eba0f98522c5e456c7edc4a9023bf8c2c192293 /man/systemd-journal-gatewayd.service.xml
parent7bbb5359c0a23061c9bd40e6f7c2a0afbf2906f8 (diff)
sd-daemon: fix sd_is_mq for non-mq fds
mq_getattr returns -1/EBADF for file descriptors which are not mq. But we should return 0 in this case. We first check that fd is a valid fd, so we can assume that if mq_getattr returns EBADF, it is simply a non-mq fd. There is a slight race, but there doesn't seem to be a nice way to fix it.
Diffstat (limited to 'man/systemd-journal-gatewayd.service.xml')
0 files changed, 0 insertions, 0 deletions