svn commit: r362158 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/cd9660 fs/msdosfs fs/nfs fs/nfsserver fs/unionfs kern nlm sys ufs/ffs

2020-06-13 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 14 00:10:18 2020 New Revision: 362158 URL: https://svnweb.freebsd.org/changeset/base/362158 Log: Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. Since mnt_flags was upgraded to 64bits there has been a quirk in "struct export_args",

svn commit: r361998 - in head/sys: kern sys

2020-06-09 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 10 02:51:39 2020 New Revision: 361998 URL: https://svnweb.freebsd.org/changeset/base/361998 Log: Add two functions that create M_EXTPG mbufs with anonymous pages. These two functions are needed by nfs-over-tls, but could also be useful for other purposes.

svn commit: r361956 - head/usr.sbin/mountd

2020-06-08 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 9 05:01:23 2020 New Revision: 361956 URL: https://svnweb.freebsd.org/changeset/base/361956 Log: Fix a bug where XU_NGROUPS + 1 groups might be copied. r361780 fixed the code so that it would only remove the duplicate when it actually existed. However, that

svn commit: r361854 - head/usr.sbin/mountd

2020-06-05 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 6 00:40:02 2020 New Revision: 361854 URL: https://svnweb.freebsd.org/changeset/base/361854 Log: Fix mountd so that it will not lose SIGHUPs that indicate "reload exports". Without this patch, if a SIGHUP is handled while the process is executing

svn commit: r361780 - head/usr.sbin/mountd

2020-06-03 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 4 00:28:20 2020 New Revision: 361780 URL: https://svnweb.freebsd.org/changeset/base/361780 Log: Fix mountd to handle getgrouplist() not returning groups[0] == groups[1]. Prior to r174547, getgrouplist(3) always returned a groups list with element 0 and 1

svn commit: r361711 - head/sys/kern

2020-06-01 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 2 00:03:26 2020 New Revision: 361711 URL: https://svnweb.freebsd.org/changeset/base/361711 Log: Fix build issue introduced by r361699. Reported by: cy (and others) Modified: head/sys/kern/vfs_mount.c Modified: head/sys/kern/vfs_mount.c

Re: svn commit: r361682 - head/include

2020-05-31 Thread Rick Macklem
>Author: rmacklem >Date: Sun May 31 22:46:32 2020 >New Revision: 361682 >URL: https://svnweb.freebsd.org/changeset/base/361682 > >Log: > Oops, I didn't notice the "cd" is needed for each install line. > >Modified: > head/include/Makefile > >Modified: head/include/Makefile

svn commit: r361682 - head/include

2020-05-31 Thread Rick Macklem
Author: rmacklem Date: Sun May 31 22:46:32 2020 New Revision: 361682 URL: https://svnweb.freebsd.org/changeset/base/361682 Log: Oops, I didn't notice the "cd" is needed for each install line. Modified: head/include/Makefile Modified: head/include/Makefile

svn commit: r361679 - head/include

2020-05-31 Thread Rick Macklem
Author: rmacklem Date: Sun May 31 22:15:34 2020 New Revision: 361679 URL: https://svnweb.freebsd.org/changeset/base/361679 Log: Update the Makefile to copy rpcsec_tls.h to /usr/include/rpc. Modified: head/include/Makefile Modified: head/include/Makefile

svn commit: r361658 - head/sys/rpc

2020-05-30 Thread Rick Macklem
31 01:12:52 2020(r361658) @@ -0,0 +1,82 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2020 Rick Macklem + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions

svn commit: r361614 - head/sys/sys

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Fri May 29 00:10:19 2020 New Revision: 361614 URL: https://svnweb.freebsd.org/changeset/base/361614 Log: Oops two, missed syscall.mk as well. Modified: head/sys/sys/syscall.mk Modified: head/sys/sys/syscall.mk

svn commit: r361610 - head/sys/sys

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 23:57:50 2020 New Revision: 361610 URL: https://svnweb.freebsd.org/changeset/base/361610 Log: Oops, missed syscall.h and sysproto.h for r361602. Pointy hat goes on me. Modified: head/sys/sys/syscall.h head/sys/sys/sysproto.h Modified:

svn commit: r361603 - head/lib/libc/sys

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 21:26:26 2020 New Revision: 361603 URL: https://svnweb.freebsd.org/changeset/base/361603 Log: Add an entry to Symbol.map for the rpctls_syscall added by r361599. Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D24949

