svn commit: r368710 - head/libexec/rc/rc.d

2020-12-16 Thread Rick Macklem
Author: rmacklem Date: Thu Dec 17 00:20:57 2020 New Revision: 368710 URL: https://svnweb.freebsd.org/changeset/base/368710 Log: Make mountcritremote dependent upon nfscbd. Although it is not often needed, the nfscbd(8) should be running when NFSv4 mounts are done if callback

svn commit: r368466 - stable/12/sbin/mount_nfs

2020-12-08 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 8 22:37:30 2020 New Revision: 368466 URL: https://svnweb.freebsd.org/changeset/base/368466 Log: MFC: r368268 Improve man page for AmazonEFS mounts. PR#250770 was actually just a misunderstanding of what NFS mount options are needed for AmazonEFS mounts.

svn commit: r368268 - head/sbin/mount_nfs

2020-12-01 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 1 23:33:10 2020 New Revision: 368268 URL: https://svnweb.freebsd.org/changeset/base/368268 Log: Improve man page for AmazonEFS mounts. PR#250770 was actually just a misunderstanding of what NFS mount options are needed for AmazonEFS mounts. This patch

svn commit: r368166 - stable/12/libexec/rc/rc.d

2020-11-29 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 29 23:37:18 2020 New Revision: 368166 URL: https://svnweb.freebsd.org/changeset/base/368166 Log: Fix startup of gssd when /usr is a separately mounted local file system. meowth...@gmail.com reported that the gssd daemon was not starting, because

svn commit: r368165 - in stable/12/libexec/rc: . rc.d

2020-11-29 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 29 23:23:08 2020 New Revision: 368165 URL: https://svnweb.freebsd.org/changeset/base/368165 Log: MFC: r367423 Add support for the new mountd -R option. r376026 added a new "-R" option to mountd, which tells it to not support the Mount protocol (not used

svn commit: r368139 - stable/12/usr.sbin/mountd

2020-11-28 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 29 01:32:53 2020 New Revision: 368139 URL: https://svnweb.freebsd.org/changeset/base/368139 Log: MFC: r367027 Update man page for -R option added by r376026. This is a content change. Modified: stable/12/usr.sbin/mountd/mountd.8 Directory Properties:

svn commit: r368137 - stable/12/usr.sbin/mountd

2020-11-28 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 29 01:22:30 2020 New Revision: 368137 URL: https://svnweb.freebsd.org/changeset/base/368137 Log: MFC: r367026 Add "-R" option to tell mountd to not register with rpcbind. rpcbind is now considered a security risk for some sites. Since an NFSv4 only NFS

svn commit: r367913 - head/sbin/mount_nfs

2020-11-20 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 20 22:29:38 2020 New Revision: 367913 URL: https://svnweb.freebsd.org/changeset/base/367913 Log: Document the new "tls" NFS mount option. Recent commits to head have added support for NFS over TLS to the FreeBSD kernel. To enable use of this for an NFS

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

2020-11-20 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 20 22:14:51 2020 New Revision: 367912 URL: https://svnweb.freebsd.org/changeset/base/367912 Log: Update man page for new TLS export options. NFS over TLS uses three new export options, added by r364979. This patch updates the exports.5 man page for these

svn commit: r367661 - head

2020-11-13 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 14 01:55:02 2020 New Revision: 367661 URL: https://svnweb.freebsd.org/changeset/base/367661 Log: Add a entry for r367660. Modified: head/RELNOTES Modified: head/RELNOTES == ---

svn commit: r367660 - head/libexec/rc/rc.d

2020-11-13 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 14 01:49:49 2020 New Revision: 367660 URL: https://svnweb.freebsd.org/changeset/base/367660 Log: Fix startup of gssd when /usr is a separately mounted local file system. meowth...@gmail.com reported that the gssd daemon was not starting, because

svn commit: r367658 - head

2020-11-13 Thread Rick Macklem
Author: rmacklem Date: Sat Nov 14 01:39:27 2020 New Revision: 367658 URL: https://svnweb.freebsd.org/changeset/base/367658 Log: Add an entry for r367026, r367423. Modified: head/RELNOTES Modified: head/RELNOTES ==

