am-utils-6.1.git
16 years ago* amd/ops_udf.c: don't define functions/variables which may not be master origin
Erez Zadok [Sun, 11 Jan 2009 22:52:46 +0000 (22:52 +0000)]
* amd/ops_udf.c: don't define functions/variables which may not be
used.

* amd/ops_tmpfs.c (mount_tmpfs): force gcc not to complain about
unused variables.

* config.guess.long: properly support Fedora Core.

16 years agomention today's fixes.
Christos Zoulas [Fri, 9 Jan 2009 19:10:35 +0000 (19:10 +0000)]
mention today's fixes.

16 years agoTreat an empty sublink as an unset sublink.
Christos Zoulas [Fri, 9 Jan 2009 19:09:03 +0000 (19:09 +0000)]
Treat an empty sublink as an unset sublink.

16 years agoAdd 2 more members on linux nfs_args, pseudoflavor and context. Explicitly
Christos Zoulas [Fri, 9 Jan 2009 19:03:51 +0000 (19:03 +0000)]
Add 2 more members on linux nfs_args, pseudoflavor and context. Explicitly
initialize them to 0, otherwise on 2.6.26.x mount returns EINVAL if
context is not 0.

16 years agoadd documentation about cdf mounts.
Christos Zoulas [Tue, 6 Jan 2009 22:45:21 +0000 (22:45 +0000)]
add documentation about cdf mounts.

16 years agofix udf mounts for linux.
Christos Zoulas [Tue, 6 Jan 2009 21:14:18 +0000 (21:14 +0000)]
fix udf mounts for linux.

16 years agoBring back our local ylwrap fix.
Christos Zoulas [Tue, 6 Jan 2009 20:39:06 +0000 (20:39 +0000)]
Bring back our local ylwrap fix.

16 years agoadd the rest of the udf glue.
Christos Zoulas [Tue, 6 Jan 2009 19:13:23 +0000 (19:13 +0000)]
add the rest of the udf glue.

16 years agoadd udf glue.
Christos Zoulas [Tue, 6 Jan 2009 19:08:54 +0000 (19:08 +0000)]
add udf glue.

16 years agorecognize new NetBSD nfs filehandle.
Christos Zoulas [Tue, 6 Jan 2009 19:07:24 +0000 (19:07 +0000)]
recognize new NetBSD nfs filehandle.

16 years agomention new auto-stuff.
Christos Zoulas [Tue, 6 Jan 2009 18:55:04 +0000 (18:55 +0000)]
mention new auto-stuff.

16 years agoRegen with newer versions of all the tools.
Christos Zoulas [Tue, 6 Jan 2009 18:52:36 +0000 (18:52 +0000)]
Regen with newer versions of all the tools.

16 years agoSince autoconf generates INSTALL now, so we move our local info here.
Christos Zoulas [Tue, 6 Jan 2009 18:50:52 +0000 (18:50 +0000)]
Since autoconf generates INSTALL now, so we move our local info here.

16 years agonew autoconf wants _cv_ in cached variables.
Christos Zoulas [Sun, 4 Jan 2009 22:54:56 +0000 (22:54 +0000)]
new autoconf wants _cv_ in cached variables.

16 years agocomment out the message, because it breaks with gm4 > 1.2.10
Christos Zoulas [Sun, 4 Jan 2009 22:54:40 +0000 (22:54 +0000)]
comment out the message, because it breaks with gm4 > 1.2.10

16 years agoadd the cdfs options here.
Christos Zoulas [Fri, 2 Jan 2009 16:33:34 +0000 (16:33 +0000)]
add the cdfs options here.

16 years agoenable more options for cd9660 filesystems (from NetBSD)
Christos Zoulas [Fri, 2 Jan 2009 15:59:10 +0000 (15:59 +0000)]
enable more options for cd9660 filesystems (from NetBSD)

