HardenedBSD src tree
Go to file
Rick Macklem 648a208ef3 nfsd: Fix NFSv3 Readdir/ReaddirPlus reply for large i-node numbers
If the i-node number (d_fileno) for a file on the server did
not fit in 32bits, it would be truncated to the low order 32bits
for the NFSv3 Readdir and ReaddirPlus RPC replies.
This is no longer correct, given that ino_t is now 64bits.

This patch fixes this by sending the full 64bits of d_fileno
on the wire in the NFSv3 Readdir/ReaddirPlus RPC reply.

PR:	271174
Reported by:	bmueller@panasas.com
Tested by:	bmueller@panasas.com
MFC after:	2 weeks
2023-05-05 15:43:55 -07:00
.cirrus-ci
.github
bin dd: Fix SIGINT handling. 2023-05-05 12:42:32 +00:00
cddl
contrib Apply libc++ fix for compiling <type_traits> with gcc 13 2023-05-05 18:19:40 +02:00
crypto
etc
gnu
include
kerberos5
lib local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
libexec
release release: Report disk image filename 2023-05-03 16:58:22 -04:00
rescue
sbin md5 Makefile.depend.host 2023-05-04 12:03:34 -07:00
secure
share man9: Add a manual page for kstack_contains(9). 2023-05-05 15:42:59 +01:00
stand stand: Fix oversight in updating OpenZFS: Add com.klarasystems:vdev_zaps_v2 2023-05-04 08:25:46 -06:00
sys nfsd: Fix NFSv3 Readdir/ReaddirPlus reply for large i-node numbers 2023-05-05 15:43:55 -07:00
targets local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
tests
tools src.conf: add WITH_TOOLCHAIN description 2023-05-03 11:41:58 -04:00
usr.bin tsort: Error out if writing to stdout failed. 2023-05-04 18:51:11 +00:00
usr.sbin Add mrsasutil(8) as alias to mfiutil(8) 2023-05-05 09:20:48 -07:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
CONTRIBUTING.md
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1 Makefile.inc1: use make builtin :ts instead of sed 2023-05-05 08:14:35 -04:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc ObsoleteFiles: Complete 20201025: Remove cal data files 2023-05-04 12:28:52 +08:00
README.md Vendor import of spleen font 1.9.3 2023-05-04 11:05:42 -04:00
RELNOTES RELNOTES: Document TI code removal from armv7 GENERIC kernel 2023-05-03 09:21:58 +02:00
UPDATING

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.