openafs/src/shlibafsauthent
Chaskiel M Grundman d8e6630fff libafsrpc-assertion-failed-20041202
FIXES 16432

need AssertionFailed in libafsrpc. ndon't need casestrcpy in libafsauthent
VS: ----------------------------------------------------------------------

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 16432

need AssertionFailed in libafsrpc. ndon't need casestrcpy in libafsauthent
2004-12-01 22:40:47 +00:00
..
.cvsignore cvsignore-updates-20030619 2003-06-19 17:28:58 +00:00
afsauthent.def
afsauthent.exp
afsauthent.rc windows-file-versioning-20030619 2003-06-19 20:00:31 +00:00
Makefile.in libafsrpc-assertion-failed-20041202 2004-12-01 22:40:47 +00:00
mapfile libafsauthent-mapfile-update-20040823 2004-08-23 17:15:36 +00:00
NTMakefile patch-from-shadow-to-jaltman-bkbox-20031120 2003-11-21 07:59:35 +00:00
README

Copyright 2000, International Business Machines Corporation and others.
All Rights Reserved.

This software has been released under the terms of the IBM Public
License.  For details, see the LICENSE file in the top-level source
directory or online at http://www.openafs.org/dl/license10.html

This library is to be used by multithreaded programs that need to access
the kauth and auth library interfaces.  The primary method used to obtain
thread safety in these libraries is to lock/unlock a recursive global
mutex at the entry point of every public function in the library.

However, not all public functions are made thread safe since not all 
functions are needed by the NT admin work.  In particular, there are
many public functions that make up decendants of the functions
we wish to use that weren't modified, since these functions will be 
protected by the locking at a higher level function.

To prevent people from using non-thread safe functions, platform 
specific methods are used to limit the functions exported by the 
library (using def files under NT and mapfiles under Solaris).  For 
most non-exported functions, it should be trivial to make the 
transformation to thread safe by simply locking/ unlocking the 
global mutex at the beginning/end of the function.