16 years agomultiple server ldap patch.
Christos Zoulas [Wed, 3 Dec 2008 18:17:20 +0000 (18:17 +0000)]
multiple server ldap patch.

16 years agowork done today.
Christos Zoulas [Fri, 19 Sep 2008 21:34:50 +0000 (21:34 +0000)]
work done today.

16 years agonetbsd is int too.
Christos Zoulas [Fri, 19 Sep 2008 21:33:52 +0000 (21:33 +0000)]
netbsd is int too.

16 years agoWhen using flex -P<prefix> instead of ylwrap all the yy symbols get #defined
Christos Zoulas [Fri, 19 Sep 2008 21:32:38 +0000 (21:32 +0000)]
When using flex -P<prefix> instead of ylwrap all the yy symbols get #defined
to the prefixed ones in the begining of the c file. This breaks the #ifndef
yywrap test. We detect this by checking also yylex and if that is defined
too we declare and define yywrap.

16 years agocorrect prototypes
Christos Zoulas [Fri, 19 Sep 2008 21:30:19 +0000 (21:30 +0000)]
correct prototypes

16 years agoDon't use __GNUC__ but the proper HAVE_ variables.
Christos Zoulas [Fri, 19 Sep 2008 17:56:58 +0000 (17:56 +0000)]
Don't use __GNUC__ but the proper HAVE_ variables.

16 years agofix reversed ifdef, thanks Ion!
Christos Zoulas [Wed, 17 Sep 2008 23:24:06 +0000 (23:24 +0000)]
fix reversed ifdef, thanks Ion!

16 years agofix linux tmpfs (make it compile only)
Christos Zoulas [Wed, 17 Sep 2008 21:59:31 +0000 (21:59 +0000)]
fix linux tmpfs (make it compile only)

16 years agomention yylwrap lossage
Christos Zoulas [Wed, 17 Sep 2008 21:59:18 +0000 (21:59 +0000)]
mention yylwrap lossage

16 years agodeal with crap automake versions < 1.9 that do not run ylwrap on a single
Christos Zoulas [Wed, 17 Sep 2008 21:57:06 +0000 (21:57 +0000)]
deal with crap automake versions < 1.9 that do not run ylwrap on a single
yacc or lex file. Any better way to do this?

16 years agohook in tmpfs
Christos Zoulas [Wed, 17 Sep 2008 20:55:17 +0000 (20:55 +0000)]
hook in tmpfs

16 years agotoday's changes
Christos Zoulas [Wed, 17 Sep 2008 20:30:15 +0000 (20:30 +0000)]
today's changes

16 years agosort man pages by section and then alphabetically as is the norm
Christos Zoulas [Wed, 17 Sep 2008 20:27:50 +0000 (20:27 +0000)]
sort man pages by section and then alphabetically as is the norm

16 years agoadd missing field for NetBSD
Christos Zoulas [Wed, 17 Sep 2008 20:25:58 +0000 (20:25 +0000)]
add missing field for NetBSD

16 years agoadd missing forward declarations
Christos Zoulas [Wed, 17 Sep 2008 20:25:33 +0000 (20:25 +0000)]
add missing forward declarations

16 years agouse sizeof var instead of constant
Christos Zoulas [Wed, 17 Sep 2008 20:24:59 +0000 (20:24 +0000)]
use sizeof var instead of constant

16 years agonow that yy renaming works, fix the remaining callers
Christos Zoulas [Wed, 17 Sep 2008 20:23:59 +0000 (20:23 +0000)]
now that yy renaming works, fix the remaining callers

16 years agofix yyerror declaration and definition
Christos Zoulas [Wed, 17 Sep 2008 20:22:53 +0000 (20:22 +0000)]
fix yyerror declaration and definition

16 years agouse sizeof var instead of constant.
Christos Zoulas [Wed, 17 Sep 2008 20:21:45 +0000 (20:21 +0000)]
use sizeof var instead of constant.

