Commit Graph

1026 Commits

Author SHA1 Message Date
Garry Zacheiss
bce2e68d63 STABLE12-create-openafs-1_2_9-20030410
Begin 1.2.9 release cycle.
2003-04-10 23:36:01 +00:00
Derrick Brashear
49718ffae9 STABLE12-linux-try-more-kernel-paths-20030410
FIXES 1364

try /usr/src/linux-2.4 in addition to /usr/src/linux


(cherry picked from commit 5946081876)
2003-04-10 20:57:49 +00:00
Garry Zacheiss
966df2da7b STABLE12-darwin-map-more-versions-20030410
Recognize MacOS X 10.2.5 as ppc_darwin_60.


(cherry picked from commit abc9f6b190)
2003-04-10 20:25:26 +00:00
Love Hörnquist-Åstrand
f6079f935f STABLE12-rxkad-2b-deal-with-expiry-20030410
FIXES 1369

return the actual error and not RXKADBADTICKET always


(cherry picked from commit 429cc8b646)
2003-04-10 19:55:40 +00:00
Mattias Amnefelt
d06ce0478b STABLE12-dux51-basic-build-support-20030409
so servers can be built from 1.2.9-release
2003-04-09 17:33:26 +00:00
Derrick Brashear
14659f5ccc STABLE12-h-gethost-r-race-20030401
FIXES 1308

avoid deref of identP when code is -1


(cherry picked from commit f40a6356f7)
2003-04-07 21:16:20 +00:00
Michael Niksch
dcbfb6a781 STABLE12-salvager-aix-update-20030407
make it work with namei


(cherry picked from commit 3ab37f7148)
2003-04-07 18:54:45 +00:00
Derrick Brashear
d6e1a033b0 STABLE12-flushhostcps-20030407
make it so flushhostcps can't try to Release when no host was found,
which was apparently the problem dlc@cs really observed.


(cherry picked from commit dd517125c2)
2003-04-07 18:39:25 +00:00
Derrick Brashear
1a4958a1ba STABLE12-volser-dump-vnode-include-volid-in-error-20030213
include a volume number in the error message


(cherry picked from commit 7c8bd23f40)
2003-04-04 09:29:47 +00:00
Derrick Brashear
e524fb1137 STABLE12-h-gethost-r-race-20030401
FIXES 1308