svn commit: r367423 - in head/libexec/rc: . rc.d

2020-11-06 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 6 16:33:42 2020 New Revision: 367423 URL: https://svnweb.freebsd.org/changeset/base/367423 Log: Add support for the new mountd -R option. r376026 added a new "-R" option to mountd, which tells it to not support the Mount protocol (not used by NFSv4) and

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

2020-10-24 Thread Rick Macklem
Author: rmacklem Date: Sat Oct 24 22:52:29 2020 New Revision: 367027 URL: https://svnweb.freebsd.org/changeset/base/367027 Log: Update man page for -R option added by r376026. This is a content change. Reviewed by: bcr MFC after:2 weeks Differential Revision:

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

2020-10-24 Thread Rick Macklem
Author: rmacklem Date: Sat Oct 24 22:48:28 2020 New Revision: 367026 URL: https://svnweb.freebsd.org/changeset/base/367026 Log: Add "-R" option to tell mountd to not register with rpcbind. rpcbind is now considered a security risk for some sites. Since an NFSv4 only NFS server does not

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

2020-10-09 Thread Rick Macklem
Author: rmacklem Date: Sat Oct 10 00:01:40 2020 New Revision: 366595 URL: https://svnweb.freebsd.org/changeset/base/366595 Log: Modify mountd.c so that it does not always malloc 4K for the map credentials. r362163 upgraded mountd so that it could handle MAX_NGROUPS groups for the

svn commit: r366557 - head/sys/kern

2020-10-08 Thread Rick Macklem
Author: rmacklem Date: Fri Oct 9 01:04:28 2020 New Revision: 366557 URL: https://svnweb.freebsd.org/changeset/base/366557 Log: Make vn_generic_copy_file_range() interruptible via a signal. Without this patch, when vn_generic_copy_file_range() is doing a large copy, it will remain in the

Re: svn commit: r366429 - in head/sys: kern sys

2020-10-04 Thread Rick Macklem
Mateusz Guzik wrote: >Why is the process lock always taken? It looks like both routines just >check a thread-local flag, so perhaps this can get away without >serializing this process-wide? I did spot this slight difference between the initial version of sig_intr() and this one. At least w.r.t.

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

2020-09-30 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 1 00:47:35 2020 New Revision: 366303 URL: https://svnweb.freebsd.org/changeset/base/366303 Log: Modify the NFSv4.2 VOP_COPY_FILE_RANGE() client call to return after one successful RPC. Without this patch, the NFSv4.2 VOP_COPY_FILE_RANGE() client call would

svn commit: r366302 - head/sys/kern

2020-09-30 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 1 00:33:44 2020 New Revision: 366302 URL: https://svnweb.freebsd.org/changeset/base/366302 Log: Clip the "len" argument to vn_generic_copy_file_range() at a hole size boundary. By clipping the len argument of vn_generic_copy_file_range() to end at an

svn commit: r366278 - head/sys/kern

2020-09-29 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 30 02:18:09 2020 New Revision: 366278 URL: https://svnweb.freebsd.org/changeset/base/366278 Log: Make copy_file_range(2) Linux compatible for overflow of offset + len. Without this patch, if a call to copy_file_range(2) specifies an input file offset + len

svn commit: r366256 - releng/12.2/sys/fs/nfsserver

2020-09-29 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 29 15:09:38 2020 New Revision: 366256 URL: https://svnweb.freebsd.org/changeset/base/366256 Log: MFS: r366238 Bjorn reported a problem where the Linux NFSv4.1 client is using an open_to_lock_owner4 when that lock_owner4 has already been created by a previous

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

2020-09-28 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 29 02:03:24 2020 New Revision: 366241 URL: https://svnweb.freebsd.org/changeset/base/366241 Log: MFC: r366189 Bjorn reported a problem where the Linux NFSv4.1 client is using an open_to_lock_owner4 when that lock_owner4 has already been created by a previous

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

2020-09-28 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 29 01:52:53 2020 New Revision: 366238 URL: https://svnweb.freebsd.org/changeset/base/366238 Log: MFC: r366189 Bjorn reported a problem where the Linux NFSv4.1 client is using an open_to_lock_owner4 when that lock_owner4 has already been created by a previous

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

