The NetBSD Project

CVS log for src/sys/dev/rnd.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71.10.2 / (download) - annotate - [select for diffs], Sun Nov 15 05:46:53 2009 UTC (2 months, 3 weeks ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.71.10.1: +3 -3 lines
Diff to previous 1.71.10.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Pull up following revision(s) (requested by rmind in ticket #1135):
	sys/dev/rnd.c: revision 1.77
rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Sun Nov 15 05:46:23 2009 UTC (2 months, 3 weeks ago) by snj
Branch: netbsd-5
Changes since 1.71.4.1: +3 -3 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Pull up following revision(s) (requested by rmind in ticket #1135):
	sys/dev/rnd.c: revision 1.77
rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Nov 1 21:08:32 2009 UTC (3 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, HEAD
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.

Revision 1.65.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:45 2009 UTC (4 months, 3 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65.4.3: +21 -7 lines
Diff to previous 1.65.4.3 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

sync with head

Revision 1.71.10.1 / (download) - annotate - [select for diffs], Wed Sep 16 04:04:39 2009 UTC (4 months, 3 weeks ago) by snj
Branch: netbsd-5-0
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Pull up following revision(s) (requested by pooka in ticket #948):
	sys/dev/rnd.c: revision 1.74
rnd_wakeup_readers() uses rndpool_mtx for its own consistency
management, so it cannot be called with the mutex held.  There is
no consistency requirement to synchronize over the whole add-and-wakeup
operation, as if data is consumed in the window the mutex is locked,
wakeups will simply be skipped.
fix from Juho Salminen in PR kern/42020.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed Sep 16 04:01:55 2009 UTC (4 months, 3 weeks ago) by snj
Branch: netbsd-5
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Pull up following revision(s) (requested by pooka in ticket #948):
	sys/dev/rnd.c: revision 1.74
rnd_wakeup_readers() uses rndpool_mtx for its own consistency
management, so it cannot be called with the mutex held.  There is
no consistency requirement to synchronize over the whole add-and-wakeup
operation, as if data is consumed in the window the mutex is locked,
wakeups will simply be skipped.
fix from Juho Salminen in PR kern/42020.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Sep 14 09:26:28 2009 UTC (4 months, 3 weeks ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored)

Be more naughty and don't even include <machine/cpu_counter.h> for
rump builds.  Hopefully fixes the alpha build failure he@ pointed
out to me.
(yes __HAVE_CPU_COUNTER involves a trickery)

Revision 1.75 / (download) - annotate - [select for diffs], Sun Sep 13 18:45:10 2009 UTC (4 months, 3 weeks ago) by pooka
Branch: MAIN
Changes since 1.74: +18 -4 lines
Diff to previous 1.74 (colored)

Wipe out the last vestiges of POOL_INIT with one swift stroke.  In
most cases, use a proper constructor.  For proplib, give a local
equivalent of POOL_INIT for the kernel object implementation.  This
way the code structure can be preserved, and a local link set is
not hazardous anyway (unless proplib is split to several modules,
but that'll be the day).

tested by booting a kernel in qemu and compile-testing i386/ALL

Revision 1.74 / (download) - annotate - [select for diffs], Tue Sep 8 20:57:59 2009 UTC (5 months ago) by pooka
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

rnd_wakeup_readers() uses rndpool_mtx for its own consistency
management, so it cannot be called with the mutex held.  There is
no consistency requirement to synchronize over the whole add-and-wakeup
operation, as if data is consumed in the window the mutex is unlocked,
wakeups will simply be skipped.
fix from Juho Salminen in PR kern/42020.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Sep 8 20:07:35 2009 UTC (5 months ago) by pooka
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Be naughty and avoid #ifdef __HAVE_CPU_COUNTER in rump -- it's a
massively MD can of purpleworms.

Revision 1.65.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:18 2009 UTC (8 months, 3 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65.4.2: +18 -4 lines
Diff to previous 1.65.4.2 (colored) to branchpoint 1.65 (colored)

sync with head

Revision 1.71.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:05 2009 UTC (8 months, 4 weeks ago) by jym
Branch: jym-xensuspend
Changes since 1.71: +18 -4 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

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

Revision 1.72 / (download) - annotate - [select for diffs], Tue May 5 21:03:29 2009 UTC (9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.71: +18 -4 lines
Diff to previous 1.71 (colored)

Add device scope actions for rnd(4) and use them.

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004953.html

Revision 1.65.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:33 2009 UTC (9 months, 1 week ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65.4.1: +55 -70 lines
Diff to previous 1.65.4.1 (colored) to branchpoint 1.65 (colored)

sync with head.

Revision 1.66.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:18 2008 UTC (15 months, 3 weeks ago) by haad
Branch: haad-dm
Changes since 1.66: +55 -70 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.64.12.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:18 2008 UTC (16 months, 1 week ago) by mjf
Branch: mjf-devfs2
Changes since 1.64.12.3: +53 -68 lines
Diff to previous 1.64.12.3 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:01 2008 UTC (16 months, 3 weeks ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.66: +55 -70 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Aug 16 13:07:30 2008 UTC (17 months, 3 weeks ago) by dan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5-0, netbsd-5, jym-xensuspend
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

mark callout mpsafe, next comes moving some of the (silly) estimator
work from the initial collection to the later callout.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Aug 16 12:33:18 2008 UTC (17 months, 3 weeks ago) by dan
Branch: MAIN
Changes since 1.69: +2 -9 lines
Diff to previous 1.69 (colored)

g/c unused #define

Revision 1.69 / (download) - annotate - [select for diffs], Sat Aug 16 12:23:34 2008 UTC (17 months, 3 weeks ago) by dan
Branch: MAIN
Changes since 1.68: +37 -37 lines
Diff to previous 1.68 (colored)

replace splsoftclock protection of the rndpool and related state with
another mutex.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Aug 16 10:19:21 2008 UTC (17 months, 3 weeks ago) by dan
Branch: MAIN
Changes since 1.67: +20 -18 lines
Diff to previous 1.67 (colored)

replace splvm() protection of sample queue and device state with a mutex

Revision 1.67 / (download) - annotate - [select for diffs], Sat Aug 16 07:37:14 2008 UTC (17 months, 3 weeks ago) by dan
Branch: MAIN
Changes since 1.66: +2 -12 lines
Diff to previous 1.66 (colored)

remove unnecessary splvm() calls around simple pool_get/put, obsoleted
by pool internal locks since vmlocking merged.

Revision 1.64.12.3 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:12 2008 UTC (20 months, 1 week ago) by mjf
Branch: mjf-devfs2
Changes since 1.64.12.2: +0 -7 lines
Diff to previous 1.64.12.2 (colored) to branchpoint 1.64 (colored)

Sync with HEAD.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:30 2008 UTC (20 months, 3 weeks ago) by yamt
Branch: yamt-pf42
Changes since 1.65: +2 -9 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

sync with head.

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:49 2008 UTC (20 months, 3 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.65: +2 -9 lines
Diff to previous 1.65 (colored)

sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:47 2008 UTC (21 months, 1 week ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.65: +2 -9 lines
Diff to previous 1.65 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.64.12.2 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:37 2008 UTC (22 months, 1 week ago) by mjf
Branch: mjf-devfs2
Changes since 1.64.12.1: +4 -3 lines
Diff to previous 1.64.12.1 (colored) to branchpoint 1.64 (colored)

Sync with HEAD.

Revision 1.64.12.1 / (download) - annotate - [select for diffs], Sat Mar 29 16:17:57 2008 UTC (22 months, 1 week ago) by mjf
Branch: mjf-devfs2
Changes since 1.64: +10 -2 lines
Diff to previous 1.64 (colored)


- etc/devfsd.conf: Add some rules to give nodes like /dev/tty and
  		   /dev/null better default modes, i.e. 0666.

- sbin/init: Run devfsd -s before going to multiuser.

- sys/arch: Provide arm32, i386, sparc with a mem_init() function to request
  	    device nodes for /dev/null, /dev/zero, etc.

- sys/dev: Convert rnd, wd, agp, raid, cd, sd, wsdisplay, wskbd, wsmouse,
	   wsmux, tty, bpf, swap to devfs New World Order.

- sys/fs/devfs: Make the visibility attribute of device nodes configurable.
	        Also provide a function to mount a devfs on boot.

- sys/kern: Add a new boot flag, -n. This disables devfs support. Unless
	    the -n flag is specified the kernel will mount a devfs file
	    system on boot.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:11 2008 UTC (22 months, 2 weeks ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.64: +4 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with head.

Revision 1.63.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:35 2008 UTC (22 months, 2 weeks ago) by matt
Branch: matt-armv6
Changes since 1.63.8.1: +4 -3 lines
Diff to previous 1.63.8.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

sync with HEAD

Revision 1.48.2.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:37 2008 UTC (22 months, 3 weeks ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.48.2.5: +4 -3 lines
Diff to previous 1.48.2.5 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 1 14:16:50 2008 UTC (23 months, 1 week ago) by rmind
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.64: +4 -3 lines
Diff to previous 1.64 (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.63.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:15 2008 UTC (2 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

sync with HEAD

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:42 2007 UTC (2 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.63.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:20 2007 UTC (2 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD.

Revision 1.63.16.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:17 2007 UTC (2 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with head.

Revision 1.48.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:17 2007 UTC (2 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.48.2.4: +3 -3 lines
Diff to previous 1.48.2.4 (colored) to branchpoint 1.48 (colored)

sync with head

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 5 17:19:48 2007 UTC (2 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (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.48.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:16 2007 UTC (2 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.48.2.3: +10 -7 lines
Diff to previous 1.48.2.3 (colored) to branchpoint 1.48 (colored)

sync with head.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:05:03 2007 UTC (2 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.62: +5 -3 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:29 2007 UTC (2 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking2-base1, vmlocking-nbase, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.62: +5 -3 lines
Diff to previous 1.62 (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.61.2.2 / (download) - annotate - [select for diffs], Sun Jul 1 21:47:40 2007 UTC (2 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.61.2.1: +5 -3 lines
Diff to previous 1.61.2.1 (colored) next main 1.62 (colored)

Adapt to callout API change.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:19 2007 UTC (2 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.60.2.1: +4 -3 lines
Diff to previous 1.60.2.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

sync with head.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:21 2007 UTC (2 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

Sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:30 2007 UTC (2 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:06 2007 UTC (2 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:43 2007 UTC (2 years, 11 months ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

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

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:55 2007 UTC (2 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.48.2.2: +21 -22 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored)

sync with head.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:34 2007 UTC (3 years ago) by ad
Branch: newlock2
Changes since 1.53.2.1: +21 -22 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jan 5 16:38:13 2007 UTC (3 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.59: +2 -3 lines
Diff to previous 1.59 (colored)

No need to break after return.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 5 16:23:04 2007 UTC (3 years, 1 month ago) by elad
Branch: MAIN
Changes since 1.58: +22 -22 lines
Diff to previous 1.58 (colored)

Use a single kauth(9) call.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jan 4 18:44:45 2007 UTC (3 years, 1 month ago) by elad
Branch: MAIN
Changes since 1.57: +7 -7 lines
Diff to previous 1.57 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:50 2006 UTC (3 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.48.2.1: +20 -16 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

sync with head.

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:53 2006 UTC (3 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.53.4.1: +9 -9 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:03 2006 UTC (3 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.53: +9 -8 lines
Diff to previous 1.53 (colored)

Sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:45 2006 UTC (3 years, 2 months ago) by christos
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.56: +9 -9 lines
Diff to previous 1.56 (colored)

__unused removal on arguments; approved by core.

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:28 2006 UTC (3 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.53: +13 -12 lines
Diff to previous 1.53 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:51 2006 UTC (3 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.55: +10 -8 lines
Diff to previous 1.55 (colored)

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

Revision 1.55 / (download) - annotate - [select for diffs], Sat Sep 23 01:13:08 2006 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.54: +4 -5 lines
Diff to previous 1.54 (colored)

Adjust comment for rnd_add_uint32() to reflect changes in rev 1.50. Fixes
PR# 34250 by Jorge Acereda Macia.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Sep 20 05:21:37 2006 UTC (3 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Constification.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:09 2006 UTC (3 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.49: +14 -16 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.50.2.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:55 2006 UTC (3 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.50.2.2: +3 -3 lines
Diff to previous 1.50.2.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Sep 3 05:03:42 2006 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

add missing initializer

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:52 2006 UTC (3 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.50.2.1: +12 -9 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jul 21 16:48:47 2006 UTC (3 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.51: +12 -9 lines
Diff to previous 1.51 (colored)

- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:12 2006 UTC (3 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.48: +14 -17 lines
Diff to previous 1.48 (colored)

sync with head.

Revision 1.49.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:03 2006 UTC (3 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.49.6.1: +8 -7 lines
Diff to previous 1.49.6.1 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.50.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:07 2006 UTC (3 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.50: +8 -7 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

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

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:36 2006 UTC (3 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.50: +8 -7 lines
Diff to previous 1.50 (colored)

sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Sun May 14 21:42:26 2006 UTC (3 years, 8 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.50: +8 -7 lines
Diff to previous 1.50 (colored)

integrate kauth.

Revision 1.50.4.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:27 2006 UTC (3 years, 9 months ago) by christos
Branch: elad-kernelauth
Changes since 1.50.4.2: +3 -2 lines
Diff to previous 1.50.4.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (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.49.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:46 2006 UTC (3 years, 9 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.49: +2 -8 lines
Diff to previous 1.49 (colored)

Sync with head.

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:39:01 2006 UTC (3 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.50.4.1: +7 -7 lines
Diff to previous 1.50.4.1 (colored) to branchpoint 1.50 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:44:48 2006 UTC (3 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.50: +7 -7 lines
Diff to previous 1.50 (colored)

Adapt to kernel authorization KPI.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:02 2006 UTC (3 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.49: +2 -8 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 17 19:22:30 2006 UTC (3 years, 11 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, 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.49: +2 -8 lines
Diff to previous 1.49 (colored)

In rnd_add_uint32(), there's no need to check for rs == NULL since
that was already done by the caller, rnd_add_data().

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Thu Dec 15 20:03:00 2005 UTC (4 years, 1 month ago) by tron
Branch: netbsd-3
CVS Tags: 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.46: +3 -18 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Pull up following revision(s) (requested by chs in ticket #1046):
	sys/dev/rnd.c: revision 1.47
Don't ENXIO on open("/dev/random") if there is not enough
entropy collected. It's undocumented, noone else does it and
it leads to "named" errors during boot for me.
Generally, consumers of "/dev/random" should be prepared to wait.
(The other uses of "rnd_have_entropy" look bogus to me too,
but this needs more consideration.)

Revision 1.49 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:53 2005 UTC (4 years, 2 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.48: +8 -6 lines
Diff to previous 1.48 (colored)

merge ktrace-lwp.

Revision 1.42.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:00 2005 UTC (4 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.7: +13 -28 lines
Diff to previous 1.42.2.7 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD. Here we go again...

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 29 22:18:25 2005 UTC (4 years, 8 months ago) by christos
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.47: +12 -12 lines
Diff to previous 1.47 (colored)

- add const
- avoid variable shadowing.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:44 2005 UTC (4 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.44: +10 -25 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with -current

Revision 1.47 / (download) - annotate - [select for diffs], Fri Apr 15 20:21:23 2005 UTC (4 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.46: +3 -18 lines
Diff to previous 1.46 (colored)

Don't ENXIO on open("/dev/random") if there is not enough
entropy collected. It's undocumented, noone else does it and
it leads to "named" errors during boot for me.
Generally, consumers of "/dev/random" should be prepared to wait.
(The other uses of "rnd_have_entropy" look bogus to me too,
but this needs more consideration.)

Revision 1.44.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:53 2005 UTC (4 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.44.6.1: +8 -8 lines
Diff to previous 1.44.6.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

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

Revision 1.42.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:53 2005 UTC (4 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.6: +8 -8 lines
Diff to previous 1.42.2.6 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.46 / (download) - annotate - [select for diffs], Sun Feb 27 00:26:58 2005 UTC (4 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1
Branch point for: netbsd-3
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

nuke trailing whitespace

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:42 2005 UTC (4 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

sync with head.

Revision 1.42.2.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:09 2005 UTC (5 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.5: +3 -3 lines
Diff to previous 1.42.2.5 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:35 2005 UTC (5 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

de-__P

Revision 1.42.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:56 2004 UTC (5 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.4: +14 -14 lines
Diff to previous 1.42.2.4 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 29 13:33:37 2004 UTC (5 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.43: +14 -14 lines
Diff to previous 1.43 (colored)

splvm should be enough to protect rnd sample queue and rnd_mempool
as you can't use rnd_add_uint32 safely with >IPL_VM anyway.

Revision 1.42.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:26:25 2004 UTC (5 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.3: +8 -6 lines
Diff to previous 1.42.2.3 (colored) to branchpoint 1.42 (colored)

Fix the sync with head I botched.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:28 2004 UTC (5 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.2: +6 -8 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:54 2004 UTC (5 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.1: +3 -6 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:40 2004 UTC (5 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.42: +3 -6 lines
Diff to previous 1.42 (colored)

Initialise (most) pools from a link set instead of explicit calls
to pool_init.  Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.

 Convert struct session, ucred and lockf to pools.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:01 2003 UTC (6 years, 7 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.42: +8 -6 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:01 2003 UTC (6 years, 7 months ago) by fvdl
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
Branch point for: ktrace-lwp
Changes since 1.41: +4 -6 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:31 2003 UTC (6 years, 7 months ago) by darrenr
Branch: MAIN
Changes since 1.40: +8 -6 lines
Diff to previous 1.40 (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.40 / (download) - annotate - [select for diffs], Fri May 16 15:34:25 2003 UTC (6 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

use strlcpy

Revision 1.39 / (download) - annotate - [select for diffs], Wed Feb 5 13:57:50 2003 UTC (7 years ago) by nakayama
Branch: MAIN
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.

Revision 1.21.2.9 / (download) - annotate - [select for diffs], Wed Dec 11 06:37:48 2002 UTC (7 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.21.2.8: +3 -3 lines
Diff to previous 1.21.2.8 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 26 18:49:41 2002 UTC (7 years, 2 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.37: +5 -5 lines
Diff to previous 1.37 (colored)

si_ -> sel_

Revision 1.21.2.8 / (download) - annotate - [select for diffs], Mon Nov 11 22:08:50 2002 UTC (7 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.7: +68 -5 lines
Diff to previous 1.21.2.7 (colored) to branchpoint 1.21 (colored)

Catch up to -current

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 10 03:29:00 2002 UTC (7 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

Fix signed/unsigned comparison warnings.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 23 09:13:04 2002 UTC (7 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.35: +67 -4 lines
Diff to previous 1.35 (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.21.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:28 2002 UTC (7 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.6: +75 -8 lines
Diff to previous 1.21.2.6 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.22.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:21 2002 UTC (7 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.22.2.6: +13 -10 lines
Diff to previous 1.22.2.6 (colored) to branchpoint 1.22 (colored) next main 1.23 (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.35 / (download) - annotate - [select for diffs], Wed Oct 9 14:48:58 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
CVS Tags: kqueue-beforemerge
Changes since 1.34: +10 -13 lines
Diff to previous 1.34 (colored)

Account for 1 bit of entropy for each timestamp added during
initialisation. This is just as silly as the other entropy
estimations, but it at least allows us to see how many values have
been added.

spl protect rnd_get_entropy_counter call properly

Make rndpool start out doing rotations on the first pass - make the
LSFR's be less sensitive to stuck bits in poor initial inputs.

Add considerable comments regarding the mixing function.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Oct 8 12:12:56 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
Changes since 1.33: +13 -11 lines
Diff to previous 1.33 (colored)

Comment initialisation conditions for rnd better, and don't uselessly
call rnd_init - instead assert that it has already been called
earlier.

change assert() -> KASSERT()

Revision 1.33 / (download) - annotate - [select for diffs], Tue Oct 8 09:59:27 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
Changes since 1.32: +17 -2 lines
Diff to previous 1.32 (colored)

mix in another counter when the psuedo-device attachment is called,
this actually happens *after* most of the sources have attached, so microtime
is as safe now as it was when they attached.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Oct 7 11:02:20 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
Changes since 1.31: +10 -3 lines
Diff to previous 1.31 (colored)

mix in another counter when called if not yet satisfied

Revision 1.31 / (download) - annotate - [select for diffs], Mon Oct 7 09:41:51 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
Changes since 1.30: +33 -4 lines
Diff to previous 1.30 (colored)

Add counter info at source attach time too, since there might be some
reasonable timing variance in the probing process.

Improve the usefulness and presentation of RND_VERBOSE output.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Oct 7 04:51:00 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
Changes since 1.29: +16 -16 lines
Diff to previous 1.29 (colored)

cleaner and safer version of the previous, for arch's that may define
__HAVE_CPU_COUNTER but where not all machines actually have one.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 7 02:38:41 2002 UTC (7 years, 4 months ago) by dan
Branch: MAIN
Changes since 1.28: +19 -2 lines
Diff to previous 1.28 (colored)

stir in something at initialisation

Revision 1.21.2.6 / (download) - annotate - [select for diffs], Tue Sep 17 21:19:23 2002 UTC (7 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.5: +13 -15 lines
Diff to previous 1.21.2.5 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 6 13:23:01 2002 UTC (7 years, 5 months ago) by gehenna
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.27: +13 -15 lines
Diff to previous 1.27 (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.22.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:45:01 2002 UTC (7 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.22.2.5: +3 -3 lines
Diff to previous 1.22.2.5 (colored) to branchpoint 1.22 (colored)

catch up with -current on kqueue branch

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Thu Jun 20 16:31:23 2002 UTC (7 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.26.6.1: +3 -3 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

catch up with -current.

Revision 1.21.2.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:24 2002 UTC (7 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.4: +3 -3 lines
Diff to previous 1.21.2.4 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 1 23:50:57 2002 UTC (7 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Thu May 16 04:49:35 2002 UTC (7 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.26: +13 -15 lines
Diff to previous 1.26 (colored)

Add the character device switch.

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:05 2002 UTC (7 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.3: +2 -2 lines
Diff to previous 1.21.2.3 (colored) to branchpoint 1.21 (colored)

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

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:48 2002 UTC (7 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.22.2.4: +3 -3 lines
Diff to previous 1.22.2.4 (colored) to branchpoint 1.22 (colored)

Catch up with -current.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:37 2002 UTC (7 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: 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, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Thu Jan 10 19:52:50 2002 UTC (8 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.22.2.3: +4 -1 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored)

Sync kqueue branch with -current.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:13:42 2001 UTC (8 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.2: +4 -1 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Nov 13 05:32:50 2001 UTC (8 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: ifpoll-base, ifpoll
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

add RCSIDs

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:44:12 2001 UTC (8 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.22.4.1: +144 -166 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Catch up with -current.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:27 2001 UTC (8 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21.2.1: +143 -166 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored)

Catch up to -current.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:35 2001 UTC (8 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.22.2.2: +143 -166 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

Update the kqueue branch to HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 9 00:48:55 2001 UTC (8 years, 5 months ago) by enami
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.23: +23 -1 lines
Diff to previous 1.23 (colored)

Mix random data directly into the pool and increase entropy instead of
estimating entropy with polling based timing.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 9 00:32:52 2001 UTC (8 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.22: +121 -166 lines
Diff to previous 1.22 (colored)

Cosmetic changes.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Sep 8 18:12:19 2001 UTC (8 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.22.2.1: +15 -8 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

Use the seltrue filter as appropriate (or, rather, as the "poll"
entry points of these drivers indicate).

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Sep 8 04:37:07 2001 UTC (8 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.22: +59 -8 lines
Diff to previous 1.22 (colored)

Add kqueue support.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:23 2001 UTC (8 years, 5 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.22: +19 -23 lines
Diff to previous 1.22 (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.21.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:03 2001 UTC (8 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Catch up with -current.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 7 17:04:02 2001 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

bcopy -> memcpy
bzero -> memset

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:39:47 2000 UTC (9 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.16: +85 -43 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Sun Jul 2 23:32:02 2000 UTC (9 years, 7 months ago) by sommerfeld
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.20: +2 -2 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Pull up fix from current: let cpu_counter() be wider than 32 bits on
platforms for which is the case; clip to 32 bits in rnd.c

Approved by thorpej

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 2 21:04:33 2000 UTC (9 years, 7 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Take just the low-order 32 bits of cpu_counter() here.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:06:14 2000 UTC (9 years, 7 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.18: +79 -41 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 6 01:33:15 2000 UTC (9 years, 8 months ago) by sommerfeld
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.19: +11 -11 lines
Diff to previous 1.19 (colored)

Replace "timestamp" with "counter" in previous change, to avoid any
possible confusion that it has anything to do with accurate
measurement of time.

New names:
	__HAVE_CPU_COUNTER
	cpu_counter()
	cpu_hascounter()

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 5 23:42:34 2000 UTC (9 years, 8 months ago) by sommerfeld
Branch: MAIN
Changes since 1.18: +75 -37 lines
Diff to previous 1.18 (colored)

/dev/random code cleanups:
 - Add comments about which spls apply to which data structures.
 - Consistently protect the rnd_samples queue (the queue of
unprocessed samples) at splhigh().
 - allow MD code to supply cpu_timestamp() and cpu_havetimestamp() for
an optional higher-resolution clock/roulette wheel source.
 - Collect more statistics on the pool state (keeping track of where
collected bits are going, in addition to where they came from).
 - Add RNDGETPOOLSTAT ioctl to get the additional stats.
 - Flush a few unused rndpool calls.
 - XXX XXX Cryptographic changes:
  - 32-bit rotate is:
	((val << rp->rotate) | (val >> (32 - rp->rotate))),
    not
	(val << rp->rotate) | (val >> rp->rotate)
    or
	((val << rp->rotate) | (val >> (31 - rp->rotate)))
  - Avoid overloading of rp->rotate and double-rotation of data
(which limited pool mixing somewhat; "rotate" never got above 7).
  - Be more paranoid (but probably not paranoid enough) about mixing
output back into the pool.  This is an improvement, but it needs
revisiting soon.

We should follow the spirit of some of the recommendations in
the Schneier PRNG papers:

http://www.counterpane.com/yarrow-notes.html
http://www.counterpane.com/pseudorandom_number.html

including:
 - two (or more) stage operation for better isolation between inputs
and outputs.
 - use of keyed one-way functions (probably better even than
invertible keyed functions like 3DES) at key points in the data flow,
so that breaking the PRNG is clearly as hard as breaking the function.

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 19 04:03:33 2000 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Add missing field in static initialization.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:26 2000 UTC (9 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:33:46 1999 UTC (10 years, 2 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.15: +13 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Sun Aug 22 16:33:48 1999 UTC (10 years, 5 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.15.2.2: +7 -7 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

A more consistent branch-specific fix for the data extraction locking bug
previously fixed.  Patch from ross.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun Aug 8 07:04:16 1999 UTC (10 years, 6 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.15.2.1: +2 -2 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

pull up a patch to correctly protect the critical section in
rnd_extract_data().  This is branch-specific because the -current
solution is too complex to reasonably pull up.  (ross)

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Thu Jun 24 16:15:59 1999 UTC (10 years, 7 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH001-oldtag
Changes since 1.15: +12 -2 lines
Diff to previous 1.15 (colored)

pullup 1.15->1.16 (pk): deal with missing "raise interrupt level" code

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:17:36 1999 UTC (10 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.15: +12 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync w/ -current.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 12 10:58:47 1999 UTC (10 years, 8 months ago) by pk
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, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.15: +12 -2 lines
Diff to previous 1.15 (colored)

Guard global `rnd_mempool' against interrupts.
Use appropriate flags in pool_get().

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 1 19:07:40 1999 UTC (10 years, 10 months ago) by explorer
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Changes since 1.14: +26 -8 lines
Diff to previous 1.14 (colored)

don't allow /dev/random to be opened (return ENXIO) until there is at least
one active entropy source

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 28 19:01:30 1999 UTC (10 years, 11 months ago) by explorer
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

don't collect or estimate on network devices by default

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 28 17:19:13 1999 UTC (10 years, 11 months ago) by explorer
Branch: MAIN
Changes since 1.12: +192 -214 lines
Diff to previous 1.12 (colored)

Cleanup (in preparation for using gzip to estimate entropy)
(1) remove unused and probably bad (from an API POV) ioctls,
(2) split tyfl into type and flags,
(3) collect an array of samples, and add them all at once.  Soon, this
    will be using gzip to estimate the entropy, but for now the original
    estimation methods are still used.
(4) kill rnd_add_data() -- it compliated the API for little benefit

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 27 10:41:00 1999 UTC (11 years ago) by mrg
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)

KNF anality.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 27 00:59:14 1998 UTC (11 years, 8 months ago) by explorer
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.10: +5 -11 lines
Diff to previous 1.10 (colored)

Move RND_ENTROPY_THRESHOLD to sys/rnd.h.  Use sha1 rather than md5, and
release the first 96 bits of the hash directly rather than by folding.
The full 160 bit hash is mixed back into the entropy pool.  This keeps
64 bits secret to stir the pool with.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 20 18:43:48 1997 UTC (12 years, 3 months ago) by explorer
Branch: MAIN
CVS Tags: 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
Changes since 1.9: +39 -51 lines
Diff to previous 1.9 (colored)

clean up the event queue more.  Add volatile where needed.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 20 15:05:05 1997 UTC (12 years, 3 months ago) by explorer
Branch: MAIN
Changes since 1.8: +41 -49 lines
Diff to previous 1.8 (colored)

Clean up the timeout and queue code.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 19 11:43:05 1997 UTC (12 years, 3 months ago) by explorer
Branch: MAIN
Changes since 1.7: +298 -94 lines
Diff to previous 1.7 (colored)

o Remove most of the splhigh() protected regions, making them
  splsoftclock() instead.  This is done with an event queue of raw data,
  and the entropy calculation etc. is done at splsoftclock().

o Use a private entropy pool rather than the global one defined in
  rndpool.c.  That global will probably go away, eventually.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 15 07:22:46 1997 UTC (12 years, 3 months ago) by explorer
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

clean up ioctl arguments.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Oct 14 10:22:09 1997 UTC (12 years, 3 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 13 20:00:11 1997 UTC (12 years, 4 months ago) by explorer
Branch: MAIN
CVS Tags: marc-pcmcia-base
Branch point for: marc-pcmcia
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Update notice to indicate the the IDEAS were derived from Ted's code, not the
code itself, per phone conversation with Ted

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 13 18:35:15 1997 UTC (12 years, 4 months ago) by explorer
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

update copyright to include the CORRECT spelling of Ted Ts'o's name

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 13 00:47:17 1997 UTC (12 years, 4 months ago) by explorer
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

o Make usage of /dev/random dependant on
  pseudo-device   rnd                     # /dev/random and in-kernel generator
  in config files.

o Add declaration to all architectures.

o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
  that this code is derived in part from Ted Tyso's linux code.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 12 18:49:09 1997 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Don't be verbose by default.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 10 16:35:00 1997 UTC (12 years, 4 months ago) by explorer
Branch: MAIN
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored)

For network devices, collect timing information and mix into the pool,
but do not assume any entopy is gathered.  It can be enabled using an
IOCTL again if the user desires.

Note that the mix function uses xor, so at worse an attacker can twiddle
bits in the pool, but not into a known state assuming it started as
an unknown.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 9 23:13:12 1997 UTC (12 years, 4 months ago) by explorer
Branch: MAIN

Addition of /dev/random and in-kernel random value generation.

Over the next few days (thank goodness for long weekends) I'll be hunting
down device drivers and adding hooks to gather entropy from many devices,
and adding the conf.c changes to the various port's device structs to
define major numbers for /dev/random and /dev/urandom.

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>