16 years agoFelt free to implement this
Christos Zoulas [Wed, 17 Sep 2008 20:20:55 +0000 (20:20 +0000)]
Felt free to implement this

16 years agoNetBSD calls its ufs ffs.
Christos Zoulas [Wed, 17 Sep 2008 20:20:06 +0000 (20:20 +0000)]
NetBSD calls its ufs ffs.

16 years agotypo, getpwd -> getcwd
Christos Zoulas [Wed, 17 Sep 2008 20:19:34 +0000 (20:19 +0000)]
typo, getpwd -> getcwd

16 years agonewer NetBSD uses statvfs (perhaps handle this with autoconf?)
Christos Zoulas [Wed, 17 Sep 2008 20:19:07 +0000 (20:19 +0000)]
newer NetBSD uses statvfs (perhaps handle this with autoconf?)

16 years agothere is no section 8C
Christos Zoulas [Wed, 17 Sep 2008 20:18:08 +0000 (20:18 +0000)]
there is no section 8C

16 years agohandle newer netbsd using statvfs
Christos Zoulas [Wed, 17 Sep 2008 20:17:35 +0000 (20:17 +0000)]
handle newer netbsd using statvfs

16 years agoadd missing forward declaration
Christos Zoulas [Wed, 17 Sep 2008 20:16:50 +0000 (20:16 +0000)]
add missing forward declaration

16 years agoavoid possible null pointer deref (coverity)
Christos Zoulas [Wed, 17 Sep 2008 20:16:21 +0000 (20:16 +0000)]
avoid possible null pointer deref (coverity)

16 years ago* more portable endian detection support
Christos Zoulas [Wed, 17 Sep 2008 20:14:56 +0000 (20:14 +0000)]
* more portable endian detection support
* add tmpfs and efs support

16 years agohandle tmpfs and efs
Christos Zoulas [Wed, 17 Sep 2008 20:14:25 +0000 (20:14 +0000)]
handle tmpfs and efs

16 years agostrlen returns size_t not int
Christos Zoulas [Wed, 17 Sep 2008 20:14:02 +0000 (20:14 +0000)]
strlen returns size_t not int

16 years agoadd options log, noatime, nocoredump, nodevmtime, softdep, symperm, union
Christos Zoulas [Wed, 17 Sep 2008 20:13:30 +0000 (20:13 +0000)]
add options log, noatime, nocoredump, nodevmtime, softdep, symperm, union

16 years agoNetBSD efs and tmpfs support
Christos Zoulas [Wed, 17 Sep 2008 20:12:59 +0000 (20:12 +0000)]
NetBSD efs and tmpfs support

16 years agonew autoconf tools bitch about # serial in the middle of the file, so
Christos Zoulas [Wed, 17 Sep 2008 20:12:07 +0000 (20:12 +0000)]
new autoconf tools bitch about # serial in the middle of the file, so
add an extra #.

16 years agoNetBSD's new mount system call needs the size of the opaque filesystem
Christos Zoulas [Wed, 17 Sep 2008 20:11:24 +0000 (20:11 +0000)]
NetBSD's new mount system call needs the size of the opaque filesystem
specific structure, but passing 0 for now works. We would need to change
a lot more code to pass the size from the fs-specific calls, so for now punt.

16 years agorecvfrom takes socklen_t * on NetBSD
Christos Zoulas [Wed, 17 Sep 2008 20:10:29 +0000 (20:10 +0000)]
recvfrom takes socklen_t * on NetBSD

16 years agoMost recent kernels have trouble with trying to parse the pid hostname
Christos Zoulas [Wed, 17 Sep 2008 20:09:47 +0000 (20:09 +0000)]
Most recent kernels have trouble with trying to parse the pid hostname
and do locking. What before was a silent failure, now there is a warning
printed and the mount is rejected. This is the simplest fix:
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479884)