2020-09-26 Thread Rick Macklem
Author: rmacklem Date: Sat Sep 26 23:05:38 2020 New Revision: 366189 URL: https://svnweb.freebsd.org/changeset/base/366189 Log: Bjorn reported a problem where the Linux NFSv4.1 client is using an open_to_lock_owner4 when that lock_owner4 has already been created by a previous

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

2020-09-24 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 25 00:58:10 2020 New Revision: 366134 URL: https://svnweb.freebsd.org/changeset/base/366134 Log: MFC: r365895 Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used for

svn commit: r366120 - releng/12.2/sys/fs/nfsserver

2020-09-24 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 24 16:21:30 2020 New Revision: 366120 URL: https://svnweb.freebsd.org/changeset/base/366120 Log: MFS: r366050, r366117 Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used

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

2020-09-24 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 24 15:34:47 2020 New Revision: 366117 URL: https://svnweb.freebsd.org/changeset/base/366117 Log: MFC: r365895 Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used for

svn commit: r366116 - releng/12.2/sys/fs/nfsserver

2020-09-24 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 24 14:59:10 2020 New Revision: 366116 URL: https://svnweb.freebsd.org/changeset/base/366116 Log: MFS: r365703 Fix a case where the NFSv4.0 server might crash if delegations are enabled. asomers@ reported a crash on an NFSv4.0 server with a backtrace of:

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

2020-09-22 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 23 01:56:21 2020 New Revision: 366052 URL: https://svnweb.freebsd.org/changeset/base/366052 Log: MFC: r365789 Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used for

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

2020-09-22 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 23 01:49:50 2020 New Revision: 366050 URL: https://svnweb.freebsd.org/changeset/base/366050 Log: MFC: r365789 Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used for

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

2020-09-20 Thread Rick Macklem
Author: rmacklem Date: Mon Sep 21 01:39:00 2020 New Revision: 365935 URL: https://svnweb.freebsd.org/changeset/base/365935 Log: MFC: r365703 Fix a case where the NFSv4.0 server might crash if delegations are enabled. asomers@ reported a crash on an NFSv4.0 server with a backtrace of:

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

2020-09-20 Thread Rick Macklem
Author: rmacklem Date: Mon Sep 21 00:50:32 2020 New Revision: 365934 URL: https://svnweb.freebsd.org/changeset/base/365934 Log: MFC: r365703 Fix a case where the NFSv4.0 server might crash if delegations are enabled. asomers@ reported a crash on an NFSv4.0 server with a backtrace of:

Re: svn commit: r365643 - head/bin/cp

2020-09-20 Thread Rick Macklem
Alan Somers wrote: >On Sat, Sep 19, 2020 at 5:32 PM Konstantin Belousov >mailto:kostik...@gmail.com>> wrote: >On Sat, Sep 19, 2020 at 11:18:56PM +0000, Rick Macklem wrote: >> Alan Somers wrote: >> >On Fri, Sep 11, 2020 at 3:52 PM Rick Macklem >> >ma

Re: svn commit: r365643 - head/bin/cp

2020-09-19 Thread Rick Macklem
Kyle Evans wrote: [stuff snipped] >Testing on Debian I seem to get back an EINVAL, but I think it's maybe >a little surprising: > > EXDEV The files referred to by file_in and file_out are > not on the same mounted filesystem. Well, as Alan noted, Linux is not a standard and

Re: svn commit: r365643 - head/bin/cp

2020-09-19 Thread Rick Macklem
Alan Somers wrote: >On Fri, Sep 11, 2020 at 3:52 PM Rick Macklem >mailto:rmack...@uoguelph.ca>> wrote: >Konstantin Belousov wrote: >>On Fri, Sep 11, 2020 at 08:49:36PM +, Alan Somers wrote: >>> Author: asomers >>> Date: Fri Sep 11 20:49:36 2020

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

2020-09-18 Thread Rick Macklem
Author: rmacklem Date: Fri Sep 18 23:52:56 2020 New Revision: 365895 URL: https://svnweb.freebsd.org/changeset/base/365895 Log: Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used for sessions and the

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

