On 1/13/06, David Singleton <dsingleton@xxxxxxxxxx> wrote:
=============================================
--- linux-2.6.15.orig/include/asm-generic/errno.h
+++ linux-2.6.15/include/asm-generic/errno.h
@@ -105,5 +105,6 @@
/* for robust mutexes */
#define EOWNERDEAD 130 /* Owner died */
#define ENOTRECOVERABLE 131 /* State not recoverable */
+#define ENOTSHARED 132 /* no pshared attribute */
Do not introduce a new error code if at all possible. Adding
userlang-visible error codes means the ABI changes due to the stupid
_sys_errlist variable. Just reuse an error code which cannot be
returned in the futex code so far and which has some kind of
resemblence with what the error means.