FIXES 20396
use the generic read/write functions, but set the superblock up correctly.
====================
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 20396
make work with old 2.4
(cherry picked from commit eff25c1899fd0a96199764ff26ef1084228f48cd)
Add debug logging to SMB and CM Locking code
Optimize cm_Analyze by only performing a cm_CheckServers on the current
cell instead of all cells
Add code to detect loops to the cm_scache_t validation routines.
(cherry picked from commit ab22c7a587126c100d3c4fe40465f5ba3ebc25f4)
FIXES 20198
I have built openafs 1.3.85 on an emt64 platform on RedHat Enterprise 4,
and found that the aklog supplied with 1.3.85 (not the one in the afs-krb5
conversion kit) consistently segfaults when aklog is called with the
"-path ...." parm. It works properly when called with no parms.
I traced this down to the call to the readlink() call in aklog_main.c,
when the params structure references were removed the nesting was
changed on an if statement that changed the logic and allowed the
do while loop to loop past the end and de-reference a NULL pointer.
(cherry picked from commit ef934e388cdc09e9afe7234aedad318618207104)
i guess someone was dumb at some point and failed to completely remove bogus options
(cherry picked from commit 0c678579113a84be09c8f734352f8a681751ba8e)
FIXES 20092
Fix various minor problems with aklog, including the return type from main,
removal of #ifndef __STDC__ code, missing includes, removal of unused
variables, correct number of arguments to pr_Initialize, correct argument
type for pr_SNameToId, and use of getcwd instead of getwd.
(cherry picked from commit 7498def5fb32c043bb4800bb79d9d3684031b46d)
add TellMeAboutYourself functionality and report on capabilities if they
are known. Used instead of WhoAreYou when supported by the cache manager.
(cherry picked from commit 3f3fdba33058521bc3f68edf56ef56910d32f0c8)
FIXES 20007
Update AFS Control Panel to display the default cache location based upon
the SYSTEM %TEMP% environment variable.
(cherry picked from commit 1c3d89463e55844de7b22ca80f72ed7fabda66e7)
Discovered a deadlock due to a violation of lock order. We may not
attempt to obtain a lock on a cm_scache_t mutex while holding the
cm_aclLock.
(cherry picked from commit f21fa57453f4c94690c56cf4933b4eed82d99edc)
FIXES 18738
don't try to build smp modules with uniprocessor kernel. this may need to be revisited for the redhat buildsys
(cherry picked from commit 8502de9a4b4ad3cc106f497ae0c5442e21197262)
i slipped a rollback on the linux 2.4 dentry stuff for osi_UFS* in here
at the same time. this patch lets us use kernel inodes instead of our own pool.
(cherry picked from commit 652f3bd9cb7a5d7833a760ba50ef7c2c67214bba)
The previous patch to pr_Initialize() opened an opportunity for
afsconf_Check() to be called with a NULL pointer if tdir == 0.
Prevent this occurrance.
====================
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.
====================
fixed one null pointer reference but not the other.
====================
commit the rest of jeff's fix
(cherry picked from commit 46ff986a42e3cce761ad5830e9e2792d67d5a156)
FIXES 19862
Use krb5_creds rather than struct krb5_creds, add missing test in if
statements for krb5_creds structure probes, and tweak the configure output.
(cherry picked from commit 06e66a65c5aaff6d3095fd989ef013df0acc4477)