3464 Commits

Author SHA1 Message Date
Jeffrey Altman
a8b82b1a74 viced-unspecified-host-hash-port-20060313
h_Alloc_r was not specifying the port for the newly allocated
host when adding the host to the hash table.  Use hashInsert_r
instead so mistakes like this won't happen in the future.
mp-rxtcp-20060314
2006-03-14 00:33:14 +00:00
Jim Rees
b89082ac89 cmd-protos-20060313
Fix protos for cmd funcs.
2006-03-13 23:15:44 +00:00
Chaskiel M Grundman
9afcb2529a viced-log-fix-typo-20060313
fix typo in addInterfaceAddr_r that is identical to the one that
was fixed by viced-log-fix-type-20060210 in removeInterfaceAddr_r
2006-03-13 20:53:14 +00:00
Jim Rees
b1883ef6ad no-clid-for-bsd-20060313
Back out rev 1.28 for BSD.
On BSD, clid is not necessarily a pid.
Passing it to HandleFlock results in client hangs.
2006-03-13 19:18:07 +00:00
Jim Rees
9d3faf6608 curproc-20060313
Possible fix for curproc panic reported by ober@linbsd.org.
My guess is it will fix this one but others are lurking.
2006-03-13 16:26:27 +00:00
Jeffrey Altman
7b33107a9c multiple-local-realms-fix-20060313
Fix use of "=" instead of "==" in conditional.

Re-order parameters of afs_is_foreign_ticket_name for consistency
2006-03-13 15:09:40 +00:00
Jeffrey Altman
9b1fa66828 host-tossstuff-locking-20060309
the nonblocking locking was my fault.
2006-03-09 21:49:04 +00:00
Rainer Toebbicke
cc324ae065 xstat-fs-callbacks-20060309
FIXES 27912

add new collection with callback stats
2006-03-09 16:25:48 +00:00
Jim Rees
d451a366fb openbsd39-20060309
Changes for OpenBSD 3.8 and 3.9.
Based on ports by ober@linbsd.org and todd@fries.net.
Untested.
2006-03-09 15:27:17 +00:00
Jim Rees
346d85adb0 fstab-moved-20060309
fstab.c moved from viced to util
2006-03-09 14:36:35 +00:00
Ed Moy
9f94892f8d darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard
2006-03-09 06:35:14 +00:00
Chas Williams
6e7d51187c linux-updates-20060309
FIXES 27590

add missing variable test

====================
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 27589

update for new mutexes
2006-03-09 06:05:46 +00:00
Russ Allbery
da878c2b9d man-page-bash-bashish-20060308
if ! command is a bashish.  Use if command ; then : ; else instead.
2006-03-08 20:05:59 +00:00
Jeffrey Altman
c2535c0ee7 rx-panic-printf-20060307
restore use of printf in osi_Panic
2006-03-08 05:04:36 +00:00
Jeffrey Altman
9dc84c8c6c windows-mkmount-20060306
allow case-insensitive matches for the parent of the mount point
2006-03-06 21:23:09 +00:00
Jeffrey Altman
d0c343249c windows-init-20060306
fix sysname string on amd64

add registry configurable CallBackPort to allow for forcing the
client to use different ports when talking with the file server.

====================
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.
====================

add registry configurable CallBackPort to allow for forcing the
client to use different ports when talking with the file server.

Add UAE errors to cm_Analyze debug output
2006-03-06 20:07:08 +00:00
Jeffrey Altman
9c687f10d0 windows-smb-log-packet-20060305
packet strings can contain %; do not parse as a format
2006-03-06 05:01:22 +00:00
Jeffrey Altman
638eef405b windows-xstat-20060304
====================
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.
====================

build xstat utils for windows

====================

