Jeffrey Altman [Fri, 12 Sep 2008 15:32:23 +0000]
windows-service-procs-
20080912
LICENSE MIT
if we are going to use hot threads it would be useful if there were
some additional server threads available to become listeners as
needed.
Simon Wilkinson [Fri, 12 Sep 2008 14:07:31 +0000]
redhat-mockbuild-dksm-
20080912
LICENSE IPL10
make mockbuild do the dkms rpms also
Asanka Herath [Fri, 12 Sep 2008 05:08:00 +0000]
windows-dir-new-pages-
20080911
LICENSE MIT
A small patch to permit the directory package to allocate additional
directory pages when adding new entries that do not fit in the pages
that were obtained from the file server.
Jeffrey Altman [Thu, 11 Sep 2008 18:24:38 +0000]
windows-vnovol-
20080911
LICENSE MIT
Modify MSG_SERVER_REPORTS_VNOVOL to mention that the volume may
have been moved or deleted.
In cm_Analyze(), do not call cm_ForceUpdateVolume() or force a retry
when processing CM_ERROR_NOSUCHVOLUME. This CM error value is the
result of a VNOVOL already being processed which would have forced
the update.
When a VMOVED or VNOVOL error is received, remove the volume id from
the server's volume list.
If cm_ForceUpdateVolume() returns a failure, do not retry if a
VMOVED or VNOVOL error was received.
Make sure that if a cm_serverRef_t object is marked srv_deleted
that its references not be used.
Now that cm_ForceUpdateVolume() is being called only when processing
VMOVED and VNOVOL errors, permit it to call cm_UpdateVolumeLocation()
immediately.
Refactor cm_CheckOfflineVolume() to reduce code duplication.
Jeffrey Altman [Thu, 11 Sep 2008 18:09:34 +0000]
windows-flush-btrees-
20080911
LICENSE MIT
fs flushall, fs flushvolume, and fs flush should tear down directory
B+ trees so that when the data buffers are re-read from the file server
with the same data version, the B+ trees will be rebuilt.
Jeffrey Altman [Thu, 11 Sep 2008 18:03:52 +0000]
windows-cell-list-validation-
20080911
LICENSE MIT
correct cell list validation now that the free cell list exists
Jeffrey Altman [Thu, 11 Sep 2008 17:59:18 +0000]
windows-rx-jumbo-
20080911
LICENSE MIT
Disable rx jumbo by default. Permit rx jumbo to be enabled with
registry value "RxJumbo" set to 1 or "RxNoJumbo" set to 0.
RxNoJumbo has priority.
Jeffrey Altman [Thu, 11 Sep 2008 17:49:53 +0000]
windows-multi-check-server-
20080911
LICENSE MIT
Permit rx_multi check server to be toggled via a registry setting
at checked prior to each invocation. "MultiCheckServers".
Default is on.
Remove volume status updates for vldb server status changes.
Derrick Brashear [Sat, 6 Sep 2008 12:58:39 +0000]
aix-export-build-fix-
20080906
LICENSE IPL10
add missing ; to case actions
Derrick Brashear [Sat, 6 Sep 2008 12:52:59 +0000]
oops-sias-dead-
20080906
LICENSE IPL10
while we should try all the auth modules, sia is tru64 only, so, no...
Derrick Brashear [Sat, 6 Sep 2008 12:51:01 +0000]
syncserv-syncvldb-manpages-dryrun-
20080906
LICENSE IPL10
make syncserv and syncvldb manpages reflect dryrun option
Jeffrey Altman [Sat, 6 Sep 2008 05:24:31 +0000]
windows-vnovol-
20080905
LICENSE MIT
force a volume location update upon receipt of a VNOVOL error
in case the volume was moved. VMOVED is only returned by the file
server if the volume is in the process of being moved. Once it has
been deleted the file server returns VNOVOL.
Derrick Brashear [Fri, 5 Sep 2008 17:57:33 +0000]
fileserver-sticky-bit-admin-only-
20080905
LICENSE IPL10
do restrict the sticky bit to admins.
Jeffrey Altman [Thu, 4 Sep 2008 21:07:40 +0000]
windows-smb-volname-
20080904
LICENSE MIT
Advertise the correct length for the volume name. Do not include the NUL.
Add more create option values as #defines.
Derrick Brashear [Thu, 4 Sep 2008 20:41:14 +0000]
fileserver-sticky-bit-not-admin-only-
20080904
LICENSE IPL10
don't restrict the sticky bit to admins.
Jeffrey Altman [Wed, 3 Sep 2008 22:03:54 +0000]
windows-cell-locking-
20080903
LICENSE MIT
fix a lock order issue and protect the timeout and flags field
of cm_cell_t with the mutex instead of the global lock.
Jeffrey Altman [Wed, 3 Sep 2008 21:37:00 +0000]
windows-smb-lock-order-
20080903
LICENSE MIT
another lock order violation to fix
Niklas Edmundsson [Wed, 3 Sep 2008 19:26:29 +0000]
aix61-initial-support-
20080903
LICENSE IPL10
FIXES 113638
aix 6.1 support
Jeffrey Altman [Wed, 3 Sep 2008 19:07:11 +0000]
rx-mutex-init-once-
20080903
LICENSE IPL10
FIXES 114555
because rx_Finalize doesn't clean up, we end up reiniting mutexes. use
pthread_once when not in the kernel.
(kernel does not now call rx_Finalize, ever)
Derrick Brashear [Wed, 3 Sep 2008 17:59:08 +0000]
linux26-libafs-makefileproto-trust-kbuild-system-no-really-
20080903
LICENSE IPL10
if we are really not using COMMON_KERN_CFLAGS and being trusting, let's do so.
Jeffrey Altman [Tue, 2 Sep 2008 23:34:41 +0000]
windows-afsd-dns-env-
20080902
LICENSE MIT
Fix the conditionals so that the right thing happens if AFS_AFSDB_ENV
is not defined.
Jeffrey Altman [Tue, 2 Sep 2008 22:25:25 +0000]
windows-fs-setcrypt-auth-
20080902
LICENSE MIT
fix parsing and display of fs setcrypt auth
Jeffrey Altman [Tue, 2 Sep 2008 22:20:58 +0000]
smb-string-conversion-
20080902
LICENSE MIT
more cases where -1 should be passed in as opposed to the strlen value
when converting between char and wchar forms
Jeffrey Altman [Tue, 2 Sep 2008 22:15:36 +0000]
windows-rxkad-auth-
20080902
LICENSE MIT
Add ability for users to select rxkad auth only mode.
"fs setcrypt auth".
Jeffrey Altman [Tue, 2 Sep 2008 22:08:24 +0000]
windows-afsd-init-
20080902
LICENSE MIT
report state of "Rx Jumbo" and "RxExtraPackets" more often
Jeffrey Altman [Tue, 2 Sep 2008 21:17:42 +0000]
windows-cell-free-list-
20080902
LICENSE MIT
add a free list to the cm_cell_t structure. if during cm_GetCellGen()
the cm_SearchCellXXX() calls fail, store the allocated cm_cell_t object
on a free list so that it can be reused for the next request.
Jeffrey Altman [Tue, 2 Sep 2008 17:34:00 +0000]
windows-cell-alloc-reversed-
20080902
LICENSE MIT
The approach taken in windows-cell-alloc-
20080902 won't work.
Jeffrey Altman [Tue, 2 Sep 2008 16:20:13 +0000]
windows-cell-alloc-
20080902
LICENSE MIT
Perform the initial cm_SearchCellXXX call using a temporary cm_cell_t
object in case the search fails.
Jeffrey Altman [Mon, 1 Sep 2008 13:35:42 +0000]
windows-smb-free-lsa-response-
20080901
LICENSE MIT
Whether or not LsaCallAuthenticationPackage succeeds, it may return
a response buffer. If it does, free it.
Jeffrey Altman [Sat, 30 Aug 2008 15:13:03 +0000]
windows-afsd-init-lock-order-validation-
20080830
LICENSE MIT
Add TransarcAFSDaemon/Parameters key "LockOrderValidation" DWORD
to control lock order validation functionality. Defaults to off
for release builds and on for checked builds.
Jeffrey Altman [Sat, 30 Aug 2008 15:03:27 +0000]
windows-lock-order-validation-
20080830
LICENSE MIT
Add osi_SetLockOrderValidation(int) to permit lock order validation
to be turned on and off. Must be executed before the first lock
is obtained.
Jeffrey Altman [Sat, 30 Aug 2008 03:08:20 +0000]
windows-buf-shutdown-
20080829
LICENSE MIT
During buf_Shutdown() all dirty buffers should be written to the file
server if they can be.
Jeffrey Altman [Sat, 30 Aug 2008 03:04:53 +0000]
windows-afsd-shutdown-
20080829
LICENSE MIT
reorganize the service shutdown order to permit dirty buffers to be
flushed to the file server without competition from incoming requests.
Jeffrey Altman [Thu, 28 Aug 2008 10:45:45 +0000]
windows-check-servers-
20080828
LICENSE MIT
if the server count is zero, don't both trying
Jeffrey Altman [Thu, 28 Aug 2008 00:42:26 +0000]
windows-check-server-heap-overwrite2-
20080827
LICENSE MIT
the incorporation of nconns into the foo incremental was a mistake
Jeffrey Altman [Wed, 27 Aug 2008 23:08:06 +0000]
windows-check-server-heap-overwrite-
20080827
LICENSE MIT
Protect against a heap overwrite that could occur is the number of file
servers or vldb servers grows while the maximum number of connections
is computed and when the connection list is populated.
Jeffrey Altman [Wed, 27 Aug 2008 23:01:51 +0000]
windows-callback-lock-order-
20080827
LICENSE MIT
do not hold cm_server_t mutex when calling cm_FindVolumeByID because
the cm_volume_t lock must be obtained ahead of the cm_server_t mutex
Jeffrey Altman [Wed, 27 Aug 2008 13:17:05 +0000]
windows-lock-order-
20080827
LICENSE MIT
do not hold cm_scacheLock while obtaining cm_scache_t->rw
Jeffrey Altman [Wed, 27 Aug 2008 12:47:23 +0000]
windows-short-names-
20080827
LICENSE MIT
plus and equal are not valid characters in short names.
we replace them with left and right brace in order to
minimize the instability in the file names.
Matt Benjamin [Tue, 26 Aug 2008 15:59:42 +0000]
freebsd-70-client-
20080826
LICENSE IPL10
FreeBSD 7.0 client support (and 8.0 support but that's a moving target)
Tom Keiser [Tue, 26 Aug 2008 15:11:28 +0000]
studio12-solaris-updates-
20080826
LICENSE IPL10
FIXES 113671
update so we build with studio 12 on solaris
Derrick Brashear [Tue, 26 Aug 2008 14:44:31 +0000]
linux-rpm-make-dkms-remove-work-
20080826
LICENSE IPL10
rpm -e failed because of a typo here when removing our dkms rpm
Jeffrey Altman [Tue, 26 Aug 2008 05:55:40 +0000]
windows-scache-lock-
20080825
LICENSE MIT
restore a missing obtain write lock
Jeffrey Altman [Tue, 26 Aug 2008 05:36:34 +0000]
windows-misc-
20080825
LICENSE MIT
avoid a deadlock in cm_GiveUpAllCallbacks
log UAEEXIST / EEXIST in cm_Analyze
Jeffrey Altman [Tue, 26 Aug 2008 05:14:14 +0000]
windows-client-osi-
20080825
LICENSE MIT
add more asserts to attempt to catch locks released in threads other
than the one that obtained them.
Derrick Brashear [Mon, 25 Aug 2008 02:14:39 +0000]
server-argument-consistency-and-jumbograms-off-
20080824
LICENSE IPL10
FIXES 108703
go through and make servers able to take debug log level on command line;
add -jumbo; default to -nojumbo
Jeffrey Altman [Sun, 24 Aug 2008 22:45:24 +0000]
windows-smb-more-check-open-done-
20080824
LICENSE MIT
call cm_CheckNTOpenDone() in error conditions as well
Jeffrey Altman [Sun, 24 Aug 2008 18:46:23 +0000]
windows-prefetch-lock-order-
20080824
LICENSE MIT
lock order violation between cm_daemonLock and cm_scache_t rw lock
Jeffrey Altman [Sun, 24 Aug 2008 17:31:28 +0000]
windows-smb-locks-
20080224
LICENSE MIT
smb_dirSearch_t refCount field is protected by smb_globalLock not the
smb_dirSearch_t mutex.
Do not hold the smb_fid_t mutex across calls to smb_NotifyChange()
Jeffrey Altman [Sun, 24 Aug 2008 17:25:57 +0000]
windows-check-nt-open-lock-sync-
20080224
LICENSE MIT
Move cm_SyncOpDone(CM_SCACHESYNC_LOCK) from cm_CheckNTOpen to
cm_CheckNTOpenDone. This is necessary to synchronize lock operations.
Jeffrey Altman [Fri, 22 Aug 2008 21:57:53 +0000]
windows-callback-shutdown-head-
20080801
LICENSE MIT
When the cache manager is shutting down, return an error to all
callback requests. Otherwise, it is possible for a callback to get
stuck waiting for a lock and when the lock clears to be left with
nothing but invalid memory addresses to crash on.
In the meantime, the file server is waiting for the response.
Derrick Brashear [Fri, 22 Aug 2008 20:26:38 +0000]
darwin-fake-afs-bigger-
20080822
LICENSE IPL10
FIXES 112564
set up max uint64 "free" in afs so finder isn't dumb.
Derrick Brashear [Fri, 22 Aug 2008 19:52:44 +0000]
analyze-srvr-safety-check-
20080822
LICENSE IPL10
FIXES 112681
safety check to make sure a conn's srvr is set before dereferencing it
Jeffrey Altman [Fri, 22 Aug 2008 19:06:04 +0000]
windows-misc-
20080822
LICENSE MIT
1. In multi-threaded applications deadlocking is always a problem.
Deadlock avoidance requires a strict adherence to a documented
hierarchy. The lock hierarchy for OAFW is described in a file
called locks.txt. There are two problems. First, some of the
locks are not included in locks.txt. Second, it is nearly
impossible given the depth of function calls for any programmer
to identify all of the locks that are held at any given time
a function is called. This patch implements a new locking order
verification mechanism. Each lock is assigned a lock level at
initialization. Each thread maintains a queue of held locks.
Each time a lock is acquired the queue is checked to ensure that
no locks with a higher level than the requested lock has already
been acquired. If a violation occurs, the service panics.
2. When the service panics ensure that a minidump will always be generated.
3. Remove unused lock cm_bufGetMutex.
4. The lock order verifier identified approximately a dozen
lock order violations that are corrected.
5. A race condition within the function path cm_GetSCache() ->
cm_GetNewSCache() -> cm_RecycleSCache() permitted a cm_scache_t
object to be issued simultaneously to two threads. This would
eventually result in a panic due to the resulting under count.
6. Fix interpretation of the empty string as the ioctl path to
mean the current directory. "fs lsm", "symlink list", etc.
now return a "not a ..." error instead of "does not exist".
7. Add SMB_STRF_SRCNULTERM flag to smb_ParseStringXXX functions
to indicate that the input string is a nul terminated string.
Assign it when input strings are nul terminated.
8. The CIFS protocol specification for handling NT_TRANSACT_CREATE
does not match the observed behavior. The 'nameLength' is specified
in bytes not in characters. Fix the implementation to match.
9. The cm_HaveAccessRights() attempt at deadlock avoidance by calling
lock_TryRead() on the parent directory cm_scache_t rw-lock does not
avoid the deadlock. Avoid the deadlock by enforcing the lock order
of lowest vnode first. Then remove the infinite loop avoidance in
cm_SyncOp() that was returning an unwarranted access denied error.
Derrick Brashear [Fri, 22 Aug 2008 05:31:32 +0000]
rx-allow-jumbogram-disabling-really-
20080822
LICENSE IPL10
right now, jumbograms can still be sent when -nojumbo is specified. make the
current macro a default and override when we're supposed to.
Jeffrey Altman [Wed, 20 Aug 2008 20:44:56 +0000]
windows-list-symlink-
20080820
LICENSE MIT
Another casaulty of the Unicode transition, the return value of the
ListLink operation was not being convered from wchar to char before
it was copied into the output buffer.
Jeffrey Altman [Wed, 20 Aug 2008 20:41:17 +0000]
windows-afsd-service-
20080820
LICENSE MIT
When afsd_service.exe is not running as a service do not call the
Service Manager functions. Doing so causes invalid access exceptions
to be thrown in the kernel and can corrupt the heap.
Derrick Brashear [Wed, 20 Aug 2008 19:45:05 +0000]
redhat-spec-default-build-authlibs-
20080820
LICENSE IPL10
FIXES 101879
make build_authlibs default usefully
Derrick Brashear [Sat, 16 Aug 2008 22:37:29 +0000]
namei-by-default-on-sol10-
20080816
LICENSE IPL10
default to namei, not inode, on solaris 10 except by request
Dan Hyde [Sat, 16 Aug 2008 21:07:30 +0000]
volser-initialize-volume-updatedate-
20080816
LICENSE IPL10
FIXES 110943
right now this isn't set until a vnode update happens. technically creating
the root directory is an update, so let's set it to now.
Tracy Di Marco White [Sat, 16 Aug 2008 20:46:44 +0000]
netbsd-sigwait-broken-til-nbsd5-
20080816
LICENSE IPL10
FIXES 111404
work around netbsd sigwait brokenness
Marc Dionne [Sat, 16 Aug 2008 20:42:34 +0000]
linux-2-6-27-
20080816
LICENSE IPL10
FIXES 111634
add support for 2.6.27, which removes asm/semaphore.h
Jeffrey Altman [Sat, 16 Aug 2008 18:39:33 +0000]
windows-build-
20080815
LICENSE MIT
remove duplicate rules for man-pages
Jeffrey Altman [Sat, 16 Aug 2008 18:00:50 +0000]
windows-rx-extra-packets-
20080816
LICENSE MIT
Make the default number of pre-allocated rx packets equal to the number
of threads times the rx window size.
Jeffrey Altman [Sat, 16 Aug 2008 17:48:17 +0000]
windows-pioctl-getdrivetype-
20080816
LICENSE MIT
Use GetDriveType() to check if the current path is a local disk.
If it is, fail the pioctl attempt immediately. This should avoid
the reported 30 second delay in the AFS Shell Extension.
Jeffrey Altman [Fri, 15 Aug 2008 21:17:02 +0000]
windows-freelance-deadlock-
20080815
LICENSE MIT
avoid a deadlock in cm_reInitLockMountPoints() and make the function
useful again by actually using the index value in the construction
of the FIDs
Jeffrey Altman [Fri, 15 Aug 2008 00:37:20 +0000]
windows-shlibafsauthent-
20080814
LICENSE MIT
export pioctl_utf8
Jeffrey Altman [Thu, 14 Aug 2008 21:22:49 +0000]
windows-server-dereference-null-two-
20080814
LICENSE MIT
protect against a potential null pointer dereference of a cm_server_t
object
Jeffrey Altman [Thu, 14 Aug 2008 21:19:34 +0000]
windows-server-dereference-null-
20080814
LICENSE MIT
protect against a null pointer dereference of a cm_server_t object
Jeffrey Altman [Thu, 14 Aug 2008 18:23:28 +0000]
windows-memdump-
20080814
LICENSE MIT
add locks, waiting lock requests, smb user, smb tid, and cell expiration
to the memory dump output (fs memdump)
Jeffrey Altman [Thu, 14 Aug 2008 03:36:43 +0000]
windows-free-server-deadlock-
20080813
LICENSE MIT
avoid a deadloc when freeing servers. cm_serverLock must be released
around cm_GCConnections()
Jeffrey Altman [Thu, 14 Aug 2008 03:32:54 +0000]
windows-search-cell-file-
20080813
LICENSE MIT
if a cell has been found with addresses and the next cell name
is reached before the EOF, return success.
If the cell has been found and there are no addresses, return -6
Jeffrey Altman [Thu, 14 Aug 2008 03:27:36 +0000]
rx-buffer-allocation-corrected-
20080813
LICENSE MIT
a corrected version of delta rx-buffer-allocation-
20080812
Jeffrey Altman [Thu, 14 Aug 2008 03:15:34 +0000]
windows-build-man-pages-
20080813
LICENSE MIT
move building of man pages to installer phase
Derrick Brashear [Thu, 14 Aug 2008 00:49:15 +0000]
nfstrans-extra-protection-
20080813
LICENSE IPL10
ensure, at least, that there is a filehandle for everything we check
Rainer Toebbicke [Thu, 14 Aug 2008 00:44:16 +0000]
salvager-dont-corrupt-dir-lengths-
20080812
LICENSE IPL10
FIXES 111585
make the int64 macros work when the "64 bit" number to fill isn't.
use the correct variable type for length in salvager
Jeffrey Altman [Wed, 13 Aug 2008 15:10:42 +0000]
rx-buffer-allocation-pulled-
20080813
LICENSE MIT
remove delta rx-buffer-allocation-
20080812 as it leads to data corruption
Jeffrey Altman [Tue, 12 Aug 2008 19:39:59 +0000]
rx-buffer-allocation-
20080812
LICENSE MIT
Prevent rxi_MorePacketsNoLock() from dereferencing a NULL pointer if
the requested allocation size cannot be satsified. In that case back
off the number of packets until osi_Alloc() succeeds or panic if no
packets can be allocated at all.
In AllocPacketBufs() do not transfer more than rx_TSFPQGlobSize packets.
Modify RX_TS_FPQ_GTOL2() macro to protect against transfering more packets
that are actually free.
Modify RX_TS_FPQ_COMPUTE_LIMITS() to enforce a rx_TSFPQGlobSize maximum
value of 64 packets to prevent ever increasing allocation sizes within
AllocPacketBufs()
Jeffrey Altman [Tue, 12 Aug 2008 05:29:52 +0000]
windows-stack-overruns-
20080811
LICENSE MIT
prevent stack overruns
Jeffrey Altman [Tue, 12 Aug 2008 00:54:48 +0000]
windows-fs-mkmount-
20080811
LICENSE MIT
fix volume name validity test. strip trailing '.' from volume name
Jeffrey Altman [Sun, 10 Aug 2008 01:00:59 +0000]
windows-make-nls-win2000-compat-
20080809
LICENSE MIT
make the nls module compatible with windows 2000.
cannot use LOCALE_INVARIANT instead must lie and
say everyone is US English. windows 2000 does not
have normalization functions and now doesn't have
case insensitive string comparison functions either
for languages other than English.
====================
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.
====================
LICENSE MIT
not all applications that link to cm_nls perform initialization.
Call initialization if it has not already been done explicitly.
Jeffrey Altman [Sat, 9 Aug 2008 23:31:09 +0000]
windows-freelance-deadlock-
20080809
LICENSE MIT
avoid a deadlock between cm_freelanceLock and cm_scacheLock
Jeffrey Altman [Sat, 9 Aug 2008 05:52:36 +0000]
windows-rx-udpbufsize-
20080809
LICENSE MIT
Set UdpBufSize to 256K. Add RxUdpBufSize registry value to permit
runtime configuration.
Jeffrey Altman [Sat, 9 Aug 2008 05:48:10 +0000]
windows-smb-skip-nuls-
20080809
LICENSE MIT
rename SMB_STF_IGNORENULL to SMB_STF_IGNORENUL
apply SMB_STR_IGNORENUL when copying length tagged strings into
the smb response packets.
Jeffrey Altman [Fri, 8 Aug 2008 17:43:37 +0000]
windows-lock-corrections-
20080808
LICENSE MIT
Derrick helped identify a few locations where rw or mx locks where
not properly being tracked. As a result there were some locations
in which an assertion could be thrown due to releasing the wrong
type of lock.
Also added lock_AssertXXX calls to some locations to ensure that
the correct lock type is being held when the calls are made. volume
location updates, cm_SyncOp, cm_SyncOpDone.
Jeffrey Altman [Thu, 7 Aug 2008 14:46:11 +0000]
windows-max-cell-name-
20080807
LICENSE MIT
Anywhere cm_GetCell_Gen() is called CELL_MAXNAMELEN must be used
otherwise there will be a stack overflow error.
Jeffrey Altman [Thu, 7 Aug 2008 06:35:36 +0000]
windows-misc-
20080806
LICENSE MIT
Return CM_ERROR_READONLY if the caller wants PRSFS_DELETE and the
volume is readonly.
In cm_CheckNTDelete() do not call cm_SyncOpDone if cm_SyncOp failed
Do not force the use of fake directory data if the user does not
have PRSFS_READ on the directory. Let the bulkstatus call take
place now that it is actually being used efficiently.
In ApplyV3SearchDirPatches, use cm_SyncOp(CM_SCACHESYNC_GETSTATUS)
to obtain the status info for Freelance entries instead of the
bulkstatus call.
Fix the truncation of 8.3 names in directory search responses.
Jeffrey Altman [Wed, 6 Aug 2008 21:25:43 +0000]
windows-cell-name-length-consistency-two-
20080806
LICENSE MIT
fix what I broke
Jeffrey Altman [Wed, 6 Aug 2008 06:10:14 +0000]
windows-afssw-
20080806
LICENSE MIT
prevent buffer underrun and overrun errors
Jeffrey Altman [Wed, 6 Aug 2008 06:09:34 +0000]
windows-cell-name-length-consistency-
20080806
LICENSE MIT
make all cell name lengths consistent so that safer string copy/cat
functions can be used to prevent buffer overruns
Jeffrey Altman [Tue, 5 Aug 2008 16:45:35 +0000]
windows-getaccessrights-
20080805
LICENSE MIT
Do not permit GetAccessRights() to be called multiple times within
cm_SyncOp for the same rights check. If the GetAccessRights() succeeded
and in the next loop the rights check fails, the user simply doesn't
have the rights.
Move a call to cm_SyncOpDone(FETCHSTATUS) from GetBuffer() to MergeStatus().
Anytime an RPC completes successfully we get updated status info for
the object. Might as well allow threads waiting for status info to us
it.
Jeffrey Altman [Sun, 3 Aug 2008 04:28:32 +0000]
windows-ioctl-make-submount-
20080802
LICENSE MIT
FIXES 109951
Restore the ascii version of cm_NormalizeAfsPathAscii() so that it
can be used by cm_IoctlMakeSubmount().
Jeffrey Altman [Sat, 2 Aug 2008 20:46:14 +0000]
windows-afsconfig-header-
20080802
LICENSE MIT
Enable Bos Restricted mode for Windows
Jeffrey Altman [Tue, 5 Aug 2008 15:29:14 +0000]
windows-smb-dir-search-
20080802
LICENSE MIT
Apply the bulk stat improvements to smb_ApplyDirListPatches() and
smb_ReceiveCoreSearchDir() for consistency even though
smb_ReceiveCoreSearchDir() is no longer called by any of the platforms
we support.
====================
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.
====================
LICENSE MIT
Only return 50 items at a time to the caller.
Do not apply patches based on buffer boundaries. Instead
apply patches when AFSCBMAX entries are ready to be processed
in order to minimize the number of RPCs.
Jeffrey Altman [Sat, 2 Aug 2008 05:56:57 +0000]
windows-smb-dir-search-
20080801
LICENSE MIT
minimize the number of RPCs sent to the file server. only request
status for objects that we are actually reporting on and only if
we do not already have status for the object
and then make sure that we return as much as we can at once but
not so much that it exceeds the RDR timeout
Jeffrey Altman [Fri, 1 Aug 2008 22:35:06 +0000]
windows-scache-deadlock-
20080801
LICENSE MIT
do not recycle a deleted scache object unless the refcount is 0
Jeffrey Altman [Fri, 1 Aug 2008 22:01:49 +0000]
windows-smb-dumpvars-
20080801
LICENSE MIT
When dumping the smb data structs, report flags in hex and
paths are now wchar_t strings.
Jeffrey Altman [Fri, 1 Aug 2008 14:36:54 +0000]
windows-smb-warnings-
20080801
LICENSE MIT
cast away a number of compile time data size warnings
Jeffrey Altman [Fri, 1 Aug 2008 14:30:21 +0000]
windows-smb-vc-refcount-debugging-
20080801
LICENSE MIT
define DEBUG_SMB_REFCOUNT in smb.h to activate refcount debugging
versions of the functions that log the file and line number as
well as object and refcount. This is for use in debugging refcount
leaks.
rename GetPacket and GetNCB to smb_GetPacket and smb_GetNCB, etc.,
to enforce the name space. Do not confuse with similar Win32 API
functions.
restructure some code that refers to smb_vc_t references in order
to clarify where the refcount is dropped.
Jeffrey Altman [Fri, 1 Aug 2008 14:14:50 +0000]
windows-smb-dead-vc-gc-on-head-
20080801
LICENSE MIT
deltas windows-smb-dead-vc-gc-
20080627 and
windows-dead-vc-cleanup-take-two-
20080703 attempted to
protect against an infinite recursion when cleaning up
dead smb virtual circuits. they failed to address the
incrementing of the vc refcount in smb_ReleaseVCInternal
when it is about to call smb_CleanupDeadVC. If the vc
is already being cleaned, then smb_ReleaseVCInternal
should not increment the refCount and should not call
smb_CleanupDeadVC.
(This commit was committed incorrectly to the 1-5
branch first. delta name on the head was modified
to avoid the delta name collision.)