mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* manual/errno.texi: Add new Linux errno codes.
* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry for up to 132 errnos.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2005-12-24 Ulrich Drepper <drepper@redhat.com>
|
2005-12-24 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* manual/errno.texi: Add new Linux errno codes.
|
||||||
|
* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
|
||||||
|
for up to 132 errnos.
|
||||||
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
|
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
|
||||||
ENOTRECOVERABLE if not already defined.
|
ENOTRECOVERABLE if not already defined.
|
||||||
|
|
||||||
|
@ -1229,6 +1229,42 @@ They are not yet documented.}
|
|||||||
@comment errno ???/???
|
@comment errno ???/???
|
||||||
@end deftypevr
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: Required key not available
|
||||||
|
@deftypevr Macro int ENOKEY
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: Key has expired
|
||||||
|
@deftypevr Macro int EKEYEXPIRED
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: Key has been revoked
|
||||||
|
@deftypevr Macro int EKEYREVOKED
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: Key was rejected by service
|
||||||
|
@deftypevr Macro int EKEYREJECTED
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: Owner died
|
||||||
|
@deftypevr Macro int EOWNERDEAD
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
|
@comment errno.h
|
||||||
|
@comment Linux: State not recoverable
|
||||||
|
@deftypevr Macro int ENOTRECOVERABLE
|
||||||
|
@comment errno ???/???
|
||||||
|
@end deftypevr
|
||||||
|
|
||||||
@node Error Messages, , Error Codes, Error Reporting
|
@node Error Messages, , Error Codes, Error Reporting
|
||||||
@section Error Messages
|
@section Error Messages
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2005-12-24 Ulrich Drepper <drepper@redhat.com>
|
2005-12-24 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* pthread_mutex_trylock.c (__pthread_mutex_trylock): Add break
|
||||||
|
missing after last change.
|
||||||
|
|
||||||
* version.c: Update cpoyright year.
|
* version.c: Update cpoyright year.
|
||||||
|
|
||||||
2005-12-23 Ulrich Drepper <drepper@redhat.com>
|
2005-12-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
@ -68,6 +68,7 @@ __pthread_mutex_trylock (mutex)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* Correct code cannot set any other type. */
|
/* Correct code cannot set any other type. */
|
||||||
|
@ -1407,6 +1407,54 @@ TRANS error; @pxref{Cancel AIO Operations}. */
|
|||||||
# undef ERR_MAX
|
# undef ERR_MAX
|
||||||
# define ERR_MAX EMEDIUMTYPE
|
# define ERR_MAX EMEDIUMTYPE
|
||||||
# endif
|
# 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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -117,6 +117,9 @@ libc {
|
|||||||
}
|
}
|
||||||
GLIBC_2.4 {
|
GLIBC_2.4 {
|
||||||
inotify_init; inotify_add_watch; inotify_rm_watch;
|
inotify_init; inotify_add_watch; inotify_rm_watch;
|
||||||
|
|
||||||
|
#errlist-compat 132
|
||||||
|
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
||||||
}
|
}
|
||||||
GLIBC_PRIVATE {
|
GLIBC_PRIVATE {
|
||||||
# functions used in other libraries
|
# functions used in other libraries
|
||||||
|
Reference in New Issue
Block a user