freebsd-dev/usr.sbin/nfsd
Rick Macklem 2f800e5593 Add a safety belt assignment to the nfsd for when "-p" isn't specified.
The kernel code assumes that nfsdargs.addr == NULL and nfsdargs.addrlen == 0
when there is no "-p" argument used for starting the nfsd.
This small patch ensures this is the case. In practice, I believe this always
happened, since "nfsdargs" was the last element on the stack for "main()",
but this little patch ensures it will be the case.
Spotted by inspection while adding a new optional field for "-p".
2018-06-30 12:14:20 +00:00
..
Makefile Add a new man page that briefly describes the pNFS variant of the NFSv4.1 2018-06-14 21:12:08 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nfsd.8 Document the "-p" and "-m" options added to nfsd.c by r335172. 2018-06-14 20:55:33 +00:00
nfsd.c Add a safety belt assignment to the nfsd for when "-p" isn't specified. 2018-06-30 12:14:20 +00:00
nfsv4.4 Update the nfsv4 man page to reflect recent changes to support 2017-07-19 20:57:41 +00:00
pnfs.4 Add a new man page that briefly describes the pNFS variant of the NFSv4.1 2018-06-14 21:12:08 +00:00
stablerestart.5