svn commit: r361602 - in head/sys: compat/freebsd32 kern

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 21:23:02 2020 New Revision: 361602 URL: https://svnweb.freebsd.org/changeset/base/361602 Log: Update the files created from the new syscalls.master from r361599. Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D24949

svn commit: r361599 - in head/sys: compat/freebsd32 kern

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 21:06:10 2020 New Revision: 361599 URL: https://svnweb.freebsd.org/changeset/base/361599 Log: Add a syscall for the nfs-over-tls daemons to use. The nfs-over-tls daemons need a system call to perform operations such as associate a file descriptor with a

svn commit: r361567 - head/sys/kern

2020-05-27 Thread Rick Macklem
Author: rmacklem Date: Wed May 27 23:20:35 2020 New Revision: 361567 URL: https://svnweb.freebsd.org/changeset/base/361567 Log: Fix sosend() for the case where mbufs are passed in while doing ktls. For kernel tls, sosend() needs to call ktls_frame() on the mbuf list to be sent. Without

svn commit: r361146 - in head/sys/fs: nfs nfsserver

2020-05-17 Thread Rick Macklem
Author: rmacklem Date: Mon May 18 00:07:45 2020 New Revision: 361146 URL: https://svnweb.freebsd.org/changeset/base/361146 Log: Add a function nfsm_set() to initialize "struct nfsrv_descript" for building mbuf lists. This function is currently trivial, but will that will change when

svn commit: r360678 - head/sys/fs/nfs

2020-05-05 Thread Rick Macklem
Author: rmacklem Date: Wed May 6 00:44:03 2020 New Revision: 360678 URL: https://svnweb.freebsd.org/changeset/base/360678 Log: Delete unused function newnfs_trimleading. The NFS function called newnfs_trimleading() has not been used by the code in long time. To give you a clue, it still

svn commit: r360650 - head/sys/fs/nfs

2020-05-04 Thread Rick Macklem
Author: rmacklem Date: Tue May 5 00:58:03 2020 New Revision: 360650 URL: https://svnweb.freebsd.org/changeset/base/360650 Log: Revert r360514, to avoid unnecessary churn of the sources. r360514 prepared the NFS code for changes to handle ext_pgs mbufs on the receive side. However, at

svn commit: r360556 - stable/11/sys/fs/nfsserver

2020-05-01 Thread Rick Macklem
Author: rmacklem Date: Fri May 1 23:07:23 2020 New Revision: 360556 URL: https://svnweb.freebsd.org/changeset/base/360556 Log: MFC: r360032 Add a sanity check for nes_numsecflavor to the NFS server. Ryan Moeller reported crashes in the NFS server that appear to be caused by stack

svn commit: r360555 - stable/12/sys/fs/nfsserver

2020-05-01 Thread Rick Macklem
Author: rmacklem Date: Fri May 1 22:37:09 2020 New Revision: 360555 URL: https://svnweb.freebsd.org/changeset/base/360555 Log: MFC: r360032 Add a sanity check for nes_numsecflavor to the NFS server. Ryan Moeller reported crashes in the NFS server that appear to be caused by stack

svn commit: r360514 - head/sys/fs/nfs

2020-04-30 Thread Rick Macklem
Author: rmacklem Date: Fri May 1 00:36:14 2020 New Revision: 360514 URL: https://svnweb.freebsd.org/changeset/base/360514 Log: Factor some code out of nfsm_dissct() into separate functions. Factoring some of the code in nfsm_dissct() out into separate functions allows these functions to

svn commit: r360424 - in head/sys/fs: nfs nfsclient

2020-04-27 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 28 02:11:02 2020 New Revision: 360424 URL: https://svnweb.freebsd.org/changeset/base/360424 Log: Get rid of uio_XXX macros used for the Mac OS/X port. The NFS code had a bunch of Mac OS/X accessor functions named uio_XXX left over from the port to Mac OS/X.

svn commit: r360416 - head/sys/kern

2020-04-27 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 27 23:55:09 2020 New Revision: 360416 URL: https://svnweb.freebsd.org/changeset/base/360416 Log: Fix sosend_generic() so that it can handle a list of ext_pgs mbufs. Without this patch, sosend_generic() will try to use top->m_pkthdr.len, assuming that the

svn commit: r360289 - in head/sys/fs: nfs nfsclient nfsserver

2020-04-24 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 25 02:18:59 2020 New Revision: 360289 URL: https://svnweb.freebsd.org/changeset/base/360289 Log: Remove Mac OS/X macros that did nothing for FreeBSD. The macros CAST_USER_ADDR_T() and CAST_DOWN() were used for the Mac OS/X port. The first of these macros