2020-09-15 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 16 02:25:18 2020 New Revision: 365789 URL: https://svnweb.freebsd.org/changeset/base/365789 Log: Fix a LOR between the NFS server and server side krpc. Recent testing of the NFS-over-TLS code found a LOR between the mutex lock used for sessions and the

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

2020-09-13 Thread Rick Macklem
Author: rmacklem Date: Mon Sep 14 00:44:50 2020 New Revision: 365703 URL: https://svnweb.freebsd.org/changeset/base/365703 Log: Fix a case where the NFSv4.0 server might crash if delegations are enabled. asomers@ reported a crash on an NFSv4.0 server with a backtrace of: kdb_backtrace

Re: svn commit: r365643 - head/bin/cp

2020-09-11 Thread Rick Macklem
Konstantin Belousov wrote: >On Fri, Sep 11, 2020 at 08:49:36PM +, Alan Somers wrote: >> Author: asomers >> Date: Fri Sep 11 20:49:36 2020 >> New Revision: 365643 >> URL: https://svnweb.freebsd.org/changeset/base/365643 >> >> Log: >> cp: fall back to read/write if copy_file_range fails >> >>

svn commit: r365355 - head/sys/rpc

2020-09-04 Thread Rick Macklem
Author: rmacklem Date: Sat Sep 5 00:50:52 2020 New Revision: 365355 URL: https://svnweb.freebsd.org/changeset/base/365355 Log: Fix a potential memory leak in the NFS over TLS handling code. For the TLS case where there is a "user@domain" name specified in the X.509 v3 certificate

svn commit: r365309 - head/share/snmp/mibs

2020-09-03 Thread Rick Macklem
Author: rmacklem Date: Thu Sep 3 20:42:30 2020 New Revision: 365309 URL: https://svnweb.freebsd.org/changeset/base/365309 Log: Add entries for the OID used for NFS-over-TLS "user@domain". The NFS-over-TLS server daemon (rpc.tlsservd) can optionally replace user credentials in the RPC

svn commit: r365232 - in head/sys/modules: nfscl nfsd

2020-09-01 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 2 01:29:33 2020 New Revision: 365232 URL: https://svnweb.freebsd.org/changeset/base/365232 Log: Fix the standalone build of the nfscl and nfsd modules. Reported by: j...@berklix.com Modified: head/sys/modules/nfscl/Makefile

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

2020-08-31 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 1 01:10:16 2020 New Revision: 365019 URL: https://svnweb.freebsd.org/changeset/base/365019 Log: Add a check to test for the case of the "tls" option being used with "udp". The KERN_TLS only supports TCP, so use of the "tls" option with "udp" will not work.

svn commit: r364980 - head

2020-08-30 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 30 21:46:29 2020 New Revision: 364980 URL: https://svnweb.freebsd.org/changeset/base/364980 Log: Add an entry to RELNOTES for the NFS over TLS kernel support. Modified: head/RELNOTES Modified: head/RELNOTES

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

2020-08-30 Thread Rick Macklem
Author: rmacklem Date: Sun Aug 30 21:21:58 2020 New Revision: 364979 URL: https://svnweb.freebsd.org/changeset/base/364979 Log: Add support for the NFS over TLS exports to mountd. Three new export flags are added to mountd that will restrict exported file system mounts to use TLS.

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

2020-08-27 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 27 23:57:30 2020 New Revision: 364896 URL: https://svnweb.freebsd.org/changeset/base/364896 Log: Add flags to enable NFS over TLS to the NFS client and server. An Internet Draft titled "Towards Remote Procedure Call Encryption By Default" (soon to be an RFC

svn commit: r364844 - head/sys/kern

2020-08-26 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 26 21:49:43 2020 New Revision: 364844 URL: https://svnweb.freebsd.org/changeset/base/364844 Log: Fix a "v_seqc_users == 0 not met" panic when VFS_STATFS() fails during mount. r363210 introduced v_seqc_users to the vnodes. This change requires a

svn commit: r364836 - head/sys/sys

2020-08-26 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 26 20:56:05 2020 New Revision: 364836 URL: https://svnweb.freebsd.org/changeset/base/364836 Log: Add MNT_EXTLSxxx flags that will be used for NFS over TLS exports. These flags are not currently used, but will be used by future commits to implement export(5)

