Make mount_nfs use reserved ports by default.. Mounts already use
a reserved port, so why not the nfs rpc's themselves? With user allowed mounts, this perhaps needs a closer look, but on the other hand, a user could already specify the flag. If normal users should not be able to use resserved ports, the kernel should check for the flag at mount time.
This commit is contained in:
parent
12f2987754
commit
d5e1fb3173
|
@ -45,7 +45,7 @@ static char copyright[] =
|
|||
static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
|
||||
*/
|
||||
static const char rcsid[] =
|
||||
"$Id: mount_nfs.c,v 1.17 1997/03/11 12:31:56 peter Exp $";
|
||||
"$Id: mount_nfs.c,v 1.18 1997/03/29 03:32:39 imp Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -139,7 +139,7 @@ struct nfs_args nfsdefargs = {
|
|||
0,
|
||||
(u_char *)0,
|
||||
0,
|
||||
0,
|
||||
NFSMNT_RESVPORT,
|
||||
NFS_WSIZE,
|
||||
NFS_RSIZE,
|
||||
NFS_READDIRSIZE,
|
||||
|
|
Loading…
Reference in New Issue