Home | History | Annotate | only in /src/sys/fs/nfs/client
History log of /src/sys/fs/nfs/client
RevisionDateAuthorComments
 1.2 13-Dec-2016  pgoyette More changes for creds, mutex, etc.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs.h was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.7 29-Mar-2021  simonb Don't use legacy VM types.
 1.6 29-Sep-2020  msaitoh branches: 1.6.2; 1.6.4;
s/implicitely/implicitly/
 1.5 03-Sep-2018  riastradh 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!)
 1.4 18-Nov-2016  pgoyette branches: 1.4.14; 1.4.16;
More clean-up of #includes
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 09-Dec-2013  wiz branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
Fix typo ("then" instead of "than")
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 09-Dec-2013  tls file nfs_clbio.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 09-Dec-2013  yamt file nfs_clbio.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 09-Dec-2013  rmind file nfs_clbio.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.4.16.1 10-Jun-2019  christos Sync with HEAD
 1.4.14.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.6.4.1 03-Apr-2021  thorpej Sync with HEAD.
 1.6.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.4 09-Feb-2022  andvar s/ony/only/
 1.3 10-Nov-2021  msaitoh s/derefernce/dereference/ in comment.
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clcomsubs.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clcomsubs.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clcomsubs.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 18-Nov-2016  pgoyette branches: 1.2.2; 1.2.4; 1.2.18;
More clean-up of #includes
 1.1 18-Nov-2016  pgoyette branches: 1.1.1;
Initial revision
 1.1.1.1 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.2.18.2 03-Dec-2017  jdolecek update from HEAD
 1.2.18.1 18-Nov-2016  jdolecek file nfs_clkdtrace.c was added on branch tls-maxphys on 2017-12-03 11:38:42 +0000
 1.2.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.4.1 18-Nov-2016  pgoyette file nfs_clkdtrace.c was added on branch pgoyette-localcount on 2017-01-07 08:56:48 +0000
 1.2.2.2 05-Dec-2016  skrll Sync with HEAD
 1.2.2.1 18-Nov-2016  skrll file nfs_clkdtrace.c was added on branch nick-nhusb on 2016-12-05 10:55:25 +0000
 1.3 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.2 13-Dec-2016  pgoyette branches: 1.2.52;
Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clkrpc.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clkrpc.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clkrpc.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.52.1 02-Aug-2025  perseant Sync with HEAD
 1.1 18-Nov-2016  pgoyette branches: 1.1.2; 1.1.4; 1.1.18;
Add the initial module(9) infrastructure
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 18-Nov-2016  jdolecek file nfs_clmodule.c was added on branch tls-maxphys on 2017-12-03 11:38:42 +0000
 1.1.4.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.4.1 18-Nov-2016  pgoyette file nfs_clmodule.c was added on branch pgoyette-localcount on 2017-01-07 08:56:48 +0000
 1.1.2.2 05-Dec-2016  skrll Sync with HEAD
 1.1.2.1 18-Nov-2016  skrll file nfs_clmodule.c was added on branch nick-nhusb on 2016-12-05 10:55:25 +0000
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clnfsiod.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clnfsiod.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clnfsiod.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clnode.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clnode.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clnode.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clport.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clport.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clport.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.5 27-Feb-2025  andvar Fix various typos in comments.
 1.4 05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.3 08-Feb-2024  andvar branches: 1.3.2;
fix misplaced or missing "e" in words with "ment" ending (argument, implement,
increment, decrement, alignment), in comments, documentation, log messages.
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clrpcops.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clrpcops.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clrpcops.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3.2.1 02-Aug-2025  perseant Sync with HEAD
 1.4 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 18-Oct-2014  snj branches: 1.2.2; 1.2.4;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clstate.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clstate.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clstate.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.2.2 05-Feb-2017  skrll Sync with HEAD
 1.2.2.1 05-Dec-2016  skrll Sync with HEAD
 1.2 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clsubs.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clsubs.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clsubs.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 03-Sep-2018  riastradh 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!)
 1.2 13-Dec-2016  pgoyette branches: 1.2.14; 1.2.16;
Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_clvfsops.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_clvfsops.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_clvfsops.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.2.16.1 10-Jun-2019  christos Sync with HEAD
 1.2.14.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.4 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.3 18-Nov-2016  pgoyette Resolve conflicts
 1.2 25-Mar-2014  christos branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12; 1.2.16;
kill sprintf.
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.2.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.12.2 05-Feb-2017  skrll Sync with HEAD
 1.2.12.1 05-Dec-2016  skrll Sync with HEAD
 1.2.10.3 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1 25-Mar-2014  tls file nfs_clvnops.c was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.2.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1 25-Mar-2014  yamt file nfs_clvnops.c was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.2.4.2 18-May-2014  rmind sync with head
 1.2.4.1 25-Mar-2014  rmind file nfs_clvnops.c was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfs_kdtrace.h was added on branch tls-maxphys on 2014-08-20 00:04:26 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfs_kdtrace.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfs_kdtrace.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsmount.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsmount.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsmount.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.3 13-Dec-2016  pgoyette Adapt code for our location of the nfs headers, and some updates for
differences in kernel options(4) handling
 1.2 18-Nov-2016  pgoyette More clean-up of #includes
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.2 18-Nov-2016  pgoyette Update to FreeBSD revision 308975 ( approx 2016-11-18 07:30 UTC)

If I'm going to try to get this working, I should at least start with
the most recent code available.
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10; 1.1.1.1.12; 1.1.1.1.16;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.16.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.1.1.12.2 05-Feb-2017  skrll Sync with HEAD
 1.1.1.1.12.1 05-Dec-2016  skrll Sync with HEAD
 1.1.1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nfsnode.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nfsnode.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nfsnode.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000
 1.1 30-Sep-2013  dholland branches: 1.1.1;
Initial revision
 1.1.1.1 30-Sep-2013  dholland branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
Import FreeBSD's "newnfs" nfs client and server code. This contains
nfsv4 as well as new implementations of nfsv3 and nfsv2.

This import is from tonight's FreeBSD head and is unchanged from there
except for automated munging of rcsids, rearranging of paths, and an
autogenerated files.* file that might or might not be syntactically
valid. (I will check in the script that does this shortly.)

There is not the slightest chance this will configure yet, let alone
compile or run.
 1.1.1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.10.1 30-Sep-2013  tls file nlminfo.h was added on branch tls-maxphys on 2014-08-20 00:04:27 +0000
 1.1.1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.1.6.1 30-Sep-2013  yamt file nlminfo.h was added on branch yamt-pagecache on 2014-05-22 11:41:00 +0000
 1.1.1.1.4.2 18-May-2014  rmind sync with head
 1.1.1.1.4.1 30-Sep-2013  rmind file nlminfo.h was added on branch rmind-smpnet on 2014-05-18 17:46:05 +0000

RSS XML Feed