16 years agoavoid possible null pointer deref (coverity)
Christos Zoulas [Wed, 17 Sep 2008 20:07:20 +0000 (20:07 +0000)]
avoid possible null pointer deref (coverity)

16 years agoNetBSD's new mount system call needs the size of the opaque filesystem
Christos Zoulas [Wed, 17 Sep 2008 20:06:28 +0000 (20:06 +0000)]
NetBSD's new mount system call needs the size of the opaque filesystem
specific structure, but passing 0 for now works. We would need to change
a lot more code to pass the size from the fs-specific calls, so for now
punt.

16 years agohandle tools lossage in fsinfo
Christos Zoulas [Wed, 17 Sep 2008 20:04:40 +0000 (20:04 +0000)]
handle tools lossage in fsinfo

16 years ago- NetBSD port additions
Christos Zoulas [Wed, 17 Sep 2008 20:03:58 +0000 (20:03 +0000)]
- NetBSD port additions
  * handle headers that need other headers to compile
  * add exfs and tmpfs specific glue
  * add options log, noatime, nocoredump, nodevmtime, softdep, symperm, union

18 years ago* amd/sun_map.c (sun_append_str): When translating '&' from Sun
Erez Zadok [Fri, 13 Apr 2007 20:13:01 +0000 (20:13 +0000)]
* amd/sun_map.c (sun_append_str): When translating '&' from Sun
automounter maps, replace it with "${key}" in the Amd map, not
with the value of the key at the time.  This way '*' maps work
too.

* config.guess.long: don't use -q option to grep because some
systems don't support it.  Bug fix for solaris.

* amd/opts.c (expand_op): Don't call xstrlcpy() to truncate a
string.  It causes spurious xstrlcpy() syslog() errors.  Use
memcpy() and explicitly terminate the string.

18 years agoDon't call xstrlcpy() to truncate a string. It causes spurious xstrlcpy()
Christos Zoulas [Sun, 11 Mar 2007 19:59:20 +0000 (19:59 +0000)]
Don't call xstrlcpy() to truncate a string. It causes spurious xstrlcpy()
syslog() errors. Use memcpy() and explicitly terminate the string.

18 years ago* updated copyright year to 2007 on all files.
Erez Zadok [Sat, 20 Jan 2007 20:34:15 +0000 (20:34 +0000)]
* updated copyright year to 2007 on all files.

18 years ago* minor new port: ia64-hp-hpux11.23
Erez Zadok [Thu, 28 Dec 2006 02:27:51 +0000 (02:27 +0000)]
* minor new port: ia64-hp-hpux11.23

* m4/macros/check_libwrap_severity.m4 (LIBS): also test if caller
needs to define rfc931_timeout.

* amd/sun2amd.c: define rfc931_timeout and allow/deny_severity for
libwrap.

* amd/amq_svc.c: some versions of libwrap require the caller to
define rfc931_timeout in addition to allow/deny_severity.

* amd/amfs_toplvl.c (amfs_toplvl_init): properly detect when
forced unmount functionality exists for all systems.

* libamu/mount_fs.c (compute_nfs_args): reset nfs_args_t->pathconf
only if field exists.

* conf/nfs_prot/nfs_prot_hpux11.h: prevent HPUX 11.23 from
including <tiuser> or <sys/tiuser> (TLI definitions are already
included from elsewhere).

* configure.in: detect nfs_args_t->pathconf field.

18 years agominor fix
Erez Zadok [Mon, 27 Nov 2006 07:50:40 +0000 (07:50 +0000)]
minor fix

18 years ago* doc/Makefile.am: properly publish html files using newer
Erez Zadok [Mon, 27 Nov 2006 07:40:45 +0000 (07:40 +0000)]
* doc/Makefile.am: properly publish html files using newer
text2html.

18 years agoobfuscate changelog before publishing on www
Erez Zadok [Mon, 27 Nov 2006 07:38:47 +0000 (07:38 +0000)]
obfuscate changelog before publishing on www