svn commit: r364744 - head/sys/kern

2020-08-24 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 25 00:58:14 2020 New Revision: 364744 URL: https://svnweb.freebsd.org/changeset/base/364744 Log: Fix hangs with processes stuck sleeping on btalloc on i386. r358097 introduced a problem for i386, where kernel builds will intermittently get hung, typically

svn commit: r364477 - head

2020-08-21 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 22 04:07:44 2020 New Revision: 364477 URL: https://svnweb.freebsd.org/changeset/base/364477 Log: Add an entry for r364475. Modified: head/UPDATING Modified: head/UPDATING == ---

svn commit: r364476 - head/sys/sys

2020-08-21 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 22 04:01:05 2020 New Revision: 364476 URL: https://svnweb.freebsd.org/changeset/base/364476 Log: r364475 changed the internal API between the kernel RPC and NFS, so bump version. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r364475 - in head/sys: conf modules/krpc rpc rpc/rpcsec_tls

2020-08-21 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 22 03:57:55 2020 New Revision: 364475 URL: https://svnweb.freebsd.org/changeset/base/364475 Log: Add TLS support to the kernel RPC. An internet draft titled "Towards Remote Procedure Call Encryption By Default" describes how TLS is to be used for Sun RPC,

Re: svn commit: r364409 - in head/sys: kern sys

2020-08-19 Thread Rick Macklem
Sent: Wednesday, August 19, 2020 9:14 PM To: Rick Macklem; src-committ...@freebsd.org; svn-src-all@freebsd.org; svn-src-h...@freebsd.org Subject: Re: svn commit: r364409 - in head/sys: kern sys CAUTION: This email originated from outside of the University of Guelph. Do not click links or open

svn commit: r364415 - head/lib/libsysdecode

2020-08-19 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 20 03:53:18 2020 New Revision: 364415 URL: https://svnweb.freebsd.org/changeset/base/364415 Log: Add MSG_TLSAPPDATA to lib/libsysdecode/mktables. I have no idea what this does (and until now that it even existed), but apparently it needs this entry changed

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

2020-08-19 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 19 23:42:33 2020 New Revision: 364409 URL: https://svnweb.freebsd.org/changeset/base/364409 Log: Add the MSG_TLSAPPDATA flag to indicate "return ENXIO" for non-application TLS data records. The kernel RPC cannot process non-application data records when

svn commit: r364332 - head

2020-08-17 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 18 02:02:36 2020 New Revision: 364332 URL: https://svnweb.freebsd.org/changeset/base/364332 Log: Add an entry to UPDATING for r364330. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r364331 - head/sys/sys

2020-08-17 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 18 01:57:48 2020 New Revision: 364331 URL: https://svnweb.freebsd.org/changeset/base/364331 Log: Bump __FreeBSD_version for r364330, since it changed the internal API between the NFS modules such that they all need to be re-compiled from sources. Modified:

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

2020-08-17 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 18 01:41:12 2020 New Revision: 364330 URL: https://svnweb.freebsd.org/changeset/base/364330 Log: Delete the unused "use_ext" argument to nfscl_reqstart(). This is a partial revert of r363210, since the "use_ext" argument added by that commit is not actually

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

2020-08-11 Thread Rick Macklem
Author: rmacklem Date: Wed Aug 12 04:35:49 2020 New Revision: 364138 URL: https://svnweb.freebsd.org/changeset/base/364138 Log: Fix a bug introduced by r363001 for the ext_pgs case. r363001 added support for ext_pgs mbufs to nfsm_uiombuf(). By inspection, I noticed that "mlen" was not

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

2020-08-10 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 11 05:10:01 2020 New Revision: 364097 URL: https://svnweb.freebsd.org/changeset/base/364097 Log: MFC: r363210 Fix the pNFS flexible file layout client for servers with small write size. The code in nfscl_dofflayout() loops when a flexible file layout server

svn commit: r364096 - head

2020-08-10 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 11 02:05:09 2020 New Revision: 364096 URL: https://svnweb.freebsd.org/changeset/base/364096 Log: Add an UPDATING entry for r364092, since it did a version bump. Modified: head/UPDATING Modified: head/UPDATING

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

