summaryrefslogtreecommitdiff
path: root/sbin/mountd
AgeCommit message (Collapse)Author
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
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