18 years ago* obfuscate many more emails in the distro, esp. of files which get
Erez Zadok [Mon, 27 Nov 2006 07:32:12 +0000 (07:32 +0000)]
* obfuscate many more emails in the distro, esp. of files which get

18 years ago* minor new port: i386-apple-darwin8.8.1.
Erez Zadok [Mon, 27 Nov 2006 05:30:02 +0000 (05:30 +0000)]
* minor new port: i386-apple-darwin8.8.1.

18 years ago* doc/am-utils.texi (Password maps): minor typo reported by
Erez Zadok [Tue, 31 Oct 2006 03:56:46 +0000 (03:56 +0000)]
* doc/am-utils.texi (Password maps): minor typo reported by
Christoph P. Kukulies.

18 years ago* minor new port: i386-pc-linux-fc6.
Erez Zadok [Thu, 26 Oct 2006 17:36:26 +0000 (17:36 +0000)]
* minor new port: i386-pc-linux-fc6.

* m4/macros/linux_headers.m4: handle newer Linux kernels which
removed UTS_RELEASE from <linux/version.h>.

* minor new ports: i386-pc-linux-centos4.4 and
powerpc-apple-darwin8.7.0.

* config.guess.long: recognize CentOS Linux.

19 years ago* minor new port: i386-pc-solaris2.11-nexentaos (GNU/OpenSolaris).
Erez Zadok [Tue, 20 Jun 2006 19:03:56 +0000 (19:03 +0000)]
* minor new port: i386-pc-solaris2.11-nexentaos (GNU/OpenSolaris).

* config.guess.long: recognize NexentaOS (GNU/OpenSolaris)

* config.guess, config.sub: updates from latest official GNU
distributions.

19 years agostart next release version
Erez Zadok [Thu, 11 May 2006 17:51:37 +0000 (17:51 +0000)]
start next release version

19 years agonote on aix's malloc am-utils-6_2a2
Erez Zadok [Thu, 11 May 2006 17:29:41 +0000 (17:29 +0000)]
note on aix's malloc

19 years ago* Minor new ports: i386-unknown-freebsd6.1 (RELEASE),
Erez Zadok [Thu, 11 May 2006 17:28:15 +0000 (17:28 +0000)]
* Minor new ports: i386-unknown-freebsd6.1 (RELEASE),
powerpc-apple-darwin8.6.0, and i386-unknown-openbsd3.9.

* libamu/mount_fs.c (compute_nfs_attrcache_flags): fix signedness
problems on IRIX-6.5.

* conf/autofs/autofs_solaris_v1.c (xdr_umntrequest): fix
signedness problems on IRIX-6.5.

19 years ago* configure.in: check if libc already includes dbm functionality
Erez Zadok [Tue, 2 May 2006 03:12:45 +0000 (03:12 +0000)]
* configure.in: check if libc already includes dbm functionality
(as in FreeBSD 6), then don't bother to check specific libraries
such as libdbm, gdbm, etc.

19 years ago* configure.in: detect G/DBM support via gdbm_compat library
Erez Zadok [Fri, 21 Apr 2006 19:34:42 +0000 (19:34 +0000)]
* configure.in: detect G/DBM support via gdbm_compat library
(Debian 3.1).

* minor new port: powerpc-apple-darwin8.5.0

19 years ago* scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi,
Erez Zadok [Fri, 21 Apr 2006 01:11:50 +0000 (01:11 +0000)]
* scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi,
NEWS: document new nfs_allow_any_interface parameter.

* include/am_compat.h (INADDR_LOOPBACK): define INADDR_LOOPBACK if
not defined, since some systems don't have it.

