summaryrefslogtreecommitdiff
path: root/sbin/mountd
AgeCommit message (Collapse)Author
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
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-11-11more `` '' -> .Dq sillyness; remove redundant .Pp macros; other misc fixesAaron Campbell
1998-09-17sbin/ man page fixesAaron Campbell
1998-09-13typosAaron Campbell
1998-08-11proper name is -network not -net; dTheo de Raadt
1998-07-20mountd -r opt not needed; form@vs.itam.nsc.ruTheo de Raadt
1998-06-23handle (,,dom); joergTheo de Raadt
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1998-04-28use Xr more oftenTheo de Raadt
1998-03-01If an /etc/exports entry has a single host that cannot be lookedTodd C. Miller
up, throw out the entire line. A previous change that only throws out unknown hosts could leave the export host list null (ie: everyone) if all the listed hosts are unknown.
1997-12-19make mountd abort if getfh() not supported. reported by newsham@secnet.com, ↵Theo de Raadt
fixed by me
1997-09-29Don't ignore a line w/ a bogus hostname, just ignore the bogus hostname...Todd C. Miller
1997-09-21$OpenBSD$Theo de Raadt
1997-09-14fix extra .Xr usesTheo de Raadt
1997-09-13annoying indentation botchTheo de Raadt
1997-08-13handle ext2fs speciallyTheo de Raadt
1997-08-09struct statfs uses a signed short f_flags field. This field is used inNiklas Hallqvist
the long (the type) expression that makes up the mount flags field passed to mount(2). If we are dealing with a noatime mount this means sign extension will occur and the flag field will get messed up. I.e. noatime mounts (at least rw ones) ended up not exportable. I fixed this by casting to u_short in the expressions, but I would like to change struct statfs instead, but that is an API issue it is not for me to decide on. I also added error decoding in two syslog calls. This was made possible by the arglist heuristics printout of OpenBSD/alpha DDB :-)
1997-08-06do not clobber errno in signal handlersTheo de Raadt
1997-06-24in_addr_t all overTheo de Raadt
1997-05-04Fix writing of pid file. From Matthieu Herrb <Mathieu.Herrb@mipnet.fr>Todd C. Miller
Closes OpenBSD PR#178
1997-04-11 - check existing pid file and don't start up if there is alreadyTodd C. Miller
a mountd running - if there is a problem with an entry in an exports line don't throw away the whole line unless it is obviously bogus.
1997-02-02discourage use of -nTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-1064 bit & -Wall cleanupTheo de Raadt
1996-12-05Stop info gathering attack pointed out by Alan Cox <alan@cymru.net>Todd C. Miller
Only return ENOENT if the dir trying to be mounted is really exported to the client. Return EACCESS if not exported.
1996-09-28Correct spelling, from NetBSD PR#2783, seebs@taniemarie.solon.com.Jason Downs
1996-09-19bad is long for xdr_long(); from cgd@netbsdTheo de Raadt
1996-09-11correct kill(1) usage.Michael Shalayeff
1996-08-29bogus exports entry crash; from candy@fct.kgc.co.jpTheo de Raadt
1996-07-02permit -alldirs, but document itTheo de Raadt
1996-06-25from wpaul@freebsd, more than a year ago: only put each host to export toTheo de Raadt
onto the export list once. from jeorg@freebsd/grog@lemis.de, also, strdup() to avoid a later crash in free().
1996-06-23update rcsidTheo de Raadt
1996-03-21From NetBSD: Merge of 960317Niklas Hallqvist
1995-12-27If mountd is unable to export a filesystem due to a hostname being invalidDavid Krause
or specified on two (conflicting) lines it now logs the offending hostname
1995-12-14from netbsd:Theo de Raadt
Don't require compiling with -DDEBUG to enable debugging messages. Instead, add a new option flag "-d", which enables debugging output. Compile all of the code that used to be enabled with -DDEBUG unconditionally. The amount of extra code is negligable, and all of the tests to check if debugging is enabled were done regardless of -DDEBUG anyway. Adjust SYSLOG() to DTRT if debugging is not enabled.
1995-11-13fix mounting two filesystems on the same point; from ↵Theo de Raadt
osymh@gemini.oscs.montana.edu; netbsd pr#1722
1995-11-06complete ufs -> ffs change (From John Kohl; PR #1403)Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt