The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:29 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.64.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:33 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

merge to -current.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Dec 20 23:56:28 2011 UTC (5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.64: +8 -4 lines
Diff to previous 1.64 (colored)

- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
  errors?).

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jun 30 22:38:50 2011 UTC (10 months, 3 weeks ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.63: +6 -9 lines
Diff to previous 1.63 (colored)

Don't cast a pointer void * before passing to memset(), that's not
necessary.  Use NULL instead of (type *)0.  This patch produces no
change in the generated assembly.

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.56.2.2: +5 -5 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

sync with head

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 20 09:36:06 2009 UTC (2 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

If a multithreaded app closes an fd while another thread is blocked in
read/write/accept, then the expectation is that the blocked thread will
exit and the close complete.
Since only one fd is affected, but many fd can refer to the same file,
the close code can only request the fs code unblock with ERESTART.
Fixed for pipes and sockets, ERESTART will only be generated after such
a close - so there should be no change for other programs.
Also rename fo_abort() to fo_restart() (this used to be fo_drain()).
Fixes PR/26567

Revision 1.62 / (download) - annotate - [select for diffs], Wed Dec 9 21:32:59 2009 UTC (2 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

Rename fo_drain() to fo_abort(), 'drain' is used to mean 'wait for output
do drain' in many places, whereas fo_drain() was called in order to force
blocking read()/write() etc calls to return to userspace so that a close()
call from a different thread can complete.
In the sockets code comment out the broken code in the inner function,
it was being called from compat code.

Revision 1.58.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.58: +27 -10 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

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

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.56.2.1: +27 -10 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored)

sync with head.

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.58: +27 -10 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.58.10.2 / (download) - annotate - [select for diffs], Wed Apr 8 23:10:13 2009 UTC (3 years, 1 month ago) by snj
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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.58.10.1: +3 -3 lines
Diff to previous 1.58.10.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by ad in ticket #681):
	sys/kern/sys_socket.c: revision 1.60
Patch out soo_drain until I fix it to work correctly.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 8 21:02:09 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.60: +7 -7 lines
Diff to previous 1.60 (colored)

soo_ioctl:

- cosmetic change after merge of socket locking patch.
- add a comment.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Apr 8 20:58:40 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Patch out soo_drain until I fix it to work correctly.

Revision 1.58.10.1 / (download) - annotate - [select for diffs], Sat Apr 4 23:36:27 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
Changes since 1.58: +22 -5 lines
Diff to previous 1.58 (colored)

Pull up following revision(s) (requested by ad in ticket #661):
	sys/arch/xen/xen/xenevt.c: revision 1.32
	sys/compat/svr4/svr4_net.c: revision 1.56
	sys/compat/svr4_32/svr4_32_net.c: revision 1.19
	sys/dev/dmover/dmover_io.c: revision 1.32
	sys/dev/putter/putter.c: revision 1.21
	sys/kern/kern_descrip.c: revision 1.190
	sys/kern/kern_drvctl.c: revision 1.23
	sys/kern/kern_event.c: revision 1.64
	sys/kern/sys_mqueue.c: revision 1.14
	sys/kern/sys_pipe.c: revision 1.109
	sys/kern/sys_socket.c: revision 1.59
	sys/kern/uipc_syscalls.c: revision 1.136
	sys/kern/vfs_vnops.c: revision 1.164
	sys/kern/uipc_socket.c: revision 1.188
	sys/net/bpf.c: revision 1.144
	sys/net/if_tap.c: revision 1.55
	sys/opencrypto/cryptodev.c: revision 1.47
	sys/sys/file.h: revision 1.67
	sys/sys/param.h: patch
	sys/sys/socketvar.h: revision 1.119
Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.
Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.
thr0	accept(fd, ...)
thr1	close(fd)

Revision 1.59 / (download) - annotate - [select for diffs], Sat Apr 4 10:12:51 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.58: +22 -5 lines
Diff to previous 1.58 (colored)

Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.

Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.

thr0	accept(fd, ...)
thr1	close(fd)

Revision 1.52.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:12 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.52.6.1: +36 -12 lines
Diff to previous 1.52.6.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.55: +38 -14 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.56: +2 -11 lines
Diff to previous 1.56 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Apr 29 18:35:14 2008 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.57: +2 -4 lines
Diff to previous 1.57 (colored)

kern/38502 ifconfig wi0 hangs

Don't acquire the socket lock for PRU_CONTROL.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (4 years ago) by martin
Branch: MAIN
Changes since 1.56: +2 -9 lines
Diff to previous 1.56 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.56 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:36 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.55: +47 -14 lines
Diff to previous 1.55 (colored)

Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.52.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.52: +36 -68 lines
Diff to previous 1.52 (colored)

Sync with HEAD.

Revision 1.43.4.5 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.43.4.4: +35 -67 lines
Diff to previous 1.43.4.4 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

sync with head.

Revision 1.52.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.52: +4 -37 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

sync with head.

Revision 1.51.8.1 / (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.51: +9 -44 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.54: +34 -33 lines
Diff to previous 1.54 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Mar 20 19:23:15 2008 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.53: +3 -36 lines
Diff to previous 1.53 (colored)

- Extract the guts of soo_poll() into sopoll(), which takes a struct socket *.
  This is for netsmb which wants to poll sockets directly.
- When polling a socket, first check for pending I/O without acquring any
  locks. If no I/O seems to be pending, acquire locks/spl and check again
  doing selrecord() if necessary.

Revision 1.43.4.4 / (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.43.4.3: +3 -3 lines
Diff to previous 1.43.4.3 (colored) to branchpoint 1.43 (colored)

sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Feb 27 19:56:33 2008 UTC (4 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

make socketops const

Revision 1.51.14.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.51: +7 -9 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.43.4.3 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:58 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.43.4.2: +7 -9 lines
Diff to previous 1.43.4.2 (colored) to branchpoint 1.43 (colored)

sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Feb 6 21:57:54 2008 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.51: +7 -9 lines
Diff to previous 1.51 (colored)

Don't lock the socket to set/clear FNONBLOCK. Just set it atomically.

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:10 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.43.4.1: +73 -32 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored)

sync with head.

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

Sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:56 2007 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6
Changes since 1.50: +72 -31 lines
Diff to previous 1.50 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Wed Mar 21 20:09:38 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.50: +72 -31 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Acquire the kernel lock in the VOP_* wrappers and the socket ops.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:42 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:09 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

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

Revision 1.47.10.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.47.10.1: +8 -9 lines
Diff to previous 1.47.10.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

sync with head.

Revision 1.49 / (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, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.48: +8 -9 lines
Diff to previous 1.48 (colored)

remove some __unused from function parameters.

Revision 1.47.10.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.47: +9 -8 lines
Diff to previous 1.47 (colored)

sync with head

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

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

Revision 1.45.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.45: +7 -6 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head

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

sync with head.

Revision 1.45.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
CVS Tags: simonb-timcounters-final
Changes since 1.45.6.1: +5 -4 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with head.

Revision 1.46.6.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.46: +5 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

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

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.46: +5 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Sun May 14 21:15:11 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, newlock2, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl
Changes since 1.46: +5 -4 lines
Diff to previous 1.46 (colored)

integrate kauth.

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:30 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.46.4.1: +3 -2 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (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.45.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.45: +4 -4 lines
Diff to previous 1.45 (colored)

Sync with head.

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

Adapt to kernel authorization KPI.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:21 2006 UTC (6 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sat Dec 31 11:14:01 2005 UTC (6 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

uio_segflg/uio_lwp -> uio_vmspace.

Revision 1.45 / (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
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.44: +15 -14 lines
Diff to previous 1.44 (colored)

merge ktrace-lwp.

Revision 1.37.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:12 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.37.2.6: +11 -35 lines
Diff to previous 1.37.2.6 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 7 06:05:20 2005 UTC (6 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.43: +11 -35 lines
Diff to previous 1.43 (colored)

Use ANSI function decls.

Revision 1.42.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.42: +3 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with -current

Revision 1.42.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.42: +3 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

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

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

Sync with HEAD.

Hi Perry!

Revision 1.43 / (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-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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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
Branch point for: yamt-lazymbuf
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

nuke trailing whitespace

Revision 1.37.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.37.2.4: +20 -2 lines
Diff to previous 1.37.2.4 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Nov 6 07:31:55 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.41: +5 -5 lines
Diff to previous 1.41 (colored)

I guess compiling code before committing is a lost art!

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 6 02:03:20 2004 UTC (7 years, 6 months ago) by wrstuden
Branch: MAIN
Changes since 1.40: +20 -2 lines
Diff to previous 1.40 (colored)

Add support for FIONWRITE and FIONSPACE ioctls. FIONWRITE reports
the number of bytes in the send queue, and FIONSPACE reports the
number of free bytes in the send queue. These ioctls permit applications
to monitor file descriptor transmission dynamics.

In examining prior art, FIONWRITE exists with the semantics given
here. FIONSPACE is provided so that programs may easily determine how
much space is left in the send queue; they do not need to know the
send queue size.

The fact that a write may block even if there is enough space in the
send queue for it is noted in the documentation.

FIONWRITE functionality may be used to implement TIOCOUTQ for Linux
emulation - Linux extended this ioctl to sockets, even though they are
not ttys.

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

Fix the sync with head I botched.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.2: +19 -20 lines
Diff to previous 1.37.2.2 (colored)

Sync with HEAD.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:55 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.37.2.1: +11 -12 lines
Diff to previous 1.37.2.1 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 22 22:52:13 2004 UTC (8 years ago) by jonathan
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Eliminate several uses of `curproc' from the socket-layer code and from NFS.

Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded  by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize.   Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 21 19:17:08 2003 UTC (8 years, 8 months ago) by jdolecek
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.38: +8 -6 lines
Diff to previous 1.38 (colored)

cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
  the owner of descriptor, according to appropriate sematics
  of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
  these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
  properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
  in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
  pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:55 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (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.37.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:42 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.37: +18 -18 lines
Diff to previous 1.37 (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.37 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:27 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.36: +16 -16 lines
Diff to previous 1.36 (colored)

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

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:56 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.35: +18 -18 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Fri Mar 21 21:13:51 2003 UTC (9 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)

Revision 1.22.6.5 / (download) - annotate - [select for diffs], Tue Jan 7 21:37:18 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.22.6.4: +3 -3 lines
Diff to previous 1.22.6.4 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 6 20:30:38 2003 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

writable, not writeable.

Revision 1.22.6.4 / (download) - annotate - [select for diffs], Mon Nov 11 22:14:01 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.22.6.3: +5 -3 lines
Diff to previous 1.22.6.3 (colored) to branchpoint 1.22 (colored)

Catch up to -current

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:23 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (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.31.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:07 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.31.2.1: +4 -1 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync kqueue branch with -current.

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

Catch up to -current.

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

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

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 12 15:25:25 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, 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, kqueue-beforemerge, kqueue-base, ifpoll-base, ifpoll, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

add RCSIDs

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 13:43:33 2001 UTC (10 years, 10 months ago) by lukem
Branch: kqueue
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored)

add soo_kqfilter method

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:03 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.22.6.1: +5 -4 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored)

Catch up to -current.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 16 21:29:32 2001 UTC (10 years, 11 months ago) by manu
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Changes since 1.30: +2 -7 lines
Diff to previous 1.30 (colored)

Use SB_ASYNC in struct sockbuf sb_flags field instead of SS_ASYNC in
struct socket so_state field to decide if we need to send asynchronous
notifications. This makes possible to request notification on write but
not on read, and vice versa.

This is used in Linux emulation code, because when async I/O is requested,
Linux does not send SIGIO to write end of sockets, and it never send any
SIGIO to any end of pipes. Il Linux emulation code, we then set SB_ASYNC
only on the read end of sockets, and on no end for pipes.

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 19 17:28:33 2001 UTC (11 years ago) by manu
Branch: MAIN
Changes since 1.29: +2 -0 lines
Diff to previous 1.29 (colored)

Backed out a previous commit that was incomplete and hence broke several
emulation package build

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 19 08:52:05 2001 UTC (11 years ago) by manu
Branch: MAIN
Changes since 1.28: +1 -3 lines
Diff to previous 1.28 (colored)

Moved e_flags outsied of ifdef __HAVE_MINIMAL_EMUL in struct emul
and removed an ifdef that was taking care of this problem

Revision 1.28 / (download) - annotate - [select for diffs], Mon May 7 09:55:15 2001 UTC (11 years ago) by manu
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that
the native emulation (NetBSD) does not have a flag.

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 7 02:51:53 2001 UTC (11 years ago) by enami
Branch: MAIN
Changes since 1.26: +6 -3 lines
Diff to previous 1.26 (colored)

Make this file *just* compiles again when __HAVE_MINIMAL_EMUL is defined.

Revision 1.26 / (download) - annotate - [select for diffs], Mon May 7 02:28:55 2001 UTC (11 years ago) by enami
Branch: MAIN
Changes since 1.25: +10 -10 lines
Diff to previous 1.25 (colored)

Fix broken indentation introduced by previous commit.

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 6 19:22:32 2001 UTC (11 years ago) by manu
Branch: MAIN
Changes since 1.24: +13 -10 lines
Diff to previous 1.24 (colored)

implement the recently introduced EMUL_BSD_ASYNCIO_PIPE emulation package
flag.

EMUL_BSD_ASYNCIO_PIPE notes that the emulated binaries expect the original
BSD pipe behavior for asynchronous I/O, which is to fire SIGIO on read() and
write(). OSes without this flag do not expect any SIGIO to be fired on
read() and write() for pipes, even when async I/O was requested. As far as
we know, the OSes that need EMUL_BSD_ASYNCIO_PIPE are NetBSD, OSF/1 and
Darwin.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:29 2001 UTC (11 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.21.2.1: +7 -6 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 9 10:22:02 2001 UTC (11 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Change the first arg to fileops fo_stat routine to struct file *, adjust
callers and appropriate routines to cope. This makes fo_stat more
consistent with rest of fileops routines and also makes the fo_stat
match FreeBSD as an added bonus.
Discussed with Luke Mewburn on tech-kern@.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:57 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.22: +7 -6 lines
Diff to previous 1.22 (colored)

Catch up with -current.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 7 09:00:57 2001 UTC (11 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.22: +7 -6 lines
Diff to previous 1.22 (colored)

Add new 'stat' fileop and call the stat function via f_ops rather
than directly.
For compat syscalls, also add necessary FILE_USE()/FILE_UNUSE().
Now that soo_stat() gets a proc arg, pass it on to usrreq function.

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

Update thorpej_scsipi to -current as of a month ago

Revision 1.22 / (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, 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, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: nathanw_sa
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored)

Get rid of register declarations.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 3 20:19:17 1999 UTC (12 years, 9 months ago) by wrstuden
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.20: +15 -2 lines
Diff to previous 1.20 (colored)

Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl
call with F_FSCTL set and F_SETFL calls generate calls to a new
fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0
for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems
use genfs_fcntl().

Reviewed by: thorpej
Tested by: wrstuden

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:57 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 4 04:03:16 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: 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, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
  bcopy(x, y, z) ->  memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
   bcmp(x, y, z) ->  memcmp(x, y, z)
  bzero(x, y)    ->  memset(x, 0, y)

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 31 22:50:51 1998 UTC (13 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 30 05:33:12 1998 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.17: +7 -3 lines
Diff to previous 1.17 (colored)

Add two additional arguments to the fileops read and write calls, a
pointer to the offset to use, and a flags word.  Define a flag that
specifies whether or not to update the offset passed by reference.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 25 17:35:18 1998 UTC (14 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Hook for 0-copy (or other optimized) sends and receives

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

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:00 1998 UTC (14 years, 2 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +8 -2 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:47 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: +23 -19 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Wed Dec 11 03:27:57 1996 UTC (15 years, 5 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

From trunk:
Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods
that need it.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:00 1996 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, 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
Changes since 1.14: +28 -31 lines
Diff to previous 1.14 (colored)

Implement poll(2).

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 22 13:54:55 1996 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
PRU_CONTROL.  The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 12 23:59:09 1995 UTC (16 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: netbsd-1-2
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

splnet --> splsoftnet

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 29 06:33:08 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.10: +3 -2 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 13 06:01:27 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

Update to 4.4-Lite networking code, with a few local changes.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 11 10:27:22 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Minor changes.

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 11 10:26:49 1994 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)

Minor changes.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 25 08:09:59 1994 UTC (18 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Set the file type correctly for stat().

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 25 08:08:56 1994 UTC (18 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.5: +8 -4 lines
Diff to previous 1.5 (colored)

Remove sbselqueue().

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

Canonicalize all #includes.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sun Nov 14 21:07:17 1993 UTC (18 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.4.4.1: +13 -13 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Canonicalize all #includes.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:36 1993 UTC (18 years, 8 months ago) by mycroft
Branch: magnum
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Sun Jun 27 06:01:56 1993 UTC (18 years, 11 months ago) by andrew
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, netbsd-0-9, magnum-base
Branch point for: magnum
Changes since 1.3: +7 -1 lines
Diff to previous 1.3 (colored)

ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 22 11:41:44 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

add include of select.h if necessary for protos, or delete if extraneous

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 18 18:19:25 1993 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

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

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: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, 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>