svn commit: r360208 - stable/11/sys/fs/nfsserver

2020-04-22 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 22 21:15:26 2020 New Revision: 360208 URL: https://svnweb.freebsd.org/changeset/base/360208 Log: MFC: r359720 Fix an interoperability issue w.r.t. the Linux client and the NFSv4 server. Luoqi Chen reported a problem on freebsd-fs@ where a Linux NFSv4 client

svn commit: r360207 - stable/12/sys/fs/nfsserver

2020-04-22 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 22 21:08:08 2020 New Revision: 360207 URL: https://svnweb.freebsd.org/changeset/base/360207 Log: MFC: r359720 Fix an interoperability issue w.r.t. the Linux client and the NFSv4 server. Luoqi Chen reported a problem on freebsd-fs@ where a Linux NFSv4 client

svn commit: r360205 - in head/sys/fs: nfs nfsclient

2020-04-22 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 22 21:00:14 2020 New Revision: 360205 URL: https://svnweb.freebsd.org/changeset/base/360205 Log: Make the NFSv4.n client's recovery from NFSERR_BADSESSION RFC5661 conformant. RFC5661 specifies that a client's recovery upon receipt of NFSERR_BADSESSION

svn commit: r360142 - in stable/11/sys/fs: nfs nfsserver

2020-04-20 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 21 05:00:35 2020 New Revision: 360142 URL: https://svnweb.freebsd.org/changeset/base/360142 Log: MFC: r359679 Fix noisy NFSv4 server printf. Peter reported that his dmesg was getting cluttered with nfsrv_cache_session: no session messages when he

svn commit: r360141 - in stable/12/sys/fs: nfs nfsserver

2020-04-20 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 21 04:47:42 2020 New Revision: 360141 URL: https://svnweb.freebsd.org/changeset/base/360141 Log: MFC: r359679 Fix noisy NFSv4 server printf. Peter reported that his dmesg was getting cluttered with nfsrv_cache_session: no session messages when he

svn commit: r360110 - stable/11/sys/rpc

2020-04-19 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 20 01:26:18 2020 New Revision: 360110 URL: https://svnweb.freebsd.org/changeset/base/360110 Log: MFC: r359643 Change the xid for client side krpc over UDP to a global value. Without this patch, the xid used for the client side krpc requests over UDP was

svn commit: r360109 - stable/12/sys/rpc

2020-04-19 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 20 01:17:00 2020 New Revision: 360109 URL: https://svnweb.freebsd.org/changeset/base/360109 Log: MFC: r359643 Change the xid for client side krpc over UDP to a global value. Without this patch, the xid used for the client side krpc requests over UDP was

svn commit: r360081 - head/usr.sbin/nfscbd

2020-04-18 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 18 23:46:58 2020 New Revision: 360081 URL: https://svnweb.freebsd.org/changeset/base/360081 Log: Change the type of "len" to avoid warnings. The "len" variable is used as the last argument to getsockname(2) and accept(2). It was declared an "int" and this

svn commit: r360055 - in head/sys/fs: nfs nfsserver

2020-04-17 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 17 21:17:51 2020 New Revision: 360055 URL: https://svnweb.freebsd.org/changeset/base/360055 Log: Replace all instances of the typedef mbuf_t with "struct mbuf *". The typedef mbuf_t was used for the Mac OS/X port of the code long ago. Since this port is no

svn commit: r360032 - head/sys/fs/nfsserver

2020-04-16 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 17 02:21:46 2020 New Revision: 360032 URL: https://svnweb.freebsd.org/changeset/base/360032 Log: Add a sanity check for nes_numsecflavor to the NFS server. Ryan Moeller reported crashes in the NFS server that appear to be caused by stack corruption in

svn commit: r359995 - in head/sys/fs: nfsclient nfsserver

2020-04-15 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 15 21:27:52 2020 New Revision: 359995 URL: https://svnweb.freebsd.org/changeset/base/359995 Log: Fix the NFSv4.2 extended attribute support for remove extended attrbute. I missed the "atomic" field of the RemoveExtendedAttribute operation's reply when I

svn commit: r359941 - in head/sys/fs: nfsclient nfsserver

2020-04-14 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 14 22:57:21 2020 New Revision: 359941 URL: https://svnweb.freebsd.org/changeset/base/359941 Log: Fix the NFSv2 extended attribute support to handle 0 length attributes. I did not realize that zero length attributes are allowed, but they are. This patch

