#
29363fb4 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
2ff63af9 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .h pattern Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
#
0c35b860 |
|
28-Aug-2020 |
Warner Losh <imp@FreeBSD.org> |
Allow the pseudo-errnos to be returned as well in boot loader Expose the pseudo-errno values in _STANDALONE is defined so that code in the boot loader can make use of them. Nothing uses them today, but the zstd support that's coming will need them.
|
#
88640c0e |
|
16-Jan-2019 |
Kirk McKusick <mckusick@FreeBSD.org> |
Create new EINTEGRITY error with message "Integrity check failed". An integrity check such as a check-hash or a cross-correlation failed. The integrity error falls between EINVAL that identifies errors in parameters to a system call and EIO that identifies errors with the underlying storage media. EINTEGRITY is typically raised by intermediate kernel layers such as a filesystem or an in-kernel GEOM subsystem when they detect inconsistencies. Uses include allowing the mount(8) command to return a different exit value to automate the running of fsck(8) during a system boot. These changes make no use of the new error, they just add it. Later commits will be made for the use of the new error number and it will be added to additional manual pages as appropriate. Reviewed by: gnn, dim, brueffer, imp Discussed with: kib, cem, emaste, ed, jilles Differential Revision: https://reviews.freebsd.org/D18765
|
#
3a7d67e7 |
|
01-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
We don't need both _STAND and _STANDALONE. There's more places that use _STANDALONE, so change the former to the latter. Sponsored by: Netflix
|
#
51369649 |
|
20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
|
#
4b32ccfd |
|
21-Oct-2017 |
Warner Losh <imp@FreeBSD.org> |
When building standalone, don't define errno. Let the definition from stand.h override. This is similar to what we do in the kernel. Sponsored by: Netflix
|
#
836c0dc9 |
|
30-Mar-2017 |
Konstantin Belousov <kib@FreeBSD.org> |
Only activate __EXT1_VISIBLE block when using sys/errno.h in userspace. The prerequisite for '#if __EXT1_VISIBLE' functionality is the inclusion of sys/cdefs.h. errno.h only auto-includes the header for non-kernel environment, and EXT1 block only useful for non-kernel as well. Reported by: lwhsu Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
|
#
9851b340 |
|
29-Mar-2017 |
Konstantin Belousov <kib@FreeBSD.org> |
Implement the memset_s(3) function as specified by the C11 ISO/IEC 9899:2011 Appendix K 3.7.4.1. Other needed supporting types, defines and constraint_handler infrastructure is added as specified in the C11 spec. Submitted by: Tom Rix <trix@juniper.net> Sponsored by: Juniper Networks Discussed with: ed MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D9903 Differential revision: https://reviews.freebsd.org/D10161
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
|
#
406d2926 |
|
01-Oct-2016 |
John Baldwin <jhb@FreeBSD.org> |
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.
|
#
213ed838 |
|
12-Mar-2016 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix autofs triggering problem. Assume you have an NFS server, 192.168.1.1, with share "share". This commit fixes a problem where "mkdir /net/192.168.1.1/share/meh" would return spurious error instead of creating the directory if the target filesystem wasn't mounted yet; subsequent attempts would work correctly. The failure scenario is kind of complicated to explain, but it all boils down to calling VOP_MKDIR() for the target filesystem (NFS) with wrong dvp - the autofs vnode instead of the filesystem root mounted over it. Reviewed by: kib@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5442
|
#
e0906c9a |
|
04-May-2013 |
Sergey Kandaurov <pluknet@FreeBSD.org> |
POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos.
|
#
97e8d490 |
|
04-Apr-2011 |
Andriy Gapon <avg@FreeBSD.org> |
errno.h: fix couple of whitespace nits Submitted by: bde (a half of the changes) MFC after: 1 week
|
#
25122f5c |
|
01-Mar-2011 |
Robert Watson <rwatson@FreeBSD.org> |
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
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
f7000239 |
|
14-Dec-2009 |
Robert Watson <rwatson@FreeBSD.org> |
Merge r197841 from head to stable/8: 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. Sponsored by: Google
|
#
44a43f00 |
|
07-Oct-2009 |
Robert Watson <rwatson@FreeBSD.org> |
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
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
5e9b87a8 |
|
01-Apr-2005 |
David Schultz <das@FreeBSD.org> |
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.
|
#
60727d8b |
|
06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
#
82c6e879 |
|
06-Apr-2004 |
Warner Losh <imp@FreeBSD.org> |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999. Approved by: core
|
#
adfa3213 |
|
07-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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
|
#
bb7d71b9 |
|
21-Aug-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
s/EDOFUS/EDOOFUS/ Persuaded by: Google
|
#
190c0c27 |
|
09-Aug-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Update ELAST.
|
#
9d6d1ee6 |
|
09-Aug-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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.
|
#
d394511d |
|
16-May-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
More s/file system/filesystem/g
|
#
789f12fe |
|
19-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P
|
#
9d9737ec |
|
07-Mar-2002 |
Brian Feldman <green@FreeBSD.org> |
Add new errno ``ENOATTR''.
|
#
686c8fdc |
|
22-Jan-2002 |
Giorgos Keramidas <keramida@FreeBSD.org> |
Tiny style change. Whitespace only change. Use tab after #define ENOTSUP. Reviewed by: mike
|
#
0ca2edaf |
|
27-Aug-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Back out prev. change. According to bde: _POSIX_SOURCE means POSIX.1-1990, not the current version of POSIX.
|
#
3e05884b |
|
27-Aug-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
EOVERFLOW is POSIXed, so move it out #ifndef _POSIX_SOURCE section
|
#
80673a5d |
|
02-May-2000 |
Jason Evans <jasone@FreeBSD.org> |
Add ENOTSUP, which is specified as an error return value for various POSIX/SUSv2 functions.
|
#
664a31e4 |
|
28-Dec-1999 |
Peter Wemm <peter@FreeBSD.org> |
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.
|
#
c3aac50f |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
1977ff8e |
|
24-Apr-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
typo in comment PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk
|
#
85f118c8 |
|
14-Dec-1998 |
Dmitrij Tejblum <dt@FreeBSD.org> |
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>
|
#
1b46cb52 |
|
30-Apr-1998 |
John Birrell <jb@FreeBSD.org> |
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".
|
#
add212bf |
|
13-Apr-1998 |
Søren Schmidt <sos@FreeBSD.org> |
Add EIDRM errno (PR 176), ENOMSG errno (myself) for prober sysv_ipc.
|
#
91241944 |
|
06-Dec-1997 |
Bruce Evans <bde@FreeBSD.org> |
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.
|
#
6875d254 |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
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.
|
#
69cb702b |
|
18-Aug-1996 |
Peter Wemm <peter@FreeBSD.org> |
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.
|
#
f70177e7 |
|
21-Jan-1996 |
Julian Elischer <julian@FreeBSD.org> |
Reviewed by: julian and (hsu?) Submitted by: John Birrel(L?) changes for threadsafe operations
|
#
af9da405 |
|
20-Aug-1994 |
Paul Richards <paul@FreeBSD.org> |
Made them all idempotent. Reviewed by: Submitted by:
|
#
3c4dd356 |
|
02-Aug-1994 |
David Greenman <dg@FreeBSD.org> |
Added $Id$
|
#
df8bae1d |
|
24-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Kernel Sources
|