projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddfd9e5
)
Remove no-longer-relevant comment.
author
Davin McCall
<davmac@davmac.org>
Thu, 8 Jun 2017 22:21:54 +0000
(23:21 +0100)
committer
Davin McCall
<davmac@davmac.org>
Thu, 8 Jun 2017 22:21:54 +0000
(23:21 +0100)
src/dinit.cc
patch
|
blob
|
history
diff --git
a/src/dinit.cc
b/src/dinit.cc
index 831e2ae88f419f5a4b1a927e923595e24e09766e..5a208898d0722c6c80b1984486170323cd74babe 100644
(file)
--- a/
src/dinit.cc
+++ b/
src/dinit.cc
@@
-488,8
+488,6
@@
void open_control_socket(bool report_ro_failure) noexcept
name->sun_family = AF_UNIX;
memcpy(name->sun_path, saddrname, saddrname_len + 1);
- // OpenBSD and Linux both allow combining NONBLOCK/CLOEXEC flags with socket type, however
- // it's not actually POSIX. (TODO).
int sockfd = dinit_socket(AF_UNIX, SOCK_STREAM, 0, SOCK_NONBLOCK | SOCK_CLOEXEC);
if (sockfd == -1) {
log(LogLevel::ERROR, "Error creating control socket: ", strerror(errno));