#
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
|
#
685dc743 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
6469bdcd |
|
06-Apr-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Move most of the contents of opt_compat.h to opt_global.h. opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is closer to "just about everywhere" than "only some files" per the guidance in sys/conf/options. Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of sys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.h is created on all architectures. Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the set of compiled files. Reviewed by: kib, cem, jhb, jtl Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14941
|
#
467e6276 |
|
12-Mar-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Use the stack for temporary storage in OTIOCCONS. The old code used the thread's pcb via the uap->data pointer. Reviewed by: ed Approved by: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14674
|
#
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.
|
#
69a28758 |
|
15-Sep-2016 |
Ed Maste <emaste@FreeBSD.org> |
Renumber license clauses in sys/kern to avoid skipping #3
|
#
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.
|
#
2c9e180f |
|
18-Jan-2010 |
Ed Schouten <ed@FreeBSD.org> |
MFC r201532: Make TIOCSTI work again. It looks like I didn't implement this when I imported MPSAFE TTY. Applications like mail(1) still use this. I think it's conceptually bad. Tested by: Pete French <petefrench ticketswitch com>
|
#
328d9d2c |
|
04-Jan-2010 |
Ed Schouten <ed@FreeBSD.org> |
Make TIOCSTI work again. It looks like I didn't implement this when I imported MPSAFE TTY. Applications like mail(1) still use this. I think it's conceptually bad. Tested by: Pete French <petefrench ticketswitch com> MFC after: 2 weeks
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
2bda9238 |
|
04-Sep-2008 |
Ed Schouten <ed@FreeBSD.org> |
Fix an awful bug inside our COMPAT_43TTY code. When I migrated tty_compat.c to MPSAFE TTY, I just hooked it up to the build and fixed it until it compiled and somewhat worked. It turns out this was not the smartest thing, because the old TTY layer also had a field called t_flags, which contained a set of sgtty flags. This means our current COMPAT_43TTY code overwrites the TTY flags, causing all strange problems to occur. Fix this code to use a new struct member called t_compatflags. This commit may cause kern/127054 to be fixed, but this still has to be tested/confirmed by the originator. It has to be fixed anyway. PR: kern/127054
|
#
bc093719 |
|
20-Aug-2008 |
Ed Schouten <ed@FreeBSD.org> |
Integrate the new MPSAFE TTY layer to the FreeBSD operating system. The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan
|
#
d3e64681 |
|
10-Jan-2006 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Move the old BSD4.3 tty compatibility from (!BURN_BRIDGES && COMPAT_43) to COMPAT_43TTY. Add COMPAT_43TTY to NOTES and */conf/GENERIC Compile tty_compat.c only under the new option. Spit out #warning "Old BSD tty API used, please upgrade." if ioctl_compat.h gets #included from userland.
|
#
51514bc4 |
|
16-Oct-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make ttsetcompat() static
|
#
ec66f15d |
|
21-Jun-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES.
|
#
55dbc267 |
|
20-Jun-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
New style functions, kill register keyword.
|
#
1930e303 |
|
11-Jun-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Deorbit COMPAT_SUNOS. We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither a sparc32 port nor a SunOS4.x compatibility desire these days.
|
#
a77c37b6 |
|
07-May-2004 |
Olivier Houchard <cognet@FreeBSD.org> |
Compare t_brkc against (char)_POSIX_VDISABLE, not against -1. Discussed with: bde
|
#
7f8a436f |
|
05-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
|
#
677b542e |
|
10-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
#
70f52b48 |
|
23-Mar-2002 |
Bruce Evans <bde@FreeBSD.org> |
Fixed some style bugs in the removal of __P(()). The main ones were not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
|
#
4d77a549 |
|
19-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P.
|
#
c3aac50f |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
ecbb00a2 |
|
07-Jun-1998 |
Doug Rabson <dfr@FreeBSD.org> |
This commit fixes various 64bit portability problems required for FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
|
#
2094493a |
|
24-Feb-1998 |
Bruce Evans <bde@FreeBSD.org> |
Don't depend on "implicit int".
|
#
694ad0a9 |
|
25-Jan-1998 |
Steve Price <steve@FreeBSD.org> |
Fix a couple of operator precedence bugs. PR: 5450 Submitted by: Sakari Jalovaara <sja@tekla.fi>
|
#
5591b823d |
|
16-Dec-1997 |
Eivind Eklund <eivind@FreeBSD.org> |
Make COMPAT_43 and COMPAT_SUNOS new-style options.
|
#
239b7b69 |
|
06-Dec-1997 |
Bruce Evans <bde@FreeBSD.org> |
Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are not handled at a particular level. This fixes mainly restarting of interrupted TIOCDRAINs and TIOCSETA{W,F}s.
|
#
1fd0b058 |
|
02-Aug-1997 |
Bruce Evans <bde@FreeBSD.org> |
Removed unused #includes.
|
#
afd2f6c2 |
|
23-Mar-1997 |
Bruce Evans <bde@FreeBSD.org> |
Don't include <sys/ioctl.h> in the kernel. Stage 5: include <sys/ioctl_compat.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in tty-related files. <sys/ttycom.h> is still usually imported bogusly via <sys/termios.h>.
|
#
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.
|
#
edbfedac |
|
11-Mar-1996 |
Peter Wemm <peter@FreeBSD.org> |
Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all files are off the vendor branch, so this should not change anything. A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. [note new unused (in this form) syscalls.conf, to be 'cvs rm'ed]
|
#
87b6de2b |
|
14-Dec-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
A Major staticize sweep. Generates a couple of warnings that I'll deal with later. A number of unused vars removed. A number of unused procs removed or #ifdefed.
|
#
3b9a76f0 |
|
18-Nov-1995 |
Bruce Evans <bde@FreeBSD.org> |
Improved formatting. Added a comment about possibly better handling of INPCK. Added a prototype.
|
#
e581051d |
|
01-Aug-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Preserve current termios speed for TIOCSET*, if it matched with nearest valid. It means that gtty+stty transaction (without speed change) not breaks non-standard speeds now.
|
#
4e5f7358 |
|
01-Aug-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Better approximation for TIOCGETP (gtty) for non-standard speeds. Old variant returns 38400 for them, now it returns nearest matched rounded down, expect speeds in range 0 > speed < 50 rounded up to not produce hangup.
|
#
af2a00bb |
|
02-Aug-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Check for valid speed values in pty drive Check for negative speed values in tty drive Back out valid speed values checking from tty drive Suggested by: bde
|
#
7a82fc78 |
|
01-Aug-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Check for valid speeds in TIOCSET* and return EINVAL for incorrect values instead of setting garbadge.
|
#
9b2e5354 |
|
30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
0a247e7d |
|
11-Apr-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Extract "set" family functions to separate module, needed for locking in sio f.e.
|
#
efb76ea6 |
|
02-Apr-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Back out changes related to locked bits until more elegant solution will be found. Fix flags declarations.
|
#
c6345bc1 |
|
01-Apr-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fix error in TIOCSETC/TIOCSLTC, they need to call TIOCSETA. Remove static from some functions, needed in sio (later)
|
#
1ef5e50e |
|
01-Apr-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Return EINVAL instead of setting wrong in/out speed Fix declaration of cc arrays Remove static from compatspcodes, will needed in sio (later)
|
#
f1e302d4 |
|
29-Mar-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
c_iflag handling in setting compat modes now more close to V7
|
#
22055302 |
|
11-Oct-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Better IXANY/IXOFF processing into setflags. Cosmetique 'tab' fix
|
#
dec3cc97 |
|
11-Oct-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fix old cs8->cs7 bug, bringed by rlogin. Obtained from: FreeBSD 1.x
|
#
dcd01eb3 |
|
08-Oct-1994 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.
|
#
5b96a5b9 |
|
25-Aug-1994 |
Bruce Evans <bde@FreeBSD.org> |
Support speeds 57600 and 115200. Privatize functions.
|
#
3c4dd356 |
|
02-Aug-1994 |
David Greenman <dg@FreeBSD.org> |
Added $Id$
|
#
26f9a767 |
|
25-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
|
#
df8bae1d |
|
24-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Kernel Sources
|