summaryrefslogtreecommitdiff
path: root/sbin/mountd
AgeCommit message (Collapse)Author
2007-12-30use the same argument name in synopsis and usage; lowercase "usage:"Igor Sobrado
ok jmc@
2007-06-01remove crufty adosfs. everytime we try to change a vfs layer interface,Theo de Raadt
adosfs has the issue and in an entirely different way. noone uses this code so this is hte best way to handle the problem diff from pedro who went to sleep but we need to move ahead; ok thib
2007-05-31convert to new .Dd format;Jason McIntyre
2006-05-29revert vfs.nfs.privport sysctl, broke a few architecturesAnil Madhavapeddy
requested by deraadt@
2006-05-28Add support for NFS mounts to be from non-reserved ports:Anil Madhavapeddy
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
2005-09-20if we must un-export, only un-export when we do the first call forTheo de Raadt
each filesystem; ok drahn, specific issue found by otto
2005-09-13Only DELEXPORT filesystems which are not exported. Removes NFS race whenDale Rahn
mounting filesystems on nfs servers. Improvements and ok otto@
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
argument "resolved", since it is undefined. ok and help millert, otto
2004-09-15make examples match format specified in man page;Jason McIntyre
from arto selonen (netbsd pr #26891);
2003-10-16Check for signals in local svc_run before doing anything else. FixesTodd C. Miller
the bug where signals would not be handled until the next mount request.
2003-10-09Remove errant semicolon introduced in rev 1.60; joshua steinTodd C. Miller
2003-09-26check strdup failure; ok anil millertTheo de Raadt
2003-08-08refer to RFCs consistently (RFC XXXX);Jason McIntyre
2003-06-11ansificationTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-16Use len+1 as the size parameter to strlcpy() since len does not includeTodd C. Miller
the trailing NUL. From krw@; deraadt@ OK
2003-03-14tweak; millert okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-09if fopen fails, do not bork; rob@animoid-row.orgTheo de Raadt
2003-03-06.Xr typos;Jason McIntyre
ok deraadt@
2003-01-05spellingTheo de Raadt
2002-07-18fix warningTheo de Raadt
2002-07-18de-lint a bit. use inet_aton(); millert okTheo de Raadt
2002-07-11malloc() failure tests; rimshot@pandora.beTheo de Raadt
2002-06-29ansiTheo de Raadt
2002-06-09rm trailing whitespaceTodd T. Fries
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-04-23In mount.h, rename field export -> export_info, to avoid collision with C++.Marc Espie
Synch files that use that field. (This argument is an internal interface specific to OpenBSD, so it won't cause compatibility problems.) (No bump, not an ABI change). ok art, millert...
2002-04-04Add more debugging info in -d mode. Some from NetBSD (via Brett Eldridge).Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-02remove some };Theo de Raadt
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-03Remove all traces of Kerberised NFS; it never worked in OpenBSD, but itHans Insulander
has been in the userland tools and the manpages for ages. Spotted by Lars Hansson <lars@unet.net.ph> Ok deraadt@ Ok millert@
2001-06-14a typo i madeMichael Shalayeff
2001-05-11use strlcpy instead of strncpy+a[len-1]='\0'Michael Shalayeff
2001-01-17make send_umntall() handler safe alsoTheo de Raadt
2001-01-16use a private svc_run(), which looks at a global touched by SIGHUP handlerTheo de Raadt
2000-12-30Don't do a getnetbyname() if the address is in dot notation already;Angelos D. Keromytis
solves a DNS-related deadlock. Patch by gluk@ptci.ru (PR 1582)
2000-07-05remove SYSLOG(), unused functionTheo de Raadt
2000-05-03Fix behavior when a host is unresolvable. Mark it as type GT_IGNORETodd C. Miller
so we don't get an error that inadvertainly causes the entry to get exported to the world. Also keep a count of unresolved hosts and error out sanely on lines w/ no resolvable hosts. Work by myself and provos@
2000-05-01Remove trailing '/' in exports pathnames so mount requests will matchTodd C. Miller
properly.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-03-04Try to standardize the options list introduction; it should read "The optionsAaron Campbell
are as follows:", except in special cases.
1999-04-21Typo in diagnostic; gonter@whisky.wu-wien.ac.atAlex Feldman
1999-03-07Only throw away a line with an empty exports list if the list is emptyTodd C. Miller
due to unresolvable hostnames.
1998-12-28some cleanup, in preperation for a rewrite of the racy gutsTheo de Raadt