mountd(8): Bring some fixes from FreeBSD; update exports.5
I have brought several fixes from FreeBSD for mountd(8) as well as exports.5 man page. The main changes are:
1. Change the default uid/gid from -2/-2 to nobody/nogroup (i.e., 65534/65533)
2. Fix the conversion of network prefix length to subnet mask
3. Update exports.5 man page as we actually support the CIDR network/prefixlength format
4. Fix several compilation warnings, and raise WARNS to 3
I have pushed the changes to my GitHub branch at:
Please take a look. Thanks.