more windows specific mods plus improved output of ipaddrs and port
numbers when debugging
2006-03-06 03:11:31 +00:00
Jeffrey Altman
c582cab1fb windows-rx-lwp-clock-20060305
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.
2006-03-06 03:04:38 +00:00
Jeffrey Altman
f803153c99 viced-host-type-consistency-20060305
make sure all the types for host and port are consistent
2006-03-05 22:31:11 +00:00
Jeffrey Altman
cea063c0d4 windows-no-smb-ioctl-info-20060305
don't support functions we don't implement.  the CIFS trans2 get info
ioctl is not equivalent to the AFS Get Volume Status function
2006-03-05 20:53:28 +00:00
Jeffrey Altman
3e70b7f365 viced-unsign-haddr-hport-20060304
haddr and hport should be unsigned
2006-03-05 05:36:40 +00:00
Jeffrey Altman
127ea5ae7d xstats-getcapabiliites-20060304
add the GetCapabilities RPC to the ops table
2006-03-04 22:02:57 +00:00
Jeffrey Altman
943dfd7a1e windows-deadcode-20060304 2006-03-04 21:39:25 +00:00
Jim Rees
3adadbb228 const-args-20060303
add const qualifiers to pr_Initialize and vl_Initialize args
2006-03-03 20:27:23 +00:00
Jeffrey Altman
8a0016cabd viced-fix-tcallhost-20060303
fix type and declaration location
2006-03-03 19:26:21 +00:00
Jeffrey Altman
58b4069926 viced-remove-premature-commit-20060303
remove premature LockUpgrade/LockDowngrade commit
2006-03-03 18:26:45 +00:00
Jim Rees
f251b03175 sysincludes-first-20060302
afs/sysincludes before other sys includes, please.
2006-03-02 22:42:56 +00:00
Jim Rees
9da217cee8 probe-interval-20060302
Make probe_all interval tuneable, although there is no easy way to set it yet.
2006-03-02 22:34:27 +00:00
Chaskiel M Grundman
c9a4d3363b callback-get-refs-20060302
more updates, focused on issues found working at darwin, but actually generic issues
2006-03-02 06:42:47 +00:00
Chaskiel M Grundman
d1156ad4f9 refridgerator-update-20060227
try to make refrigerator work again
2006-03-02 06:39:45 +00:00
Chaskiel M Grundman
c472a9c916 darwin-access-exec-only-20060302
FIXES 27553

don't misenforce mode bits
2006-03-02 06:35:59 +00:00
Chaskiel M Grundman
8bfa2cdc6e darwin-remove-fix-20060302
move the if inside the condition so we aren't screwed up on tiger
2006-03-02 06:33:44 +00:00
Tracy Di Marco White
1cc6cddd85 nbsd-30-pthreads-20060302
update for netbsd 3.0
2006-03-02 06:31:30 +00:00
Jeffrey Altman
c2ef97ea65 viced-fix-comment-20060301
fix comment in h_GetHost_r
2006-03-02 06:22:15 +00:00
Chaskiel M Grundman
10f8d509df remunlink-needs-iocount-20060302
FIXES 27493

keep needed iocount for remunlink on darwin 8.0
2006-03-02 06:21:42 +00:00
Jeffrey Hutzelman
84a24d096c viced-preamble-postamble-20060301
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.
2006-03-02 06:16:59 +00:00
Jeffrey Altman
36a8e29045 viced-h_Enumerate_r-fix-20060301
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.
2006-03-01 19:12:05 +00:00
Jeffrey Altman
31fd9994db viced-h_gethost_r-host-hold-leak-20060228
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
2006-03-01 06:42:46 +00:00
Jeffrey Altman
6f707d9406 viced-client-refcount-leak-20060228
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.
2006-03-01 05:04:00 +00:00
Russ Allbery
fc5acc0151 pretty-html-synopsis-20060228
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.
2006-03-01 05:02:29 +00:00
Jeffrey Altman
2bd46f8a39 viced-host-hold-leak-20060228
fix a host hold leak although this one rarely occurs.
2006-03-01 04:08:57 +00:00
Russ Allbery
fed1cdb022 html-style-todo-20060228
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.
2006-03-01 00:12:52 +00:00
Russ Allbery
6321cca1a5 html-link-fixes-20060228
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.
2006-02-28 23:43:03 +00:00
Jeffrey Altman
2c825a8590 viced-panic-if-maxhosttables-exceeded-20060228
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.
2006-02-28 23:24:23 +00:00
Todd M. Lewis
1705109815 up-m-docs-20060228
Document the -m flag to up.
2006-02-28 23:09:08 +00:00
Russ Allbery
79a7ddac4d amd64-linux26-fix-20060228
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.
2006-02-28 21:17:27 +00:00
Chas Williams
c41253bda7 systm-h-header-inclusion-20060227
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
2006-02-28 00:17:52 +00:00
Chas Williams
9243beff2b pod-updates-20060227
FIXES 26463

update pod files to deal with some section number changes
2006-02-27 20:46:25 +00:00
Chaskiel M Grundman
ff1d11169b tiger-updates-20060220
update lpioctl, setattr and free tuios
2006-02-27 20:36:24 +00:00