#
311708 |
|
09-Jan-2017 |
jhb |
MFC 306564: Expose kernel-only errno values if _WANT_KERNEL_ERRNO is defined.
The kernel uses a few negative errno values for internal conditions such as requesting a system call restart. Normally these errno values are not exposed to userland. However, kdump needs access to these values as some of then can be present in a ktrace system call return record. Previously kdump was defining _KERNEL to gain access to ehse values, but was then having to manually declare 'errno' (and doing it incorrectly). Now, kdump uses _WANT_KERNEL_ERRNO instead of _KERNEL and uses the system-provided declaration of errno.
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
250250 |
|
04-May-2013 |
pluknet |
POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos.
|
#
220335 |
|
04-Apr-2011 |
avg |
errno.h: fix couple of whitespace nits
Submitted by: bde (a half of the changes) MFC after: 1 week
|
#
219128 |
|
01-Mar-2011 |
rwatson |
Add ECAPMODE, "Not permitted in capability mode", a new kernel errno constant to indicate that a system call (or perhaps an operation requested via a system call) is not permitted for a capability mode process.
Submitted by: anderson Sponsored by: Google, Inc. Obtained from: Capsicum Project MFC after: 1 week
|
#
197841 |
|
07-Oct-2009 |
rwatson |
Add a new errno, ENOTCAPABLE, to be returned when a process requests an operation on a file descriptor that is not authorized by the descriptor's capability flags.
MFC after: 1 month Sponsored by: Google
|
#
144530 |
|
02-Apr-2005 |
das |
Add some missing errnos from POSIX. Nothing in FreeBSD generates 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.
|
#
139825 |
|
07-Jan-2005 |
imp |
/* -> /*- for license, minor formatting changes
|
#
127976 |
|
07-Apr-2004 |
imp |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core
|
#
104602 |
|
07-Oct-2002 |
phk |
Copyin and copyout are only possible from a process-native thread, and therefore we need a way for ioctl handlers to run in that thread in GEOM. Rather than invent a complicated registration system to recognize which ioctl handler to use for a given ioctl, we still schedule all ioctls down the tree as bio transactions but add a special return code that means "call me directly" and have the geom_dev layer do that.
Use this for all ioctls that make it as far as a diskdriver to avoid any backwards compatibility problems.
Requested by: scottl Sponsored by: DARPA & NAI Labs
|
#
102229 |
|
21-Aug-2002 |
phk |
s/EDOFUS/EDOOFUS/
Persuaded by: Google
|
#
101587 |
|
09-Aug-2002 |
phk |
Update ELAST.
|
#
101567 |
|
09-Aug-2002 |
phk |
Introduce a new error return code: #define EDOFUS 88 /* Programming error */ This can be used to signal error situations which indicate that the program logic or assumptions is deficient.
|
#
96755 |
|
16-May-2002 |
trhodes |
More s/file system/filesystem/g
|
#
92719 |
|
19-Mar-2002 |
alfred |
Remove __P
|
#
91814 |
|
07-Mar-2002 |
green |
Add new errno ``ENOATTR''.
|
#
89642 |
|
22-Jan-2002 |
keramida |
Tiny style change. Whitespace only change. Use tab after #define ENOTSUP.
Reviewed by: mike
|
#
82431 |
|
27-Aug-2001 |
ache |
Back out prev. change. According to bde: _POSIX_SOURCE means POSIX.1-1990, not the current version of POSIX.
|
#
82430 |
|
27-Aug-2001 |
ache |
EOVERFLOW is POSIXed, so move it out #ifndef _POSIX_SOURCE section
|
#
59889 |
|
02-May-2000 |
jasone |
Add ENOTSUP, which is specified as an error return value for various POSIX/SUSv2 functions.
|
#
55205 |
|
29-Dec-1999 |
peter |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
46017 |
|
24-Apr-1999 |
phk |
typo in comment
PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk
|
#
41796 |
|
14-Dec-1998 |
dt |
Added 3 new errno values, requred by various standards: EOVERFLOW, ECANCELED, EILSEQ.
Fixed ibcs2 and especially linux EIDRM and ENOMSG errno mapping. Reviewed by: Dan Nelson <dnelson@emsphone.com>
|
#
35542 |
|
30-Apr-1998 |
jb |
Make errno finally and permanently thread-aware so that it is no longer necessary to compile with _THREAD_SAFE defined. This means that people will get thread-aware code whether they like it or not. This change is required to allow a process to link against libpthread and libc to use kernel threads (and prevent each thread from clobbering another thread's errno just be doing a syscall).
This is bound to break some ports, but it is strictly allowed by ANSI C, so anything that breaks as a result was already broken anyway 8-). "Sorry".
|
#
35175 |
|
13-Apr-1998 |
sos |
Add EIDRM errno (PR 176), ENOMSG errno (myself) for prober sysv_ipc.
|
#
31575 |
|
06-Dec-1997 |
bde |
Added a kernel-only error code ENOICTL. This will be returned from low level ioctl routines instead of the magic number -1 so that callers can distinguish it from ERESTART (which happens to be -1). -1 meant that the ioctl was not handled at the called level. ERESTART is normal when a sleeping ioctl is interrupted. ERESTART got converted to ENOTTY instead of restarting the ioctl. Many (most?) ioctls can not be restarted safely, but this is apparently supposed to be handled by drivers converting ERESTART to EINTR. I first saw this problem for TIOCDRAIN. Justin saw if for disk ioctls.
Added missing parentheses.
|
#
22975 |
|
22-Feb-1997 |
peter |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
17649 |
|
18-Aug-1996 |
peter |
make the declaration of the __error() function C++ safe. Otherwise, the linker comes up with undefined variables because of the #define errno when using _THREAD_SAFE.
|
#
13545 |
|
21-Jan-1996 |
julian |
Reviewed by: julian and (hsu?) Submitted by: John Birrel(L?)
changes for threadsafe operations
|
#
2165 |
|
21-Aug-1994 |
paul |
Made them all idempotent. Reviewed by: Submitted by:
|
#
1817 |
|
02-Aug-1994 |
dg |
Added $Id$
|
#
1542 |
|
24-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1541, which included commits to RCS files with non-trunk default branches.
|
#
1541 |
|
24-May-1994 |
rgrimes |
BSD 4.4 Lite Kernel Sources
|