Thanks to Chaskiel Grundman for explaining what was happening:
- the connection is old and pre-existing, but has no host structure.
- 2 calls come in
- the first one enters h_GetHost_r, and h_Lookup_r returns null (but identP is
non-null, since rx keeps it around until it gc's the connection)
  The first thread calls WhoAreYou, which succeeds, it then calls
InitCallBackState3 (after H_UNLOCK) note that the host has been inserted into
the hashtable
- the second thread enters h_GetHost_r, and calls rx_GetSpecific. it then
calls h_Lookup_r. h_Lookup_r will block (new host is locked), but eventually
returns the new host
- InitCallBackState3 returns, and the frees the old identP, replaces it, and
unlocks the host.
- the first thread returns from h_Lookup_r. boom.

the changes:
-call rx_GetSpecific after h_Lookup_r returns (and potentially slept)
-removes an if wrapping which always is true (since !interfValid is always
 true)
-don't realloc identP if it exists
-don't free an old one by calling rx_SetSpecific either


(cherry picked from commit 5967b22698)
2003-04-02 01:23:58 +00:00
Garry Zacheiss
3fb1af01e8 STABLE12-darwin-map-more-version-20030331
Recognize MacOS X 10.2.3 and 10.2.4.


(cherry picked from commit f14686ea2e)
2003-03-31 19:23:20 +00:00
Derrick Brashear
2eeaecd162 STABLE12-ubik-allow-netinfo-netrestrict-to-mask-address-pointed-to-by-hostname-20020417
if you really want to mask the IP address from gethostbyname(gethostname())
there's not really any reason to stand in your way


(cherry picked from commit 7158ef3ae5)
2003-03-30 08:44:38 +00:00
Derrick Brashear
321194478d STABLE12-solaris-fs-rolled-20030328
for solaris 9 u2


(cherry picked from commit b9eb8cc669)
2003-03-28 21:27:16 +00:00
Daryl Clevenger
bfb32a8cd2 STABLE12-flushhostcps-init-held-20030328
init held so flushhostcps is more useful.


(cherry picked from commit 665e86f6fc)
2003-03-28 09:21:37 +00:00
Derrick Brashear
37a692ed7c STABLE12-viced-allow-hinting-of-all-new-clients-for-vbusy-vrestarting-handling-20030215
For sites with only new (>3.4) clients (or who decide to not care
about older clients) and want to force VRESTARTING instead of VBUSY.


(cherry picked from commit 214c2e7b19)
2003-03-28 09:17:18 +00:00
Derrick Brashear
a08324018f STABLE12-shlibafsrpc-export-missing-des-symbols-20030326
symbols libafsauthent wants but we don't have


(cherry picked from commit cd159fddcc)
2003-03-26 17:23:39 +00:00
Derrick Brashear
6549f0b0ea STABLE12-linux-rxk-listener-shutdown-cleanup-20030323
avoid need for sys_kill

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

get rid of need for sys_kill

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

get rid of need for sys_kill


(cherry picked from commit 937ec63685)
2003-03-26 09:11:29 +00:00
Nathan Neulinger
d0c1a98d36 STABLE12-rxkad2b-allow-no-kvno-20030325
allow a missing kvno field to work usefully


(cherry picked from commit 45dd8988f2)
2003-03-25 21:11:08 +00:00
Derrick Brashear
3c1b170d71 STABLE12-move-up-cell-initialization-in-cachemgr-20030323
to potentially avoid an oops at startup


(cherry picked from commit 3fa5f389b2)
2003-03-23 19:47:53 +00:00
Chaskiel M Grundman
de88f3af92 STABLE12-linux-kthreads-reparent-20030323
reparent kernel threads to avoid zombies at shutdown


(cherry picked from commit d14d08e35b)
2003-03-23 06:45:51 +00:00
Jim Rees
c6d666dcc1 STABLE12-xdrmem-getbytes-20030321
See, for example:
http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2003-003-xdr.txt
This source is unused but it seems like a good idea to patch it anyway.


(cherry picked from commit 7f4d43ac2f)
2003-03-21 18:36:42 +00:00
Chaskiel M Grundman
058866630d STABLE12-linux-hold-tasklist-lock-in-get-page-offset-20030321
tasklist_lock must be held to traverse list


(cherry picked from commit 38cec12f2c)
2003-03-21 18:28:52 +00:00
Derrick Brashear
c9481ff6b2 STABLE12-linux-one-more-stupid-configure-test-20030321
pointed out by zacheiss@mit.edu that i missed this. oops


(cherry picked from commit 4731e86a44)
2003-03-21 14:01:08 +00:00
Derrick Brashear
7109a0d3a3 STABLE12-redhat-81-support-again-20030319
once more. maybe this time they'll release something that looks like this


(cherry picked from commit 284d3edd23)
2003-03-19 22:22:59 +00:00
Derrick Brashear
3941397640 STABLE12-kaserver-disable-krb4-crossrealm-20030317
to deal with krb4 security advisory

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

to deal with krb4 security advisory
type mismatch for krb4_cross pointed out by Jack Neely <slack@quackmaster.net>


(cherry picked from commit 1312d1179d)
2003-03-19 12:52:36 +00:00
Joakim Fallsjö
567b277d77 STABLE12-sunx86-update-20030318
make client useful on solaris x86 again
2003-03-18 23:18:18 +00:00
Love Hörnquist-Åstrand
5020cd875f STABLE12-viced-vbusy-when-getclient-fails-20030317
more paranoia to not crash if GetClient fails, since there's apparently a
race we haven't found yet


(cherry picked from commit 4f35fbb680)
2003-03-18 03:55:18 +00:00
Chaskiel M Grundman
fb45c4e0bf STABLE12-winnt-no-softsig-20030314
FIXES 1333

the softsig stuff messed up the windows signal stuff. MSVC doesn't
recognize #elsif. if #elif isn't standard, then it needs to be split into
#else and another #if/#endif block.
2003-03-14 20:31:20 +00:00
Chaskiel M Grundman
1aadffeff8 STABLE12-winnt-rxkad5-20030314
FIXES 1333

stddef.h needed for NULL
2003-03-14 20:30:59 +00:00
Chaskiel M Grundman
d9369b2a7e STABLE12-winnt-afsrpc-assert-20030314
FIXES 1333

something in the fileserver started using osi_Assert, instead
of whatever assert comes from util, so we need osi_AssertFailU in addition
to AssertionFailed.
2003-03-14 20:30:37 +00:00
Chaskiel M Grundman
4412874583 STABLE12-winnt-client-shortcut-20030314
FIXES 1333

leaving the #include <initguid.h> in caused Bad Things to
happen when I did a build. I'm pretty sure initguid.h is only supposed to
be used by things that *impliment* COM objects.
2003-03-14 20:30:09 +00:00
Chaskiel M Grundman
2e16c4f7a5 STABLE12-winnt-afsd-initialize-rect-20030314
FIXES 1333

rect is used uninitialized, I'm pretty sure they really meant to
refer to main_rect.top, not rect.top
2003-03-14 20:29:34 +00:00
Chaskiel M Grundman
d6f8c0fbe2 STABLE12-winnt-fix-duplication-20030314
get rid of duplication
2003-03-14 20:17:27 +00:00
James Peterson
b2cc81be69 STABLE12-winnt-client-config-submount-fix-20030314
"Atempts to add a new drive, to the root, with a sub mount name, will
sometimes return error #35"


(cherry picked from commit 69a511d5b8)
2003-03-14 20:00:44 +00:00
Chaskiel M Grundman
0cbbd14397 STABLE12-winnt-include-sanity-20030314
FIXES 1332

include headers by their usual name instead of trying to be special


(cherry picked from commit 48acf9c2d7)
2003-03-14 19:49:00 +00:00
Ryan Lantzer
c4b1684e81 STABLE12-winnt-give-nosuchpath-if-thats-what-we-mean-20030314
FIXES 1329

"The Windows AFS client returns the error
ERROR_NOSUCHFILE, where the same request on a local NTFS volume returns
the error ERROR_NOSUCHPATH."


(cherry picked from commit ff6394b2e4)
2003-03-14 19:45:58 +00:00
Ryan Lantzer
f03c35669b STABLE12-winnt-stat-cache-ref-leak-fix-20030314
FIXES 1327

avoid leaking stat cache entries


(cherry picked from commit de4a11b01d)
2003-03-14 19:39:34 +00:00
Chaskiel M Grundman
fabcccc517 STABLE12-rx-init-stats-mutex-20030314
instead of what rx-init-mutex-before-calling-getudpsocket-20030313, just
init the mutex earlier where others are done


(cherry picked from commit 3c39714397)
2003-03-14 19:25:08 +00:00
James Peterson
9773f2df19 STABLE12-winnt-client-config-submount-fix-20030313
"Atempts to add a new drive, to the root, with a sub mount name, will
sometimes return error #35"


(cherry picked from commit 3c22e61e23)
2003-03-13 20:37:12 +00:00
Derrick Brashear
6372a7881e STABLE12-rx-init-mutex-before-calling-getudpsocket-20030313
pointed out by cg2v@andrew.cmu.edu


(cherry picked from commit 7187d07423)
2003-03-13 19:02:21 +00:00
Derrick Brashear
9cf19b4718 STABLE12-cbd-all-flag-in-usage-20030310
cbd supports -all; put it in usage.


(cherry picked from commit 4f33d5b428)
2003-03-11 02:22:03 +00:00
Nickolai Zeldovich
cc4b04cf84 STABLE12-add-useful-string-functions-20020822
Add two useful functions for string operations: afs_strdup() and
afs_osi_FreeStr().  Will be used by an upcoming patch.


(cherry picked from commit 5d36376c07)
2003-03-10 23:29:53 +00:00
Nickolai Zeldovich
cdb8a859c4 STABLE12-new-and-maybe-improved-cell-code-20020822
This is mostly a rewrite of src/afs/afs_cell.c, and associated changes
to other things.  Features of the new cell code:

 * Persistent name-to-cell-number mapping across reboots, to ensure the
   cell numbers in the dcache are meaningful.  Stored in the new cache
   file, /usr/vice/cache/CellInfo.
 * Allow cmdebug to query the cell number to cell name mapping.
 * Allow clients to have an empty CellServDB as long as AFSDB is enabled
   and ThisCell has AFSDB records.
 * The home cell retains the setuid bit even if looked up via AFSDB.
 * Dynroot gets its own cell, rather than piggybacking on cell 1.
 * Cell 1 is no longer special; cell numbers are now semi-opaque.
 * Convert cell traversal code to using GetCellByIndex rather than
   directly poking at CellLRU / afs_xcell.
 * Separate cells from aliases, which shouldn't have been the same
   in the first place.
 * Cleaner code (IMHO).

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

correct a code block so patch is correct


(cherry picked from commit 629d080654)
2003-03-06 15:25:35 +00:00
Derrick Brashear
1f068c5508 STABLE12-misc-build-fix-20030306
fix error logging code
2003-03-06 15:04:08 +00:00
Derrick Brashear
303a667a20 STABLE12-windows-cm-getcellbynum-rpc-20030306
missing stub


(cherry picked from commit 7ee56b700d)
2003-03-06 08:50:16 +00:00
Rainer Toebbicke
0941d7d223 STABLE12-rx-thread-id-startup-20030303
FIXES 1304

avoid using rxi_availProcs to allocate thread ids as it may decrement from under us


(cherry picked from commit 45a4d9cb08)
2003-03-03 15:58:30 +00:00
James Peterson
6e1cf41686 STABLE12-winnt-cleanup-memory-leak-20030303
FIXES 1322

due to a change in the smb protocol we leaked memory. fix it.


(cherry picked from commit 241c062810)
2003-03-03 15:19:53 +00:00
Harald Barth
a760f23834 STABLE12-nuke-create-windows-pathnames-only-on-windows-thanks-20030228
don't construct a windows path on unix


(cherry picked from commit 54f056cc7a)
2003-03-01 01:22:49 +00:00
Derrick Brashear
2d6897746a STABLE12-salvager-create-larger-buffer-for-inodes-tmpfile-and-avoid-overrun-20030224
FIXES 1318

pointed out by Hartmut Reuter


(cherry picked from commit 0385de10a1)
2003-02-24 16:37:53 +00:00
Love Hörnquist-Åstrand
ca72f01c51 STABLE12-viced-fix-port-logging-20030218
FIXES 1307

put port in correct byte order when logging


(cherry picked from commit 45a43078f0)
2003-02-19 02:37:36 +00:00