2020-08-10 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 11 00:26:45 2020 New Revision: 364092 URL: https://svnweb.freebsd.org/changeset/base/364092 Log: Add an argument to newnfs_connect() that indicates use TLS for the connection. For NFSv4.0, the server creates a server->client TCP connection for callbacks. If

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

2020-07-31 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 31 23:35:49 2020 New Revision: 363748 URL: https://svnweb.freebsd.org/changeset/base/363748 Log: Add optional support for ext_pgs mbufs to the NFS server's read, readlink and getxattr operations. This patch optionally enables generation of read, readlink

Re: svn commit: r363625 - stable/12/usr.sbin/mountd

2020-07-30 Thread Rick Macklem
Brooks Davis wrote: >On Thu, Jul 30, 2020 at 03:48:34PM +0000, Rick Macklem wrote: >> Rick Macklem wrote: >> >Ian Lepore wrote: >> >>On Thu, 2020-07-30 at 01:52 +, Rick Macklem wrote: >> >>> Brooks Davis wrote: >> >>> > Auth

Re: svn commit: r363625 - stable/12/usr.sbin/mountd

2020-07-30 Thread Rick Macklem
Rick Macklem wrote: >Ian Lepore wrote: >>On Thu, 2020-07-30 at 01:52 +0000, Rick Macklem wrote: >>> Brooks Davis wrote: >>> > Author: brooks >>> > Date: Mon Jul 27 23:18:14 2020 >>> > New Revision: 363625 >>> > URL: https://sv

Re: svn commit: r363625 - stable/12/usr.sbin/mountd

2020-07-30 Thread Rick Macklem
Ian Lepore wrote: >On Thu, 2020-07-30 at 01:52 +0000, Rick Macklem wrote: >> Brooks Davis wrote: >> > Author: brooks >> > Date: Mon Jul 27 23:18:14 2020 >> > New Revision: 363625 >> > URL: https://svnweb.freebsd.org/changeset/base/363625 >> >

Re: svn commit: r363625 - stable/12/usr.sbin/mountd

2020-07-29 Thread Rick Macklem
Brooks Davis wrote: >Author: brooks >Date: Mon Jul 27 23:18:14 2020 >New Revision: 363625 >URL: https://svnweb.freebsd.org/changeset/base/363625 > >Log: > MFC r363439: > > Correct a type-mismatch between xdr_long and the variable "bad". > > Way back in r28911 (August 1997, CVS rev 1.22) we

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

2020-07-29 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 29 22:58:08 2020 New Revision: 363677 URL: https://svnweb.freebsd.org/changeset/base/363677 Log: Add support for ext_pgs mbufs to nfsrvd_readdir() and nfsrvd_readdirplus(). This patch code that optionally (based on ND_TLS, never set yet) generates readdir

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

2020-07-26 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 26 23:13:10 2020 New Revision: 363587 URL: https://svnweb.freebsd.org/changeset/base/363587 Log: Fix the NFSv4 client so that it checks for support of TimeCreate before trying to set it. r362490 added support for setting of the TimeCreate (va_birthtime)

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

2020-07-26 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 26 23:03:41 2020 New Revision: 363586 URL: https://svnweb.freebsd.org/changeset/base/363586 Log: Fix the NFS server so that it sets va_birthtime. r362490 marked that the NFSv4 attribute TimeCreate (va_birthtime) is supported, but it did not change the NFS

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

2020-07-25 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 26 02:42:09 2020 New Revision: 363541 URL: https://svnweb.freebsd.org/changeset/base/363541 Log: Add support for ext_pgs mbufs to nfsrv_adj(). This patch uses a slightly different algorithm for nfsrv_adj() since ext_pgs mbuf lists are not permitted to have

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

2020-07-24 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 24 23:17:09 2020 New Revision: 363499 URL: https://svnweb.freebsd.org/changeset/base/363499 Log: Add support for ext_pgs mbufs to nfsm_uiombuflist() and nfsm_split(). This patch uses a slightly different algorithm for nfsm_uiombuflist() for the non-ext_pgs

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

