diff options
author | Steve Dickson <steved@redhat.com> | 2010-03-08 10:24:44 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-03-08 11:10:15 -0500 |
commit | 84346b7d7e69c113d6dbf03f2646a47b0e74a6b8 (patch) | |
tree | 9a9eac5cb27255449e4ee1a8a03b78313b4630f6 /support | |
parent | 409b89cc7106154780400c6b2bdce46bc9d5db4b (diff) | |
download | nfs-utils-84346b7d7e69c113d6dbf03f2646a47b0e74a6b8.tar.gz nfs-utils-84346b7d7e69c113d6dbf03f2646a47b0e74a6b8.tar.xz nfs-utils-84346b7d7e69c113d6dbf03f2646a47b0e74a6b8.zip |
Use authunix_create() instead of authsys_create() to fix regression.
Commit 409b8 introduced a regression when the --disable-tirpc
configuration flag is set. The authsys_create() interface, which
was introduced, does not exist in the legacy glibc library.
Since the authsys_create() interface is a redefined of the
authunix_create() interface, which is defined in glibc, using
authunix_create() resolves the regression,
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/nfs/rpc_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/rpc_socket.c b/support/nfs/rpc_socket.c index aa6a205..c14efe8 100644 --- a/support/nfs/rpc_socket.c +++ b/support/nfs/rpc_socket.c @@ -576,5 +576,5 @@ nfs_authsys_create(void) if (gethostname(machname, sizeof(machname)) == -1) return NULL; - return authsys_create(machname, uid, gid, 1, &gid); + return authunix_create(machname, uid, gid, 1, &gid); } |