chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC"
[elogind.git]
/
src
/
shutdownd
/
shutdownd.c
diff --git
a/src/shutdownd/shutdownd.c
b/src/shutdownd/shutdownd.c
index 6eb522bcfceed559d67f7d5da297044aaa6cf5ab..826efbfeabb12a139508fa35d5c5dd47829e579a 100644
(file)
--- a/
src/shutdownd/shutdownd.c
+++ b/
src/shutdownd/shutdownd.c
@@
-69,7
+69,7
@@
static int read_packet(int fd, union shutdown_buffer *_b) {
assert(fd >= 0);
assert(_b);
- n = recvmsg(fd, &msghdr, MSG_DONTWAIT
|MSG_CMSG_CLOEXEC
);
+ n = recvmsg(fd, &msghdr, MSG_DONTWAIT);
if (n <= 0) {
if (n == 0) {
log_error("Short read");