summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mountd
Commit message (Collapse)AuthorAgeFilesLines
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-131-7/+2
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* Remove unused variables.stefanf2005-04-091-2/+0
|
* Sort sections.ru2005-01-181-3/+3
|
* Also do not send junk mount arguments when removing exports.phk2004-12-111-0/+1
|
* Pass an array of gid_t rather than an array of int to getgroups().stefanf2004-10-021-2/+3
| | | | PR: 56646
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-075-20/+1
| | | | (with permission of addtional copyright holders where appropriate)
* Markup nits.ru2004-06-041-2/+2
|
* Correct typo in the last revision.ceri2004-03-271-1/+1
|
* Note that only one webnfs share is allowed per NFS server.ceri2004-03-221-0/+3
| | | | | | | PR: docs/45371 Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Matthew D. Fuller <fullermd@over-yonder.net> MFC after: 2 days
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-051-1/+1
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Add a new option to mountd(8), -p <port>. This allows the user to specifybms2004-03-042-7/+76
| | | | | | | a known port for use in firewall rulesets; otherwise the port is chosen at run-time by bindresvport(). MFC after: 1 week
* Be consistent in the EXAMPLES formatting.obrien2004-01-011-0/+1
|
* Rename the 'log' variable rather than -fno-builtin-logpeter2003-10-302-8/+7
|
* Use -fno-builtin-log. Fix svc_sendreply() missing required casts.peter2003-10-262-13/+17
| | | | It is now WARNS=2 clean again.
* When reporting errors binding IPv6 TCP sockets, don't call them UDPrwatson2003-07-171-3/+3
| | | | | | | | sockets in the printf. Fix two minor co-located whitespace glitches. Product of: France
* style.Makefile(5)obrien2003-04-041-1/+2
|
* Implement nonblocking tpc-connections. rpcgen -m does stillmbr2003-01-161-2/+7
| | | | | | | | produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* english(4) police.schweikh2002-12-271-1/+1
|
* Uniformly refer to a file system as "file system".ru2002-12-122-23/+23
| | | | Approved by: re
* s/rpc.mountd/mountd/charnier2002-10-161-5/+6
| | | | | Add FBSDID Reorder #if/#endif around sccsid to conform style(9)
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-251-2/+3
|
* Kerberised NFS has never (as far as I can tell) worked outsidemarkm2002-09-201-12/+2
| | | | | | BSD 4.4. Nuke mention of Kerberos from the documentation here. MFC after: 1 week
* Update manpage to match the code, vfsload() isn't usedmux2002-08-111-4/+2
| | | | here since some time, kldload() is used instead.
* use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.ume2002-07-221-2/+2
| | | | MFC after: 1 week
* Try to give a more descriptive error message for the pilot error ofjoerg2002-07-182-25/+81
| | | | | | | | | | | | | | | | | | | | | | | | attempting to export the non-root of a filesystem with -alldirs. This pilot error seems to be very common, and the "could not remount" error message doesn't give much hints about the real reason. See the old PR below for an example. While i was at it, make it possible to entirely omit the often annoying error message in that case by specifying the "quiet" exports flag. This allows to specify something like /cdrom -alldirs,ro,quiet <where to export to> which will silently fail if nothing is mounted under /cdrom, but do the rigth thing as soon as you mount something. While doing this, i've put the embedded example in the exports(5) man page into a subsection of its own as it ought to be. Thanks for Paul Southworth for reminding me about this problem. PR: bin/4448 MFC after: 1 month
* If an RPC fails, try a shorter reply in case the fault lies with thealfred2002-07-151-10/+39
| | | | | | | size of the response. PR: misc/26320 MFC After: 2 weeks
* The .Nm utilitycharnier2002-07-061-2/+3
|
* Remove old pre-TIRPC code for getting transport handles. The code thatalfred2002-06-251-5/+0
| | | | follows spams over the contents of them making the removed code useless.
* more file system > filesystemtrhodes2002-05-162-4/+4
|
* Use fgetln to remove the static limit on the length of lines iniedowse2002-05-141-14/+15
| | | | | | /etc/exports. Oversized lines were unlikely due to the large 10k limit, but any found would cause mountd to exit with an error. Also fix one or two compiler warnings.
* o __P removedimp2002-03-211-41/+41
| | | | o main prototype removed
* Remove 'register' keyword.obrien2002-03-201-1/+1
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* Chase sysctl name.dd2002-03-111-1/+1
| | | | Submitted by: Christopher Sharp <christopher_sharp@web.de>
* Introduce a version field to `struct xucred' in place of one of thedd2002-02-271-1/+2
| | | | | | | | | | | | spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Deal with module name changes and autoloading.peter2001-09-201-15/+8
|
* Userland part of nfs client/server split and cleanup.peter2001-09-181-22/+5
|
* Silence non-constant format string warnings by marking functionskris2001-08-191-1/+1
| | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+2
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: cosmetics.ru2001-07-041-1/+2
|
* Document continuation line support.dd2001-07-021-0/+2
| | | | | PR: 8479 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Correct handling of continuation lines. Instead of treating thedd2001-07-021-0/+4
| | | | | | | | backslash as nothing, treat it like a space so that adjacent lines aren't glued together. PR: 8479 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Correct cross-reference:sobomax2001-06-071-1/+1
| | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script
* - VFS_SET(msdos) -> VFS_SET(msdosfs)ru2001-06-011-1/+1
| | | | | | - msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
* Remove vestiges of MFS.ru2001-06-011-1/+0
|
* Remove MFSphk2001-05-291-4/+1
|
* Since the netexport struct was centralised to 'struct mount',iedowse2001-05-291-3/+4
| | | | | | | | | | | | | attempting to remove nonexistant exports with MNT_DELEXPORT returns an error; before this change it always succeeded. This caused mountd(8) to log "can't delete exports for /whatever" warnings. Change the error code from EINVAL to a more specific ENOENT, and make mountd ignore this error when deleting the export list. I could have just restored the previous behaviour of returning success, but I think an error return is a useful diagnostic. Reviewed by: phk
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-261-1/+1
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-251-1/+1
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
OpenPOWER on IntegriCloud