View | Details | Raw Unified | Return to bug 213450
Collapse All | Expand All

(-)usr.sbin/mountd/mountd.8 (-1 / +1 lines)
Lines 96-102 Link Here
96
Allow non-root mount requests to be served.
96
Allow non-root mount requests to be served.
97
This should only be specified if there are clients such as PC's,
97
This should only be specified if there are clients such as PC's,
98
that require it.
98
that require it.
99
It will automatically clear the vfs.nfsrv.nfs_privport sysctl flag, which
99
It will automatically clear the vfs.nfsd.nfs_privport sysctl flag, which
100
controls if the kernel will accept NFS requests from reserved ports only.
100
controls if the kernel will accept NFS requests from reserved ports only.
101
.It Fl o
101
.It Fl o
102
This flag forces the system to run the old NFS server, which does not
102
This flag forces the system to run the old NFS server, which does not
(-)usr.sbin/mountd/mountd.c (-1 / +1 lines)
Lines 489-495 Link Here
489
	rpc_control(RPC_SVC_CONNMAXREC_SET, &maxrec);
489
	rpc_control(RPC_SVC_CONNMAXREC_SET, &maxrec);
490
490
491
	if (!resvport_only) {
491
	if (!resvport_only) {
492
		if (sysctlbyname("vfs.nfsrv.nfs_privport", NULL, NULL,
492
		if (sysctlbyname("vfs.nfsd.nfs_privport", NULL, NULL,
493
		    &resvport_only, sizeof(resvport_only)) != 0 &&
493
		    &resvport_only, sizeof(resvport_only)) != 0 &&
494
		    errno != ENOENT) {
494
		    errno != ENOENT) {
495
			syslog(LOG_ERR, "sysctl: %m");
495
			syslog(LOG_ERR, "sysctl: %m");

Return to bug 213450