summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/errlst.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: Always use our own copy of sys_errlist and sys_nerr (.so only).jilles2013-08-311-0/+6
| | | | | | | | | | | | | | | This ensures strerror() and friends continue to work correctly even if a (non-PIE) executable linked against an older libc imports sys_errlist (which causes sys_errlist to refer to the executable's copy with a size fixed when that executable was linked). The executable's use of sys_errlist remains broken because it uses the current value of sys_nerr and may access past the bounds of the array. Different from the message "Using sys_errlist from executables is not ABI-stable" on freebsd-arch, this change does not affect the static library. There seems no reason to prevent overriding the error messages in the static library.
* POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos.pluknet2013-05-041-0/+2
|
* Allow strerror(0) and strerror_r(0, ...).jilles2011-04-051-1/+1
| | | | | | | | | | | | | Of course, strerror_r() may still fail with ERANGE. Although the POSIX specification said this could fail with EINVAL and doing this likely indicates invalid use of errno, most other implementations permitted it, various POSIX testsuites require it to work (matching the older sys_errlist array) and apparently some applications depend on it. PR: standards/151316 MFC after: 1 week
* Add text string for ECAPMODE to libc.rwatson2011-03-031-0/+1
| | | | | | | Discussed with: anderson Obtained from: Capsicum Project Sponsored by: Google, Inc. MFC after: 3 months
* Add a new errno, ENOTCAPABLE, to be returned when a process requests anrwatson2009-10-071-0/+1
| | | | | | | | operation on a file descriptor that is not authorized by the descriptor's capability flags. MFC after: 1 month Sponsored by: Google
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Add some missing errnos from POSIX. Nothing in FreeBSD generatesdas2005-04-021-0/+5
| | | | | | | | | | these at the moment, but applications that test for them will now have a better chance of compiling. I have intentionally omitted errnos that are only good for STREAMS, since apps that use STREAMS won't compile anyway. The exception is EPROTO, which was apparently intended for STREAMS, but worth having anyway because Linux (mis)uses it for other things.
* Drop almost 3k from /bin/sync by moving errno to a seperate filepeter2002-10-091-1/+0
| | | | | | to avoid all syscalls pulling in sys_errlst[]. Noted by: bde
* s/EDOFUS/EDOOFUS/phk2002-08-211-1/+1
| | | | Persuaded by: Google
* Introduce a new error return code:phk2002-08-091-0/+3
| | | | | | #define EDOFUS 88 /* Programming error */ This can be used to signal error situations which indicate that the program logic or assumptions is deficient.
* Fix the style of the SCM ID's.obrien2002-03-221-2/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* Add new errno ``ENOATTR''.green2002-03-071-0/+3
|
* Add missing strings.phk1999-04-241-0/+7
| | | | | | PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+141
OpenPOWER on IntegriCloud