mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos.
This commit is contained in:
parent
770b41b349
commit
e0906c9a0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250250
@ -152,5 +152,7 @@ const char *const sys_errlist[] = {
|
||||
"Protocol error", /* 92 - EPROTO */
|
||||
"Capabilities insufficient", /* 93 - ENOTCAPABLE */
|
||||
"Not permitted in capability mode", /* 94 - ECAPMODE */
|
||||
"State not recoverable", /* 95 - ENOTRECOVERABLE */
|
||||
"Previous owner died", /* 96 - EOWNERDEAD */
|
||||
};
|
||||
const int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]);
|
||||
|
@ -193,6 +193,10 @@ $ ENOTCAPABLE
|
||||
93 Capabilities insufficient
|
||||
$ ECAPMODE
|
||||
94 Not permitted in capability mode
|
||||
$ ENOTRECOVERABLE
|
||||
95 State not recoverable
|
||||
$ EOWNERDEAD
|
||||
96 Previous owner died
|
||||
$
|
||||
$ strsignal() support catalog
|
||||
$
|
||||
|
@ -28,7 +28,7 @@
|
||||
.\" @(#)intro.2 8.5 (Berkeley) 2/27/95
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd April 27, 2013
|
||||
.Dd May 4, 2013
|
||||
.Dt INTRO 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -470,6 +470,10 @@ An operation on a capability file descriptor requires greater privilege than
|
||||
the capability allows.
|
||||
.It Er 94 ECAPMODE Em "Not permitted in capability mode" .
|
||||
The system call or operation is not permitted for capability mode processes.
|
||||
.It Er 95 ENOTRECOVERABLE Em "State not recoverable" .
|
||||
The state protected by a robust mutex is not recoverable.
|
||||
.It Er 96 EOWNERDEAD Em "Previous owner died" .
|
||||
The owner of a robust mutex terminated while holding the mutex lock.
|
||||
.El
|
||||
.Sh DEFINITIONS
|
||||
.Bl -tag -width Ds
|
||||
|
@ -176,10 +176,12 @@ __END_DECLS
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define ENOTCAPABLE 93 /* Capabilities insufficient */
|
||||
#define ECAPMODE 94 /* Not permitted in capability mode */
|
||||
#define ENOTRECOVERABLE 95 /* State not recoverable */
|
||||
#define EOWNERDEAD 96 /* Previous owner died */
|
||||
#endif /* _POSIX_SOURCE */
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define ELAST 94 /* Must be equal largest errno */
|
||||
#define ELAST 96 /* Must be equal largest errno */
|
||||
#endif /* _POSIX_SOURCE */
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user