svn commit: r359910 - in head/sys: conf fs/nfsserver modules/nfsd nfs

2020-04-13 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 14 00:01:26 2020 New Revision: 359910 URL: https://svnweb.freebsd.org/changeset/base/359910 Log: Re-organize the NFS file handle affinity code for the NFS server. The file handle affinity code was configured to be used by both the old and new NFS servers.

svn commit: r359840 - head/sys/fs/nfs

2020-04-12 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 13 00:07:37 2020 New Revision: 359840 URL: https://svnweb.freebsd.org/changeset/base/359840 Log: Delete the mbuf macros that were used for the Mac OS/X port. When the code was ported to Mac OS/X, mbuf handling functions were converted to using the Mac OS/X

svn commit: r359811 - in head/sys/fs: nfs nfsclient

2020-04-11 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 11 23:37:58 2020 New Revision: 359811 URL: https://svnweb.freebsd.org/changeset/base/359811 Log: Replace mbuf macros with the code they would generate in the NFS code. When the code was ported to Mac OS/X, mbuf handling functions were converted to using the

svn commit: r359810 - in head/sys/fs: nfs nfsserver

2020-04-11 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 11 20:57:15 2020 New Revision: 359810 URL: https://svnweb.freebsd.org/changeset/base/359810 Log: Replace mbuf macros with the code they would generate in the NFS code. When the code was ported to Mac OS/X, mbuf handling functions were converted to using the

svn commit: r359785 - head/sys/fs/nfsclient

2020-04-10 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 10 22:42:14 2020 New Revision: 359785 URL: https://svnweb.freebsd.org/changeset/base/359785 Log: Replace mbuf macros with the code they would generate in the NFS code. When the code was ported to Mac OS/X, mbuf handling functions were converted to using the

svn commit: r359780 - head/sys/fs/nfsserver

2020-04-10 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 10 21:25:35 2020 New Revision: 359780 URL: https://svnweb.freebsd.org/changeset/base/359780 Log: Replace mbuf macros with the code they would generate in the NFS code. When the code was ported to Mac OS/X, mbuf handling functions were converted to using the

svn commit: r359757 - head/sys/fs/nfs

2020-04-09 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 9 23:11:19 2020 New Revision: 359757 URL: https://svnweb.freebsd.org/changeset/base/359757 Log: Replace mbuf macros with the code they would generate in the NFS code. When the code was ported to Mac OS/X, mbuf handling functions were converted to using the

svn commit: r359747 - head/sys/sys

2020-04-09 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 9 15:33:13 2020 New Revision: 359747 URL: https://svnweb.freebsd.org/changeset/base/359747 Log: Bump version for r359745, since it removed a field from "struct proc" and that changed the offsets of fields within it. Modified: head/sys/sys/param.h Modified:

svn commit: r359745 - in head/sys: conf fs/nfs fs/nfsclient fs/nfsserver kern modules modules/nfslock nfs nlm sys

2020-04-09 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 9 14:44:46 2020 New Revision: 359745 URL: https://svnweb.freebsd.org/changeset/base/359745 Log: Remove the old NFS lock device driver that uses Giant. This NFS lock device driver was replaced by the kernel NLM around FreeBSD7 and has not normally been used

svn commit: r359720 - head/sys/fs/nfsserver

2020-04-07 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 8 01:12:54 2020 New Revision: 359720 URL: https://svnweb.freebsd.org/changeset/base/359720 Log: Fix an interoperability issue w.r.t. the Linux client and the NFSv4 server. Luoqi Chen reported a problem on freebsd-fs@ where a Linux NFSv4 client was able to

svn commit: r359679 - in head/sys/fs: nfs nfsserver

2020-04-06 Thread Rick Macklem
Author: rmacklem Date: Mon Apr 6 23:21:39 2020 New Revision: 359679 URL: https://svnweb.freebsd.org/changeset/base/359679 Log: Fix noisy NFSv4 server printf. Peter reported that his dmesg was getting cluttered with nfsrv_cache_session: no session messages when he rebooted his NFS

svn commit: r359643 - head/sys/rpc

2020-04-05 Thread Rick Macklem
Author: rmacklem Date: Sun Apr 5 21:08:17 2020 New Revision: 359643 URL: https://svnweb.freebsd.org/changeset/base/359643 Log: Change the xid for client side krpc over UDP to a global value. Without this patch, the xid used for the client side krpc requests over UDP was initialized for

svn commit: r359219 - head/sys/kern

