summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2013-05-04 19:07:22 +0000
committerpluknet <pluknet@FreeBSD.org>2013-05-04 19:07:22 +0000
commitbf7b6b6227253281ec4cfedd2f8c95e19532acb3 (patch)
tree36569bd97613ed668196165becbd391608df4cd0 /lib/libc
parentf106bf787a663f94d44ad2b9916394298e13428e (diff)
downloadFreeBSD-src-bf7b6b6227253281ec4cfedd2f8c95e19532acb3.zip
FreeBSD-src-bf7b6b6227253281ec4cfedd2f8c95e19532acb3.tar.gz
POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/errlst.c2
-rw-r--r--lib/libc/nls/C.msg4
-rw-r--r--lib/libc/sys/intro.26
3 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/gen/errlst.c b/lib/libc/gen/errlst.c
index d817823..7b4fd62 100644
--- a/lib/libc/gen/errlst.c
+++ b/lib/libc/gen/errlst.c
@@ -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]);
diff --git a/lib/libc/nls/C.msg b/lib/libc/nls/C.msg
index 1f71b2f..d08c571 100644
--- a/lib/libc/nls/C.msg
+++ b/lib/libc/nls/C.msg
@@ -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
$
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index 90933b3..bc10b1d 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -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
OpenPOWER on IntegriCloud