* libamu/wire.c (is_interface_local): new boolena function to
determine if address represents any of the local interfaces.
(getwire): more properly check if address equals INADDR_LOOPBACK,
not if IFF_LOOPBACK is not (the latter isn't as correct).

* include/am_utils.h: extern for new is_interface_local() function.

* conf/transp/transp_{sockets,tli}.c: don't define INADDR_LOOPBACK
here but in am_compat.h

* amd/nfs_prot_svc.c (nfs_program_2): if
nfs_allow_any_interface=yes, then allow NFS packets from any local
interface (not just 127.0.0.1).

* amd/conf.c (gopt_nfs_allow_any_interface): implement the new
amd.conf parameter nfs_allow_any_interface.

* amd/amd.h (CFM_NFS_ANY_INTERFACE): define new global flag when
al interfaces are acceptable for local NFS packets.

19 years agominor refomatting (emacs)
Erez Zadok [Wed, 19 Apr 2006 01:58:16 +0000 (01:58 +0000)]
minor refomatting (emacs)

19 years agoMention netgrp/netgrpd changes.
Christos Zoulas [Tue, 18 Apr 2006 17:30:39 +0000 (17:30 +0000)]
Mention netgrp/netgrpd changes.

19 years agoMake netgrp and netgrpd take an optional ",host" argument instead of always
Christos Zoulas [Tue, 18 Apr 2006 17:27:57 +0000 (17:27 +0000)]
Make netgrp and netgrpd take an optional ",host" argument instead of always
defaulting to ${host} or ${hostd} respectively.

19 years agoDocument the new 2 argument netgrp and netgrpd.
Christos Zoulas [Tue, 18 Apr 2006 17:26:54 +0000 (17:26 +0000)]
Document the new 2 argument netgrp and netgrpd.

19 years ago* libamu/mtab.c (hasmntval): fix inverted meaning of error from
Erez Zadok [Sun, 16 Apr 2006 16:34:35 +0000 (16:34 +0000)]
* libamu/mtab.c (hasmntval): fix inverted meaning of error from
hasmntvalerr().

19 years agobetter fix
Erez Zadok [Fri, 14 Apr 2006 19:57:22 +0000 (19:57 +0000)]
better fix

19 years ago* libamu/mount_fs.c (compute_nfs_attrcache_flags): use new
Erez Zadok [Fri, 14 Apr 2006 19:51:43 +0000 (19:51 +0000)]
* libamu/mount_fs.c (compute_nfs_attrcache_flags): use new
hasmntvalerr() function to set attribute cache values only if they
were set (regardless whether they were set to zero or a non-zero
value).  Before, we were unable to distinguish between an error to
parse an option, and a user who actually wanted to set an
attribute-cache value to 0.  This now fixes an important
performance bug that Amd was turning off the attribute caches even
for regular (non-automounter) NFS mounts.

* libamu/mtab.c (hasmntvalerr): new function to set the value of
an option into an integer, but ONLY if that options was set and
parsed correctly.  This function returns 1 on error, 0 on success
(instead of always setting the option value to 0).
(hasmntval): wrapper function around hasmntvalerr, which maintains
backwards compatibility (always sets option value to 0, even on
error to parse the option).

* amd/nfs_subr.c (fh_to_mp3): use long int printf format for
fhh_pid.

19 years ago* amd/amfs_generic.c (amfs_lookup_mntfs): fix use-after-free bug
Erez Zadok [Wed, 5 Apr 2006 15:16:20 +0000 (15:16 +0000)]
* amd/amfs_generic.c (amfs_lookup_mntfs): fix use-after-free bug
(Coverity).

19 years agoFix use after free.
Christos Zoulas [Wed, 5 Apr 2006 15:07:39 +0000 (15:07 +0000)]
Fix use after free.

19 years ago* doc/am-utils.texi, scripts/{amd.conf.5,amd.conf-sample}:
Erez Zadok [Tue, 28 Mar 2006 16:19:30 +0000 (16:19 +0000)]
* doc/am-utils.texi, scripts/{amd.conf.5,amd.conf-sample}:
document new nfs_retransmit_counter_toplvl and
nfs_retry_interval_toplvl global amd.conf parameters.

* amd/conf.c (gopt_nfs_retransmit_counter_toplvl,
(gopt_nfs_retry_interval_toplvl): parse amd.conf
nfs_retransmit_counter_toplvl and nfs_retry_interval_toplvl global
parameters.

* amd/amfs_toplvl.c (amfs_toplvl_mount): support setting toplvl
timeo/retrans parameters for Amd's toplvl mounts, separately from
all other UDP or NFS mounts.

* amd/amd.h: define a new timeo/retrans parameter for toplvl
mounts.

19 years ago* minor new port: i386-pc-linux-suse10.1 (beta 8).
Erez Zadok [Thu, 23 Mar 2006 02:44:04 +0000 (02:44 +0000)]
* minor new port: i386-pc-linux-suse10.1 (beta 8).

19 years ago* amd/am_ops.c (merge_opts): Remove useless check found by
Erez Zadok [Wed, 22 Mar 2006 17:21:17 +0000 (17:21 +0000)]
* amd/am_ops.c (merge_opts): Remove useless check found by
Coverity; xmalloc never returns NULL.

19 years agoRemove useless check found by Coverity; xmalloc never returns NULL.
Christos Zoulas [Wed, 22 Mar 2006 04:12:51 +0000 (04:12 +0000)]
Remove useless check found by Coverity; xmalloc never returns NULL.

19 years ago* minor new ports: i386-pc-linux-fc5.
Erez Zadok [Tue, 21 Mar 2006 16:46:55 +0000 (16:46 +0000)]
* minor new ports: i386-pc-linux-fc5.

* amd/info_ldap.c: as of Linux Fedora Core 5 (which comes with
openldap-2.3.9), the ldap.h headers deprecate several functions
used in this file, such as ldap_unbind.  You get compile errors
about missing extern definitions.  Those externs are still in
<ldap.h>, but surrounded by an ifdef LDAP_DEPRECATED.  I am
turning on that ifdef at the top of info_ldap.c, under the
assumption that the functions may be deprecated, but they still
work for this (older?) version of the LDAP API.  It gets am-utils
to compile, but it is not clear if it will work perfectly.

* libamu/xdr_func.c (xdr_am_mountres3_ok), amq/amq_xdr.c
(xdr_amq_mount_tree, xdr_amq_mount_tree_p,
xdr_amq_mount_info_list, xdr_amq_mount_tree_list), amq/amq.c
(show_mti), amd/amq_subr.c (xdr_amq_setopt, xdr_amq_mount_subtree,
xdr_amq_mount_tree, xdr_amq_mount_tree_list, xdr_amq_mount_tree),
libamu/xdr_func.c (xdr_am_mountres3_ok): use casing magic to stop
GCC-4.1 from complaining about "dereferencing type-punned pointer
will break strict-aliasing rules" here (but not elsewhere).

19 years ago* libamu/wire.c: avoid potential dereferencing of a NULL pointer
Erez Zadok [Mon, 20 Mar 2006 16:59:30 +0000 (16:59 +0000)]
* libamu/wire.c: avoid potential dereferencing of a NULL pointer
(Coverity).

* hlfsd/homedir.c (delay): remove unnecessary check for NULL
pointer (Coverity).

* fsinfo/fsi_analyze.c (analyze_dkmounts, analyze_mounts,
analyze_mounts): avoid potential dereferencing of a NULL pointer
(Coverity).

* conf/transp/transp_sockets.c (create_amq_service): avoid
potential dereferencing of a NULL pointer (Coverity).

* amd/sched.c (sigchld): properly check for the end of the waiting
process list (Coverity).

* amd/mapc.c (mapc_create): initialize 'modify' to zero (Coverity).

* amd/autil.c (amfs_mkcacheref, am_unmounted): avoid potential
dereferencing of a NULL pointer (Coverity).

* amd/amfs_generic.c (amfs_lookup_mntfs): free def_opts before
reusing it (memory leak bug detected by Coverity).
(amfs_bgmount): avoid potential dereferencing of a NULL pointer
(Coverity).

* amd/am_ops.c (merge_opts): no need to check if newstr is NULL
(bug detected by Coverity).

19 years ago * amd/nfs_subr.c (mp_to_fh): fixed old-style filehandles--the pid
Ion Badulescu [Thu, 9 Mar 2006 03:11:21 +0000 (03:11 +0000)]
* amd/nfs_subr.c (mp_to_fh): fixed old-style filehandles--the pid
comparison was failing.

19 years ago* configure.in: properly test for either <gdbm/ndbm.h> or
Erez Zadok [Wed, 8 Mar 2006 22:16:45 +0000 (22:16 +0000)]
* configure.in: properly test for either <gdbm/ndbm.h> or
<gdbm-ndbm.h> (unfortunately, Autoconf will map both names to the
same $ac_cv_* variable name).  Some systems support one header or
another.  Patch inspired by work Debian did.

19 years ago* amd/sum_map_tok.l: Fixed a bug in a regular expression that
Daniel Ottavio [Fri, 17 Feb 2006 03:44:01 +0000 (03:44 +0000)]
* amd/sum_map_tok.l: Fixed a bug in a regular expression that
prevented dashes in hostnames.  This was posted in BZ by Thomas
A. Fine.

* README.sun2amd: Fixed a typo.  Sentence mentions use of autofs
type when it should be host type.

19 years ago* doc/am-utils.texi (auto_attrcache Parameter): revise discussion
Erez Zadok [Thu, 5 Jan 2006 00:39:32 +0000 (00:39 +0000)]
* doc/am-utils.texi (auto_attrcache Parameter): revise discussion
to mention pros and cons of turning on/off this parameter,
including impact on Amd's performance, and ways to improve
performance while minimizing the window of vulnerability in which
kernel may return the wrong (cached) attributes.

19 years ago* updated copyright year to 2006 on all files.
Erez Zadok [Mon, 2 Jan 2006 18:47:15 +0000 (18:47 +0000)]
* updated copyright year to 2006 on all files.

19 years agoi386-unknown-netbsdelf3.0 (RELEASE), and i386-unknown-openbsd3.8.
Erez Zadok [Tue, 27 Dec 2005 23:26:56 +0000 (23:26 +0000)]
i386-unknown-netbsdelf3.0 (RELEASE), and i386-unknown-openbsd3.8.

19 years ago* include/am_utils.h, conf/transp/transp_tli.c (amu_svc_register,
Erez Zadok [Tue, 20 Dec 2005 19:59:55 +0000 (19:59 +0000)]
* include/am_utils.h, conf/transp/transp_tli.c (amu_svc_register,
register_autofs_service): use a consistent prototype for the
dispatch function of the autofs service de/registration functions.

19 years agoignore
Erez Zadok [Tue, 20 Dec 2005 18:43:40 +0000 (18:43 +0000)]
ignore

19 years ago* minor new ports: i386-unknown-netbsdelf2.1,
Erez Zadok [Sat, 3 Dec 2005 20:36:43 +0000 (20:36 +0000)]
* minor new ports: i386-unknown-netbsdelf2.1,
i386-unknown-netbsdelf3.0 (RC5), and i386-unknown-openbsd3.8.

* m4/macros/check_field.m4: remove double inclusion of msdosfs
headers, which are included in mount_header1.h (netbsd 2.1 doesn't
protect <msdosfs/msdosfsmount.h> which causes compile errors).

19 years ago* minor new port: i386-unknown-freebsd6.0 (RELEASE)
Erez Zadok [Wed, 9 Nov 2005 10:10:17 +0000 (10:10 +0000)]
* minor new port: i386-unknown-freebsd6.0 (RELEASE)