2020-03-22 Thread Rick Macklem
Author: rmacklem Date: Sun Mar 22 18:18:30 2020 New Revision: 359219 URL: https://svnweb.freebsd.org/changeset/base/359219 Log: Fix an NFS mount attempt where VFS_STATFS() fails. r353150 added mnt_rootvnode and this seems to have broken NFS mounts when the VFS_STATFS() called just after

svn commit: r358037 - stable/11/sys/fs/nfsserver

2020-02-17 Thread Rick Macklem
Author: rmacklem Date: Mon Feb 17 19:40:26 2020 New Revision: 358037 URL: https://svnweb.freebsd.org/changeset/base/358037 Log: MFC: r357149 Fix a crash in the NFSv4 server. The PR reported a crash that occurred when a file was removed while client(s) were actively doing lock

svn commit: r358036 - stable/12/sys/fs/nfsserver

2020-02-17 Thread Rick Macklem
Author: rmacklem Date: Mon Feb 17 19:32:54 2020 New Revision: 358036 URL: https://svnweb.freebsd.org/changeset/base/358036 Log: MFC: r357149 Fix a crash in the NFSv4 server. The PR reported a crash that occurred when a file was removed while client(s) were actively doing lock

svn commit: r358035 - stable/10/sys/fs/nfsserver

2020-02-17 Thread Rick Macklem
Author: rmacklem Date: Mon Feb 17 19:31:34 2020 New Revision: 358035 URL: https://svnweb.freebsd.org/changeset/base/358035 Log: MFC: r357149 Fix a crash in the NFSv4 server. The PR reported a crash that occurred when a file was removed while client(s) were actively doing lock

svn commit: r357149 - head/sys/fs/nfsserver

2020-01-26 Thread Rick Macklem
Author: rmacklem Date: Sun Jan 26 17:59:05 2020 New Revision: 357149 URL: https://svnweb.freebsd.org/changeset/base/357149 Log: Fix a crash in the NFSv4 server. The PR reported a crash that occurred when a file was removed while client(s) were actively doing lock operations on it.

svn commit: r356244 - head/usr.bin/nfsstat

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 22:25:06 2019 New Revision: 356244 URL: https://svnweb.freebsd.org/changeset/base/356244 Log: Update the man page to reflect that "-M" and "-N" are deprecated and ignored. r356242 updated nfsstat.c to report that the "-M" and "-N" options were being

svn commit: r356242 - head/usr.bin/nfsstat

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 22:19:33 2019 New Revision: 356242 URL: https://svnweb.freebsd.org/changeset/base/356242 Log: Get rid of old nfsstat options no longer used. The "-M" and "-N" options for nfsstat were used by the old NFS code and have never done anything for the new NFS

svn commit: r356239 - stable/11/sys/fs/nfsclient

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 18:28:25 2019 New Revision: 356239 URL: https://svnweb.freebsd.org/changeset/base/356239 Log: MFC: r356066 Fix nfsmount() so that it will return NFSERR_MINORVERMISMATCH. If nfsrpc_getdirpath() returns NFSERR_MINORVERMISMATCH, it would erroneously get

svn commit: r356238 - stable/12/sys/fs/nfsclient

2019-12-31 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 18:10:34 2019 New Revision: 356238 URL: https://svnweb.freebsd.org/changeset/base/356238 Log: MFC: r356066 Fix nfsmount() so that it will return NFSERR_MINORVERMISMATCH. If nfsrpc_getdirpath() returns NFSERR_MINORVERMISMATCH, it would erroneously get

svn commit: r356219 - head/sys/nfs

2019-12-30 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 05:39:27 2019 New Revision: 356219 URL: https://svnweb.freebsd.org/changeset/base/356219 Log: Switch r356210 to use gone_in() instead of printf(). Suggested by: cem Modified: head/sys/nfs/nfs_lock.c Modified: head/sys/nfs/nfs_lock.c

svn commit: r356213 - head/usr.bin/nfsstat

2019-12-30 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 31 00:07:10 2019 New Revision: 356213 URL: https://svnweb.freebsd.org/changeset/base/356213 Log: Replace .h files included from old NFS directories with the new NFS ones. Prior to this patch, nfsstat.c includes files from sys/nfs, sys/nfsclient and

svn commit: r356210 - head/sys/nfs

2019-12-30 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 30 22:39:29 2019 New Revision: 356210 URL: https://svnweb.freebsd.org/changeset/base/356210 Log: Add warning printf w.r.t. removal of sys/nfs/nfs_lock.c. The code in sys/nfs/nfs_lock.c has not been run by default since March 2008 when it was replaced by the