2020-07-22 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 22 23:33:37 2020 New Revision: 363437 URL: https://svnweb.freebsd.org/changeset/base/363437 Log: Modify writing to mirrored pNFS DSs to prepare for use of ext_pgs mbufs. This patch modifies writing to mirrored pNFS DSs slightly so that there is only one

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

2020-07-14 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 15 01:26:28 2020 New Revision: 363210 URL: https://svnweb.freebsd.org/changeset/base/363210 Log: Fix the pNFS flexible file layout client for servers with small write size. The code in nfscl_dofflayout() loops when a flexible file layout server provides a

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

2020-07-12 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 13 01:28:45 2020 New Revision: 363137 URL: https://svnweb.freebsd.org/changeset/base/363137 Log: Minor code cleanup that removes "nd->nd_bpos = mcp;" in both if and else. The statement "nd->nd_bpos = mcp;" was in both the if and else. Correct, but

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

2020-07-07 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 8 02:28:08 2020 New Revision: 363001 URL: https://svnweb.freebsd.org/changeset/base/363001 Log: Add support for ext_pgs mbufs to nfsm_uiombuf(). This patch uses a slightly different algorithm for the non-ext_pgs case, where a variable called "mcp" is

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

2020-07-06 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 7 00:42:23 2020 New Revision: 362980 URL: https://svnweb.freebsd.org/changeset/base/362980 Log: Add support for ext_pgs mbufs to nfsrvd_rephead(). This is another in the series of commits that add support to the NFS client and server for building RPC

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

2020-07-05 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 5 21:55:16 2020 New Revision: 362949 URL: https://svnweb.freebsd.org/changeset/base/362949 Log: Add support for ext_pgs mbufs to nfsm_strtom(). Also, add a new function nfsm_add_ext_pgs() which will either add a page or add a new ext_pgs mbuf with a page

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

2020-07-03 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 4 03:28:13 2020 New Revision: 362917 URL: https://svnweb.freebsd.org/changeset/base/362917 Log: Add support for ext_pgs mbufs to nfscl_reqstart() and nfsm_set(). This is another in the series of commits that add support to the NFS client and server for

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

2020-07-02 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 3 05:21:05 2020 New Revision: 362906 URL: https://svnweb.freebsd.org/changeset/base/362906 Log: Fix build breakage caused by r362903. Only pmap.h is needed now, but vm_page.h and vm_pageout.h is needed later, so put them in now. Pointy hat goes on me.

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

2020-07-02 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 3 01:19:29 2020 New Revision: 362903 URL: https://svnweb.freebsd.org/changeset/base/362903 Log: Add support for ext_pgs mbufs to nfsm_build(). This is the first of a series of commits that add support to the NFS client and server for building RPC messages

svn commit: r362717 - stable/11/usr.sbin/mountd

2020-06-27 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 28 04:08:42 2020 New Revision: 362717 URL: https://svnweb.freebsd.org/changeset/base/362717 Log: MFC: r361854 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

svn commit: r362713 - stable/12/usr.sbin/mountd

2020-06-27 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 28 01:29:14 2020 New Revision: 362713 URL: https://svnweb.freebsd.org/changeset/base/362713 Log: MFC: r361854 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

svn commit: r362712 - stable/11/usr.sbin/mountd

2020-06-27 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 28 00:55:17 2020 New Revision: 362712 URL: https://svnweb.freebsd.org/changeset/base/362712 Log: MFC: r361780, r361956 Fix mountd to handle getgrouplist() not returning groups[0] == groups[1]. Prior to r174547, getgrouplist(3) always returned a groups list

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

2020-06-27 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 27 21:37:48 2020 New Revision: 362709 URL: https://svnweb.freebsd.org/changeset/base/362709 Log: Update VFS_CHECKEXP.9 to reflect how it is currently used by the NFS server. Reported by: pluknet Reviewed by: bcr Differential Revision:

svn commit: r362641 - head

2020-06-25 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 26 03:18:10 2020 New Revision: 362641 URL: https://svnweb.freebsd.org/changeset/base/362641 Log: Add an entry for r362639. Modified: head/UPDATING Modified: head/UPDATING == ---

svn commit: r362640 - head/sys/sys

