NetBSD-Bugs archive

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

PR/60554 CVS commit: [netbsd-10] src/sys/nfs



The following reply was made to PR kern/60554; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60554 CVS commit: [netbsd-10] src/sys/nfs
Date: Sun, 25 Oct 2026 10:44:04 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Oct 25 10:44:04 UTC 2026
 
 Modified Files:
 	src/sys/nfs [netbsd-10]: krpc.h nfs.h nfs_var.h nfs_vnops.c
 	    nfsdiskless.h nfsm_subs.h nfsmount.h nfsnode.h nfsproto.h nfsrtt.h
 	    nfsrvcache.h rpcv2.h xdr_subs.h
 
 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1395):
 
 	sys/nfs/rpcv2.h: revision 1.13
 	sys/nfs/xdr_subs.h: revision 1.16
 	sys/nfs/krpc.h: revision 1.10
 	sys/nfs/nfs_vnops.c: revision 1.328
 	sys/nfs/nfs_vnops.c: revision 1.329
 	sys/nfs/nfsmount.h: revision 1.54
 	sys/nfs/nfsdiskless.h: revision 1.33
 	sys/nfs/nfsrvcache.h: revision 1.17
 	sys/nfs/nfsnode.h: revision 1.77
 	sys/nfs/nfs_var.h: revision 1.97
 	sys/nfs/nfs.h: revision 1.81
 	sys/nfs/nfsm_subs.h: revision 1.59
 	sys/nfs/nfsproto.h: revision 1.18
 	sys/nfs/nfsrtt.h: revision 1.11
 
 sys/nfs/nfs: Add some missing includes and include guards.
 
 Fix up some minor KNF issues while here.
 
 No functional change intended (except to enable things to build that
 might not have built before because of previously required #include
 ordering).
 
 nfs_vnops.c: Sort includes.
 
 No functional change intended.  Preparation for:
 PR kern/60554: nfs: integer shift UB in pathconf(_PC_FILESIZEBITS)
 
 nfs: Avoid UB in integer shift amounts.
 
 Just use ilog2 explicitly here, instead of writing out a loop with
 shifts and increments to compute it more slowly and buggily.  Note
 the confusing fencepost adjustment.  Clamp _PC_FILESIZEBITS at the
 actual size of off_t since we can't go beyond that.
 
 PR kern/60554: nfs: integer shift UB in pathconf(_PC_FILESIZEBITS)
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.9 -r1.9.94.1 src/sys/nfs/krpc.h
 cvs rdiff -u -r1.80.4.1 -r1.80.4.2 src/sys/nfs/nfs.h
 cvs rdiff -u -r1.96 -r1.96.4.1 src/sys/nfs/nfs_var.h
 cvs rdiff -u -r1.324.4.2 -r1.324.4.3 src/sys/nfs/nfs_vnops.c
 cvs rdiff -u -r1.32 -r1.32.48.1 src/sys/nfs/nfsdiskless.h
 cvs rdiff -u -r1.55.4.1 -r1.55.4.2 src/sys/nfs/nfsm_subs.h
 cvs rdiff -u -r1.53 -r1.53.48.1 src/sys/nfs/nfsmount.h
 cvs rdiff -u -r1.76 -r1.76.4.1 src/sys/nfs/nfsnode.h
 cvs rdiff -u -r1.17 -r1.17.164.1 src/sys/nfs/nfsproto.h
 cvs rdiff -u -r1.10 -r1.10.50.1 src/sys/nfs/nfsrtt.h
 cvs rdiff -u -r1.16 -r1.16.134.1 src/sys/nfs/nfsrvcache.h
 cvs rdiff -u -r1.12 -r1.12.164.1 src/sys/nfs/rpcv2.h
 cvs rdiff -u -r1.15 -r1.15.194.1 src/sys/nfs/xdr_subs.h
 
 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