svn commit: r356190 - stable/12/sys/fs/nfsclient

2019-12-29 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 30 00:04:17 2019 New Revision: 356190 URL: https://svnweb.freebsd.org/changeset/base/356190 Log: MFC: r355530 Delete an unused external declaration. Since nfsv4_opflag is no longer used in nfs_clcomsubs.c, delete the external declaration of it. Found

svn commit: r356189 - stable/11/sys/fs/nfs

2019-12-29 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 29 23:56:31 2019 New Revision: 356189 URL: https://svnweb.freebsd.org/changeset/base/356189 Log: MFC: r355509 Fix kernel handling of a NFSERR_MINORVERSMISMATCH NFSv4 server reply. When an NFSv4 server replies NFSERR_MINORVERSMISMATCH, it does not generate

svn commit: r356188 - stable/12/sys/fs/nfs

2019-12-29 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 29 23:48:48 2019 New Revision: 356188 URL: https://svnweb.freebsd.org/changeset/base/356188 Log: MFC: r355509 Fix kernel handling of a NFSERR_MINORVERSMISMATCH NFSv4 server reply. When an NFSv4 server replies NFSERR_MINORVERSMISMATCH, it does not generate

svn commit: r356161 - stable/11/sys/fs/nfs

2019-12-28 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 28 22:32:14 2019 New Revision: 356161 URL: https://svnweb.freebsd.org/changeset/base/356161 Log: MFC: r355194 Fix two races while handling nfsuserd daemon start/stop. A crash was reported where the nr_client field was NULL during an upcall to the nfsuserd

svn commit: r356160 - stable/12/sys/fs/nfs

2019-12-28 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 28 22:24:16 2019 New Revision: 356160 URL: https://svnweb.freebsd.org/changeset/base/356160 Log: MFC: r355194 Fix two races while handling nfsuserd daemon start/stop. A crash was reported where the nr_client field was NULL during an upcall to the nfsuserd

svn commit: r356101 - head/sbin/mount_nfs

2019-12-26 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 26 22:33:20 2019 New Revision: 356101 URL: https://svnweb.freebsd.org/changeset/base/356101 Log: Fix mount_nfs to recognize the NFSv4 specific errors returned by nmount(2). When mount_nfs calls nmount(2), certain NFSv4 specific errors such as

svn commit: r356099 - head/sys/fs/nfs

2019-12-26 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 26 21:06:34 2019 New Revision: 356099 URL: https://svnweb.freebsd.org/changeset/base/356099 Log: Change NFSv4.1 and NFSv4.2 error strings to start with lower case letter. r356084 added error strings for NFSv4.1 and NFSv4.2, with the first character

svn commit: r356084 - head/sys/fs/nfs

2019-12-25 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 25 22:25:30 2019 New Revision: 356084 URL: https://svnweb.freebsd.org/changeset/base/356084 Log: Add NFSv4.1 and NFSv4.2 errors to nfsv4_errstr.h. nfsv4_errstr.h only had strings for NFSv4.0 errors. This patch adds the errors for NFSv4.1 and NFSv4.2. At

svn commit: r356066 - head/sys/fs/nfsclient

2019-12-24 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 25 01:15:38 2019 New Revision: 356066 URL: https://svnweb.freebsd.org/changeset/base/356066 Log: Fix nfsmount() so that it will return NFSERR_MINORVERMISMATCH. If nfsrpc_getdirpath() returns NFSERR_MINORVERMISMATCH, it would erroneously get mapped to EIO.

svn commit: r355993 - head/usr.bin/nfsstat

2019-12-21 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 22 00:36:22 2019 New Revision: 355993 URL: https://svnweb.freebsd.org/changeset/base/355993 Log: Update the nfsstat man page to reflect r355992. r355992 added listing of NFSv4.2 procedure and operation counts. This patch updates the nfsstat.1 man page to

svn commit: r355992 - head/usr.bin/nfsstat

2019-12-21 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 22 00:12:22 2019 New Revision: 355992 URL: https://svnweb.freebsd.org/changeset/base/355992 Log: Update nfsstat to list the NFSv4.2 procedures and operations. r355677 added NFSv4.2 support to the NFS client and server. It also updated the nfsstats structure

svn commit: r355967 - stable/11/sys/rpc/rpcsec_gss

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 23:08:10 2019 New Revision: 355967 URL: https://svnweb.freebsd.org/changeset/base/355967 Log: MFC: r355157, r355161 Add a cap on credential lifetime for Kerberized NFS. The kernel RPCSEC_GSS code sets the credential (called a client) lifetime to the

