sommerfeld
3fc2334c5d
After some light testing, it worked for me, so...
...
Commit mrg's fix from pr8791: don't un-export filesystems which are just going
to be re-exported; instead, do additions, then deletions.
1999-11-14 14:37:16 +00:00
jdolecek
7ee18b2d1f
Add ntfs to the list of exportable filesystem types, now that's it's actually
...
exportable
1999-09-10 16:20:22 +00:00
mjl
fecb1c8c63
Reorder arguments to error message so the message actually makes
...
sense. Closes PR/ by Martin Berger <>.
1999-08-25 17:26:20 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
perseant
708391677c
Add nullfs, umapfs, unionfs to the list of exportable filesystem types, now
...
that these FSs are in fact exportable. (Left over from PR 5603.)
1999-08-09 20:22:39 +00:00
thorpej
78688ba793
Use pidfile(3).
1999-06-06 01:50:23 +00:00
christos
f3fc048278
iPr/6121: Mycroft, diagnostics messages were not helpful.
1999-01-12 15:11:53 +00:00
christos
f4e84d3075
PR/6409: Martin Husemann: /etc/exports parsing breaks if file has empty lines.
1998-11-07 18:31:36 +00:00
christos
a8fd643677
free line returned by fparseln().
1998-11-02 15:38:26 +00:00
christos
337e834927
Initialize struct statfs properly while parsing each line.
1998-11-01 18:30:26 +00:00
christos
bfef833a84
fix the size_t printf and initialize lineno.
1998-10-29 14:13:27 +00:00
christos
11cf3e1970
- KNF, remove extraneous casts
...
- split up parsing code
- centralize malloc checking
- use fparseln.
1998-10-29 12:57:02 +00:00
ross
5a7c45f748
Fix two ancient bugs involving netgroups where mountd may try to free(3)
...
a string constant in one place and a null char ** in another. Why the
recent rather minor changes by Christos uncovered these bugs after so much
time is a mystery to me.
1998-10-29 00:12:11 +00:00
christos
479c0bbe47
- Add some MIT KRB/NFS pieces, someday I'll commit the rest.
...
- fix prototypes for signal handlers.
- use constants from rpcsvc/mount.h, instead the RPCMNT crap.
- don't core-dump when finding a netgroup that has no host part,
complain instead
1998-10-07 14:50:35 +00:00
mrg
84ce584a5f
- standardise some option processing
...
- don't bother copying the exports filename, it isn't necessary
- unblock SIGHUP after returning "mount refuse" error
- KNF, and remove the singular register
1998-07-13 14:24:24 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
fvdl
ed4bb065a1
When getting an unmount request from a non-reserved port, don't loop
...
forever.
1998-02-21 23:32:19 +00:00
lukem
77735b9c46
update for WARNS?=1
...
check getopt() against -1 not EOF
1997-08-28 08:09:53 +00:00
lukem
5010818f51
Prevent info gathering attacks by returning EACCES when a directory
...
doesn't exist as well as when there aren't enough privileges.
As highlighted on BUGTRAQ.
1997-08-28 05:49:15 +00:00
bouyer
2d20417591
Add MOUNT_EXT2FS to the list of filesystem which need to be deleted from
...
the export list in the kernel when re-reading /etc/exports.
1997-08-13 12:36:04 +00:00
fvdl
08700bff7f
Enable exporting filesystems the WebNFS way. Add the -public, -webnfs
...
and -index option for that purpose.
1997-06-24 23:50:57 +00:00
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
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
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
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
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
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
ws
d3725de8aa
Allow exporting whole directory trees with -alldir option in /etc/exports
1993-09-09 16:34:33 +00:00