From 9bc8a1e1d0a032e2666e2a5420211cc4b052de56 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 30 Mar 2020 21:35:32 +1100 Subject: [PATCH] std: add some missing errnos on linux --- lib/std/os/bits/linux/errno-generic.zig | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/lib/std/os/bits/linux/errno-generic.zig b/lib/std/os/bits/linux/errno-generic.zig index 741f76fdee..53b32db6fc 100644 --- a/lib/std/os/bits/linux/errno-generic.zig +++ b/lib/std/os/bits/linux/errno-generic.zig @@ -368,6 +368,33 @@ pub const ENOMEDIUM = 123; /// Wrong medium type pub const EMEDIUMTYPE = 124; +/// Operation canceled +pub const ECANCELED = 125; + +/// Required key not available +pub const ENOKEY = 126; + +/// Key has expired +pub const EKEYEXPIRED = 127; + +/// Key has been revoked +pub const EKEYREVOKED = 128; + +/// Key was rejected by service +pub const EKEYREJECTED = 129; + +// for robust mutexes +/// Owner died +pub const EOWNERDEAD = 130; +/// State not recoverable +pub const ENOTRECOVERABLE = 131; + +/// Operation not possible due to RF-kill +pub const ERFKILL = 132; + +/// Memory page has hardware error +pub const EHWPOISON = 133; + // nameserver query return codes /// DNS server returned answer with no data