The NetBSD Project

CVS log for src/sys/ufs/ffs/ffs_appleufs.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ffs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:55 2012 UTC (2 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.11: +4 -5 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:31 2011 UTC (2 years, 10 months ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver, HEAD
Changes since 1.11: +4 -5 lines
Diff to previous 1.11 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 22 04:01:33 2011 UTC (3 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

fix an off by one array overflow found by GCC 4.5.3.

Revision 1.9.60.1 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:13 2010 UTC (4 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9: +2 -7 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.9.84.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:09 2010 UTC (4 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.9: +2 -7 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.9.82.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:34 2010 UTC (4 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.9: +0 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 24 19:58:13 2010 UTC (4 years, 4 months ago) by dbj
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, 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.9: +2 -7 lines
Diff to previous 1.9 (colored)

switch from 4 clause to 2 clause BSD license.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:00 2006 UTC (8 years ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:54:49 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:31 2006 UTC (8 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +8 -14 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with head.

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:13 2006 UTC (8 years, 3 months ago) by chap
Branch: chap-midi
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 11 09:26:04 2006 UTC (8 years, 3 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, 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, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, 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, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

PR 33697: complete timecounter conversion

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:25 2005 UTC (8 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

merge ktrace-lwp.

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:31 2005 UTC (8 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.6.4: +7 -13 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 15 05:01:16 2005 UTC (9 years, 2 months ago) by thorpej
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
Changes since 1.6: +7 -13 lines
Diff to previous 1.6 (colored)

Use ANSI function decls.

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:39 2005 UTC (9 years, 4 months ago) by kent
Branch: kent-audio2
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with -current

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:03 2005 UTC (9 years, 6 months ago) by yamt
Branch: yamt-km
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

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

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:45 2005 UTC (9 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.6.3: +4 -4 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (9 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

nuke trailing whitespace

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:08 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.6.2: +2 -2 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

Fix the sync with head I botched.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:52 2004 UTC (10 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.6.1: +0 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:49 2004 UTC (10 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +20 -9 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 2 06:57:46 2004 UTC (10 years, 8 months ago) by dbj
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, 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, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.4: +10 -12 lines
Diff to previous 1.4 (colored)

explicitly pad struct appleufslabel and use __attribute__((__packed__))
since apple put the 64 bit uuid field on a 4 byte boundary

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 2 05:08:57 2004 UTC (10 years, 8 months ago) by dbj
Branch: MAIN
Changes since 1.3: +20 -7 lines
Diff to previous 1.3 (colored)

add uuid field to apple ufs volume label

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 13 17:07:55 2003 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Whitespace nits.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Mon Nov 11 22:16:50 2002 UTC (11 years, 10 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.4.2: +12 -12 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Catch up to -current

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 2 19:31:09 2002 UTC (11 years, 10 months ago) by dbj
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.1: +12 -12 lines
Diff to previous 1.1 (colored)

use be32toh instead of ntohl, etc.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:48 2002 UTC (11 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.1: +155 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:52 2002 UTC (11 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.2.1: +155 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (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.1.4.1, Sat Sep 28 20:11:08 2002 UTC (11 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -155 lines
FILE REMOVED

file ffs_appleufs.c was added on branch nathanw_sa on 2002-10-18 02:45:48 +0000

Revision 1.1.2.1, Sat Sep 28 20:11:08 2002 UTC (11 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1: +0 -155 lines
FILE REMOVED

file ffs_appleufs.c was added on branch kqueue on 2002-10-10 18:44:52 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 28 20:11:08 2002 UTC (11 years, 11 months ago) by dbj
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Branch point for: nathanw_sa, kqueue

Add support for the Apple UFS variation on ffs
This is the bulk of PR #17345

The general approach is to use a run time deteriminable value
for DIRBLKSIZ.  Additional allowances are included for using
MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group
cluster summary count array.  Support is added for managing
the Apple UFS volume label.

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>