diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-09-09 18:11:01 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-09-09 18:11:01 +0300 |
commit | 0f9cc0589c7b31d3e7dd789834d128b1e5508c53 (patch) | |
tree | df7cf50347ac94085963965fb819a4f8df231b62 /src | |
parent | 8aef24af8956ecb5afb13b414aa22431ce55a26b (diff) | |
download | nix-0f9cc0589c7b31d3e7dd789834d128b1e5508c53.zip |
Add MSG_CMSG_CLOEXEC to MsgFlags on Linux
Fixes #421.
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/socket/consts.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/socket/consts.rs b/src/sys/socket/consts.rs index aeeea5c3..63eaf28a 100644 --- a/src/sys/socket/consts.rs +++ b/src/sys/socket/consts.rs @@ -98,6 +98,7 @@ mod os { const MSG_DONTWAIT = 0x0040, const MSG_EOR = 0x0080, const MSG_ERRQUEUE = 0x2000, + const MSG_CMSG_CLOEXEC = 0x40000000, } } |