Christos Zoulas [Thu, 6 Oct 2011 14:58:00 +0000 (10:58 -0400)]
Add nfsv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:57:32 +0000 (10:57 -0400)]
NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:56:01 +0000 (10:56 -0400)]
adding _GNU_SOURCE in one place is good enough (configure does it)
Christos Zoulas [Thu, 6 Oct 2011 14:55:36 +0000 (10:55 -0400)]
fix typo
Christos Zoulas [Thu, 6 Oct 2011 14:54:10 +0000 (10:54 -0400)]
- add and use xstrdup()
- cleanup error handling in release controlling tty.
Christos Zoulas [Thu, 6 Oct 2011 14:52:40 +0000 (10:52 -0400)]
strdup -> xstrdup
don't dereference NULL if string does not have /
Christos Zoulas [Thu, 6 Oct 2011 14:51:50 +0000 (10:51 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:51:32 +0000 (10:51 -0400)]
add NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:50:31 +0000 (10:50 -0400)]
cleanup strdup
Christos Zoulas [Thu, 6 Oct 2011 14:49:33 +0000 (10:49 -0400)]
NFSv4 support
cleanup strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:48:32 +0000 (10:48 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:47:57 +0000 (10:47 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:47:39 +0000 (10:47 -0400)]
strdup -> xstrdup
FALLTHROUGH comments
Christos Zoulas [Thu, 6 Oct 2011 14:46:11 +0000 (10:46 -0400)]
NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:45:06 +0000 (10:45 -0400)]
strdup -> xstrdup
don't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:44:27 +0000 (10:44 -0400)]
fix retry logic to include NFSv4
Christos Zoulas [Thu, 6 Oct 2011 14:44:02 +0000 (10:44 -0400)]
add NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:42:51 +0000 (10:42 -0400)]
strdup -> xstrdup
fix error handling
improve error messages
don't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:41:44 +0000 (10:41 -0400)]
add NFSv4 support
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:40:56 +0000 (10:40 -0400)]
Add fallthrough comment
Christos Zoulas [Thu, 6 Oct 2011 14:40:42 +0000 (10:40 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:40:14 +0000 (10:40 -0400)]
don't set variable we don't use
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:38:27 +0000 (10:38 -0400)]
add support for NFSv4
don't check for NULL before XFREE
strdup -> xstrdup
return early if going_down returns
check for mf_fo since the caller does too
ALLOC + memset == CALLOC
Christos Zoulas [Thu, 6 Oct 2011 14:38:15 +0000 (10:38 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:38:01 +0000 (10:38 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:37:27 +0000 (10:37 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Don't complain about empty selector; we can use it to unset.
Christos Zoulas [Thu, 6 Oct 2011 14:37:16 +0000 (10:37 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:37:02 +0000 (10:37 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:36:33 +0000 (10:36 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:36:24 +0000 (10:36 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:35:45 +0000 (10:35 -0400)]
Add support for NFSv4 with fallback to NFSv3 if the path is not found.
Fallback can be disabled if NO_FALLBACK is defined.
Christos Zoulas [Thu, 6 Oct 2011 14:34:50 +0000 (10:34 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:39 +0000 (10:34 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:30 +0000 (10:34 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:34:17 +0000 (10:34 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:33:58 +0000 (10:33 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:33:31 +0000 (10:33 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:32:56 +0000 (10:32 -0400)]
strdup -> xstrdup
don't check for NULL before XFREE
don't set variable we don't use
Christos Zoulas [Thu, 6 Oct 2011 14:32:24 +0000 (10:32 -0400)]
strdup -> xstrdup
tidy up snprintf wrong length
Christos Zoulas [Thu, 6 Oct 2011 14:32:07 +0000 (10:32 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:31:43 +0000 (10:31 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:31:23 +0000 (10:31 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:31:04 +0000 (10:31 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:30:54 +0000 (10:30 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:30:42 +0000 (10:30 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:30:18 +0000 (10:30 -0400)]
strdup -> xstrdup
NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:29:23 +0000 (10:29 -0400)]
caller checks for am_al, we do too.
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:28:42 +0000 (10:28 -0400)]
fix error paths to free memory properly
don't check for NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:28:21 +0000 (10:28 -0400)]
don't set variable we don't use.
Christos Zoulas [Thu, 6 Oct 2011 14:27:44 +0000 (10:27 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:27:16 +0000 (10:27 -0400)]
don't check for NULL before XFREE
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:26:41 +0000 (10:26 -0400)]
caller checks for mf_fo, we do too.
Christos Zoulas [Thu, 6 Oct 2011 14:26:01 +0000 (10:26 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:25:38 +0000 (10:25 -0400)]
don't check for NULL before XFREE
add NFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:25:07 +0000 (10:25 -0400)]
strdup -> xstrdup
don't check NULL before XFREE
Christos Zoulas [Thu, 6 Oct 2011 14:24:47 +0000 (10:24 -0400)]
strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:24:02 +0000 (10:24 -0400)]
- caller checks am_parent, so we check it too.
- strdup -> xstrdup
Christos Zoulas [Thu, 6 Oct 2011 14:23:31 +0000 (10:23 -0400)]
going_down can return; so return early if it does.
Christos Zoulas [Thu, 6 Oct 2011 14:22:49 +0000 (10:22 -0400)]
- strdup -> xstrdup
- don't check for NULL before xfree
Christos Zoulas [Thu, 15 Sep 2011 21:21:18 +0000 (17:21 -0400)]
amq -i doc
Christos Zoulas [Thu, 15 Sep 2011 21:19:22 +0000 (17:19 -0400)]
- add amq -i that prints information about the current state of the maps
- simplify reload logic by adding a function that just clears the hash
instead of copying tables around
- add the number of entries of the map to the map structure
Christos Zoulas [Thu, 15 Sep 2011 21:18:45 +0000 (17:18 -0400)]
Log when we call yp_all.
Christos Zoulas [Thu, 15 Sep 2011 16:35:15 +0000 (12:35 -0400)]
proper error message, and initialization
Christos Zoulas [Thu, 15 Sep 2011 16:31:27 +0000 (12:31 -0400)]
fix comment.
Christos Zoulas [Wed, 14 Sep 2011 17:53:59 +0000 (13:53 -0400)]
Mention today's changes
Christos Zoulas [Wed, 14 Sep 2011 17:50:03 +0000 (13:50 -0400)]
Fixes for solaris headers that need <sys/types.h> and <sys/socket.h> first
Christos Zoulas [Wed, 14 Sep 2011 17:41:41 +0000 (13:41 -0400)]
don't cast NULL
Christos Zoulas [Wed, 14 Sep 2011 17:40:07 +0000 (13:40 -0400)]
remove (void)&p;
Christos Zoulas [Wed, 14 Sep 2011 17:39:30 +0000 (13:39 -0400)]
use inline instead of __inline
Christos Zoulas [Thu, 11 Aug 2011 18:55:08 +0000 (14:55 -0400)]
today's changes
Christos Zoulas [Thu, 11 Aug 2011 18:53:17 +0000 (14:53 -0400)]
split %options since older versions of flex don't understand the , syntax.
Christos Zoulas [Thu, 11 Aug 2011 18:51:41 +0000 (14:51 -0400)]
Fix 2 potential buffer overflows, that cannot really happen since we
control the input formats. From: Richard Kettlewell rjk at terraraq dot org
dot uk:
1. Order check in loop so that we don't set before we check
2. since we advance the pointer in strlcpy, we need to reduce the size.
Christos Zoulas [Tue, 21 Jun 2011 14:37:21 +0000 (10:37 -0400)]
mention linux-autofs-5 support
Christos Zoulas [Tue, 21 Jun 2011 14:36:33 +0000 (10:36 -0400)]
Make this compile and mention it is experimental for now.
Christos Zoulas [Sat, 18 Jun 2011 21:03:36 +0000 (17:03 -0400)]
Implement linux autofs version 5 protocol (not compile tested)
Christos Zoulas [Sat, 18 Jun 2011 18:51:05 +0000 (14:51 -0400)]
Today's changes
Christos Zoulas [Sat, 18 Jun 2011 18:49:30 +0000 (14:49 -0400)]
Roll back to a previous working version of libtool. The new one broke
more than one system.
Christos Zoulas [Sat, 18 Jun 2011 18:49:08 +0000 (14:49 -0400)]
newer versions from autoreconf
Christos Zoulas [Sat, 18 Jun 2011 18:48:30 +0000 (14:48 -0400)]
- use $() instead of ``
- don't quote empty arguments, causes warnings from configure.
Christos Zoulas [Sat, 18 Jun 2011 18:47:35 +0000 (14:47 -0400)]
Change the macro directory to m4/macros as it is supposed to be.
Christos Zoulas [Thu, 26 May 2011 21:05:04 +0000 (17:05 -0400)]
Replace with newer versions.
Christos Zoulas [Thu, 26 May 2011 21:04:08 +0000 (17:04 -0400)]
Make libtool macros go to the m4 subdirectory as directed by the new style.
Christos Zoulas [Thu, 26 May 2011 21:02:53 +0000 (17:02 -0400)]
Remove ``# serial 57 LT_INIT''. Newer autoconf does not like it because it
is not the first macro in the file.
Christos Zoulas [Sun, 22 May 2011 02:36:52 +0000 (22:36 -0400)]
Put back the sys/socket.h header and remove __KERNEL__. It was probably
needed for some ancient version of linux that nobody uses anymore. If
someone complains, I promise to fix it.
Erez Zadok [Sun, 22 May 2011 00:14:54 +0000 (20:14 -0400)]
am-utils: update copyrights for 2011
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Erez Zadok [Sun, 22 May 2011 00:07:17 +0000 (20:07 -0400)]
Fix compile errors on Linux, CentOS 5.5 (can't find linux/nfs_mount.h)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Erez Zadok [Sun, 22 May 2011 00:02:54 +0000 (20:02 -0400)]
Double quote square brackets in M4 macros.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Erez Zadok [Sun, 22 May 2011 00:25:41 +0000 (20:25 -0400)]
Update autotools to aut autoconf 2.68, automake 1.10.3, and libtool 2.4.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Christos Zoulas [Fri, 20 May 2011 02:32:36 +0000 (22:32 -0400)]
Fixes for Fedora Core 15 and RHEL 6
Erez Zadok [Wed, 24 Nov 2010 19:11:04 +0000 (14:11 -0500)]
Amd map.c: don't ignore return value from write(2)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Erez Zadok [Wed, 24 Nov 2010 19:01:40 +0000 (14:01 -0500)]
Assorted yacc/lex compile errors for fsinfo/amd
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Erez Zadok [Wed, 24 Nov 2010 17:39:01 +0000 (12:39 -0500)]
On Linux, cast "res" arg in clnt_call to proper type.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Erez Zadok [Wed, 24 Nov 2010 17:16:25 +0000 (12:16 -0500)]
On Linux, define _GNU_SOURCE to enable O_LARGEFILE definitions
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Christos Zoulas [Wed, 24 Nov 2010 16:43:57 +0000 (11:43 -0500)]
Don't use $^. The whole world is not gmake.
Christos Zoulas [Sat, 20 Nov 2010 23:04:38 +0000 (18:04 -0500)]
move rpc/auth* to the list of headers that need others
Christos Zoulas [Sat, 20 Nov 2010 22:35:16 +0000 (17:35 -0500)]
Add new ops_udf.c
Christos Zoulas [Sat, 20 Nov 2010 19:08:15 +0000 (14:08 -0500)]
- repository allows only annotated tags
- build target is gone; use distcheck instead
Christos Zoulas [Sat, 20 Nov 2010 18:47:23 +0000 (13:47 -0500)]
update for rc1
Christos Zoulas [Sat, 20 Nov 2010 17:48:32 +0000 (12:48 -0500)]
mention addopts fix
Christos Zoulas [Sat, 20 Nov 2010 17:44:18 +0000 (12:44 -0500)]
Don't use haseq() to get the keyword to feed to hasmntopt(3), because
haseq() will return the position after the "=" and while the internal
hasmntopt() that amd provides works with the extra equal, the regular
os ones, don't work. To do:
- remove haseq(); it is not used anywhere now.
- fix our hasmntopt() code to not accept "key="