Russ Allbery [Mon, 22 Jan 2007 17:34:15 +0000]
DEVEL15-cvsignore-happiness-
20060801
Update .cvsignore files to ignore everything we should be ignorant of.
(cherry picked from commit
25015276f80a12296848d0fc9a2960d2e0226159)
Derrick Brashear [Mon, 22 Jan 2007 17:20:29 +0000]
DEVEL15-make-cleaner-
20070122
this stuff was missed
(cherry picked from commit
676bf342ddfdb13ca18337535598c3af3c2f49ed)
Jeffrey Altman [Mon, 22 Jan 2007 02:18:09 +0000]
DEVEL15-windows-fix-volume-refcount-leak-
20070121
Plug a volume refcount leak
Add volume data to the "fs memdump" output
Add memmap stat data to the afsd_init.log output at startup and shutdown
(cherry picked from commit
f9697113d97135fa606a9fa92905d3fcc478bc34)
Jeffrey Altman [Tue, 16 Jan 2007 17:26:07 +0000]
DEVEL15-windows-nsis-fix-rpc-
20070116
remove the rpc fix. the original code was correct
(cherry picked from commit
41df9870148af3527f828a26cc7fbb8d8ffb506e)
Jeffrey Altman [Mon, 15 Jan 2007 23:41:30 +0000]
DEVEL15-windows-nsis-installer-
20070115
Fix the RPC check to actually check the RPC status
Update the copyright date
Add Vista version detection
(cherry picked from commit
d32af980792d2f94fda4a7c84e67f86f08d2676e)
Derrick Brashear [Mon, 15 Jan 2007 20:56:41 +0000]
DEVEL15-openafs-1-5-14-
20070115
1.5.14
Jeffrey Altman [Mon, 15 Jan 2007 20:56:27 +0000]
DEVEL15-windows-version-
20070115
1.5.14
Jeffrey Altman [Mon, 15 Jan 2007 20:54:32 +0000]
DEVEL15-windows-notes-
20070115
1.5.14
Jeffrey Altman [Mon, 15 Jan 2007 20:03:13 +0000]
DEVEL15-DEVE15-windows-release-notes-
20070115
1.5.14
Jeffrey Altman [Mon, 15 Jan 2007 19:52:19 +0000]
DEVEL15-windows-open-dir-lookup-
20070115
add new error code when requested InfoLevel is not supported
CIFS NTCreateX Read privilege means PRSFS_LOOKUP when the object is a
directory
(cherry picked from commit
20f426568625f40b37973121805f0ac820b9017c)
Chaskiel M Grundman [Mon, 15 Jan 2007 15:51:01 +0000]
DEVEL15-linux26-large-pag-groups-
20070115
working from base provided by shadow@dementia.org
(cherry picked from commit
2f3558f341896ae40a8bd07fe71177c5f7763623)
Derrick Brashear [Fri, 12 Jan 2007 16:29:03 +0000]
DEVEL15-locker-thread-tracking-
20070111
track thread ids so we can properly not deadlock
(cherry picked from commit
2b7f13c2276613e120cef159f44c912e866412f5)
Derrick Brashear [Fri, 12 Jan 2007 05:20:33 +0000]
DEVEL15-netinfo-fake-support-correction-
20070112
fix NetInfo "f" line fake IP address support to work when either
1) NetRestrict file is in place or
2) existing sysid file does not list fake address
(cherry picked from commit
2502379d7586acfed882bff7e1c50bb54fbe7a7f)
Tom Keiser [Fri, 12 Jan 2007 03:49:56 +0000]
DEVEL15-rx-deal-with-afs34-jumbograms-again-
20070111
FIXES 51116
try again at dealing with old jumbograms
(cherry picked from commit
0732c4637d31da44b2b8f4567292ecd493a98334)
Jeffrey Altman [Tue, 9 Jan 2007 15:30:02 +0000]
DEVEL15-client-handle-vicetokendead-with-reconnect-
20070109
client-handle-vicetokendead-with-reconnect-
20070104 failed
to alter the behavior of the RXKADEXPIRED and other cases.
(cherry picked from commit
284668200e83fe90afa4bed26509343473b9995b)
Derrick Brashear [Sat, 6 Jan 2007 01:20:07 +0000]
DEVEL15-tsfpq-macro-naming-
20070105
rename the queue-splicing versions of the checkin/checkout macros
(cherry picked from commit
cbba8d8b887957122c1870f8a5a4a823af889d0f)
Derrick Brashear [Fri, 5 Jan 2007 23:31:30 +0000]
DEVEL15-buildpkg-dmg-path-
20070105
reported by marcus watts
(cherry picked from commit
6029f002be00f5cb41423674c66b0f0dfac4506d)
Derrick Brashear [Fri, 5 Jan 2007 23:15:40 +0000]
DEVEL15-rx-deal-with-afs34-jumbograms-again-
20070105
try again at dealing with old jumbograms
(cherry picked from commit
52b036747c78139c5b0a69a934e46ae9f34e0741)
Derrick Brashear [Fri, 5 Jan 2007 23:06:55 +0000]
DEVEL15-multiple-local-realms-
20070105
FIXES 51104
do the correct check
(cherry picked from commit
4be015449daf92061ebdfc7c5132bfd7d313562a)
Kevin Hildebrand [Fri, 5 Jan 2007 18:21:50 +0000]
DEVEL15-pts-rename-fix-
20070105
FIXES 51066
fix pts rename to do the right thing
(cherry picked from commit
b975875e79a2ba84ef3faaec109b8db046ee5326)
Jeffrey Altman [Fri, 5 Jan 2007 17:14:52 +0000]
DEVEL15-windows-unix-mode-bit-enforcement-
20070105
modify the write-lock permission test so that the UnixMode bits do not
subtract PRSFS_WRITE from the rights when testing PRSFS_WRITE | PRSFS_LOCK.
PRSFS_WRITE implies PRSFS_LOCK so add it
Add new registry value "DeleteReadOnly" to permit deletion of read-only
files. The default is 0. Set to non-zero value to activate.
(cherry picked from commit
290b05b6b6e13fd93d40a8c021f0d8fdf697f7af)
Sean O'Malley [Fri, 5 Jan 2007 06:08:02 +0000]
DEVEL15-bucoord-protoize-
20070104
FIXES 50870
protoize bucoord
(cherry picked from commit
2d68f6a3ef54f4c97ecd6e0561726fc5a89b5a04)
Derrick Brashear [Fri, 5 Jan 2007 06:04:09 +0000]
DEVEL15-pr-changeentry-arg-types-
20070105
oops. put it back
(cherry picked from commit
aab62fe05ea77a47564726a5f948c6c094f4ab5d)
Derrick Brashear [Fri, 5 Jan 2007 05:03:57 +0000]
DEVEL15-solaris-but-seriously-
20070105
guess chas had the right idea
(cherry picked from commit
b5dbc4fe6008efa277830666c0f69e71c80318ad)
Derrick Brashear [Fri, 5 Jan 2007 04:57:32 +0000]
DEVEL15-free-packet-avoid-issue-with-34-jumbograms-
20070104
try to deal with rainer toebbicke's ongoing issue
(cherry picked from commit
fd4a1c1c32c01a44ee09854039b81b0afa0ded32)
Derrick Brashear [Fri, 5 Jan 2007 04:49:23 +0000]
DEVEL15-solaris-mypid-track-threads-
20070104
based on suggestion by tkeiser
(cherry picked from commit
267b548a488c5d666582dd050a253c1652872a4d)
Derrick Brashear [Fri, 5 Jan 2007 03:40:34 +0000]
DEVEL15-unroll-namei-delay-fsync-
20070104
has been shown to cause problems with releases per haba@pdc.kth.se testing, unroll until we figure out why
(cherry picked from commit
ba017be750ab667e8dc7a1dfb9e20e03ce861c14)
Marcus Watts [Fri, 5 Jan 2007 03:21:45 +0000]
DEVEL15-asetkey-with-heimdal-
20070104
FIXES 50973
just make asetkey build with heimdal
(cherry picked from commit
c8503d73a1d02829bdb23e5403df15844f065478)
Derrick Brashear [Thu, 4 Jan 2007 22:17:57 +0000]
DEVEL15-darwin-fake-more-free-
20070104
fake more free disk space for dumb apps
(cherry picked from commit
349474755bbfa9b56bb751ebb8a4adcee411e9da)
Marcus Watts [Thu, 4 Jan 2007 22:05:29 +0000]
DEVEL15-linux-kbuild-configure-
20070104
FIXES 40604
Test whether Linux kernel builds work at all before going into specific
builds so that we can fail earlier with a better error message. Try to
put more errors from the kernel build into config.log.
(cherry picked from commit
182a18931a3fc696a53288dbd6fcf04e109f785b)
Derrick Brashear [Thu, 4 Jan 2007 21:56:30 +0000]
DEVEL15-client-handle-vicetokendead-with-reconnect-
20070104
basically, if the issue is really expired tokens then we force the server to tell us that instead of that our older connection is still using the old tokens for some reason, by letting a new connection happen first
(cherry picked from commit
b745079fb276da810e0b96c7b94be5cb77aebee6)
Derrick Brashear [Thu, 4 Jan 2007 21:49:34 +0000]
DEVEL15-macos-installer-fix-
20070104
this time for sure
(cherry picked from commit
526a589fd3800b38d541f38acfc9614b19a75bb0)
Derrick Brashear [Thu, 4 Jan 2007 21:46:35 +0000]
DEVEL15-linux-workqueue-prereq-
20070104
FIXES 49890
make the workqueue configure test actually work on 2.4
(cherry picked from commit
48afec37ed565be0d6c0273286b4bed827c8efca)
Marc Dionne [Thu, 4 Jan 2007 21:17:05 +0000]
DEVEL15-freezer-h-existance-
20070104
FIXES 50941
only include freezer.h if it exists
(cherry picked from commit
1a5628981e0042bed07ebedd72f715848734a51b)
Derrick Brashear [Thu, 4 Jan 2007 16:05:30 +0000]
DEVEL15-md5-inode-even-odd-hack-
20070104
the even-odd hack didn't work with the new md5 inode numbers. fix it. suggested by Bennett Todd.
(cherry picked from commit
ee9d148cc50d41832b79bab4aef0672bdfb63f54)
Jeffrey Altman [Wed, 3 Jan 2007 00:47:40 +0000]
DEVEL15-windows-unix-mode-bit-enforcement-
20070102
When the Unix mode bits do not include the write bit (0200), then the
file is reported to Windows as read-only. This also prevents the
acquisition of write-locks. It should also prevent deletion but the
code in cm_HaveAccessRights() did not remove the PRSFS_DELETE privilege
from the reported rights.
(cherry picked from commit
56d5e6970d27a5c99c04b105481bcf1d1bc3db1e)
Marc Dionne [Tue, 2 Jan 2007 16:00:25 +0000]
DEVEL15-fix-linux-2-6-20-configure-test-
20070102
FIXES 50594
make the cc flags modification not break things
(cherry picked from commit
a132e7f54590a4e12a002c35081ce8afb255b5a3)
Marc Dionne [Tue, 2 Jan 2007 15:41:41 +0000]
DEVEL15-ifdef-nfs-translator-
20070102
FIXES 50602
appropriately wrap nfs translator code in ifdefs
(cherry picked from commit
84cfee7d07510d007df63788ffce028255829d41)
Dale Ghent [Tue, 2 Jan 2007 07:34:46 +0000]
DEVEL15-solaris10-suser-replace-
20070102
FIXES 50246
suser is dead, long live suser
(cherry picked from commit
71f6f346caa9f501a0b7af23c9d4425d9357f3eb)
Jeffrey Altman [Sat, 30 Dec 2006 17:50:06 +0000]
DEVEL15-windows-readme-
20061230
updates for VS2005, Vista, etc.
(cherry picked from commit
1a9ba9aa4bdb2424a49396e0d8e9345a91e4ba90)
Jeffrey Altman [Sat, 30 Dec 2006 17:41:38 +0000]
DEVEL15-windows-remove-junk-
20061230
remove old win9x installers that are no longer used.
====================
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.
====================
remove InstallShield5 installer that is no longer used
====================
Remove Win9x read me files since we don't support them anyway
====================
Remove Win9x makefile since we don't support it
====================
Remove Win9xpanel since we no longer build it
Jeffrey Altman [Sat, 30 Dec 2006 17:04:11 +0000]
DEVEL15-kaserver-deprecation-warning-
20061230
The following message is now logged to both the BosLog and the AuthLog
at startup.
WARNING: kaserver is deprecated due to its weak security properties.
Migrating to a Kerberos 5 KDC is advised.
http://www.openafs.org/no-more-des.html
(cherry picked from commit
0995d4d9b3059569d1fa2ed330982e4dfe021cac)
Jeffrey Altman [Sat, 30 Dec 2006 16:58:15 +0000]
DEVEL15-afsdb-resolver-reinit-
20061230
FIXES 50576
replace 'try' with 'try_init' and declare 'try_init'.
'try' is a reserved word on some compilers. not sure how this code
was compiling on MacOS X and Windows as 'try' was not declared.
(cherry picked from commit
47b4f514cadb815fff7be99726911599cacfb287)
Jeffrey Altman [Sat, 30 Dec 2006 02:49:22 +0000]
DEVEL15-windows-notes-
20061229
1.5.13a
Jeffrey Altman [Sat, 30 Dec 2006 02:45:46 +0000]
DEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-
20061229
do not follow mountpoints when calling cm_Lookup as part of the
optimization. otherwise the shortname is computed incorrectly.
(cherry picked from commit
a305a8c3c7fff86ffcfce500150883262c1c6caf)
Jeffrey Altman [Sat, 30 Dec 2006 02:36:39 +0000]
DEVEL15-windows-version-
20061229
1.5.13a == 1.5.1302
Derrick Brashear [Thu, 28 Dec 2006 22:36:33 +0000]
DEVEL15-proc-unixusers-cleanup-on-linux-
20061228
FIXES 49978
maybe
(cherry picked from commit
224eb9ff60ffc7658428557cb98dfdf59b61b8d5)
Dale Ghent [Thu, 28 Dec 2006 22:28:10 +0000]
DEVEL15-null-terminate-solaris-ops-
20061228
FIXES 50340
vfsops and vnodeops need a NULL at the end of the structs
(cherry picked from commit
c4c90e33be7ce0954b603455c0aa77b667803d7a)
Dale Ghent [Thu, 28 Dec 2006 22:02:14 +0000]
DEVEL15-add-solaris-11-support-v2-
20061228
FIXES 50343
initial 5.11 support
(cherry picked from commit
a537d3ae9621ade7d03f289980eb340e435c0d8a)
Dale Ghent [Thu, 28 Dec 2006 21:49:33 +0000]
DEVEL15-solaris10-suser-replace-
20061228
FIXES 50246
suser is dead, long live suser
(cherry picked from commit
7756a870f37134d33d1c3ceb4ef780e0cfd4beb0)
Marc Dionne [Thu, 28 Dec 2006 21:30:25 +0000]
DEVEL15-linux-2620-rc1-update-
20061228
FIXES 49890
updates for linux 2.6.20-rc1
(cherry picked from commit
064926fd1b664b143e1389516c63bacb124b5f9f)
Derrick Brashear [Thu, 28 Dec 2006 20:37:21 +0000]
DEVEL15-afsdb-resolver-reinit-
20061228
as reported by Adam Megacz, but my own version of the fix
(cherry picked from commit
fe649aac819839d84e6cecdbccdc5becc36fa968)
Derrick Brashear [Wed, 27 Dec 2006 15:49:02 +0000]
DEVEL15-macos-installer-fix-
20061227
make the installer build correctly again
(cherry picked from commit
c454508d396fd361565f5e62da4ded7c735f5074)
Jeffrey Altman [Tue, 26 Dec 2006 20:31:40 +0000]
DEVEL15-windows-notes-
20061226
more notes for 1.5.13
Jeffrey Altman [Tue, 26 Dec 2006 20:28:32 +0000]
DEVEL15-windows-version-
20061226
1.5.1301 == 1.5.13
Jeffrey Altman [Tue, 26 Dec 2006 20:22:28 +0000]
DEVEL15-windows-server-config-
20061226
Reformat the entire directory.
Add Freelance mode awareness.
Map the root.afs volume starting from Z: and work down.
(cherry picked from commit
2a9d3e91d0edd9e5afe43793bf8ced5dd6b2701a)
Jeffrey Altman [Tue, 26 Dec 2006 20:18:30 +0000]
DEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-
20061226
fix the computation of the ShortName. Take into account the network
byte order of the cm_dirFid_t fields.
send error packets from within the function as needed. do not return
the error to the caller.
(cherry picked from commit
432bede1e52245b6565c8970e96ee83c14e135fc)
Derrick Brashear [Fri, 22 Dec 2006 06:48:50 +0000]
DEVEL15-bosserver-avoid-bosconfig-truncation-
20061221
why the heck would it be a good idea to rewrite the BosConfig while we are starting, exactly?
====================
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.
====================
why the heck would it be a good idea to rewrite the BosConfig while we are start
ing, exactly?
(cherry picked from commit
b2601916f6b3a95d5adcaf0091232acc759870df)
Derrick Brashear [Wed, 20 Dec 2006 21:18:11 +0000]
DEVEL15-split-cache-update-
20061220
move closer to 1.4 implementation esp when split cache is turned off
(cherry picked from commit
04208276307d407c3e14828e6c8402345f6c0592)
Dale Ghent [Wed, 20 Dec 2006 20:08:32 +0000]
DEVEL15-solaris10-avoid-direct-cred-access-
20061220
avoid a panic after we muck with groups by being less evil
(cherry picked from commit
c1c2a80c1bc34b23507bf80a6fb12a672c94097c)
Jeffrey Altman [Tue, 19 Dec 2006 17:56:30 +0000]
DEVEL15-windows-afslogon-
20061219
Initialize Winsock from within afslogon.c so that ka_UserAuth will
work again.
(cherry picked from commit
ea60a4dd395d0b14db1da2e5fec7d8dea48b2e70)
Derrick Brashear [Tue, 19 Dec 2006 04:55:13 +0000]
DEVEL15-openafs-1-5-13-
20061218
make 1.5.13
Hartmut Reuter [Tue, 19 Dec 2006 04:50:46 +0000]
DEVEL15-volser-dumpstuff-
20061218
FIXES 46937
"vos release" per default does an incremental dump.
volser-dump-validate-input-
20060417 ends up with keeping dead vnodes and
data in the remote RO-volume. This patch corrects the behavior for
RO-volumes.
See ticket for extensive discussion.
(cherry picked from commit
7a2d34be17d3ea1a24ab1362698de212c7d8008d)
Derrick Brashear [Tue, 19 Dec 2006 04:31:30 +0000]
DEVEL15-kernel-endianness-test-fix-
20061218
FIXES 47893
ok, so, when we're in the kernel, do something
(cherry picked from commit
d229d72fa7719b947460674cdba203aab0c2a548)
Derrick Brashear [Tue, 19 Dec 2006 04:20:09 +0000]
DEVEL15-openafs-kernel-src-fix-
20061218
FIXES 44573
ok, so, we need to emit Makefile.version when we build openafs-kernel
(cherry picked from commit
8a7e66fb28b96888eeb9c36d27b855caa178566f)
Jeffrey Altman [Tue, 19 Dec 2006 03:42:21 +0000]
DEVEL15-volser-undo-cleanup-
20061218
uncommit an inappropriate commit
DELTA volser-cleanup-xx-
20061128
(cherry picked from commit
13cc6c5c376878f0ebbe86cae1fa2849d0aafd2f)
Derrick Brashear [Tue, 19 Dec 2006 03:19:08 +0000]
DEVEL15-rx-globals-avoid-INIT-reuse-
20061218
FIXES 45515
avoid calling our macro INIT
(cherry picked from commit
acca80fd673b2d4bbf39dec6231d08f2373f518e)
Jeffrey Hutzelman [Tue, 19 Dec 2006 02:34:05 +0000]
DEVEL15-volume-dont-artificially-untimeout-vlservers-
20061218
FIXES 48959
remove synthetic event to undo timeouts of vlservers we "haven't talked to yet"
(cherry picked from commit
c4adc63872d720b43d2ff99fd780046a4ba9883b)
Chas Williams [Tue, 19 Dec 2006 02:29:39 +0000]
DEVEL15-linux-osi-cred-pool-byebye-
20061218
ok, unneeded abstraction removed.
(cherry picked from commit
01c0e029f7eea96f2892df9dd570f019660cfd8b)
Jeffrey Altman [Mon, 18 Dec 2006 23:57:04 +0000]
DEVEL15-windows-afslogon-
20061218
test for the existence of the mutex and not the bInit flag
during the DLL attach
(cherry picked from commit
8a1debde84c7bacb103bb1a9c3d82a1f352f441f)
Jeffrey Altman [Mon, 18 Dec 2006 23:40:25 +0000]
DEVEL15-windows-notes-
20061218
updates for 1.5.13
Jeffrey Altman [Mon, 18 Dec 2006 23:31:25 +0000]
DEVEL15-windows-version-
20061218
1.5.1300 == 1.5.13
Jeffrey Altman [Mon, 18 Dec 2006 23:20:57 +0000]
DEVEL15-windows-release-notes-
20061218
update information on afs server installs for 1.5.13
Asanka Herath [Mon, 18 Dec 2006 22:34:24 +0000]
DEVEL15-windows-install-wix-
20061218
remove the AFS Server wizard shortcut
add AFS Server dependencies (tcpip and PNP_TDI)
(cherry picked from commit
a1c31b6637fe44f2a2ebd4be491b71cc4e0fa922)
Jeffrey Altman [Mon, 18 Dec 2006 21:45:26 +0000]
DEVEL15-windows-nsis-
20061218
remove the autorun for the AFS Server Wizard
remove the shortcut to the AFS Server Wizard
update the service dependencies for the bosctlsvc (tcpip and PNP_TDI)
(cherry picked from commit
a7ea1f2efd616149b2419bb394f54d4828d316b9)
Asanka Herath [Sun, 17 Dec 2006 21:07:22 +0000]
DEVEL15-windows-optimize-smb-dir-search-if-no-wildcard-
20061217
When performing a SMB FindFirst/FindNext/FindClose operation if there
are no wildcards involved, we can optimize the case and turn it from
O(n) to O(1) where 'n' is the number of entries in the directory.
This can be done by performing a cm_Lookup() and if it succeeds,
constructing the appropriate response instead of parsing the contents
of each buffer associated with the directory looking for matches.
Without this optimization, FindFirst operations on directories containing
thousands of entries can take a large number of seconds to complete.
(cherry picked from commit
a57531592bfab0b36a4d7fb58b556b848e6f75c8)
Jeffrey Altman [Sun, 17 Dec 2006 01:23:30 +0000]
DEVEL15-rx-fix-lock-init-
20061216
When rxBind was added it made an assumption that rx_GetIFInfo could be
called before rx_InitXYZ. This is true on non-Windows platforms, but
on Windows rxGetIFInfo relies on an initialized mutex. This patch adds
a DllMain for Windows in order to initialize the mutex object upon DLL
load.
(cherry picked from commit
5b56a0b8ebbdfffa46b90d45b06253c3c6fade15)
Derrick Brashear [Fri, 15 Dec 2006 16:39:46 +0000]
DEVEL15-ubik-better-debug-logging-in-remote-
20061215
log when we get errors doing remote sync what it was, rather than covering it up
(cherry picked from commit
35fae890e298b6d43990c2bccfe2a67c9d555ec3)
Jeffrey Altman [Wed, 13 Dec 2006 04:28:01 +0000]
DEVEL15-windows-release-hotes-
20061212
updates for 1.5.13
Jeffrey Altman [Wed, 13 Dec 2006 00:26:35 +0000]
DEVEL15-windows-custom-control-subclassing-bis-
20061212
Do not link to both talocale.lib and taafsapplib.lib.
If you do, then there are duplicate functions in both the .EXE and
the TaAfsAppLib.DLL.
(cherry picked from commit
04daebb95ebc15ece05f6f42aec1a3a7e9bd1bbf)
Jeffrey Altman [Tue, 12 Dec 2006 20:40:52 +0000]
DEVEL15-windows-custom-control-subclassing-
20061212
While investigating the reasons behind the Drive Mapping listbox
failing to permit entries 2 or above to be edited or removed and
the text string being truncated to two characters (on some systems)
I discovered that the subclasses were being recompiled into each
application instead of linking against the DLL that contains the
controls.
The custom controls have been renamed to address name space issues.
The "Drive X:" label changed to "X:" to permit single character item
selection within the listbox.
Still have no idea what is really going on. Spy++ shows the Windows
messages being sent to the correct Windows. However, the getcount
message never obtains a value other than 0 or 1. This is probably
why the selection code is broken. Still working on it.
(cherry picked from commit
70c350c6d04176a9f58fa7ab00c92511f3ca039b)
Jeffrey Altman [Tue, 12 Dec 2006 17:04:41 +0000]
DEVEL15-windows-sleep-when-out-of-buffers-
20061212
When there are no free buffers, don't loop continuously.
Sleep so that the other threads that are holding the buffers
can grab the global buffer lock and release them.
(cherry picked from commit
f126802236bb059b8f0e804c76aef1031beb8a44)
Jeffrey Altman [Tue, 12 Dec 2006 04:01:26 +0000]
DEVEL15-STABLE15-windows-afsd-
20061211
(1) Power Management improvements. Maintain a global flag that
specifies whether or not the service is in a suspend state.
Do not panic if Netbios() returns NRC_BRIDGE meaning that the
lana is no longer valid. Instead, stop the listener threads
and if all listener threads are stopped, reset the lana_list.
Allow the cm_Daemon() thread to periodically check the state
of the smb listeners. If they are all stopped and the service
is not suspended, attempt to restart them. If there are no valid
lanas, return to the stopped state.
(2) CreateX and NTCreateX use cm_CheckNTOpen() to test whether or not
the user is permitted to obtain read or write locks. This function
would obtain the lock and then drop it returning whether or not
the lock could be obtained. If the lock was in fact required,
CreateX/NTCreateX would then obtain it with cm_Lock(). The problem
of course being that this pattern results in three RPCs to the
file server (lock, unlock, lock). This is reduced to one RPC by
implementing cm_CheckNTOpenDone() which frees the allocated byte
range lock from cm_CheckNTOpen() after the cm_Lock() call is
performed.
(3) Remove unused code.
(4) Add debugging to SMB Directory Search functions.
(5) Increase the SMB Ioctl MaxData size
Derrick Brashear [Tue, 5 Dec 2006 19:41:34 +0000]
DEVEL15-rx-preparesendpacket-avoid-double-free-
20061205
wow, this is special
existed forever but only when we stopped leaking packets did it become a problem
anyway, don't free packets and forget to reduce the number of packets in play
(cherry picked from commit
112604e9c31cba4f9605b6b53918aafa8cac77d0)
Derrick Brashear [Fri, 1 Dec 2006 20:45:28 +0000]
DEVEL15-openafs-1-5-12-
20061201
1.5.12
Derrick Brashear [Fri, 1 Dec 2006 18:50:51 +0000]
DEVEL15-give-s390x-syscall-table-the-big-hammer-
20061201
Neale Ferguson contributed the assembler.
The false illusion of security some people want to play under is usually good for wasting a few hours; it was here. making the sys_call_table read nly for real of course fixes it, let's just hope keyrings come along before then on such platforms.
(cherry picked from commit
b81763506fdf29f3df66d811e2d299cc4c9acec0)
Derrick Brashear [Fri, 1 Dec 2006 18:35:33 +0000]
DEVEL15-redhat-packaging-updates-
20061201
updates from derek
updates for s390x
updates to handle suse
(cherry picked from commit
9ba1d32b4ba8aac1d7e2c7f7489739e0e4ca5475)
Derrick Brashear [Fri, 1 Dec 2006 13:00:44 +0000]
DEVEL15-redhat-initscripts-update-for-suse-
20061201
suse lacks /etc/init.d/functions
(cherry picked from commit
af6af0bbc4d874a42f0640eaafd762ebfc1bc872)
Jeffrey Altman [Thu, 30 Nov 2006 06:50:58 +0000]
DEVEL15-windows-notes-
20061130
updates for 1.5.12
Jeffrey Altman [Thu, 30 Nov 2006 06:46:28 +0000]
DEVEL15-STABLE15-windows-version-
20061130
1.5.1200 = 1.5.12
Jeffrey Altman [Thu, 30 Nov 2006 04:40:07 +0000]
DEVEL15-windows-release-notes-
20061129
1.5.12 Release Notes
Derrick Brashear [Wed, 29 Nov 2006 21:25:09 +0000]
DEVEL15-cprivate-ticketlen-is-32-not-16-
20061129
everyone else thinks ticketLen is 32 bits. contrary to what arby's says, different is not necessarily better.
(cherry picked from commit
45425b2f222d5c0a8dd56695587b6cdeba581b6a)
Jeffrey Altman [Wed, 29 Nov 2006 06:23:44 +0000]
DEVEL15-windows-dirty-buffer-optimization-
20061128
The old dirty buffer synchronization algorithm had a buf_IncrSyncer
thread walking the all buffer list periodically searching for dirty
buffers to write to the file server. This had several negative
results. The alogirithm ate up ever increasing amounts of CPU time
even when AFS is idle as the size of the cache increases. Also,
buffers were written to the file server in an order based upon the
original buffer allocation which has nothing to do with the order
in which the buffers became dirty.
The new algorithm maintains a dirty buffer list. Items are added
when the buffer is originally marked dirty. A buffer is only
removed from the list by the buf_IncrSyncer when the buffer is no
longer dirty. If the list is empty the thread goes back to thread
immediately without additional processing requirements.
(cherry picked from commit
d253bde4574e34ee08cf326ec4c481b57c230476)
Jeffrey Altman [Tue, 28 Nov 2006 09:29:28 +0000]
DEVEL15-volser-cleanup-
20061128
cleanup the return code handling from
DELTA volser-dump-validate-input-
20060417
Jeffrey Altman [Tue, 28 Nov 2006 09:17:14 +0000]
DEVEL15-windows-smb-dont-crash-vista-
20061128
Unlike previous versions of the OS, Vista performs a shutdown on
the Microsoft Loopback adapter just like it would on a real adapter.
This causes the smb_Listener threads to trigger a panic during a
suspend/hibernate power event.
The fix is to unbind from the network adapters in response to a
suspend/hibernate power event and then rebind to the adapters
when a resume power event is received. Note that the resume events
are not reliably delivered so it is possible the afs service will
not be accessible. However, this is the best we can do.
(cherry picked from commit
1ed0460435ec05150526c951d1ff32dd3b5a9c39)
Jeffrey Altman [Tue, 28 Nov 2006 09:08:04 +0000]
DEVEL15-windows-conn-analyze-
20061128
force an rx connection reset if VICECONNBAD or VICETOKENDEAD are
received
(cherry picked from commit
cb1997aad8a62b31f1e890dfe093a2d4845e0086)
Jeffrey Altman [Tue, 28 Nov 2006 09:01:14 +0000]
DEVEL15-windows-afslogon-dont-modify-environment-
20061128
don't allow environment variables we set to be inherited by child
processes
(cherry picked from commit
97733f8dcfd08968da5173ceb5976143728b5eab)
Russ Allbery [Tue, 21 Nov 2006 00:56:56 +0000]
DEVEL15-thiscell-whitespace-
20061120
Be more liberal when parsing ThisCell. Accept and ignore leading and
trailing whitespace and anything after the first whitespace character on
the first line. Return an error for a read error or for an empty cell
name.
(cherry picked from commit
769f4e49b60b15b27eb2898a5b28c2d99fc0238c)
Russ Allbery [Mon, 20 Nov 2006 23:49:18 +0000]
DEVEL15-relative-path-canonicalization-
20061120
Path canonicalization for commands such as bos getlog was only applied for
absolute paths; relative paths were still constructed relative to the
canonical directory. Modify the path canonicalization routines to also
canonicalize the base directory for relative paths.
(cherry picked from commit
778e2d5f18c1d0c93a073c137bb36e56f64747ef)
Jeffrey Altman [Mon, 20 Nov 2006 18:54:31 +0000]
DEVEL15-windows-netidmgr-plugin-vista-vs2005-
20061120
Define _USE_32BIT_TIME_T since that is what tokens contain.
Use cflagsdll instead of cflagsmt to avoid multiply defined entry points
(cherry picked from commit
848d2f1caa8d196831a1fe599694fdce0018136d)