summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-02-10 17:39:23 -0600
committerRyan Zoeller <rtzoeller@rtzoeller.com>2022-02-10 17:39:51 -0600
commitdcc8b778fa463043a1995e17179d9c116b6a2de2 (patch)
tree9d2e0b2ec40ecf75f70a89577d14a260de5e0ffd
parentc8ca99b26b335d34aad4fdae1e19b687252e1bdd (diff)
downloadrust-libc-dcc8b778fa463043a1995e17179d9c116b6a2de2.tar.gz
Define ENOTRECOVERABLE and EOWNERDEAD on DragonFly
Corresponds to DragonFly commit c907b81a9d9aa73a2c8f1b41387347bc0eb66ba5
-rw-r--r--libc-test/semver/dragonfly.txt2
-rw-r--r--src/unix/bsd/freebsdlike/dragonfly/mod.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/semver/dragonfly.txt b/libc-test/semver/dragonfly.txt
index aa0540ea72..ad3b0b5a61 100644
--- a/libc-test/semver/dragonfly.txt
+++ b/libc-test/semver/dragonfly.txt
@@ -229,8 +229,10 @@ ENOATTR
ENOLINK
ENOMEDIUM
ENOTBLK
+ENOTRECOVERABLE
ENOTSUP
EOF
+EOWNERDEAD
EPROCLIM
EPROCUNAVAIL
EPROGMISMATCH
diff --git a/src/unix/bsd/freebsdlike/dragonfly/mod.rs b/src/unix/bsd/freebsdlike/dragonfly/mod.rs
index abe0440605..f4fa604753 100644
--- a/src/unix/bsd/freebsdlike/dragonfly/mod.rs
+++ b/src/unix/bsd/freebsdlike/dragonfly/mod.rs
@@ -762,6 +762,8 @@ pub const F_SETLK: ::c_int = 8;
pub const F_SETLKW: ::c_int = 9;
pub const F_GETPATH: ::c_int = 19;
pub const ENOMEDIUM: ::c_int = 93;
+pub const ENOTRECOVERABLE: ::c_int = 94;
+pub const EOWNERDEAD: ::c_int = 95;
pub const EASYNC: ::c_int = 99;
pub const ELAST: ::c_int = 99;
pub const RLIMIT_POSIXLOCKS: ::c_int = 11;