svn commit: r355966 - stable/12/sys/rpc/rpcsec_gss

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 22:53:23 2019 New Revision: 355966 URL: https://svnweb.freebsd.org/changeset/base/355966 Log: MFC: r355157, r355161 Add a cap on credential lifetime for Kerberized NFS. The kernel RPCSEC_GSS code sets the credential (called a client) lifetime to the

svn commit: r355960 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:45:20 2019 New Revision: 355960 URL: https://svnweb.freebsd.org/changeset/base/355960 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Update all the references to NFSv4.1, so that they apply to NFSv4.1 and NFSv4.2. Also, change

svn commit: r355958 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:41:33 2019 New Revision: 355958 URL: https://svnweb.freebsd.org/changeset/base/355958 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Include references to NFSv4.2 and Flexible File layout, plus clarify when

svn commit: r355956 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:31:08 2019 New Revision: 355956 URL: https://svnweb.freebsd.org/changeset/base/355956 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Include references to NFSv4.2 and associated RFCs and note new features present in NFSv4.2.

svn commit: r355954 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:25:51 2019 New Revision: 355954 URL: https://svnweb.freebsd.org/changeset/base/355954 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Include references to NFSv4.2 and associated RFCs. Also clarify when a Linux client needs to

svn commit: r355758 - head/sbin/mount_nfs

2019-12-14 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 14 21:49:47 2019 New Revision: 355758 URL: https://svnweb.freebsd.org/changeset/base/355758 Log: Update the mount_nfs.8 man page to include NFSv4.2. r355677 added NFSv4.2 support to the NFS client. This patch updates the mount_nfs.8 man page to reflect

svn commit: r355733 - in head/sys/fs: nfsclient nfsserver

2019-12-13 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 21:38:08 2019 New Revision: 355733 URL: https://svnweb.freebsd.org/changeset/base/355733 Log: Silence some "might not be initialized" warnings for riscv64. None of these case were actually using the variable(s) uninitialized, but I figured that silencing

svn commit: r355715 - head

2019-12-13 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 16:28:48 2019 New Revision: 355715 URL: https://svnweb.freebsd.org/changeset/base/355715 Log: Add an entry to RELNOTES for r355677. Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r355684 - in head/sys/fs: nfsclient nfsserver

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 01:34:25 2019 New Revision: 355684 URL: https://svnweb.freebsd.org/changeset/base/355684 Log: Add some more initializations to quiet riscv build. The one case in nfs_copy_file_range() was a legitimate case, although it would probably never occur in

svn commit: r355682 - head/sys/fs/nfsserver

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 00:45:14 2019 New Revision: 355682 URL: https://svnweb.freebsd.org/changeset/base/355682 Log: Fix the build for MAC not defined and a couple of might not be initialized. r355677 broke the build for the not MAC defined case and a couple of might not be

svn commit: r355681 - in head/sys: kern sys

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 00:14:12 2019 New Revision: 355681 URL: https://svnweb.freebsd.org/changeset/base/355681 Log: r355677 requires that vop_stdioctl() be global so it can be called from NFS. r355677 modified the NFS client so that it does lseek(SEEK_DATA/SEEK_HOLE) for

svn commit: r355679 - head/sys/sys

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 12 23:37:04 2019 New Revision: 355679 URL: https://svnweb.freebsd.org/changeset/base/355679 Log: Bump __FreeBSD_version since r355677 changes the internal interface between the NFS modules such that they all need to be upgraded to post r355677 simultaneously.

svn commit: r355678 - head

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 12 23:33:32 2019 New Revision: 355678 URL: https://svnweb.freebsd.org/changeset/base/355678 Log: Add an entry to UPDATING for r355677. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r355677 - in head/sys/fs: nfs nfsclient nfsserver

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 12 23:22:55 2019 New Revision: 355677 URL: https://svnweb.freebsd.org/changeset/base/355677 Log: Add support for NFSv4.2 to the NFS client and server. This patch adds support for NFSv4.2 (RFC-7862) and Extended Attributes (RFC-8276) to the NFS client and

svn commit: r355674 - in stable/12/sys/fs: nfs nfsserver

2019-12-12 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 12 22:00:10 2019 New Revision: 355674 URL: https://svnweb.freebsd.org/changeset/base/355674 Log: MFC: r354989 Fix the pNFS server's reporting of SpaceUsed (va_bytes). The pNFS server currently reports SpaceUsed (va_bytes) for the metadata file. This in

