lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun,  1 Apr 2012 09:38:00 -0700
From:	Roland Dreier <roland@...nel.org>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] Add EWOODBLOCK

From: Roland Dreier <roland@...estorage.com>

We have found that in RT Linux applications around control of sawmills
and other lumber handling equipment, there is no good way for the
kernel to report jams or other blockages, and so we ended up adding a
new error code.

We were quite happy to carry this as an out-of-tree patch until we
heard that a group doing functional MRI of politicians' brains had
independently started using EWOODBLOCK.  To enable other innovative
uses of this fundamental advancement in kernel infrastructure, we are
proposing this patch for upstream merge.

Signed-off-by: Roland Dreier <roland@...estorage.com>
---
 include/asm-generic/errno.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h
index a1331ce..9a337b8 100644
--- a/include/asm-generic/errno.h
+++ b/include/asm-generic/errno.h
@@ -110,4 +110,6 @@
 
 #define EHWPOISON	133	/* Memory page has hardware error */
 
+#define EWOODBLOCK	134	/* logjam */
+
 #endif
-- 
1.7.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