summaryrefslogtreecommitdiff
path: root/src/mt_misc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2015-06-11 17:55:21 -0400
committerSteve Dickson <steved@redhat.com>2015-06-16 11:34:39 -0400
commitd6bdad36e8438d55f9470ece516ffc00a6276bff (patch)
tree360ba2a2c1d899a5aab053c590dfbf31a54fb0f2 /src/mt_misc.c
parentd55cc313b8fefffb87ec1c9b5aab424fe8aca712 (diff)
downloadti-rpc-d6bdad36e8438d55f9470ece516ffc00a6276bff.tar.gz
Remove vestiges of AUTH_KERB
AUTH_KERB is described only briefly in the ONC+ Developer's Guide. However, xdr_authkerb_cred(), for example, is declared in Linux's tirpc/rpc/auth.h, but does not appear in Solaris 11's RPC headers. It is not provided by glibc, so there isn't any backward compatibility requirement. The libtirpc implementation of AUTH_KERB here on Linux and in FreeBSD seems to be incomplete and inoperative. Seems like the scattered pieces of it can be removed safely. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'src/mt_misc.c')
-rw-r--r--src/mt_misc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mt_misc.c b/src/mt_misc.c
index f2c7660..575a333 100644
--- a/src/mt_misc.c
+++ b/src/mt_misc.c
@@ -24,13 +24,6 @@ pthread_mutex_t authdes_ops_lock = PTHREAD_MUTEX_INITIALIZER;
/* protects des stats list */
pthread_mutex_t svcauthdesstats_lock = PTHREAD_MUTEX_INITIALIZER;
-#ifdef KERBEROS
-/* auth_kerb.c serialization */
-pthread_mutex_t authkerb_lock = PTHREAD_MUTEX_INITIALIZER;
-/* protects kerb stats list */
-pthread_mutex_t svcauthkerbstats_lock = PTHREAD_MUTEX_INITIALIZER;
-#endif /* KERBEROS */
-
/* auth_none.c serialization */
pthread_mutex_t authnone_lock = PTHREAD_MUTEX_INITIALIZER;