The NetBSD Project

CVS log for src/sys/kern/tty_pty.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.131 / (download) - annotate - [select for diffs], Sat Sep 24 04:10:03 2011 UTC (8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, netbsd-6-base, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, HEAD
Changes since 1.130: +36 -32 lines
Diff to previous 1.130 (colored)

put back the cc == 0 check, because we can re-enter the loop with cc != 0
if we block.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Sep 23 23:57:06 2011 UTC (8 months ago) by christos
Branch: MAIN
Changes since 1.129: +45 -41 lines
Diff to previous 1.129 (colored)

Fix various bogus things:
- Don't use TTYHOG - 1, you can use the last byte in the ring buffer.
- Don't put unnecessary if statements around the code. The loop invariant
  is that if you reach the top of the loop, cc == 0.
- Remove cast to (void *).
- Check result of b_to_q and adjust cc.
- Explain what the TTYHOG - 2 code tried to do, and do it right.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Jul 26 13:14:18 2011 UTC (10 months ago) by yamt
Branch: MAIN
Changes since 1.128: +3 -3 lines
Diff to previous 1.128 (colored)

stop using lbolt in tty

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:38 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.124: +19 -7 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync with HEAD.

Revision 1.121.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:03 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121.4.3: +2 -2 lines
Diff to previous 1.121.4.3 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

sync with head

Revision 1.128 / (download) - annotate - [select for diffs], Sun Apr 24 16:26:51 2011 UTC (13 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.127: +4 -4 lines
Diff to previous 1.127 (colored)

Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency.  Remove some unnecessary malloc.h inclusions as well.

Revision 1.121.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:10 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121.4.2: +15 -3 lines
Diff to previous 1.121.4.2 (colored) to branchpoint 1.121 (colored)

sync with head

Revision 1.127 / (download) - annotate - [select for diffs], Sat Apr 9 12:07:06 2011 UTC (13 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.126: +10 -4 lines
Diff to previous 1.126 (colored)

Add a few KASSERT to verify we do not accidently use minor(NODEV) as an
index into the pt_softc array.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Apr 9 07:02:57 2011 UTC (13 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.125: +6 -4 lines
Diff to previous 1.125 (colored)

KNF, add a comment and an assertion.

Revision 1.125 / (download) - annotate - [select for diffs], Sat Apr 9 06:34:06 2011 UTC (13 months, 2 weeks ago) by martin
Branch: MAIN
Changes since 1.124: +7 -3 lines
Diff to previous 1.124 (colored)

In ttymalloc() explicitly initialize t_dev to NODEV.
In ptcwakeup() do not bother to wake up a client side if it has not been
opened yet.
The old code would spuriously wakeup the client minor(0) [i.e. ttyp0
typically] or crash the kernel if that wasn't open, see PR kern/40688.
(Old names used to match the PR and test case, adjust names for
/dev/ptm[x] resp. /dev/pts/* accordingly)

Revision 1.121.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:24 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121.4.1: +61 -61 lines
Diff to previous 1.121.4.1 (colored) to branchpoint 1.121 (colored)

sync with head

Revision 1.124 / (download) - annotate - [select for diffs], Tue Nov 16 23:58:11 2010 UTC (18 months, 1 week ago) by dyoung
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from
sending a termios(4) structure like it was supposed to: ptcread() used
to copy pti->pt_send and zero it before testing it for TIOCPKT_IOCTL.
Test for TIOCPKT_IOCTL in the pti->pt_send copy in local variable c
instead of in pti->pt_send itself.

Revision 1.121.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:30 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.121.2.1: +58 -58 lines
Diff to previous 1.121.2.1 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

Sync with HEAD (-D20101022).

Revision 1.109.2.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:33 2010 UTC (19 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.109.2.4: +60 -60 lines
Diff to previous 1.109.2.4 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

sync with head

Revision 1.123 / (download) - annotate - [select for diffs], Sun Sep 5 18:03:37 2010 UTC (20 months, 2 weeks ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.122: +60 -60 lines
Diff to previous 1.122 (colored)

Cosmetic: remove unnecessary parenthesization in return statements.
Don't "test truth" of ints, but compare with 0, instead.

The generated assembly is the same before & after this change.

Revision 1.121.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:32 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.121: +5 -5 lines
Diff to previous 1.121 (colored)

Sync with HEAD.

Revision 1.109.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:43 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.109.2.3: +5 -5 lines
Diff to previous 1.109.2.3 (colored) to branchpoint 1.109 (colored)

sync with head.

Revision 1.121.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.121: +5 -5 lines
Diff to previous 1.121 (colored)

sync with head

Revision 1.122 / (download) - annotate - [select for diffs], Sun Jun 13 03:32:47 2010 UTC (23 months, 1 week ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.121: +5 -5 lines
Diff to previous 1.121 (colored)

use NULL instead of 0 for pointers.

Revision 1.112.6.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:18 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.112.6.1: +2 -2 lines
Diff to previous 1.112.6.1 (colored) next main 1.113 (colored)

sync to netbsd-5

Revision 1.109.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:20 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.109.2.2: +17 -8 lines
Diff to previous 1.109.2.2 (colored) to branchpoint 1.109 (colored)

sync with head

Revision 1.121 / (download) - annotate - [select for diffs], Sun Jan 24 19:56:26 2010 UTC (2 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.120: +7 -3 lines
Diff to previous 1.120 (colored)

Amplify comment about ultrix bits.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Dec 20 19:06:44 2009 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.119: +3 -2 lines
Diff to previous 1.119 (colored)

Add a pointing to an explanation of why we have #ifdef pmax stuff in here.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Oct 14 19:25:39 2009 UTC (2 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.118: +5 -2 lines
Diff to previous 1.118 (colored)

Error out of ptcread() if the uio length supplied is zero before the code
has a chance to panic in ureadc().

Revision 1.118 / (download) - annotate - [select for diffs], Sun Oct 11 08:08:32 2009 UTC (2 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.117: +9 -8 lines
Diff to previous 1.117 (colored)

Fix locking when collecting pt_read and pt_ucntl.

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.115.2.1: +3 -3 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

Sync with HEAD.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:31 2009 UTC (2 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.109.2.1: +3 -3 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored)

sync with head

Revision 1.112.6.1 / (download) - annotate - [select for diffs], Wed Jun 17 21:34:04 2009 UTC (2 years, 11 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Pull up following revision(s) (requested by plunky in ticket #807):
	sys/kern/tty_pty.c: revision 1.117
Writes on the controlling tty were not being awoken from blocks,
use the correct condvar to make this happen.
this fixes PR/41566

Revision 1.112.4.1 / (download) - annotate - [select for diffs], Wed Jun 17 20:17:37 2009 UTC (2 years, 11 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Pull up following revision(s) (requested by plunky in ticket #807):
	sys/kern/tty_pty.c: revision 1.117
Writes on the controlling tty were not being awoken from blocks,
use the correct condvar to make this happen.
this fixes PR/41566

Revision 1.117 / (download) - annotate - [select for diffs], Fri Jun 12 09:26:50 2009 UTC (2 years, 11 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

Writes on the controlling tty were not being awoken from blocks,
use the correct condvar to make this happen.

this fixes PR/41566

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:58 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.115: +15 -46 lines
Diff to previous 1.115 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:49 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.109: +54 -75 lines
Diff to previous 1.109 (colored)

sync with head.

Revision 1.112.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:01 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.112.2.2: +15 -46 lines
Diff to previous 1.112.2.2 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

Sync with HEAD.

Revision 1.116 / (download) - annotate - [select for diffs], Mon Mar 9 16:19:22 2009 UTC (3 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.115: +15 -46 lines
Diff to previous 1.115 (colored)

KNF.  ANSI'fy.

Revision 1.112.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:57 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.112.2.1: +21 -13 lines
Diff to previous 1.112.2.1 (colored) to branchpoint 1.112 (colored)

Sync with HEAD.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jan 22 14:38:35 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.114: +21 -13 lines
Diff to previous 1.114 (colored)

malloc -> kmem_alloc

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:40 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.112: +3 -7 lines
Diff to previous 1.112 (colored)

Sync with HEAD.

Revision 1.107.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.107.6.4: +1 -5 lines
Diff to previous 1.107.6.4 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Sync with HEAD.

Revision 1.111.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.111.2.1: +3 -7 lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.114 / (download) - annotate - [select for diffs], Sat Nov 15 05:58:33 2008 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.113: +3 -2 lines
Diff to previous 1.113 (colored)

explicitly include <sys/ioctl_compat.h> since we explicitly use
symbols defined in it.  fixes various build issues.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Nov 14 23:04:42 2008 UTC (3 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.112: +2 -7 lines
Diff to previous 1.112 (colored)

Remove unneeded compat ifdef.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:29 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.111: +9 -3 lines
Diff to previous 1.111 (colored)

Sync with HEAD.

Revision 1.107.6.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:54 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.107.6.3: +7 -1 lines
Diff to previous 1.107.6.3 (colored) to branchpoint 1.107 (colored)

Sync with HEAD.

Revision 1.109.4.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:44 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.109.4.1: +9 -3 lines
Diff to previous 1.109.4.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Sep 3 16:47:34 2008 UTC (3 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5
Changes since 1.111: +9 -3 lines
Diff to previous 1.111 (colored)

Make ioctl(FIONREAD) on the master side of a pty return the amount of
data which can be read, as expected. Before, the call fell through a
"case" statement and was forwarded to the slave side, returning the
data which can be read by the slave.
The new behaviour also matches Linux and OSF/1.

Revision 1.107.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.107.6.2: +1 -1 lines
Diff to previous 1.107.6.2 (colored) to branchpoint 1.107 (colored)

Sync with HEAD.

Revision 1.109.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:52 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.109: +14 -14 lines
Diff to previous 1.109 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:35 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Sync with head.

Revision 1.108.2.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:03 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.108.2.2: +3 -3 lines
Diff to previous 1.108.2.2 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)

sync with head.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Jun 16 10:15:57 2008 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

PPWAIT need only be locked by proc_lock, so move it to proc::p_lflag.

Revision 1.108.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:40 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.108.2.1: +13 -13 lines
Diff to previous 1.108.2.1 (colored) to branchpoint 1.108 (colored)

sync with head

Revision 1.107.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:13 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.107.6.1: +12 -14 lines
Diff to previous 1.107.6.1 (colored) to branchpoint 1.107 (colored)

Sync with HEAD.

Revision 1.110 / (download) - annotate - [select for diffs], Sun May 25 19:22:21 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3
Branch point for: simonb-wapbl
Changes since 1.109: +13 -13 lines
Diff to previous 1.109 (colored)

Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:11 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.108: +3 -5 lines
Diff to previous 1.108 (colored)

sync with head.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Apr 20 19:22:45 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.108: +3 -5 lines
Diff to previous 1.108 (colored)

Improve ^T / SIGINFO handling:

- Restore code removed during LWPification.
- Don't touch proc state from a hardware interrupt handler.
- Fix the locking.

Revision 1.107.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:05 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.107: +19 -15 lines
Diff to previous 1.107 (colored)

Sync with HEAD.

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.107: +19 -15 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

sync with head.

Revision 1.101.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:01 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.101.8.2: +19 -15 lines
Diff to previous 1.101.8.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with HEAD

Revision 1.85.2.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:34 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.7: +19 -15 lines
Diff to previous 1.85.2.7 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

sync with head.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Mar 1 14:16:51 2008 UTC (4 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.107: +19 -15 lines
Diff to previous 1.107 (colored)

Welcome to 4.99.55:

- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call.  It will
  indicate which event (POLL_IN, POLL_OUT, etc) happen.  If unknown,
  zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>

Revision 1.101.14.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:48 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101.14.3: +14 -6 lines
Diff to previous 1.101.14.3 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.85.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:28 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.6: +20 -12 lines
Diff to previous 1.85.2.6 (colored) to branchpoint 1.85 (colored)

sync with head

Revision 1.101.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:26 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.101.8.1: +40 -35 lines
Diff to previous 1.101.8.1 (colored) to branchpoint 1.101 (colored)

sync with HEAD

Revision 1.105.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:19 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.105: +20 -12 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

Sync with HEAD

Revision 1.107 / (download) - annotate - [select for diffs], Sun Dec 30 22:03:01 2007 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.106: +14 -6 lines
Diff to previous 1.106 (colored)

Pull up 1.104.2.3:
Avoid mutex recursion with kqueue. Reported by martin@.

Revision 1.104.2.3 / (download) - annotate - [select for diffs], Sun Dec 30 21:56:08 2007 UTC (4 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.104.2.2: +14 -6 lines
Diff to previous 1.104.2.2 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

Avoid mutex recursion with kqueue. Reported by martin@.

Revision 1.101.14.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:15 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101.14.2: +8 -8 lines
Diff to previous 1.101.14.2 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:47 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.104.2.1: +8 -8 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored)

Sync with head.

Revision 1.106 / (download) - annotate - [select for diffs], Sat Dec 22 02:21:29 2007 UTC (4 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.105: +8 -8 lines
Diff to previous 1.105 (colored)

Restore seperate condvars for clist i/o and clist control activity.
Fixes lockups with concurrent output to ttys. kern/37455

Revision 1.101.6.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:27 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.101.6.2: +3 -3 lines
Diff to previous 1.101.6.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.101.14.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:41 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101.14.1: +34 -37 lines
Diff to previous 1.101.14.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:49 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

Sync with head.

Revision 1.85.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:15 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.5: +34 -37 lines
Diff to previous 1.85.2.5 (colored) to branchpoint 1.85 (colored)

sync with head

Revision 1.105 / (download) - annotate - [select for diffs], Wed Dec 5 17:19:58 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

Do not "return 1" from kqfilter for errors.  That value is passed
directly to the userland caller and results in a mysterious EPERM.
Instead, return EINVAL or something else sensible depending on the
case.

Revision 1.101.6.2 / (download) - annotate - [select for diffs], Wed Nov 21 21:56:04 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.101.6.1: +33 -36 lines
Diff to previous 1.101.6.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.101.12.2 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:47 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.101.12.1: +31 -34 lines
Diff to previous 1.101.12.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD

Revision 1.104 / (download) - annotate - [select for diffs], Mon Nov 19 19:47:00 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Changes since 1.103: +24 -20 lines
Diff to previous 1.103 (colored)

Tidy up the locking a bit.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Nov 19 18:51:52 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.102: +11 -18 lines
Diff to previous 1.102 (colored)

- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.

Revision 1.101.14.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:57 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.101: +84 -122 lines
Diff to previous 1.101 (colored)

Sync with HEAD.

Revision 1.85.2.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:55 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.4: +84 -122 lines
Diff to previous 1.85.2.4 (colored) to branchpoint 1.85 (colored)

sync with head.

Revision 1.101.12.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:33 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.101: +84 -122 lines
Diff to previous 1.101 (colored)

Sync with HEAD

Revision 1.101.6.1 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:15 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.101: +84 -122 lines
Diff to previous 1.101 (colored)

Sync with HEAD.

Revision 1.101.8.1 / (download) - annotate - [select for diffs], Thu Nov 8 11:00:09 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.101: +84 -122 lines
Diff to previous 1.101 (colored)

sync with -HEAD

Revision 1.102 / (download) - annotate - [select for diffs], Wed Nov 7 15:56:22 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.101: +84 -122 lines
Diff to previous 1.101 (colored)

Merge tty changes from the vmlocking branch.

Revision 1.99.2.4 / (download) - annotate - [select for diffs], Fri Oct 19 15:54:28 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.99.2.3: +4 -4 lines
Diff to previous 1.99.2.3 (colored) next main 1.100 (colored)

In the tty code, defer posting singals to a soft interrupt. Avoids
touching process state from a hardware interrupt, and avoids locking
problems (tty_lock is always held when the signals are sent).

Revision 1.99.2.3 / (download) - annotate - [select for diffs], Fri Oct 19 13:08:10 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.99.2.2: +57 -58 lines
Diff to previous 1.99.2.2 (colored)

Replace the tty locks with a global tty_lock.

Revision 1.85.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:15 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.3: +36 -29 lines
Diff to previous 1.85.2.3 (colored) to branchpoint 1.85 (colored)

sync with head.

Revision 1.99.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:16 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.99: +19 -12 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with head.

Revision 1.98.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:48 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.98.2.2: +6 -2 lines
Diff to previous 1.98.2.2 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

sync with head.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Apr 17 19:52:56 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-base, hpcarm-cleanup
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.100: +6 -2 lines
Diff to previous 1.100 (colored)

wrap calls to pgsignal() in proclist_mutex

Revision 1.98.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:05 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.98.2.1: +15 -12 lines
Diff to previous 1.98.2.1 (colored) to branchpoint 1.98 (colored)

sync with head.

Revision 1.99.2.2 / (download) - annotate - [select for diffs], Wed Mar 21 20:11:54 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.99.2.1: +83 -116 lines
Diff to previous 1.99.2.1 (colored)

- Replace more simple_locks, and fix up in a few places.
- Use condition variables.
- LOCK_ASSERT -> KASSERT.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:51:58 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.99: +15 -12 lines
Diff to previous 1.99 (colored)

Sync with head.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Mar 12 21:33:07 2007 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Changes since 1.99: +15 -12 lines
Diff to previous 1.99 (colored)

Use mutexes/condvars.

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:44 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.98: +19 -19 lines
Diff to previous 1.98 (colored)

Sync with HEAD.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:10 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.98: +19 -19 lines
Diff to previous 1.98 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.85.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:19 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.2: +5 -5 lines
Diff to previous 1.85.2.2 (colored) to branchpoint 1.85 (colored)

sync with head.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:32 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.97: +5 -5 lines
Diff to previous 1.97 (colored)

Merge newlock2 to head.

Revision 1.93.4.5 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:07 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.93.4.4: +4 -4 lines
Diff to previous 1.93.4.4 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

Sync with head.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:07 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85.2.1: +17 -21 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored)

sync with head.

Revision 1.93.4.4 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:44 2006 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.93.4.3: +3 -3 lines
Diff to previous 1.93.4.3 (colored) to branchpoint 1.93 (colored)

Checkpoint work in progress.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Dec 22 21:56:19 2006 UTC (5 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored)

Use KAUTH_DEVICE_TTY_OPEN instead of comparing euid to zero.

Revision 1.93.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.93.6.1: +8 -10 lines
Diff to previous 1.93.6.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

sync with head.

Revision 1.93.4.3 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.93.4.2: +6 -19 lines
Diff to previous 1.93.4.2 (colored) to branchpoint 1.93 (colored)

Sync with head.

Revision 1.93.4.2 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:38 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.93.4.1: +4 -4 lines
Diff to previous 1.93.4.1 (colored) to branchpoint 1.93 (colored)

Checkpoint work in progress.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:59 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.95: +8 -10 lines
Diff to previous 1.95 (colored)

remove some __unused from function parameters.

Revision 1.93.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.93: +10 -21 lines
Diff to previous 1.93 (colored)

sync with head

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Sat Oct 21 15:20:47 2006 UTC (5 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

Checkpoint work in progress on locking and per-LWP signals. Very much a
a work in progress and there is still a lot to do.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:19 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.94: +10 -20 lines
Diff to previous 1.94 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.94 / (download) - annotate - [select for diffs], Sat Sep 23 15:36:12 2006 UTC (5 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.93: +2 -3 lines
Diff to previous 1.93 (colored)

Remove duplicated includes, from Jeff Ito -> PR kern/26113. Thanks.

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.86: +16 -11 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.86.8.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:47 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.8.3: +13 -4 lines
Diff to previous 1.86.8.3 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.93 / (download) - annotate - [select for diffs], Thu Aug 3 22:06:55 2006 UTC (5 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.92: +7 -3 lines
Diff to previous 1.92 (colored)

adjust resid in one more place.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Aug 3 22:03:18 2006 UTC (5 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.91: +7 -2 lines
Diff to previous 1.91 (colored)

don't drop characters that we've copied in when we block.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:11 2006 UTC (5 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.90: +4 -4 lines
Diff to previous 1.90 (colored)

Use the LWP cached credentials where sane.

Revision 1.86.8.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:57 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.8.2: +3 -3 lines
Diff to previous 1.86.8.2 (colored) to branchpoint 1.86 (colored)

sync with head.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.85: +27 -30 lines
Diff to previous 1.85 (colored)

sync with head.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:16 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync with head.

Revision 1.86.6.3 / (download) - annotate - [select for diffs], Sat Jun 3 19:44:04 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.86.6.2: +3 -3 lines
Diff to previous 1.86.6.2 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Sync with head.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Jun 3 18:18:26 2006 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

Introduce SA_NOKERNINFO, a flag for SIGINFO not to print kernel messages.

Revision 1.86.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:09 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.86.6.1: +4 -3 lines
Diff to previous 1.86.6.1 (colored) to branchpoint 1.86 (colored)

Sync with head.

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.87: +5 -4 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.86.8.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:42 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.8.1: +5 -4 lines
Diff to previous 1.86.8.1 (colored) to branchpoint 1.86 (colored)

sync with head.

Revision 1.89 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.88: +4 -3 lines
Diff to previous 1.88 (colored)

integrate kauth.

Revision 1.87.2.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:31 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.87.2.2: +3 -2 lines
Diff to previous 1.87.2.2 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.86.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:59 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.86: +3 -8 lines
Diff to previous 1.86 (colored)

Sync with head.

Revision 1.87.2.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:14:00 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.87.2.1: +3 -3 lines
Diff to previous 1.87.2.1 (colored) to branchpoint 1.87 (colored)

sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 13 17:44:24 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

Strip the chrooted portion of the path from the reported pty path. Reported
and tested by Lasse Kliemann. Thanks!

Revision 1.86.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:32 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86: +2 -7 lines
Diff to previous 1.86 (colored)

sync with head.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:41 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

Adapt to kernel authorization KPI.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Mar 5 16:57:16 2006 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq, elad-kernelauth
Changes since 1.86: +2 -7 lines
Diff to previous 1.86 (colored)

Move ISSET/SET/CLR macros to sys/types.h

Revision 1.86 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.85: +23 -22 lines
Diff to previous 1.85 (colored)

merge ktrace-lwp.

Revision 1.70.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.7: +6 -6 lines
Diff to previous 1.70.2.7 (colored) next main 1.71 (colored)

Sync with HEAD. Here we go again...

Revision 1.85 / (download) - annotate - [select for diffs], Tue Jun 21 14:01:13 2005 UTC (6 years, 11 months ago) by ws
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

PR-30566: Poll must not return <sys/errno.h> values.
Start with those places I can easily test.

Revision 1.84 / (download) - annotate - [select for diffs], Sun May 29 22:24:15 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.83: +5 -5 lines
Diff to previous 1.83 (colored)

- add const.
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with -current

Revision 1.82.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.70.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:02 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.6: +4 -4 lines
Diff to previous 1.70.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.83 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:55 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

nuke trailing whitespace

Revision 1.70.2.6 / (download) - annotate - [select for diffs], Mon Nov 29 07:24:51 2004 UTC (7 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.5: +3 -2 lines
Diff to previous 1.70.2.5 (colored)

Sync with HEAD.

Revision 1.70.2.5 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:57 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.4: +33 -390 lines
Diff to previous 1.70.2.4 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Nov 13 19:16:18 2004 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.81: +3 -2 lines
Diff to previous 1.81 (colored)

PR/25749: Peter Postma: Missing splx() in kernel.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Nov 10 17:29:54 2004 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.80: +33 -387 lines
Diff to previous 1.80 (colored)

Split the ptm driver out of tty_pty.c into its own file. From that split
the code that `knows' about /dev/[pt]tyXX names (the BSD ptys) into a separate
file. Make an interface to be used by the tty creating provider. The code
to enable old PTY searching via ptm is enabled via COMPAT_BSDPTY, and it
is turned on by default on all kernels that have compatibility options enabled.

Revision 1.70.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:16 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.3: +50 -46 lines
Diff to previous 1.70.2.3 (colored)

Fix the sync with head I botched.

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.2: +46 -50 lines
Diff to previous 1.70.2.2 (colored)

Sync with HEAD.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:56 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.70.2.1: +502 -71 lines
Diff to previous 1.70.2.1 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jun 18 15:02:53 2004 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.79: +14 -6 lines
Diff to previous 1.79 (colored)

ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jun 5 11:23:15 2004 UTC (7 years, 11 months ago) by lha
Branch: MAIN
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored)

Return directly when pty_alloc_master failes in ptmioctl,
bug-report on current users from Denis Lagno  dlagno at smtp dot ru.
Make debug message in pty_alloc_master to match the code.

Revision 1.78 / (download) - annotate - [select for diffs], Thu May 27 03:56:49 2004 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

turn off debugging.

Revision 1.77 / (download) - annotate - [select for diffs], Thu May 27 02:56:38 2004 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.76: +377 -2 lines
Diff to previous 1.76 (colored)

Unix 98 pty multiplexor device; original code from OpenBSD.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Mar 23 13:22:04 2004 UTC (8 years, 2 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.75: +7 -7 lines
Diff to previous 1.75 (colored)

Nuke __P().

Revision 1.75 / (download) - annotate - [select for diffs], Tue Mar 9 05:30:24 2004 UTC (8 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.74: +43 -2 lines
Diff to previous 1.74 (colored)

add more spltty() calls around TTY_LOCK/UNLOCK where needed

Revision 1.74 / (download) - annotate - [select for diffs], Fri Mar 5 07:27:22 2004 UTC (8 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.73: +5 -2 lines
Diff to previous 1.73 (colored)

add some spltty() calls around TTY_LOCK() calls that didn't have them

Revision 1.73 / (download) - annotate - [select for diffs], Sun Feb 22 17:51:26 2004 UTC (8 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.72: +8 -8 lines
Diff to previous 1.72 (colored)

use the new NOTE_SUBMIT to flag if the locking is necessary
for EVFILT_READ/EVFILT_WRITE knotes

fixes PR kern/23915 by Martin Husemann (pipes), and similar locking problem
in tty code

Revision 1.72 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:56 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.71: +3 -7 lines
Diff to previous 1.71 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jul 23 13:10:28 2003 UTC (8 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.70: +59 -54 lines
Diff to previous 1.70 (colored)

Fix (and simplify) interaction between check_pty() and pty_maxptys().
Lock setting/clearing of tp->t_oproc to guarantee concurrent opens can't
both suceed and that code in tty.c can't get a NULL t_oproc if the value
is re-read after being checked.
There are still MP issues with pt_flags, pt_send and pt_unctl.
Maybe problems that require TTY_LOCK() to be taken before calling std tty
functions.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:43 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.70: +22 -21 lines
Diff to previous 1.70 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:29 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.69: +19 -20 lines
Diff to previous 1.69 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:57 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.68: +22 -21 lines
Diff to previous 1.68 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.68 / (download) - annotate - [select for diffs], Wed Feb 5 15:49:03 2003 UTC (9 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.67: +120 -42 lines
Diff to previous 1.67 (colored)

Make the tty subsystem MP-safe..

..as far as mere mortals are able to, since this code illustrates the finest
points that Italian haute cuisine has to offer.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jan 19 23:11:46 2003 UTC (9 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

b_to_q() and q_to_b() take a "u_char *" argument, so use a u_char array
in one place, and don't cast a "u_char *" to a "char *" in the q_to_b()
call(!) in another.

Revision 1.55.2.11 / (download) - annotate - [select for diffs], Wed Dec 11 06:43:10 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.55.2.10: +4 -4 lines
Diff to previous 1.55.2.10 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Nov 26 18:44:35 2002 UTC (9 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.65: +6 -6 lines
Diff to previous 1.65 (colored)

si_ -> sel_ to avoid conflicts with siginfo.

Revision 1.55.2.10 / (download) - annotate - [select for diffs], Mon Nov 11 22:14:06 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.9: +126 -7 lines
Diff to previous 1.55.2.9 (colored) to branchpoint 1.55 (colored)

Catch up to -current

Revision 1.65 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:26 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.64: +128 -9 lines
Diff to previous 1.64 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.55.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:44:56 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.8: +1 -0 lines
Diff to previous 1.55.2.8 (colored) to branchpoint 1.55 (colored)

Catch up to -current.

Revision 1.56.2.9 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:18 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.8: +44 -5 lines
Diff to previous 1.56.2.8 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.56.2.8 / (download) - annotate - [select for diffs], Sun Sep 29 09:59:15 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.7: +7 -7 lines
Diff to previous 1.56.2.7 (colored) to branchpoint 1.56 (colored)

drop (caddr_t) and (void *) casts for kn_hook

Revision 1.56.2.7 / (download) - annotate - [select for diffs], Tue Sep 24 18:53:27 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.6: +5 -4 lines
Diff to previous 1.56.2.6 (colored) to branchpoint 1.56 (colored)

so the one-off difference was caused by having flags ONLCR and IGNCR
set for the master side of pty, so 'normal behaviour'

this also means the 'data' value returned for EVFILT_READ kevent(2)
is only approximation, but still useful as hint

Revision 1.56.2.6 / (download) - annotate - [select for diffs], Tue Sep 24 10:45:23 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.5: +122 -5 lines
Diff to previous 1.56.2.5 (colored) to branchpoint 1.56 (colored)

implement ptckqfilter() and remove the #define from <sys/conf.h>
convert selwakeup() calls in tty_pty.c to selnotify()
hint: if there is unique poll routine, unique kqfilter is needed too

this makes EVFILT_READ and EVFILT_WRITE events working on the master
side of pty

XXX EVFILT_READ would report 'data' exactly one more than the actual
XXX amount of data available; need to find out why

Revision 1.56.2.5 / (download) - annotate - [select for diffs], Tue Sep 24 10:03:52 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.4: +3 -2 lines
Diff to previous 1.56.2.4 (colored) to branchpoint 1.56 (colored)

pullup rev. 1.64:
check_pty(): make sure to zero the newly allocated pt_softc structure

uninitialized struct selinfo caused panics in selnotify() here

Revision 1.64 / (download) - annotate - [select for diffs], Sun Sep 22 18:13:38 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored)

check_pty(): make sure to zero the newly allocated pt_softc structure

Revision 1.55.2.8 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:24 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.7: +43 -5 lines
Diff to previous 1.55.2.7 (colored) to branchpoint 1.55 (colored)

Catch up to -current.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Sep 6 13:23:51 2002 UTC (9 years, 8 months ago) by gehenna
Branch: MAIN
Changes since 1.62: +43 -5 lines
Diff to previous 1.62 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.55.2.7 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:22 2002 UTC (9 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.6: +2 -3 lines
Diff to previous 1.55.2.6 (colored) to branchpoint 1.55 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.55.2.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:11:01 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.5: +3 -3 lines
Diff to previous 1.55.2.5 (colored) to branchpoint 1.55 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.56.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:39 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.3: +5 -6 lines
Diff to previous 1.56.2.3 (colored) to branchpoint 1.56 (colored)

catch up with -current on kqueue branch

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Thu May 16 04:07:56 2002 UTC (10 years ago) by gehenna
Branch: gehenna-devsw
Changes since 1.62: +43 -5 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Add the character device switch.

Revision 1.55.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:48:00 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.4: +5 -19 lines
Diff to previous 1.55.2.4 (colored) to branchpoint 1.55 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.62 / (download) - annotate - [select for diffs], Mon Mar 25 04:26:43 2002 UTC (10 years, 2 months ago) by itohy
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base
Branch point for: gehenna-devsw
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Print ttyinfo *before* (not after) sending SIGINFO to processes.
This generates more useful information of a process who catches SIGINFO,
rather than always printing "runnable" (the process is marked runnable
because of the signal).
Inspired by the behavior of BSD/OS.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Mar 17 19:41:08 2002 UTC (10 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.60: +4 -5 lines
Diff to previous 1.60 (colored)

Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:52 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.2: +4 -17 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored)

Catch up with -current.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 2 12:30:43 2002 UTC (10 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.59: +2 -15 lines
Diff to previous 1.59 (colored)

move the COMPAT_SUNOS TIOCGPGRP handling in the compat sunos code proper.
this is the final fix needed for it to run properly as an LKM.  no more
COMPAT_SUNOS hacks around the tree!

Revision 1.55.2.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:47 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.3: +5 -5 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored)

Catch up to -current.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Feb 17 19:34:42 2002 UTC (10 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: ifpoll-base, ifpoll
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

ICANON is in lflags, by Neelkanth Natu

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:25 2002 UTC (10 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.56.2.1: +3 -3 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored)

Sync w/ -current.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Feb 2 07:18:55 2002 UTC (10 years, 3 months ago) by tls
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Kick DEFAULT_MAXPTYS from 256 to 992

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:12 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored)

Sync kqueue branch with -current.

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:45 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.2: +4 -1 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored)

Catch up to -current.

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:57 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:28 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored)

add RCSIDs

Revision 1.56.4.3 / (download) - annotate - [select for diffs], Sat Oct 13 17:42:52 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.56.4.2: +6 -5 lines
Diff to previous 1.56.4.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.

Revision 1.56.4.2 / (download) - annotate - [select for diffs], Wed Sep 26 15:28:22 2001 UTC (10 years, 8 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.56.4.1: +78 -35 lines
Diff to previous 1.56.4.1 (colored) to branchpoint 1.56 (colored)

* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:38 2001 UTC (10 years, 8 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.56: +48 -46 lines
Diff to previous 1.56 (colored)

Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:07 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55.2.1: +19 -1 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)

Catch up to -current.

Revision 1.56 / (download) - annotate - [select for diffs], Wed May 2 10:32:08 2001 UTC (11 years ago) by scw
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, thorpej-devvp, kqueue
Changes since 1.55: +19 -1 lines
Diff to previous 1.55 (colored)

Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:46 2001 UTC (11 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.42.12.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:13:57 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.12.2: +0 -3 lines
Diff to previous 1.42.12.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 24 03:59:08 2000 UTC (11 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.54: +1 -4 lines
Diff to previous 1.54 (colored)

adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case
so that gcc will think that static spinlock are used.
this allows us to remove the ugly conditionalization of
static spinlock declarations.

Revision 1.42.12.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:27 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.12.1: +11 -13 lines
Diff to previous 1.42.12.1 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 21 03:53:27 2000 UTC (11 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.53: +2 -6 lines
Diff to previous 1.53 (colored)

Unlock mutex before jumping off from the critical region instead of
testing if locked.

Revision 1.42.12.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:12 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42: +213 -70 lines
Diff to previous 1.42 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 20 06:36:02 2000 UTC (11 years, 6 months ago) by veego
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored)

simple_lock_held is only defined when you use LOCKDEBUG.
Put it for now in an ifdef LOCKDEBUG.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Nov 19 22:34:56 2000 UTC (11 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

check_pty(): simple_unlock() might have been called even if the lock was
	not locked previously in some cases; unlock only if the lock is held

Revision 1.51 / (download) - annotate - [select for diffs], Sun Nov 5 15:37:09 2000 UTC (11 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.50: +2 -3 lines
Diff to previous 1.50 (colored)

add new function sigismasked(), which checks whether passed signal
is ignored or masked by the process, and use it appropriately
instead of directly checking p->p_sigmask and p->p_sigignore

Revision 1.50 / (download) - annotate - [select for diffs], Wed Nov 1 23:51:39 2000 UTC (11 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.49: +9 -9 lines
Diff to previous 1.49 (colored)

Make line disciplines modular so they can be added or removed dynamically.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Sep 11 13:51:29 2000 UTC (11 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

make compile #if LOCKDEBUG is on.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Sep 10 17:26:45 2000 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.47: +98 -53 lines
Diff to previous 1.47 (colored)

change DEFAULT_MAXPTYS to 256
make all local variables static
use simplelocks - we really need only mutexes, full locks are not necessary
update couple of comments to be more accurate

add function pty_maxptys(), which provides a safe way to get&set maxptys - this
	also supports setting maxptys to lower than current value, if the
	value is lower or equal current number of ptys

Revision 1.47 / (download) - annotate - [select for diffs], Sat Sep 9 16:42:04 2000 UTC (11 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.46: +146 -49 lines
Diff to previous 1.46 (colored)

allocate pty kernel structures on demand at run-time - this allows
to support arbitrary number of ptys without need of kernel recompile
(the extra device special files in /dev/ still need to be created, of course)

upper limit of supported ptys is controlled via new sysctl variable
kern.maxptys (KERN_MAXPTYS), which is raise-only and defaults to 512.

Revision 1.43.4.3 / (download) - annotate - [select for diffs], Fri Aug 4 13:08:14 2000 UTC (11 years, 9 months ago) by mason
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.43.4.2: +3 -3 lines
Diff to previous 1.43.4.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with tty_pty.c,v 1.45, requested by mason, approved by jhawk.

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Sat Jul 29 04:19:43 2000 UTC (11 years, 9 months ago) by mrg
Branch: netbsd-1-5
Changes since 1.43.4.1: +2 -2 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored)

pullup 1.46 (approved by thorpej):
>fix rev 1.44; make this cast look like:
>        sig = (int)(long)*(caddr_t *)data;
>to *properly* dereference the passed data.  this makes signals on
>ptys actually *work* on the sparc64 port.  from mycroft.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jul 28 04:31:19 2000 UTC (11 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

fix rev 1.44; make this cast look like:
	sig = (int)(long)*(caddr_t *)data;
to *properly* dereference the passed data.  this makes signals on
ptys actually *work* on the sparc64 port.  from mycroft.


XXX: the release branch version needs this ASAP as it is probably
unstable on ILP32BE.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 27 17:32:11 2000 UTC (11 years, 10 months ago) by mason
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Moving to a default of 64 PTYs.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Thu Jul 20 00:16:00 2000 UTC (11 years, 10 months ago) by fvdl
Branch: netbsd-1-5
Changes since 1.43: +7 -6 lines
Diff to previous 1.43 (colored)

Pull up version 1.44 from trunk: fix an LP64-BE problem with TIOCSIG,
and a faulty bounds check for the argument.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 14 12:10:58 2000 UTC (11 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.43: +7 -6 lines
Diff to previous 1.43 (colored)

Don't use *(unsigned int *)data to get the signal number out; this will
fail on LP64-BE systems. Also, fix up the invalid signal number check.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 30 09:27:13 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.42: +27 -27 lines
Diff to previous 1.42 (colored)

Get rid of register declarations.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:12 1998 UTC (13 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 25 23:41:20 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.40: +4 -1 lines
Diff to previous 1.40 (colored)

defopt COMPAT_SUNOS

Revision 1.40 / (download) - annotate - [select for diffs], Sat Mar 21 04:02:47 1998 UTC (14 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +10 -11 lines
Diff to previous 1.39 (colored)

Replace TS_WOPEN with t_wopen, per mail on tech-kern.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:33 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:12:58 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +3 -3 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:49 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +113 -120 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.38.12.1 / (download) - annotate - [select for diffs], Mon Sep 8 23:10:40 1997 UTC (14 years, 8 months ago) by thorpej
Branch: thorpej-signal
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Significantly restructure the way signal state for a process is stored.
Rather than using bitmasks to redundantly store the information kept
in the process's sigacts (because the sigacts was kept in the u-area),
hang sigacts directly off the process, and access it directly.

Simplify signal setup code tremendously by storing information in
the sigacts as an array of struct sigactions, rather than in a different
format, since userspace uses sigactions.

Make sigacts sharable by adding reference counting.

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Sun Jan 26 02:30:49 1997 UTC (15 years, 4 months ago) by rat
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.33.4.1: +18 -5 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Pullup 1.34 -> 1.35.  Return EIO when TIOCGPGRPing a half-open pty. This is
expected by SunOS pty-allocating programs (telnetd,rlogind,..).

Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:03 1996 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-setroot, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: thorpej-signal
Changes since 1.37: +29 -41 lines
Diff to previous 1.37 (colored)

Implement poll(2).

Revision 1.37 / (download) - annotate - [select for diffs], Thu Sep 5 15:31:40 1996 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +38 -33 lines
Diff to previous 1.36 (colored)

Use SET(), CLR(), ISSET().

Revision 1.36 / (download) - annotate - [select for diffs], Mon Sep 2 06:44:52 1996 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.35: +2 -3 lines
Diff to previous 1.35 (colored)

tty stop functions really should return void, not int, and certainly not both.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 2 21:19:02 1996 UTC (15 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.34: +18 -5 lines
Diff to previous 1.34 (colored)

sunos_compat: return EIO when TIOCGPGRPing a half-open pty. This is
expected by SunOS pty-allocating programs (telnetd,rlogind,..).

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sun Jun 2 09:08:11 1996 UTC (15 years, 11 months ago) by mrg
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-BETA
Changes since 1.33: +7 -3 lines
Diff to previous 1.33 (colored)

pull up tty stats "bug fix".

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 29 02:04:36 1996 UTC (16 years ago) by mrg
Branch: MAIN
Changes since 1.33: +7 -3 lines
Diff to previous 1.33 (colored)

impliment ttylist stats based on disk stats.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Mar 30 22:24:45 1996 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

Eliminate kern_conf.h

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 9 19:00:41 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.31: +3 -5 lines
Diff to previous 1.31 (colored)

More proto fixes

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 4 02:17:28 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.30: +126 -97 lines
Diff to previous 1.30 (colored)

First pass at prototyping

Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 10 01:27:03 1995 UTC (16 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Add hooks for COMPAT_FREEBSD, from Noriyuki Soda.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 19 22:33:56 1995 UTC (17 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.28: +11 -1 lines
Diff to previous 1.28 (colored)

Rename pttty() to ptytty() to mimic ptyioctl().

Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 19 18:58:14 1995 UTC (17 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

Fix typo.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Apr 19 18:50:21 1995 UTC (17 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.26: +34 -41 lines
Diff to previous 1.26 (colored)

Implement pttty(), and rename pt_ioctl to pt_softc.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 14 19:45:30 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored)

Remove extra arg to ptcopen().

Revision 1.25 / (download) - annotate - [select for diffs], Tue Dec 13 19:59:25 1994 UTC (17 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +7 -6 lines
Diff to previous 1.24 (colored)

Fix compiler warning.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 30 21:48:01 1994 UTC (17 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

be more careful with types, also pull in headers where necessary.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 29 06:33:26 1994 UTC (17 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.22 / (download) - annotate - [select for diffs], Thu May 12 03:48:36 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.21: +53 -70 lines
Diff to previous 1.21 (colored)

upgrade to 4.4-Lite's tty code.  our bug fixes included, some might need GC.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 5 05:38:40 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 4 03:42:07 1994 UTC (18 years ago) by cgd
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Rename a lot of process flags.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 25 05:48:41 1994 UTC (18 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.18: +1 -13 lines
Diff to previous 1.18 (colored)

kill some code that became obsolete when berknet died...

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 9 21:06:49 1994 UTC (18 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +8 -6 lines
Diff to previous 1.17 (colored)

All ioctl routines take a struct proc * now.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 27 03:26:48 1994 UTC (18 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.16: +1 -7 lines
Diff to previous 1.16 (colored)

kill two patchkit bogons

Revision 1.16 / (download) - annotate - [select for diffs], Sat Dec 18 04:22:16 1993 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +12 -12 lines
Diff to previous 1.15 (colored)

Canonicalize all #includes.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 15 09:17:05 1993 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +7 -1 lines
Diff to previous 1.14 (colored)

add a ptyattach() function, as in magnum.

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Sun Nov 14 21:33:04 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.12.2.6: +2 -1 lines
Diff to previous 1.12.2.6 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Need pty.h.

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Sun Nov 14 21:18:04 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.12.2.5: +13 -16 lines
Diff to previous 1.12.2.5 (colored) to branchpoint 1.12 (colored)

Canonicalize all #includes.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Fri Nov 12 16:10:48 1993 UTC (18 years, 6 months ago) by cgd
Branch: magnum
Changes since 1.12.2.4: +1 -2 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored)

merge changes from trunk

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 12 15:15:57 1993 UTC (18 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

from Mike Karels, via bsdi-users: nuking session pointer prevents cleanup.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Wed Oct 6 12:26:09 1993 UTC (18 years, 7 months ago) by mycroft
Branch: magnum
Changes since 1.12.2.3: +3 -1 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored)

Merge changes from trunk.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Wed Sep 29 06:31:06 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.12.2.2: +2 -2 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

init_main.c: Remove calls to startrtclock(), startkgclock(), and enablertclock().
sys_process.c: Remove profil() (now in subr_prof.c).
vfs_bio.c: Merge changes from trunk.
kern_clock.c, tty_pty.c: Trivial changes to match KNF.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Sep 29 02:36:27 1993 UTC (18 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.12: +5 -1 lines
Diff to previous 1.12 (colored)

ifdef out the ttyfree()'s, so that fill_eproc doesn't panic when
a process's session still holds a ref to a tty which has been deallocated
and reused.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon Sep 27 04:08:57 1993 UTC (18 years, 8 months ago) by deraadt
Branch: magnum
Changes since 1.12.2.1: +7 -1 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

initial empty ptyattach()

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:47 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 29 13:47:47 1993 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

tty XXstart() routines return void

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Mon Jul 19 05:52:33 1993 UTC (18 years, 10 months ago) by mycroft
Branch: netbsd-0-9
Changes since 1.11.2.1: +718 -0 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Move flushq() macro into tty.h.

Revision 1.11.2.1, Mon Jul 19 05:52:32 1993 UTC (18 years, 10 months ago) by mycroft
Branch: netbsd-0-9
Changes since 1.11: +0 -718 lines
FILE REMOVED

file tty_pty.c was added on branch netbsd-0-9 on 1993-07-19 05:52:33 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 19 05:52:32 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA
Branch point for: netbsd-0-9
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

Move flushq() macro into tty.h.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 19 05:49:13 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Make sure there are character in the ring before flushing.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 19 05:10:30 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Use ndflush(), not while(getc()).

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 12 11:33:54 1993 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +51 -72 lines
Diff to previous 1.7 (colored)

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.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 27 06:06:47 1993 UTC (18 years, 11 months ago) by andrew
Branch: MAIN
Changes since 1.6: +32 -7 lines
Diff to previous 1.6 (colored)

* ansifications
* fixed the arguments given to the line discipline l_open function in
  ptsopen()
* should ptsstart() return 1 if (tp->t_state & TS_TTSTOP)?

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 6 23:05:15 1993 UTC (18 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
don't conflict w/ansi prototypes...

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 26 10:06:47 1993 UTC (19 years ago) by deraadt
Branch: MAIN
Changes since 1.4: +34 -12 lines
Diff to previous 1.4 (colored)

tty dynamic allocation

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 18 18:19:32 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.3: +9 -41 lines
Diff to previous 1.3 (colored)

make kernel select interface be one-stop shopping & clean it all up.

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 10 23:15:39 1993 UTC (19 years ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

ring buffer now uses rbchar's (shorts) instead of chars.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +36 -9 lines
Diff to previous 1.1 (colored)

after 0.2.2 "stable" patches applied

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>