History log of /src/sys/kern/tty_subr.c |
Revision | | Date | Author | Comments |
1.43 |
| 27-Dec-2019 |
msaitoh | s/transfered/transferred/
|
1.42 |
| 06-Dec-2019 |
maxv | Fix a bunch of unimportant "Local variable hides global variable" warnings from the LGTM bot.
|
1.41 |
| 01-Jun-2017 |
chs | branches: 1.41.10; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
1.40 |
| 24-Sep-2011 |
christos | branches: 1.40.12; 1.40.30; - Introduce a sysctl to control the default tty queue size kern.tty.qsize, which defaults to 1024 as before. - Add two ioctls TIOC{G,S}QSIZE to read and adjust the queue size on individual ptys.
NB: ttys (and ptys) still silently (or beepingly (IMAXBEL)) drop characters if the queue size is exceeded. I.e. you can appear to succeed writing to the {p,t}ty, but not all characters will have made it if the queue overflows. CVS:
|
1.39 |
| 14-Nov-2009 |
dsl | Christos was worried about clrbits() being called with a length of zero. This can't happen, but rework so it doesn't matter. Remove 'optimisation' for length 1, that doesn't happen often enough.
|
1.38 |
| 13-Nov-2009 |
dsl | Fix clrbits() so that it doesn't mask no bits out of the byte after the range (when the last bit to be cleared is the msb of a byte). Fixes PR/42312 in a slightly better way than proposed.
|
1.37 |
| 13-Nov-2009 |
dsl | Change args to clrbits() to be unsigned for efficiency.
|
1.36 |
| 09-Mar-2009 |
uebayasi | KNF. ANSI'fy.
|
1.35 |
| 22-Jan-2009 |
yamt | branches: 1.35.2; malloc -> kmem_alloc
|
1.34 |
| 16-Jul-2008 |
drochner | branches: 1.34.2; 1.34.4; 1.34.8; 1.34.10; wipe out tty buffer contents after read, to avoid keeping possibly sensitive information in memory longer than necessary (We could make this depend on ~ECHO or so, but this would be an API change and I don't think it is worth the effort.)
|
1.33 |
| 25-May-2008 |
ad | branches: 1.33.2; 1.33.4; Properly fix the "hanging in tty" bug that was worked around with cv_wakeup() some time again.
|
1.32 |
| 22-Dec-2007 |
ad | branches: 1.32.6; 1.32.8; 1.32.10; 1.32.12; Restore seperate condvars for clist i/o and clist control activity. Fixes lockups with concurrent output to ttys. kern/37455
|
1.31 |
| 19-Nov-2007 |
ad | branches: 1.31.2; 1.31.6; - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.30 |
| 07-Nov-2007 |
ad | Merge tty changes from the vmlocking branch.
|
1.29 |
| 08-Dec-2005 |
thorpej | branches: 1.29.30; 1.29.44; 1.29.46; 1.29.50; 1.29.52; Use ANSI function decls, sprinkle static.
|
1.28 |
| 26-Feb-2005 |
perry | branches: 1.28.4; nuke trailing whitespace
|
1.27 |
| 23-Mar-2004 |
junyoung | branches: 1.27.8; 1.27.10; Nuke __P().
|
1.26 |
| 13-Feb-2004 |
wiz | Uppercase CPU, plural is CPUs.
|
1.25 |
| 10-Dec-2003 |
agc | Modify the licences of code written by Theo De Raadt from a 4-clause to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR 22409 from Joel Baker, approved by Theo de Raadt, and ratified by myself - the only discrepancy being the handling of the original clause 3 in src/usr.sbin/yppoll/yppoll.c.
|
1.24 |
| 01-Feb-2003 |
thorpej | branches: 1.24.2; Add extensible malloc types, adapted from FreeBSD. This turns malloc types into a structure, a pointer to which is passed around, instead of an int constant. Allow the limit to be adjusted when the malloc type is defined, or with a function call, as suggested by Jonathan Stone.
|
1.23 |
| 08-Jan-2003 |
msaitoh | remove cinit()
This functions is completely null, not called from anywhere and defined since rev. 1.1 (July 1993).
|
1.22 |
| 27-Dec-2001 |
ad | In clalloc(), clear the quoted char bitmap (part of the ring buffer was being cleared twice).
|
1.21 |
| 12-Nov-2001 |
lukem | add RCSIDs
|
1.20 |
| 02-Aug-2000 |
thorpej | branches: 1.20.2; 1.20.4; 1.20.8; MALLOC()/FREE() are not to be used for variable sized allocations.
|
1.19 |
| 30-Mar-2000 |
augustss | Get rid of register declarations.
|
1.18 |
| 25-Apr-1999 |
simonb | branches: 1.18.2; g/c REAL_CLISTS.
|
1.17 |
| 04-Aug-1998 |
perry | branches: 1.17.8; Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one. bcopy(x, y, z) -> memcpy(y, x, z) ovbcopy(x, y, z) -> memmove(y, x, z) bcmp(x, y, z) -> memcmp(x, y, z) bzero(x, y) -> memset(x, 0, y)
|
1.16 |
| 25-Oct-1996 |
cgd | remove duplicate prototypes from tty_subr.c (ndqb, putc, b_to_q), and make the first arg of b_to_q (the u_char * that points to data to be stuffed into the queue) const, since it's not modified.
|
1.15 |
| 13-Oct-1996 |
christos | backout previous kprintf change
|
1.14 |
| 10-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.13 |
| 09-Feb-1996 |
christos | More proto fixes
|
1.12 |
| 04-Feb-1996 |
christos | First pass at prototyping
|
1.11 |
| 30-Oct-1994 |
cgd | be more careful with types, also pull in headers where necessary.
|
1.10 |
| 02-Oct-1994 |
cgd | fix ndqb bug handling flags other than TTY_QUOTE.
|
1.9 |
| 18-Jul-1994 |
deraadt | ndqb() was broken for full ring buffers! fix from paulus.
|
1.8 |
| 29-Jun-1994 |
cgd | branches: 1.8.2; New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
|
1.7 |
| 25-May-1994 |
deraadt | use u_char's instead of char's; else the TTY_QUOTE bit can get accidentally be set. Also fix copyright.
|
1.6 |
| 05-May-1994 |
cgd | lots of changes: prototype migration, move lots of variables, definitions, and structure elements around. kill some unnecessary type and macro definitions. standardize clock handling. More changes than you'd want.
|
1.5 |
| 24-Feb-1994 |
deraadt | whoops, typo
|
1.4 |
| 07-Jan-1994 |
deraadt | cleanup a printf
|
1.3 |
| 18-Dec-1993 |
mycroft | Canonicalize all #includes.
|
1.2 |
| 13-Oct-1993 |
deraadt | from magnum branch: nbqd() was broken
|
1.1 |
| 12-Jul-1993 |
mycroft | branches: 1.1.1; 1.1.4; Change tty code to use clist interface, but with ring buffer implementation. Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess in the hp300 stuff.
|
1.1.4.4 |
| 14-Nov-1993 |
mycroft | Canonicalize all #includes.
|
1.1.4.3 |
| 15-Oct-1993 |
mycroft | #include machine/cpu.h, to get spltty().
|
1.1.4.2 |
| 13-Oct-1993 |
deraadt | ndqb() was broken, now also supports ndqb(.., char | TTY_QUOTE)
|
1.1.4.1 |
| 24-Sep-1993 |
mycroft | Make all files using spl*() #include cpu.h. Changes from trunk. init_main.c: New method of pseudo-device of initialization. kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe. softclock() only does callouts. kern_synch.c: Remove spurious declaration of endtsleep(). Adjust uses of averunnable for new struct loadav. subr_prf.c: Allow printf() formats in panic(). tty.c: averunnable changes. vfs_subr.c: va_size and va_bytes are now quads.
|
1.1.1.1 |
| 01-Mar-1998 |
fvdl | Import 4.4BSD-Lite for reference
|
1.8.2.2 |
| 02-Oct-1994 |
cgd | from trunk
|
1.8.2.1 |
| 18-Jul-1994 |
cgd | from trunk, per theo
|
1.17.8.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.18.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
1.20.8.1 |
| 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
1.20.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.20.2.3 |
| 15-Jan-2003 |
thorpej | Sync with HEAD.
|
1.20.2.2 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.20.2.1 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.24.2.5 |
| 11-Dec-2005 |
christos | Sync with head.
|
1.24.2.4 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.24.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.24.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.24.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.27.10.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.27.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.28.4.4 |
| 21-Jan-2008 |
yamt | sync with head
|
1.28.4.3 |
| 07-Dec-2007 |
yamt | sync with head
|
1.28.4.2 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.28.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.29.52.3 |
| 27-Dec-2007 |
mjf | Sync with HEAD.
|
1.29.52.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.29.52.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.29.50.2 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.29.50.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.29.46.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.29.46.1 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.29.44.2 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.29.44.1 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.29.30.1 |
| 21-Mar-2007 |
ad | - Replace more simple_locks, and fix up in a few places. - Use condition variables. - LOCK_ASSERT -> KASSERT.
|
1.31.6.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.31.2.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.32.12.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.32.12.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.32.10.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.32.10.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.32.8.1 |
| 04-Jun-2008 |
yamt | sync with head
|
1.32.6.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.32.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.33.4.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.33.2.1 |
| 18-Jul-2008 |
simonb | Sync with head.
|
1.34.10.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.34.8.1 |
| 27-Nov-2009 |
sborrill | Pull up the following revisions(s) (requested by dsl in ticket #1141): sys/kern/tty_subr.c: revision 1.38
Fix clrbits() so that it doesn't mask no bits out of the byte after the range (when the last bit to be cleared is the msb of a byte). Fixes PR/42312.
|
1.34.4.1 |
| 27-Nov-2009 |
sborrill | Pull up the following revisions(s) (requested by dsl in ticket #1141): sys/kern/tty_subr.c: revision 1.38
Fix clrbits() so that it doesn't mask no bits out of the byte after the range (when the last bit to be cleared is the msb of a byte). Fixes PR/42312.
|
1.34.2.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.34.2.1 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.35.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.40.30.1 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.40.12.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.41.10.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|