CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/08/31 16:37:09

Modified files:
        sys/nfs        : nfs_vfsops.c 

Log message:
NULL kernel pointers in nfs statfs(2) mount_info

nfs differs from other filesystems in that mount arguments can come from
both user and kernel space.

nfs_mount() sets args->fh to a kernel pointer.  When root is on nfs,
nfs_boot_getfh() also sets addr and hostname to kernel pointers.

problem found and changes suggested by Andrew Griffiths
ok miod@ millert@ deraadt@

Reply via email to