1 2000-09-26 H.J. Lu <hjl@lucon.org>
3 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
4 non-NULL hostent is always returned.
6 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
8 * etc/redhat/nfslock.init: don't kill lockd processes that do not
9 have an executable (i.e. kernel threads)
11 2000-09-01 H.J. Lu <hjl@lucon.org>
13 * README: Updated for 0.2.
15 2000-09-01 Jay Weber <jweber@valinux.com>
17 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
18 supporting version 3 of nfs if available, else it will fall back to
19 version 2 support only.
21 2000-08-30 H.J. Lu <hjl@lucon.org>
23 * configure.in (VERSION): Set to "0.2".
24 * configure: Regenerated.
25 * nfs-utils.spec: Updated.
27 2000-08-25 H.J. Lu <hjl@lucon.org>
29 * support/misc/tcpwrapper.c (logit): Modify the log output.
31 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
33 * utils/rquotad/rquotad.man, utils/statd/statd.man,
34 utils/mountd/mountd.man: updated
36 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
37 * utils/rquotad/Makefile: fix comment
39 * support/misc/tcpwrapper.c (logit): added comment about waiting
40 for the children after fork()
42 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
43 zombies behind (from logit()'s fork)
44 * utils/rquotad/rquota_svc.c (main): ditto
45 * utils/statd/statd.c (main): ditto
47 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
48 to check_default instead of 0, for prognum
50 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
51 to check_default instead of 0, for prognum
53 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
54 HAVE_TCP_WRAPPER is defined.
55 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
56 defined. Reject an RPC call if check_default () fails.
58 2000-08-25 H.J. Lu <hjl@lucon.org>
60 * support/include/tcpwrapper.h: New for the tcp wrapper
62 * support/misc/Makefile: Likewise.
63 * support/misc/from_local.c: Likewise.
64 * support/misc/tcpwrapper.c: Likewise.
66 * aclocal.m4 (AC_TCP_WRAPPER): New.
67 * configure.in: Use it. Substitute LIBWRAP.
70 * config.mk.in (LIBNSL): New.
73 * support/Makefile (SUBDIRS): Add misc.
75 * support/lib/Makefile (LIBS): Add libmisc.a.
77 * utils/rquotad/Makefile (LIBS): Add
79 -lmisc $(LIBWRAP) $(LIBNSL)
81 * utils/statd/Makefile (LIBS): Likewise.
83 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
84 HAVE_TCP_WRAPPER is defined.
85 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
86 defined. Reject an RPC call if check_default () fails.
88 * utils/statd/statd.c: Include "tcpwrapper.h" if
89 HAVE_TCP_WRAPPER is defined.
90 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
91 check_default () before calling sm_prog_1 (). Define it as
92 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
94 2000-08-25 Chip Salzenberg <chip@valinux.com>
96 * debian/*: Complete Debian build support.
97 * etc/debian/*: Remove.
99 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
101 * support/export/client.c(client_check): removed the "dot+1" as a
102 ypdomain argument to innetgr as this is entirely bogus.
103 It should always be NULL.
105 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
107 * support/export/xtab.c(xtab_read): introduce new mode for
108 reading xtab. i.e. a list of exports that might be known to the
109 kernel, or might not. These are flagged as m_exported == -1
110 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
111 value "2" for xtab, meaning don't trust this too much.
112 * support/include/exportfs.h(struct mexport): changed m_exported
113 from one bit to an int so that it can hold new value
114 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
115 kernel if it is uncertain whether the kernel knows (m_exported == -1)
116 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
119 * support/nfs/xio.c(xflock): added O_CREAT when getting
120 a write lock so that missing files aren't fatal.
122 * etc/debian/nfs-common: new file from "potato"
123 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
125 2000-08-09 H.J. Lu <hjl@lucon.org>
127 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
128 startup to ensure all existing clients work fine.
130 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
131 to xtab_read () for reading _PATH_XTAB.
133 2000-08-02 H.J. Lu <hjl@lucon.org>
135 * utils/mountd/auth.c (auth_authenticate_internal): Try to
136 avoid the reverse name lookup.
138 2000-07-04 H.J. Lu <hjl@lucon.org>
140 * utils/statd/log.c: Include <stdlib.h> for exit ().
142 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
145 2000-07-04 H.J. Lu <hjl@lucon.org>
147 * configure.in (VERSION): Set to "0.1.9.1".
148 * configure: Regenerated.
149 * nfs-utils.spec: Updated.
153 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
155 * support/export/hostname.c (hostent_dup): Handle the NULL
158 2000-07-03 H.J. Lu <hjl@lucon.org>
160 * README: Update the util-linux requirement.
162 2000-07-03 H.J. Lu <hjl@lucon.org>
164 * configure.in (VERSION): Set to "0.1.9".
165 * configure: Regenerated.
166 * nfs-utils.spec: Updated.
170 2000-07-03 H.J. Lu <hjl@lucon.org>
172 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
173 stop to ensure all clients can still access the server
174 before it is shutdown.
176 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
178 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
179 calls with format string.
181 2000-06-28 Chip Salzenberg <chip@valinux.com>
183 * utils/statd/log.c (log): Call syslog with format string.
185 2000-06-27 H.J. Lu <hjl@lucon.org>
187 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
190 2000-06-27 H.J. Lu <hjl@lucon.org>
194 2000-06-27 H.J. Lu <hjl@lucon.org>
196 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
197 startup to ensure all existing clients are exported.
199 * configure.in (VERSION): Set to "0.1.8.2".
200 * configure: Regenerated.
201 * nfs-utils.spec: Updated.
203 2000-06-06 H.J. Lu <hjl@lucon.org>
205 * configure.in (VERSION): Set to "0.1.8.1".
206 * configure: Regenerated.
207 * nfs-utils.spec: Updated.
209 2000-06-06 H.J. Lu <hjl@lucon.org>
211 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
212 to "struct sockaddr_in *" for glibc 2.2.
213 (mount_umnt_1_svc): Likewise.
214 (mount_umntall_1_svc): Likewise.
215 (mount_export_1_svc): Likewise.
216 (mount_exportall_1_svc): Likewise.
217 (mount_pathconf_2_svc): Likewise.
218 (get_rootfh): Likewise.
220 2000-06-04 H.J. Lu <hjl@lucon.org>
222 * etc/redhat/nfs.init: Fix a typo in comment.
224 2000-05-31 H.J. Lu <hjl@lucon.org>
226 * configure.in (VERSION): Set to "0.1.8".
227 * configure: Regenerated.
228 * nfs-utils.spec: Updated.
232 2000-05-31 H.J. Lu <hjl@lucon.org>
234 * configure.in (VERSION): Set to "0.1.7.5".
235 * configure: Regenerated.
236 * nfs-utils.spec: Updated.
238 * support/include/nfslib.h (exportent): Add a new field,
239 r_count, to count the number of mounts from a client.
240 (getrmtabent): Take a new argument for position in file.
241 (putrmtabent): Likewise.
242 (fgetrmtabent): Likewise.
243 (fputrmtabent): Likewise.
244 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
245 for position in file.
246 (fgetrmtabent): Likewise.
247 (putrmtabent): Likewise.
248 (fputrmtabent): Likewise.
250 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
253 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
254 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
256 * utils/mountd/rmtab.c (mountlist_add): Likewise.
257 (mountlist_del): Likewise.
258 (mountlist_del_all): Likewise.
259 (mountlist_list): Likewise.
261 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
262 for the existing entry and initialize "r_count" to 1.
263 (mountlist_del): Decrement "r_count".
265 2000-05-18 H.J. Lu <hjl@lucon.org>
267 * configure.in (VERSION): Set to "0.1.7.4".
268 * configure: Regenerated.
269 * nfs-utils.spec: Updated.
271 2000-05-18 H.J. Lu <hjl@lucon.org>
273 * etc/redhat/nfs.init (restart): Just do stop and start.
275 2000-05-09 Jay Weber <jweber@valinux.com>
277 * utils/rquotad/hasquota.c: added support for ext3 recognition
279 * utils/rquotad/mntent.h: Likewise.
281 2000-05-01 H.J. Lu <hjl@lucon.org>
283 * configure.in (VERSION): Set to "0.1.7.3".
284 * configure: Regenerated.
285 * nfs-utils.spec: Updated.
287 2000-05-01 H.J. Lu <hjl@lucon.org>
289 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
290 mounting poins in /etc/fstab.
292 2000-05-01 H.J. Lu <hjl@lucon.org>
294 * configure.in (VERSION): Set to "0.1.7.2".
295 * configure: Regenerated.
296 * nfs-utils.spec: Updated.
298 2000-05-01 H.J. Lu <hjl@lucon.org>
300 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
301 to check for the mounting point.
303 2000-04-29 Chip Salzenberg <chip@valinux.com>
304 Neil Brown <neilb@cse.unsw.edu.au>
306 * Really re-use RPC ports.
307 (Fixes earlier patch. Sorry, Neil.)
309 2000-04-26 H.J. Lu <hjl@lucon.org>
311 * configure.in (VERSION): Set to "0.1.7.1".
312 * configure: Regenerated.
313 * nfs-utils.spec: Updated.
315 2000-04-26 H.J. Lu <hjl@lucon.org>
317 * etc/redhat/nfslock.init: Check if lockd exits before killing
320 2000-04-25 H.J. Lu <hjl@lucon.org>
322 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
324 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
326 * support/nfs/exports.c (parsesquash): Correctly set the
329 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
331 * support/include/nfs/nfs.h: Removed knowledge of internals of
332 kernel filehandles (which can change) and defined nfs_fh_size
333 which has variable size
335 * support/nfs/getfh.c: defined getfh_size to use new syscall to
336 get variable sized file handles, and change getfh{,old} to
339 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
342 * tools/Makefile, tools/nlmtest/nlmtest.c
343 nlmtest.c depended on internel format of file handles, so now
347 2000-03-12 Chip Salzenberg <chip@valinux.com>
348 Neil Brown <neilb@cse.unsw.edu.au>
350 * support/nfs/rpcmisc.c (rpc_init): Share transports.
352 2000-03-13 H.J. Lu <hjl@lucon.org>
354 * etc/redhat/nfsd.init: Updated.
356 * etc/redhat/nfslock.init: Updated.
358 * nfs-utils.spec.in: Updated.
360 * configure.in (VERSION): Set to "0.1.7".
361 * configure: Regenerated.
362 * nfs-utils.spec: Updated.
366 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
368 * utils/exportfs/exportfs.c (dump): Included printing of
369 nohide, no_subtree_check, and insecure_locks
371 2000-02-26 Chip Salzenberg <chip@valinux.com>
373 * config.mk.in (INSTALLSUID): Strip ("-s").
374 (INSTALLSCRIPT): Define.
375 * utils/nhfsstone/Makefile: Use it.
377 2000-02-26 Chip Salzenberg <chip@valinux.com>
379 * utils/lockd/lockd.man: Create.
380 * utils/lockd/Makefile: Install it.
381 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
382 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
383 * utils/nhfsstone/Makefile: Install the helper scripts and
385 * utils/exportfs/exports.man: Fix typo.
387 2000-02-26 Chip Salzenberg <chip@valinux.com>
389 * support/nfs/xio.c (xungetc): Decrement line number when
390 character to unget is newline. Make first parameter int, so
391 it can distinguish EOF from \377.
392 * support/include/xio.h (xungetc): Adjust prototype.
394 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
396 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
397 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
398 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
400 This is for supporting a new option introduced in 2.3.42
402 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
404 * COPYING: Added. GPL.
406 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
408 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
409 to get the block size.
411 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
413 * nfs-utils.spec.in: Update ftp site.
415 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
417 * README: Update hostnames.
419 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
421 * configure.in (VERSION): Set to "0.1.6".
422 * configure: Regenerated.
423 * nfs-utils.spec: Updated.
427 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
429 * utils/mountd/auth.c (auth_authenticate_internal): Call
430 xstrdup for hostname before passing it to gethostbyname.
432 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
435 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
437 * README: Update the mailing list address.
439 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
441 * configure.in (VERSION): Set to "0.1.5".
442 * configure: Regenerated.
443 * nfs-utils.spec: Updated.
447 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
449 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
452 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
454 * configure.in (VERSION): Set to "0.1.4".
455 * configure: Regenerated.
456 * nfs-utils.spec: Updated.
460 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
462 * nfs-utils.spec.in: New file.
464 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
466 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
468 1999-12-04 Chip Salzenberg <chip@valinux.com>
470 * config.mk.in: Use $(CC) as set by configure.
472 1999-12-04 Chip Salzenberg <chip@valinux.com>
474 * rules.mk: Call $(MAKE) with $(MFLAGS).
476 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
478 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
479 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
481 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
483 * nfs-utils.spec (Version): Set to 0.1.3.
485 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
486 * configure: Regenerated.
490 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
492 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
493 (_PATH_DEV_DSK): Likewise.
494 (getquotainfo): Match the mounting point from /etc/mtab
495 instead of calling nfsmount_to_devname ().
497 1999-11-24 Chip Salzenberg <chip@valinux.com>
499 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
500 to the new port 24 as well as the historical port 100021.
502 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
504 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
505 stopping nfsd to stop spurious ESTALE on server shutdown.
507 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
509 * support/nfs/exports.c (parseopts): make copy of opt string
510 before 'nul'ing out commas so that
512 # exportfs -o option1,option2 hosta:/fs hostb:/fs
514 applies both options to both exports.
516 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
518 * README: Fix a few typos.
520 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
522 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
523 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
524 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
525 (unsigned_dec): Likewise.
526 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
527 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
529 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
531 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
532 (unsigned_dec): Likewise.
533 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
534 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
535 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
537 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
539 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
540 * support/nfs/exports.c: added {no_,}subtree_check and changed
542 * utils/exportfs/exports.man: added no_subtree_check and nohide
543 and removed irrelevant stuff from unfsd.
544 * support/export/rmtab.c: rmtab_read didn't quite do the right
545 thing if a pathname from rmtab was a subdirectory of an export-point
547 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
549 * README: Updated ftp site.
551 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
553 * nfs-utils.spec (Version): Set to 0.1.2.
555 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
556 * configure: Regenerated.
560 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
562 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
563 (auth_authenticate_internal): Check for NULL return on forward
565 (auth_authenticate): Handle "no_forward_dns".
567 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
569 * Version 0.1.1 released.
571 * nfs-utils.spec (Version): Set to 0.1.1.
573 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
574 * configure: Regenerated.
578 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
580 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
582 (Provides): Likewise.
584 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
586 * Initial version 0.1 released.
588 * configure.in (VERSION): Set to "nfs-utils 0.1".
589 * configure: Regenerated.
591 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
593 * utils/mountd/mountd.c (get_exportlist): Cleanup.
595 * utils/exportfs/exportfs.c (unexport_all): Unexport from
596 kernel only if the entry is exported to kernel.
597 (unexportfs): Likewise.
599 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
601 1/ utils/mountd/rmtab.c::mountlist_list
603 This routine stats the rmtab file to see if it has changed. It
604 if has, it cleans up it's old copy of the data. But it still
605 always re-read the file, thus returning multiple copies of the
606 data on consecutive calls without intervening changes.
607 "Showmount -a" didn't show this as it appears to sort/unique the
608 data, but 'strace showmount -a' showed that the size of the
609 datagram that it received grew.
611 I moved the getrmtabent loop inside the mtime test.
613 2/ utils/exportfs/exportfs.c
615 Many routines used the m_path field of m_export instead of
617 According to the comment in nfslib.h, m_path should only
618 be used when processing a mount request (i.e. in mountd)
619 where the mountpoint may be a subdirectory of the export point.
621 I changed all occurances of m_path to e_path
624 3/ utils/exportfs/exportfs.c:main
626 extra arguments are not meaningful with -a or -r, but
627 exportfs accepted them and then ignored the -a/-r, expect that
628 -r would still unexport everything first.
630 I generate an error if there are extra args and f_all
632 4/ utils/exportfs/exportfs.c:main
633 extract dump out as a special case.
635 5/ utils/exportfs/exportfs.c
636 made f_reexport a local variable.
639 6/ utils/exportfs/exportfs.c:main,exportall
641 support/export/rmtab.c
642 only mayexport on newly created entries, don't set xtabent at all
644 7/ support/include/nfslib.h
646 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
648 8/ support/export/xtab.c
650 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
654 9/ support/export/xtab.c
656 xtab_mount_read now sets m_exported, and NOT
657 xtabent and mayexport
659 removed the append arguement from xtab_write as it was
662 added is_export flag to xtab_write similar to xtab_read
663 if is_export, only write entries with m_xtabent or m_addxtab
664 if !is_export, only write entries with m_exported
666 10/ support/export/export.c::export_allowed_internal
668 added test for exp->m_mayexport, as the export tree
669 may have entries that are no longer allowed to be exported,
670 and so shouldn't caused deduced exported by rmtab_read
672 11/ utils/exportfs/exportfs.c::main
673 error checking of flags.
675 12/ utils/exportfs/exportfs.c
677 total rewrite of export and unexport logic.
679 - build an exportslist of valid exports, based on
680 current etab file and arguments,
681 - read rmtab to instantiate relevant wild card entries
682 - read etab to find out what is currently exported
683 - synchronise intention with reality
684 - write out etab and xtab
687 discard the m_addxtab flag
688 add m_changed flag so we know what to report in exportfs
690 14/ utils/mountd/auth.c:auth_authenticate
692 the value returned by gethostbyaddr was trusted.
694 It now follows this with a call to gethostbyname
695 and checks that the address is in the list.
697 15/ support/export/nfsctl.c::cltsetup,expsetup
699 force client names to lowercase as kernel is
702 16/ quietened a few compiler warnings
704 17/ support/export/client:client_lookup
706 look for pre-existing client with same name before creating
709 18/ support/include/exportfs.h
711 The ordering of the MCL_* enum was:
712 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
714 I moved ANONYMOUS to the end.
716 The ordering is significant when an export entry is being searched for to
717 match a given address. There are two problems with ANONYMOUS being first.
719 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
720 then the ro case will always be found first and the privileged hosts won't get
722 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
723 export entry for the specific host, and writes it to xtab.
724 When another request comes from the same host, the ANONYMOUS entry is found again,
725 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
726 again. If causes bloat in xtab.
728 Putting ANONYMOUS at the end reflects it's nature as a catch-all
730 19/ utils/exportfs/exportfs.man
731 many updates to the man page to reflect changes to the code
733 -----------------------
739 - allow exportfs to modify rmtab file
740 - make sure kernel never gets two clients with same IP address
741 - possible kernel should reject
742 - needs to be some way to lookup client in kernel by IP address
743 - maybe get kernel to do case-insensitive comparisons on client names
744 - remove unused clients from kernel
746 - change etab to xtab and xtab to xtab.active
748 - timestamp and/or statd-stamp in rmtab for removing old entries.
750 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
752 * linux-nfs: New directory.
753 * linux-nfs/ChangeLog: Moved from ..
754 * linux-nfs/INSTALL: Likewise.
755 * linux-nfs/KNOWNBUGS: Likewise.
756 * linux-nfs/NEW: Likewise.
757 * linux-nfs/README: Likewise.
758 * linux-nfs/THANKS: Likewise.
759 * linux-nfs/TODO: Likewise.
761 * Starting from knfsd 1.4.7.