Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sys/nfs



Module Name:    src
Committed By:   martin
Date:           Sun Oct 25 10:48:17 UTC 2026

Modified Files:
        src/sys/nfs [netbsd-11]: nfs_syscalls.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #552):

        sys/nfs/nfs_syscalls.c: revision 1.166
        sys/nfs/nfs_syscalls.c: revision 1.167
        sys/nfs/nfs_var.h: revision 1.98
        sys/nfs/nfs_syscalls.c: revision 1.168
        sys/nfs/nfs_var.h: revision 1.99
        sys/nfs/nfs_syscalls.c: revision 1.169
        sys/nfs/nfs_export.c: revision 1.64
        sys/nfs/nfs_export.c: revision 1.65
        sys/nfs/nfs_syscalls.c: revision 1.170

nfs_syscalls.c: Sort includes.

No functional change intended.

Preparation for:
PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing

nfs: New sysctl node vfs.nfsd.maxexportspermount.

Limits the number of different ways a single mount point can be
exported.  Default is limited to 256; can be expanded by sysctl up to
anything that won't overflow kva.

XXX Should prevent increasing it at securelevel>0.

PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing

nfs: Work around missing VM_MIN/MAX_KERNEL_ADDRESS on amd64 rump.

PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing

nfs: Work around missing VM_MIN/MAX_KERNEL_ADDRESS in rump.

Let's get the builds unbroken before making this perfect.

PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing

nfs: On reflection, just clamp the export_args buffer to 64 KiB.
Keep it simple, just make sure userland doesn't trigger contiguous
kva allocation of more than 64 KiB.

PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing


To generate a diff of this commit:
cvs rdiff -u -r1.164.2.1 -r1.164.2.2 src/sys/nfs/nfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index