diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-12-24 21:12:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-12-24 21:12:00 +0000 |
commit | d4d138a4d9a01680da6ea0472bd81cdc44d438b7 (patch) | |
tree | c3b3412a87024e0e2525b014c46cb1be2d7a43b6 /sysdeps | |
parent | 9333ed0d5846e90035395de2723e6e7069ac9946 (diff) | |
download | glibc-d4d138a4d9a01680da6ea0472bd81cdc44d438b7.tar glibc-d4d138a4d9a01680da6ea0472bd81cdc44d438b7.tar.gz glibc-d4d138a4d9a01680da6ea0472bd81cdc44d438b7.tar.bz2 glibc-d4d138a4d9a01680da6ea0472bd81cdc44d438b7.zip |
* manual/errno.texi: Add new Linux errno codes.
* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
for up to 132 errnos.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/gnu/errlist.c | 48 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/Versions | 3 |
2 files changed, 51 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 1508311a4a..56da01756d 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -1408,6 +1408,54 @@ TRANS error; @pxref{Cancel AIO Operations}. */ # define ERR_MAX EMEDIUMTYPE # endif #endif +#ifdef ENOKEY +/* */ + [ERR_REMAP (ENOKEY)] = N_("Required key not available"), +# if ENOKEY > ERR_MAX +# undef ERR_MAX +# define ERR_MAX ENOKEY +# endif +#endif +#ifdef EKEYEXPIRED +/* */ + [ERR_REMAP (EKEYEXPIRED)] = N_("Key has expired"), +# if EKEYEXPIRED > ERR_MAX +# undef ERR_MAX +# define ERR_MAX EKEYEXPIRED +# endif +#endif +#ifdef EKEYREVOKED +/* */ + [ERR_REMAP (EKEYREVOKED)] = N_("Key has been revoked"), +# if EKEYREVOKED > ERR_MAX +# undef ERR_MAX +# define ERR_MAX EKEYREVOKED +# endif +#endif +#ifdef EKEYREJECTED +/* */ + [ERR_REMAP (EKEYREJECTED)] = N_("Key was rejected by service"), +# if EKEYREJECTED > ERR_MAX +# undef ERR_MAX +# define ERR_MAX EKEYREJECTED +# endif +#endif +#ifdef EOWNERDEAD +/* */ + [ERR_REMAP (EOWNERDEAD)] = N_("Owner died"), +# if EOWNERDEAD > ERR_MAX +# undef ERR_MAX +# define ERR_MAX EOWNERDEAD +# endif +#endif +#ifdef ENOTRECOVERABLE +/* */ + [ERR_REMAP (ENOTRECOVERABLE)] = N_("State not recoverable"), +# if ENOTRECOVERABLE > ERR_MAX +# undef ERR_MAX +# define ERR_MAX ENOTRECOVERABLE +# endif +#endif }; #define NERR \ diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index b34fd310a3..436573a428 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -117,6 +117,9 @@ libc { } GLIBC_2.4 { inotify_init; inotify_add_watch; inotify_rm_watch; + + #errlist-compat 132 + _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; } GLIBC_PRIVATE { # functions used in other libraries |