diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-05-08 21:09:35 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-05-08 21:09:35 +0200 |
commit | d75103d4c68f13ecf3d09234c1506d58e8fae80e (patch) | |
tree | d194cc46b63dc07129ee3bb20e9a87b7df93161a /src/basic/socket-util.h | |
parent | NEWS: typo fix and american english (#3219) (diff) | |
parent | core: rework how we flush incoming traffic when a socket unit goes down (diff) | |
download | systemd-d75103d4c68f13ecf3d09234c1506d58e8fae80e.tar.xz systemd-d75103d4c68f13ecf3d09234c1506d58e8fae80e.zip |
Merge pull request #3202 from poettering/socket-fixes
don't reopen socket fds when reloading the daemon
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r-- | src/basic/socket-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index daa4b24a37..160f7c484b 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -135,6 +135,8 @@ int receive_one_fd(int transport_fd, int flags); ssize_t next_datagram_size_fd(int fd); +int flush_accept(int fd); + #define CMSG_FOREACH(cmsg, mh) \ for ((cmsg) = CMSG_FIRSTHDR(mh); (cmsg); (cmsg) = CMSG_NXTHDR((mh), (cmsg))) |