Commit Graph

48 Commits

Author SHA1 Message Date
fvdl f7d4d2acec Split handling reserved port handling for NFS rpcs and mount rpcs up;
-noresport -> -noresvport, and new option: -noresvmnt

Include a warning in the exports manual page on how -alldirs does
not guarantee that all accesses from a client stay below the mounted
subdirectory.
1997-03-30 20:53:31 +00:00
fvdl 4df5a6390b Checking for the use reserved ports by clients (both for mount/umount
and individual NFS requests) now depends on the '-noresport' option
in the exports file. Checking for reserved ports is the default.

The -n option has become obsolete but is maintained for backwards
compatibility.
1997-03-23 20:58:14 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
cgd 5dd208e6fc u_long -> u_int32_t when dealing with address lists returned by the resolver. 1996-10-07 22:33:15 +00:00
thorpej 8e6bc9ed5f Correct spelling of `successful'.
From Peter Seebach <seebs@solon.com>, PR #2783.
1996-09-28 15:30:08 +00:00
cgd cec83b8146 declare the variable "bad", used to hold errors, as a long, so it can
safely be xdr_long()ed.
1996-09-19 04:25:08 +00:00
mrg 8849e59abd make some errors more verbose. inspired from pr#1509 1996-05-22 03:50:06 +00:00
fvdl 322cd1a032 Bring in NFSv3 code by Rick Macklem (from Lite2) 1996-02-18 11:57:50 +00:00
jtc 0a1e7de7b6 merge in changes from 1.1 release branch 1995-11-28 05:25:28 +00:00
thorpej 15539710a0 Clear the mount argument list before filling it in. This is the patch
from Michael Hitch in pr#1722.  As noted in the pr, this may not be the
most correct fix, but at least it prevents crashes.
1995-11-16 04:34:13 +00:00
thorpej a752cec2e0 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-06 07:00:07 +00:00
chopps aabb577203 add adosfs. 1995-08-19 16:08:05 +00:00
mycroft 21258bad26 Allow exporting regular files. 1995-06-22 02:37:38 +00:00
cgd 3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
mycroft f477ccbfa7 Fix def_anon initializer. 1995-06-09 05:26:58 +00:00
cgd 788733b7a9 typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
mycroft 7f26bb202e Set cr_gid properly, and adjust for getgrouplist() change. 1995-06-02 21:04:24 +00:00
jtc 9f28755bff <sys/syslog.h> -> <syslog.h> 1995-05-28 05:31:01 +00:00
cgd be68575548 don't build netgroup(5) here. 1995-05-11 23:15:05 +00:00
mycroft be82a25869 Use POSIX signals. 1995-03-21 18:48:41 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd 06e2955ff1 specify man pages the new way. 1994-12-22 10:44:04 +00:00
cgd c9117f53b5 -Wall cleanups from Jim Jegers 1994-12-18 00:15:01 +00:00
cgd d666563b16 deal with RPC protos. 1994-10-31 04:24:32 +00:00
mycroft ee8aff3286 Register a TCP service. 1994-10-15 03:55:33 +00:00
mycroft c741ceaa58 Changes to match POSIXication of kill(1). 1994-09-23 23:18:36 +00:00
mycroft ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
cgd eeff5056dd from branch (oops) 1994-08-12 04:19:50 +00:00
ws 30411e5f60 Make msdosfs exportable 1994-07-18 18:23:24 +00:00
mycroft 625a6892f7 Update from 4.4-Lite, with local changes. 1994-06-08 19:27:32 +00:00
cgd 5123f7879d don't need -lutil 1994-01-28 00:36:28 +00:00
ws 3f7cb414ea Try getting the filehandle of the exported path when reading /etc/exports 1994-01-06 22:48:51 +00:00
deraadt 2ceb867c77 allow mounting/exporting of NFS files (not just directories) for diskless
swap. thanks to <ws@TooLs.DE> and <roland@frob.com>
1994-01-06 13:51:55 +00:00
jtc acc61782fb Fix spelling mistake. 1993-11-19 17:24:58 +00:00
cgd f69e02fc8e no more librpc 1993-10-08 02:28:39 +00:00
ws d3725de8aa Allow exporting whole directory trees with -alldir option in /etc/exports 1993-09-09 16:34:33 +00:00
ws 053f138dae Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
brezak 651ea37a78 Fix rcs headers 1993-08-25 02:42:57 +00:00
brezak 72512ce825 Add code so inetd can start mountd. Reread exports if changed more frequently. Cleanup to use rpcsvc headers. 1993-08-25 02:37:36 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft 53d8b825f0 Add some library dependencies. 1993-06-15 23:13:33 +00:00
cgd e17cdf070b added -DNFSSERVER to makefile. another point for glass. 1993-04-12 19:31:40 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00