The NetBSD Project

CVS log for src/sys/netsmb/Attic/subr_mchain.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.23.20.2
Wed Apr 8 14:08:59 2020 UTC (5 years ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.23.20.1: +2 -2 lines
Merge changes from current as of 20200406

Revision 1.25
Sat Apr 4 15:43:22 2020 UTC (5 years ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
FILE REMOVED
Changes since revision 1.24: +2 -2 lines
remove SMBFS and nsmb(4) - kernel part

it's unmaintained and supports only obsolete SMB1

Revision 1.23.20.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:49 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Sync with HEAD

Revision 1.23.18.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:45 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +4 -4 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:36 2018 UTC (6 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:05 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +16 -8 lines
update from HEAD

Revision 1.22.14.1: download - view: text, markup, annotated - select for diffs
Mon Dec 1 09:31:40 2014 UTC (10 years, 4 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +16 -8 lines
Pull up following revision(s) (requested by nakayama in ticket #275):
	sys/rump/dev/lib/libnetsmb/netsmb_iconv.c: revision 1.1
	external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.8: revision 1.3
	sys/netsmb/smb_subr.c: revision 1.37
	external/bsd/smbfs/dist/mount_smbfs/mount_smbfs.8: revision 1.4
	sys/fs/smbfs/smbfs_subr.c: revision 1.17
	sys/rump/dev/lib/libnetsmb/Makefile: revision 1.5
	sys/fs/smbfs/smbfs_smb.c: revision 1.46
	sys/fs/smbfs/smbfs_node.c: revision 1.52
	sys/netsmb/mchain.h: revision 1.10
	external/bsd/smbfs/dist/lib/smb/ctx.c: revision 1.3
	sys/netsmb/subr_mchain.c: revision 1.23
	sys/rump/dev/lib/libnetsmb/netsmb_user.c: revision 1.1
	sys/rump/dev/lib/libnetsmb/netsmb_user.c: revision 1.2
	sys/rump/dev/lib/libnetsmb/netsmb_user.c: revision 1.3
	sys/rump/dev/lib/libnetsmb/netsmb_user.h: revision 1.1
	sys/netsmb/iconv.c: revision 1.14
	external/bsd/smbfs/dist/smbutil/smbutil.1: revision 1.3
	sys/fs/smbfs/smbfs_subr.h: revision 1.22
Make rump_smbfs(8) uses host iconv(3) to convert filenames
character set on NetBSD hosts.
Adjust smbfs/netsmb for filenames byte length changes that come as
a result of iconv conversion.  Most codes are taken from FreeBSD.
Disable unused codes that causes SIGBUS or SIGSEGV if character
sets option (-E) is specified to mount_smbfs/rump_smbfs.
Adjust man page accordingly.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 15 18:52:45 2014 UTC (10 years, 5 months ago) by nakayama
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +16 -8 lines
Adjust smbfs/netsmb for filenames byte length changes that come as
a result of iconv conversion.  Most codes are taken from FreeBSD.

Revision 1.20.12.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:38 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +47 -47 lines
sync to latest -current.

Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:16 2012 UTC (12 years, 11 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +47 -47 lines
sync with head.

Revision 1.13.28.2: download - view: text, markup, annotated - select for diffs
Sat May 19 17:07:50 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-4-0
Diff to: previous 1.13.28.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.28.1: +4 -4 lines
Pull up following revision(s) (requested by nakayama in ticket #1445):
	sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.

Revision 1.13.18.2: download - view: text, markup, annotated - select for diffs
Sat May 19 17:06:48 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-4
Diff to: previous 1.13.18.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.18.1: +2 -2 lines
Pull up following revision(s) (requested by nakayama in ticket #1445):
	sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.

Revision 1.15.6.1.2.1: download - view: text, markup, annotated - select for diffs
Sat May 19 17:04:19 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Diff to: previous 1.15.6.1: preferred, colored; next MAIN 1.15.6.2: preferred, colored
Changes since revision 1.15.6.1: +2 -2 lines
Pull up following revision(s) (requested by nakayama in ticket #1758):
	sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.

Revision 1.15.12.2: download - view: text, markup, annotated - select for diffs
Sat May 19 17:03:45 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-5-0
Diff to: previous 1.15.12.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.12.1: +2 -2 lines
Pull up following revision(s) (requested by nakayama in ticket #1758):
	sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.

Revision 1.15.6.2: download - view: text, markup, annotated - select for diffs
Sat May 19 17:03:09 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.15.6.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.6.1: +2 -2 lines
Pull up following revision(s) (requested by nakayama in ticket #1758):
	sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.

Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Sat May 19 15:25:53 2012 UTC (12 years, 11 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, 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-6-RELEASE, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +4 -4 lines
Pull up following revision(s) (requested by nakayama in ticket #265):
	sys/netsmb/subr_mchain.c: revision 1.21
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.
Should fix PR kern/44092.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 12 01:40:37 2012 UTC (12 years, 11 months ago) by nakayama
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, 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, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +47 -47 lines
Tabify.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri May 11 14:51:39 2012 UTC (12 years, 11 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
Since "len" has changed to (unsinged) size_t, the while loop
condition (len > 0) became less able to detect its underflow.
So check the subtrahend to avoid the underflow.

Should fix PR kern/44092.

Revision 1.15.14.1: download - view: text, markup, annotated - select for diffs
Fri May 20 08:11:30 2011 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +15 -16 lines
bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat).

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:03 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +15 -18 lines
sync with head

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Dec 17 13:05:29 2010 UTC (14 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -4 lines
unifdef -D__NetBSD__

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:47:50 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +15 -16 lines
Sync with HEAD.

Revision 1.14.40.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:58 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.14.40.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.40.1: +15 -16 lines
sync with head.

Revision 1.13.18.1: download - view: text, markup, annotated - select for diffs
Thu Jul 22 20:36:22 2010 UTC (14 years, 9 months ago) by riz
Branches: netbsd-4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +15 -16 lines
Pull up following revision(s) (requested by christos in ticket #1398):
	sys/netsmb/subr_mchain.c: revision 1.19 via patch
	sys/netsmb/smb_subr.c: revision 1.35
	sys/netsmb/smb_subr.h: revision 1.19
	sys/netsmb/mchain.h: revision 1.9 via patch
	sys/netsmb/smb_dev.h: revision 1.7
Convert sizes/lengths to unsigned (size_t) or uint32_t
(for binary compatibility).

Revision 1.13.28.1: download - view: text, markup, annotated - select for diffs
Thu Jul 22 20:34:16 2010 UTC (14 years, 9 months ago) by riz
Branches: netbsd-4-0
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +15 -16 lines
Pull up following revision(s) (requested by christos in ticket #1398):
	sys/netsmb/subr_mchain.c: revision 1.19 via patch
	sys/netsmb/smb_subr.c: revision 1.35
	sys/netsmb/smb_subr.h: revision 1.19
	sys/netsmb/mchain.h: revision 1.9 via patch
	sys/netsmb/smb_dev.h: revision 1.7
Convert sizes/lengths to unsigned (size_t) or uint32_t
(for binary compatibility).

Revision 1.15.12.1: download - view: text, markup, annotated - select for diffs
Fri Jul 16 18:48:41 2010 UTC (14 years, 9 months ago) by riz
Branches: netbsd-5-0
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +15 -16 lines
Pull up following revision(s) (requested by christos in ticket #1426):
	sys/netsmb/subr_mchain.c: revision 1.19
	sys/netsmb/smb_subr.c: revision 1.35
	sys/netsmb/smb_subr.h: revision 1.19
	sys/netsmb/mchain.h: revision 1.9
	sys/netsmb/smb_dev.h: revision 1.7
Convert sizes/lengths to unsigned (size_t) or uint32_t
(for binary compatibility).

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Fri Jul 16 18:47:10 2010 UTC (14 years, 9 months ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, matt-nb5-pq3-base, matt-nb5-pq3
Branch point for: netbsd-5-1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +15 -16 lines
Pull up following revision(s) (requested by christos in ticket #1426):
	sys/netsmb/subr_mchain.c: revision 1.19
	sys/netsmb/smb_subr.c: revision 1.35
	sys/netsmb/smb_subr.h: revision 1.19
	sys/netsmb/mchain.h: revision 1.9
	sys/netsmb/smb_dev.h: revision 1.7
Convert sizes/lengths to unsigned (size_t) or uint32_t
(for binary compatibility).

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 12 02:58:01 2010 UTC (14 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +15 -16 lines
Convert sizes/lengths to unsigned (size_t) or uint32_t
(for binary compatibility).

Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:22:51 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +7 -7 lines
Sync with HEAD.

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

Revision 1.14.40.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:22 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +10 -13 lines
sync with head.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:44 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +7 -7 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Apr 18 14:58:07 2009 UTC (16 years ago) by tsutsui
Branches: MAIN
CVS tags: 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, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
Remove extra whitespace added by a stupid tool.
XXX: more in src/sys/arch

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:06:53 2009 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
bcopy -> memcpy

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:24 2009 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
bzero -> memset

Revision 1.14.42.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:02 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +5 -8 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.14.36.1: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:19 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +5 -8 lines
Sync with HEAD.

Revision 1.14.44.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:49 2008 UTC (16 years, 10 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +5 -8 lines
Sync with head.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jun 24 10:37:19 2008 UTC (16 years, 10 months ago) by gmcgarry
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base2, netbsd-5-base, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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, mjf-devfs2-base, 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-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, 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-0, netbsd-5, matt-nb5-mips64, jym-xensuspend
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -8 lines
Remove gcc variadic macros with comma elimination.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:44:15 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +19 -18 lines
sync with head.

Revision 1.13.20.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:00:35 2007 UTC (18 years, 1 month ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +19 -18 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:36 2007 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-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, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +19 -18 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:24 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +6 -4 lines
sync with head

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:11:50 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -4 lines
sync with head.

Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:14 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +6 -4 lines
Sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:32 2006 UTC (19 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, 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, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, netbsd-4-0, netbsd-4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -4 lines
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.12.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 15 10:59:43 2006 UTC (19 years, 3 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +6 -4 lines
convert smbfs.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:16 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
merge ktrace-lwp.

Revision 1.8.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:11:55 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.4: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.4: +6 -6 lines
Sync with HEAD. Here we go again...

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 29 21:26:27 2005 UTC (19 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -6 lines
sprinkle const, remove casts.

Revision 1.9.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:36 2005 UTC (20 years ago) by kent
Branches: kent-audio2
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +6 -6 lines
sync with -current

Revision 1.9.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:51 2005 UTC (20 years, 1 month ago) by yamt
Branches: yamt-km
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +6 -6 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:54:20 2005 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.3: preferred, colored
Changes since revision 1.8.2.3: +6 -6 lines
Sync with HEAD.

Hi Perry!

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:39:50 2005 UTC (20 years, 2 months ago) by perry
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6 lines
nuke trailing whitespace

Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:24 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.2: preferred, colored
Changes since revision 1.8.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:06 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.1: preferred, colored
Changes since revision 1.8.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:05 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Feb 24 15:12:53 2004 UTC (21 years, 2 months ago) by wiz
Branches: 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
occured -> occurred. From Peter Postma.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 4 08:20:50 2003 UTC (22 years ago) by jdolecek
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2 lines
#ifdef MCHAIN_DEBUG a too verbose message

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:36:36 2003 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
drop trailing $ added to FreeBSD RCS Id in last rev by mistake

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:09:34 2003 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +19 -17 lines
Pullup FreeBSD rev. 1.3 of this file - support for iovcnt greater than
1 in mb_put_uio(), mb_get_uio()

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 26 21:50:15 2003 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -21 lines
M_TRYWAIT -> M_WAIT
MGET() -> m_get()
MCLGET() -> m_clget()
c_caddr_t -> const char *

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Feb 25 09:12:11 2003 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
add __KERNEL_RCSID

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 18 10:18:53 2003 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -13 lines
use explicit width macros from <sys/endian.h>, do not define&use
letohs/letohl/letohq and such

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:45:33 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +2 -2 lines
Catch up to -current.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:44:36 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +2 -2 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:37:59 2002 UTC (22 years, 7 months ago) by provos
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
remove trailing \n in panic().  approved perry.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:49 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +612 -0 lines
More catchup.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:04:18 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +612 -0 lines
Sync kqueue branch with -current.

Revision 1.1.4.1
Fri Jan 4 02:39:46 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.1: +0 -612 lines
file subr_mchain.c was added on branch nathanw_sa on 2002-01-11 23:39:49 +0000

Revision 1.1.2.1
Fri Jan 4 02:39:46 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.1: +0 -612 lines
file subr_mchain.c was added on branch kqueue on 2002-01-10 20:04:18 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 4 02:39:46 2002 UTC (23 years, 3 months ago) by deberg
Branches: 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, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
resolve conflicts

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>