Date: Sat, 4 May 2013 19:07:23 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250250 - in head: lib/libc/gen lib/libc/nls lib/libc/sys sys/sys Message-ID: <201305041907.r44J7N0T002529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pluknet Date: Sat May 4 19:07:22 2013 New Revision: 250250 URL: http://svnweb.freebsd.org/changeset/base/250250 Log: POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos. Modified: head/lib/libc/gen/errlst.c head/lib/libc/nls/C.msg head/lib/libc/sys/intro.2 head/sys/sys/errno.h Modified: head/lib/libc/gen/errlst.c ============================================================================== --- head/lib/libc/gen/errlst.c Sat May 4 18:49:04 2013 (r250249) +++ head/lib/libc/gen/errlst.c Sat May 4 19:07:22 2013 (r250250) @@ -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]); Modified: head/lib/libc/nls/C.msg ============================================================================== --- head/lib/libc/nls/C.msg Sat May 4 18:49:04 2013 (r250249) +++ head/lib/libc/nls/C.msg Sat May 4 19:07:22 2013 (r250250) @@ -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 $ Modified: head/lib/libc/sys/intro.2 ============================================================================== --- head/lib/libc/sys/intro.2 Sat May 4 18:49:04 2013 (r250249) +++ head/lib/libc/sys/intro.2 Sat May 4 19:07:22 2013 (r250250) @@ -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 descri 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 Modified: head/sys/sys/errno.h ============================================================================== --- head/sys/sys/errno.h Sat May 4 18:49:04 2013 (r250249) +++ head/sys/sys/errno.h Sat May 4 19:07:22 2013 (r250250) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305041907.r44J7N0T002529>