2020-06-25 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 26 03:14:30 2020 New Revision: 362640 URL: https://svnweb.freebsd.org/changeset/base/362640 Log: Bump the version since r362639 changed the internal API between the NFS kernel modules so they must all be rebuilt. Modified: head/sys/sys/param.h Modified:

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

2020-06-25 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 26 03:11:54 2020 New Revision: 362639 URL: https://svnweb.freebsd.org/changeset/base/362639 Log: Add a boolean argument to nfscl_reqstart() to indicate that ext_pgs mbufs should be used. For KERN_TLS (and possibly some other future network interface) the

svn commit: r362602 - stable/12/usr.sbin/mountd

2020-06-24 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 25 02:45:49 2020 New Revision: 362602 URL: https://svnweb.freebsd.org/changeset/base/362602 Log: MFC: r361780, r361956 Fix mountd to handle getgrouplist() not returning groups[0] == groups[1]. Prior to r174547, getgrouplist(3) always returned a groups list

svn commit: r362457 - head/sys/rpc

2020-06-20 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 21 02:49:56 2020 New Revision: 362457 URL: https://svnweb.freebsd.org/changeset/base/362457 Log: Fix up a comment added by r362455. Modified: head/sys/rpc/clnt_vc.c Modified: head/sys/rpc/clnt_vc.c

svn commit: r362455 - head/sys/rpc

2020-06-20 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 21 00:06:04 2020 New Revision: 362455 URL: https://svnweb.freebsd.org/changeset/base/362455 Log: Modify the way the client side krpc does soreceive() for TCP. Without this patch, clnt_vc_soupcall() first does a soreceive() for 4 bytes (the Sun RPC over TCP

svn commit: r362247 - head

2020-06-16 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 16 20:55:22 2020 New Revision: 362247 URL: https://svnweb.freebsd.org/changeset/base/362247 Log: Add an entry for r362158, r362163, which changes struct export_args. Modified: head/RELNOTES Modified: head/RELNOTES

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

2020-06-16 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 16 20:51:28 2020 New Revision: 362246 URL: https://svnweb.freebsd.org/changeset/base/362246 Log: Update VFS_CHECKEXP.9 for the argument changes done by r362158. The arguments for VFS_CHECKEXP() were changed by r362158. Also, the numsecflavors and secflavors

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

2020-06-15 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 16 02:35:30 2020 New Revision: 362215 URL: https://svnweb.freebsd.org/changeset/base/362215 Log: Make use of the UID_NOBODY and GID_NOGROUP definitions in sys/conf.h. r362214 exposed UID_NOBODY and GID_NOGROUP to userspace, so use them instead of the

svn commit: r362214 - head/sys/sys

2020-06-15 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 16 02:31:22 2020 New Revision: 362214 URL: https://svnweb.freebsd.org/changeset/base/362214 Log: Expose UID_xxx and GID_xxx definitions to userspace. This patch moves the UID_xxx and GID_xxx definitions out of the #ifdef _KERNEL section, so that userspace

svn commit: r362164 - head/sys/sys

2020-06-13 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 14 01:22:19 2020 New Revision: 362164 URL: https://svnweb.freebsd.org/changeset/base/362164 Log: Oops, r362158 committed a duplicate definition of MAXSECFLAVORS. This patch gets rid of the duplicate. Modified: head/sys/sys/mount.h Modified:

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

2020-06-13 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 14 00:40:00 2020 New Revision: 362163 URL: https://svnweb.freebsd.org/changeset/base/362163 Log: Modify mountd to use the new struct export_args committed by r362158. r362158 modified struct export_args for make the ex_flags field 64bits and also changed

svn commit: r362160 - head

2020-06-13 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 14 00:15:44 2020 New Revision: 362160 URL: https://svnweb.freebsd.org/changeset/base/362160 Log: Add an entry to UPDATING for r362158. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r362159 - head/sys/sys

2020-06-13 Thread Rick Macklem
Author: rmacklem Date: Sun Jun 14 00:12:29 2020 New Revision: 362159 URL: https://svnweb.freebsd.org/changeset/base/362159 Log: Version bump for r362158, since the arguments for vfs_checkexp() changed. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

  1   2   3   4   5   6   7   8   9   10   >