more windows specific mods plus improved output of ipaddrs and port
numbers when debugging
(cherry picked from commit 638eef405b802fb1215efc9e828996a8c6381067)
clock_Init() was broken because it would initialize rxi_clock0
with QueryPerformanceCounter() and then call clock_UpdateTime().
So instead of getting an ever increasing value you would get a
fixed value determined by how long it takes to make a function call
between to QueryPerformanceCounter() calls.
(cherry picked from commit c582cab1fb1708109f2aa26aab8eba189198e729)
don't support functions we don't implement. the CIFS trans2 get info
ioctl is not equivalent to the AFS Get Volume Status function
(cherry picked from commit cea063c0d48bb81c6349298ecdf5dfcc0f39733b)
more updates, focused on issues found working at darwin, but actually generic issues
(cherry picked from commit c9a4d3363bc11722e017cac4ee83cbeb5d9583f7)
If the host obtained during the CallPremable and CallPostamble differ,
then there is the possibility of a hold leak. This patch is a quick
attempt to deal with the potential problem. If the problem occurs
we log it in order to know for sure if this is in fact a problem.
If it is, then at a later date we should perform a more extensive
re-write in which the CallPreamble is used to obtain the host and the
client and pass them both back to the caller which would not be
required to obtain them again at a later date.
(cherry picked from commit 84a24d096c1159aef3aeec4b27d154f47acdcab9)
In h_Enumerate_r it is possible that the host may be released by the
called procedure. Therefore, we must preserve the pointer to host->next
before the call and hold the host it points to in order to ensure that
it does not disappear out from under us. This ensures that although
the H_LOCK can be dropped during the procedure and the host list can
be rearranged we won't miss more than a handful of hosts during the
enumeration.
(cherry picked from commit 36a8e29045adfcf5d3c144b0ff0bc9d1398d11b0)
when h_GetHost_r replaces 'host' with 'oldHost' we need to release the
hold on 'host' and maintain the hold on 'oldHost' because if a hold
was placed on 'host' in CallPreamble() it will no longer be released
in CallPostamble() since 'oldHost' will now be bound to the client
(cherry picked from commit 31fd9994db1c58d5e851e5a0bd9d04a031557c8d)
Implement proper synopsis wrapping for HTML generation.
This was done in three pieces. First, add HTML-specific tags to the POD to
mark the synopsis for HTML purposes so that we can apply style information
to it. Second, update the style sheet to indent all lines except for the
first in the synopsis section. Third, add the appropriate S<> tags around
option and argument pairs so that we don't wrap between the option and its
argument.
Unfortunately, due to the <I<foo>> style that looks nicer for other reasons,
we have to use the very verbose S<<< >>>. Oh well.
(cherry picked from commit fc5acc01517260c661097cf84bddc359ca060bd3)
SRXAFS_CallBackRxConnAddr calls h_FindClient_r which returns a
client with a refCount and the client->host held. The call
to CallPostamble will release the host hold but not the client
refcount.
(cherry picked from commit 6f707d94064646762e7014d19840b5b2902b3a4e)
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.
(cherry picked from commit fed1cdb02241f6cffee9cdcb5d334f227fd011bb)
Make the mentions of subcommands in the fs command introduction links to
the relevant pages, and add to README a to-do note to do this for the rest
of the introductory pages.
Fix links to man pages that contain underscores by working around a bug
in Pod::Simple.
(cherry picked from commit 6321cca1a5bdda2c9e8d9688d220eff0edd850f9)
Do not allow HTBlocks to allocate more blocks than will fit in
hosttablesptrs. Doing so corrupts memory. Panic instead until
we can get this fixed right.
(cherry picked from commit 2c825a859033574b714c00d0e16ce06f126e1d6d)
Restore the previous code for AMD64 under Linux 2.6, as the generic
Linux 2.6 code apparently does not work with all AMD64 kernels.
(cherry picked from commit 79a7ddac4da960e3337b7792f8a44fc82514f81d)
FIXES 24765
avoid implicit references by including the prototypes from the header except on linux
====================
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 24765
avoid implicit references by including the prototypes from the header except on
linux
(cherry picked from commit c41253bda7340f19b5f16d009393bf32f30ad24c)
correct precedence of && and || in conditional to determine when
tkt_DecodeTicket5() should be called.
optimize order of ticket property evaluation to delay call to get_key()
which will require that a lock be obtained until after we know that
all of the other checks will succeed.
(cherry picked from commit a2530f03bacc9d9115782b49bda40fc01294a70d)
remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by
changing h_ID2Client to return the client with a refcount and then
release the refCount with PutClient.
when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure
to set the prlist_val to NULL if the prlist_len is being set to 0
since all of the tests are performed on prlist_val
(cherry picked from commit 4808977d7d0e49e5d260a26113fd97cb48d5f844)