Chas Williams [Thu, 9 Mar 2006 06:05:46 +0000]
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
Russ Allbery [Wed, 8 Mar 2006 20:05:59 +0000]
man-page-bash-bashish-
20060308
if ! command is a bashish. Use if command ; then : ; else instead.
Jeffrey Altman [Wed, 8 Mar 2006 05:04:36 +0000]
rx-panic-printf-
20060307
restore use of printf in osi_Panic
Jeffrey Altman [Mon, 6 Mar 2006 21:23:09 +0000]
windows-mkmount-
20060306
allow case-insensitive matches for the parent of the mount point
Jeffrey Altman [Mon, 6 Mar 2006 20:07:08 +0000]
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
Jeffrey Altman [Mon, 6 Mar 2006 05:01:22 +0000]
windows-smb-log-packet-
20060305
packet strings can contain %; do not parse as a format
Jeffrey Altman [Mon, 6 Mar 2006 03:11:31 +0000]
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
Jeffrey Altman [Mon, 6 Mar 2006 03:04:38 +0000]
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.
Jeffrey Altman [Sun, 5 Mar 2006 22:31:11 +0000]
viced-host-type-consistency-
20060305
make sure all the types for host and port are consistent
Jeffrey Altman [Sun, 5 Mar 2006 20:53:28 +0000]
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
Jeffrey Altman [Sun, 5 Mar 2006 05:36:40 +0000]
viced-unsign-haddr-hport-
20060304
haddr and hport should be unsigned
Jeffrey Altman [Sat, 4 Mar 2006 22:02:57 +0000]
xstats-getcapabiliites-
20060304
add the GetCapabilities RPC to the ops table
Jeffrey Altman [Sat, 4 Mar 2006 21:39:25 +0000]
windows-deadcode-
20060304
Jim Rees [Fri, 3 Mar 2006 20:27:23 +0000]
const-args-
20060303
add const qualifiers to pr_Initialize and vl_Initialize args
Jeffrey Altman [Fri, 3 Mar 2006 19:26:21 +0000]
viced-fix-tcallhost-
20060303
fix type and declaration location
Jeffrey Altman [Fri, 3 Mar 2006 18:26:45 +0000]
viced-remove-premature-commit-
20060303
remove premature LockUpgrade/LockDowngrade commit
Jim Rees [Thu, 2 Mar 2006 22:42:56 +0000]
sysincludes-first-
20060302
afs/sysincludes before other sys includes, please.
Jim Rees [Thu, 2 Mar 2006 22:34:27 +0000]
probe-interval-
20060302
Make probe_all interval tuneable, although there is no easy way to set it yet.
Chaskiel M Grundman [Thu, 2 Mar 2006 06:42:47 +0000]
callback-get-refs-
20060302
more updates, focused on issues found working at darwin, but actually generic issues
Chaskiel M Grundman [Thu, 2 Mar 2006 06:39:45 +0000]
refridgerator-update-
20060227
try to make refrigerator work again
Chaskiel M Grundman [Thu, 2 Mar 2006 06:35:59 +0000]
darwin-access-exec-only-
20060302
FIXES 27553
don't misenforce mode bits
Chaskiel M Grundman [Thu, 2 Mar 2006 06:33:44 +0000]
darwin-remove-fix-
20060302
move the if inside the condition so we aren't screwed up on tiger
Tracy Di Marco White [Thu, 2 Mar 2006 06:31:30 +0000]
nbsd-30-pthreads-
20060302
update for netbsd 3.0
Jeffrey Altman [Thu, 2 Mar 2006 06:22:15 +0000]
viced-fix-comment-
20060301
fix comment in h_GetHost_r
Chaskiel M Grundman [Thu, 2 Mar 2006 06:21:42 +0000]
remunlink-needs-iocount-
20060302
FIXES 27493
keep needed iocount for remunlink on darwin 8.0
Jeffrey Hutzelman [Thu, 2 Mar 2006 06:16:59 +0000]
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.
Jeffrey Altman [Wed, 1 Mar 2006 19:12:05 +0000]
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.
Jeffrey Altman [Wed, 1 Mar 2006 06:42:46 +0000]
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
Jeffrey Altman [Wed, 1 Mar 2006 05:04:00 +0000]
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.
Russ Allbery [Wed, 1 Mar 2006 05:02:29 +0000]
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.
Jeffrey Altman [Wed, 1 Mar 2006 04:08:57 +0000]
viced-host-hold-leak-
20060228
fix a host hold leak although this one rarely occurs.
Russ Allbery [Wed, 1 Mar 2006 00:12:52 +0000]
html-style-todo-
20060228
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.
Russ Allbery [Tue, 28 Feb 2006 23:43:03 +0000]
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.
Jeffrey Altman [Tue, 28 Feb 2006 23:24:23 +0000]
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.
Todd M. Lewis [Tue, 28 Feb 2006 23:09:08 +0000]
up-m-docs-
20060228
Document the -m flag to up.
Russ Allbery [Tue, 28 Feb 2006 21:17:27 +0000]
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.
Chas Williams [Tue, 28 Feb 2006 00:17:52 +0000]
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
Chas Williams [Mon, 27 Feb 2006 20:46:25 +0000]
pod-updates-
20060227
FIXES 26463
update pod files to deal with some section number changes
Chaskiel M Grundman [Mon, 27 Feb 2006 20:36:24 +0000]
tiger-updates-
20060220
update lpioctl, setattr and free tuios
Chaskiel M Grundman [Mon, 27 Feb 2006 20:34:10 +0000]
darwin-bsd-flock-
20060227
FIXES 25544
deal with posix flag in flock request on darwin
Derrick Brashear [Mon, 27 Feb 2006 20:17:21 +0000]
shut-up-fucking-whiner-
20060227
without further comment
Jim Rees [Mon, 27 Feb 2006 18:31:18 +0000]
indent-style-note-
20060227
Document our official indent style.
Jeffrey Hutzelman [Sat, 25 Feb 2006 06:44:18 +0000]
rmtsys-up-limits-
20060225
FIXES 27095
raise limits of constants in rmtsys
Hartmut Reuter [Sat, 25 Feb 2006 06:39:20 +0000]
vnop-remove-revised-lock-order-
20060225
FIXES 27176
drop the tdc lock even rearlier
Jeffrey Altman [Fri, 24 Feb 2006 07:48:21 +0000]
windows-ioctl-
20060224
FIXES 27225
properly compute the length of the ioctl output buffer for each data
segment
Jeffrey Altman [Fri, 24 Feb 2006 07:45:35 +0000]
windows-freelance-default-
20060224
change freelance default to on. this matches what the installers do.
Jim Rees [Thu, 23 Feb 2006 15:52:23 +0000]
aclprocs-protos-
20060223
Prototypes for aclprocs.
Also some other prototypes for viced.
Derrick Brashear [Thu, 23 Feb 2006 12:32:25 +0000]
softsig-thread-hack-not-on-nbsd30-
20060223
based on comment from gendalia@iastate.edu
Jim Rees [Wed, 22 Feb 2006 20:29:01 +0000]
viced-cleanup-
20060222
Prototypes, dead code removal, and other minor cleanups
Jeffrey Altman [Wed, 22 Feb 2006 05:07:48 +0000]
rxkad-krb5-improvements-
20060222
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.
Jeffrey Altman [Wed, 22 Feb 2006 05:01:31 +0000]
viced-log-get-key-failure-
20060221
log afsconf_GetKey() failure
Jeffrey Altman [Wed, 22 Feb 2006 04:07:34 +0000]
server-rxmaxmtu-option-
20060221
add -rxmaxmtu <bytes> to allow setting the max send and receive RX MTU size
Jim Rees [Tue, 21 Feb 2006 21:07:57 +0000]
fbsd61-
20060221
Param file for FreeBSD 6.1. Builds, untested.
Derrick Brashear [Mon, 20 Feb 2006 21:49:17 +0000]
cache-autotune-
20060220
put in defaults so an old afsd will still start ok.
Jeffrey Altman [Mon, 20 Feb 2006 15:26:21 +0000]
viced-client-cps-race-fix-
20060220
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
Jeffrey Altman [Sat, 18 Feb 2006 06:01:27 +0000]
rx-dpf-
20060217
typo
====================
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.
====================
conditionalize rx_intentionallyDroppedOnReadPer100
Derrick Brashear [Sat, 18 Feb 2006 04:58:28 +0000]
flushrec-prototype-
20060217
add a prototype to shut up gcc4
Chaskiel M Grundman [Sat, 18 Feb 2006 04:53:34 +0000]
vnode-ref-verification-
20060217
verify we got a ref when we call vnode_ref
Jeffrey Altman [Sat, 18 Feb 2006 04:11:30 +0000]
rx-dpf-
20060216
when dpf is in use, log error codes from abort packets and perform
ntoh translation of addresses and port numbers.
Chaskiel M Grundman [Fri, 17 Feb 2006 21:57:12 +0000]
qremove-set-null-
20060217
when we remove an object from a queue null its list pointers
Chaskiel M Grundman [Fri, 17 Feb 2006 21:43:42 +0000]
flushvolume-vhashq-consistency-
20060217
avoid having vflushed vnodes in play
Jim Rees [Fri, 17 Feb 2006 17:58:21 +0000]
test-heimdal-
20060217
Add a configure test for heimdal and use it to build asetkey or not.
Thanks to Derek Atkins for his helpful suggestions.
Derrick Brashear [Fri, 17 Feb 2006 17:34:15 +0000]
hpux11-store-fd-sonner-
20060217
FIXES 23112
based on report from jbuehler@spirentcom.com
Chaskiel M Grundman [Fri, 17 Feb 2006 16:41:28 +0000]
darwin-x86-lwp-fix-
20060217
make lwp work on darwin x86
Jeffrey Altman [Fri, 17 Feb 2006 15:35:38 +0000]
windows-notes-
20060216
1.5.0 development build
Chaskiel M Grundman [Fri, 17 Feb 2006 15:22:24 +0000]
darwin-lost-wakeups-
20060213
eliminate the apparent lost wakeup problem in tiger
Klas Lindfors [Fri, 17 Feb 2006 14:48:09 +0000]
viced-has-as-member-locking-
20060217
FIXES 26967
A crucial line was missing from DELTA viced-fix-check-rights-race-
20060213
Jeffrey Altman [Thu, 16 Feb 2006 22:06:02 +0000]
windows-optimize-find-uid-
20060216
Rename smb_GetUser to smb_GetUserFromVCP and add smb_GetUserFromUID.
Use calls to smb_GetUserFromUID to reduce the number of times that
the smb_user_t object is obtained and released during the processing
of an smb call.
Jeffrey Altman [Thu, 16 Feb 2006 22:03:47 +0000]
windows-server-ping-
20060216
add logging of server addresses, status and capabilities
prevent multiple threads from pinging the same server simultaneously.
instead, threads block and then use the result of the ping that was
already taking place.
Jeffrey Altman [Thu, 16 Feb 2006 22:01:45 +0000]
windows-daemon-check-registry-
20060216
Add registry values to allow the defaults for daemon checks to be altered
at startup. Log values to afsd_init.log.
daemonCheckDownInterval
daemonCheckUpInterval
daemonCheckVolInterval
daemonCheckCBInterval
daemonCheckLockInterval
daemonCheckTokenInterval
Jeffrey Altman [Thu, 16 Feb 2006 21:59:19 +0000]
windows-lock-testing-
20060216
turn on the support for backing byte range lock allocations with
afs file server locks.
Jeffrey Altman [Thu, 16 Feb 2006 21:48:50 +0000]
windows-rx-wsaeconnreset-
20060216
Deal with the fact that Windows returns WSAECONNRESET after an ICMP
port not reachable packet was returned in response to a packet previously
sent.
Derrick Brashear [Wed, 15 Feb 2006 21:01:49 +0000]
linux-inode-i-mutex-
20060214
new (2.6.16) kernerls have i_mutex instead of i_sem
====================
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.
====================
make i_sem become i_mutex
Chaskiel M Grundman [Wed, 15 Feb 2006 20:53:02 +0000]
darwin-event-cleanup-
20060215
clean up event resources added for deadlock avoidance
Derrick Brashear [Wed, 15 Feb 2006 16:38:33 +0000]
asetkey-macos-
20060215
make the same fix we do on aklog w.r.t com_err
Derrick Brashear [Wed, 15 Feb 2006 16:32:42 +0000]
darwin-ifnet-flags-
20060215
darwin (8.0) already has this
Jeffrey Altman [Wed, 15 Feb 2006 16:31:15 +0000]
windows-reg-fix-
20060215
cleanup the back connection hostname code
Chaskiel M Grundman [Wed, 15 Feb 2006 07:01:40 +0000]
darwin80-mkdir-error-leak-fix-
20060215
avoid a potential refcount decrement "leak" (well, the opposite, really) when a mkdir fails
Adam Megacz [Wed, 15 Feb 2006 00:37:28 +0000]
macos-dynroot-start-anyway-
20060214
start afsd if -dynroot specified
Adam Megacz [Wed, 15 Feb 2006 00:33:45 +0000]
macos-afsdb-
20060214
enable afsdb by default
Chaskiel M Grundman [Tue, 14 Feb 2006 20:32:45 +0000]
lookup-checkcode-bulkstats-
20060214
do error code analysis on bulkstat results also
Jim Rees [Tue, 14 Feb 2006 16:58:13 +0000]
dead-code-and-prototyes-
20060214
Remove dead code and add prototypes.
Jeffrey Altman [Tue, 14 Feb 2006 14:03:17 +0000]
windows-build-sys_name-
20060214
Add the sys_name to the dest and obj directories in order to allow
both 32-bit and 64-bit builds to be built from the same directory
tree.
Jeffrey Altman [Tue, 14 Feb 2006 13:25:10 +0000]
windows-notes-
20060214
updates
Chaskiel M Grundman [Mon, 13 Feb 2006 18:51:55 +0000]
remove-recursive-vfs-getcontext-
20060213
remove unused code
Derrick Brashear [Mon, 13 Feb 2006 18:38:37 +0000]
solaris-afs-nfsrdwr-avoid-reading-past-end-of-file-
20060213
FIXES 25747
avoid a panic when we attempt a read past the end of the file
Derrick Brashear [Mon, 13 Feb 2006 18:29:26 +0000]
revert-bkg-disable-var-
20060213
remove the bkg daemon disabling
Jeffrey Altman [Mon, 13 Feb 2006 17:09:36 +0000]
viced-fix-check-rights-race-
20060213
FIXES 25869
acl_CheckRights() was generating core dumps because the client's prlist
was being invalidated by h_TossStuff_r() as part of freeing the associated
host. This patch fixes the problem in probably redundant ways.
A missing hold on the host is now obtained. refCounts on the client
are now preserved as part of GetClient()/PutClient(). Read/Write locks
are now obtained on the client when accessing/manipulating the prlist.
This patch adds the client parameter to GetVolumePackage() and
PutVolumePackage() and adds the new function PutClient().
This patch removes the need for the client X had conn Y stolen by X messages.
This is replaced by "deleted client X already had conn Y stolen by X. If
we see this there is definitely a logic problem as the client should not
be deleted at this point. We a no longer allowing the race condition that
would have resulted in the original message.
In addition, this patch fixes a problem with UAEs caused by the
inappropriate translation of VICE error into UAEs when there is overlap
between VICE error values and those in sys/errno.h.
Jeffrey Altman [Mon, 13 Feb 2006 16:33:49 +0000]
windows-findacl-optimize-
20060213
don't remove an entry from the queue and add it to the head if it already
is the head.
Jeffrey Altman [Mon, 13 Feb 2006 16:28:59 +0000]
windows-new-server-ping-
20060213
when adding a new server, mark it down to start.
this will allow the Ping to use the short timeout when checking the real
status.
Jeffrey Altman [Sun, 12 Feb 2006 06:25:37 +0000]
windows-off-to-the-races-
20060211
several race conditions were introduced over the last couple of weeks.
let's fix them.
Jeffrey Altman [Fri, 10 Feb 2006 18:43:22 +0000]
windows-vcp-fidsp-empty-
20060210
protect against the case in which the vcp->fidsp list is empty
which de-queuing smb_fid_t objects
Jeffrey Altman [Fri, 10 Feb 2006 17:10:44 +0000]
viced-probe-uuid-on-old-connection-
20060210
When we have found an existing host via Uuid, send the probe to the
connection associated with the old host instead of the new one. If
you send it to the new connection, we will fail to detect that the
old host is no longer responding and hence that it should be removed.
This should solve the 55 second delay problem seen from clients with
Uuids that move addresses or sit behind a NAT.
Jeffrey Altman [Fri, 10 Feb 2006 17:07:43 +0000]
viced-log-typo-
20060210
missing % in format string causes crash at log level 125
Derrick Brashear [Fri, 10 Feb 2006 16:49:37 +0000]
viced-debug-port-numbers-
20060210
fix port number printing to not print byteswapped port numbers
Jeffrey Altman [Thu, 9 Feb 2006 15:28:56 +0000]
windows-afslogon-
20060209
replace sizeof(opt) with sizeof(LogonOption_t)
add more debug statements
Jeffrey Altman [Tue, 7 Feb 2006 07:46:55 +0000]
viced-host-nat-
20060207
When we discover a new address for an existing host we can take the
opportunity to cleanup the hash table and the interface list if the
new address differs from an existing address only by the port number.
In that case we know the client is communicating to us from behind a
NAT and the old addr/port number combination is no longer going to
be of use to us.
Jeffrey Altman [Tue, 7 Feb 2006 06:04:34 +0000]
viced-more-dbg-improvements-
20060207
convert the rest of the addresses output in hex to dotted notation
Jim Rees [Mon, 6 Feb 2006 17:18:12 +0000]
no-global-sunlock-
20060206
Don't use global_sunlock on OpenBSD unless running smp kernel
Jeffrey Altman [Mon, 6 Feb 2006 07:06:33 +0000]
windows-winqual-
20060206
Fix two bugs reported via Windows Crash Reporting:
* Freelance initialization is somehow broken allowing the number of
locally defined mountpoints to become negative. Due to the use of
!= instead of < in loops, it is possible to read/write unallocated
memory.
* GetTextualSid() was not properly handling a NULL output buffer
pointer as an indication that the desired size should be returned.