svn commit: r355530 - head/sys/fs/nfsclient

2019-12-08 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 8 16:59:36 2019 New Revision: 355530 URL: https://svnweb.freebsd.org/changeset/base/355530 Log: Delete an unused external declaration. Since nfsv4_opflag is no longer used in nfs_clcomsubs.c, delete the external declaration of it. Found during NFSv4.2 code

svn commit: r355509 - head/sys/fs/nfs

2019-12-07 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 8 00:06:00 2019 New Revision: 355509 URL: https://svnweb.freebsd.org/changeset/base/355509 Log: Fix kernel handling of a NFSERR_MINORVERSMISMATCH NFSv4 server reply. When an NFSv4 server replies NFSERR_MINORVERSMISMATCH, it does not generate a status

svn commit: r355507 - head/sys/fs/nfs

2019-12-07 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 7 23:13:51 2019 New Revision: 355507 URL: https://svnweb.freebsd.org/changeset/base/355507 Log: Add some definitions for NFSv4.2 which will be used by subsequent commits. This is a preliminary commit of NFSv4.2 definitions that will be used by subsequent

svn commit: r355479 - head/sys/fs/nfs

2019-12-06 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 7 01:10:38 2019 New Revision: 355479 URL: https://svnweb.freebsd.org/changeset/base/355479 Log: Set the XATTRSUPPORT attribute bit for NFSv4.2, always cleared for now. Since r355472 added code which clears the XATTRSUPPORT bit for non-NFSv4.2 mounts, it is

svn commit: r355472 - head/sys/fs/nfs

2019-12-06 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 6 23:51:11 2019 New Revision: 355472 URL: https://svnweb.freebsd.org/changeset/base/355472 Log: Add a couple of definitions for NFSv4.2 and update macros to use them. This patch adds code to macros to clear attribute bits not supported by NFSv4.2. For now,

svn commit: r355435 - head/sys/fs/nfs

2019-12-05 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 6 01:53:02 2019 New Revision: 355435 URL: https://svnweb.freebsd.org/changeset/base/355435 Log: Add some definitions for NFSv4.2 which will be used by subsequent commits. This is a preliminary commit of NFSv4.2 definitions that will be used by subsequent

svn commit: r355406 - head/sys/fs/nfs

2019-12-04 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 4 23:24:40 2019 New Revision: 355406 URL: https://svnweb.freebsd.org/changeset/base/355406 Log: Add some definitions for NFSv4.2 which will be used by subsequent commits. This is a preliminary commit of NFSv4.2 definitions that will be used by subsequent

svn commit: r355194 - head/sys/fs/nfs

2019-11-28 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 28 23:34:23 2019 New Revision: 355194 URL: https://svnweb.freebsd.org/changeset/base/355194 Log: Fix two races while handling nfsuserd daemon start/stop. A crash was reported where the nr_client field was NULL during an upcall to the nfsuserd daemon. Since

svn commit: r355161 - head/sys/rpc/rpcsec_gss

2019-11-27 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 28 02:18:51 2019 New Revision: 355161 URL: https://svnweb.freebsd.org/changeset/base/355161 Log: Change r355157 to make svc_rpc_gss_lifetime_max a static. MFC after:2 weeks Modified: head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Modified:

svn commit: r355157 - head/sys/rpc/rpcsec_gss

2019-11-27 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 28 02:05:31 2019 New Revision: 355157 URL: https://svnweb.freebsd.org/changeset/base/355157 Log: Add a cap on credential lifetime for Kerberized NFS. The kernel RPCSEC_GSS code sets the credential (called a client) lifetime to the lifetime of the Kerberos

svn commit: r354989 - in head/sys/fs: nfs nfsserver

2019-11-21 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 22 00:22:55 2019 New Revision: 354989 URL: https://svnweb.freebsd.org/changeset/base/354989 Log: Fix the pNFS server's reporting of SpaceUsed (va_bytes). The pNFS server currently reports SpaceUsed (va_bytes) for the metadata file. This in not correct,

svn commit: r354576 - head/share/man/man9

2019-11-09 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 10 01:21:10 2019 New Revision: 354576 URL: https://svnweb.freebsd.org/changeset/base/354576 Log: Update the VOP_COPY_FILE_RANGE man page to reflect the semantic change made by r354574. This is a content change. Modified:

<    1   2   3   4   5   6   7   8   9   10   >