Re: [robust-futex-1] futex: robust futex support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/13/06, David Singleton <[email protected]> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux