X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=ChangeLog;h=1c6b466c988757bb3a2dade2fcb8f4077c1ff2d2;hp=3826e5eccdbe945aafdeef52d0adbf264ed1a00f;hb=refs%2Ftags%2Fnfs-utils-0-3-2-pre9;hpb=4d961554071d2308017062c8bc39f37f5de55b5f diff --git a/ChangeLog b/ChangeLog index 3826e5e..1c6b466 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,40 @@ -2001-09020 NeilBrown +2001-09-20 NeilBrown + + Arrange that "exportfs -au" never does DNS lookup: + + * support/export/client.c (client_lookup) : add "canonical" + flag which says that the hostname is known to be canonical, so + don't do a lookup + + * support/export/export.c (export_create) : add "canonical" + flag to be passed down to client_lookup + * support/export/export.c (export_lookup) : Likewise + + * support/export/xtab.c (xtab_read) : pass appropriate + "canonical" flag to export_lookup and export_create: + set if reading list of filesystems currently exports + (is_export != 1). + + * support/export/export.c (export_read) : pass 0 as + "canonical" flag to export_lookup and export_create + * support/export/rmtab.s (rmtab_read) : Likewise + + * support/include/exportfs.h : redeclare various routines + to have "canonical" flag + + * utils/exportfs/exportfs.c (main) : redo logic for + "-au" to read in what is currently exported, but never even + look at what "should" be exported. + + * utils/exportfs/exportfs.c (unexportall) : remove this + routine. Functionality is completely included in + exports_update + + * utils/exportfs/exportfs.c (exportfs) : set "canonical" + flag to zero in calls to export_lookup and export_create. + + +2001-09-20 NeilBrown Anne Milicia * support/export/client.c (client_lookup) call gethostbyadd