]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
19 years agoDEVEL15-windows-integrated-logon-20060724
Jeffrey Altman [Mon, 24 Jul 2006 15:13:16 +0000 (15:13 +0000)]
DEVEL15-windows-integrated-logon-20060724

 * apply ACL restrictions to credential cache immediately after
   initialization

 * move file from system temp directory to user temp directory
   prior to starting executable as user to perform credential
   import

(cherry picked from commit 1a0329fef030fedce3fb12d9c641825b0d49f053)

19 years agoDEVEL15-windows-ifs-cleanup-20060720
Jeffrey Altman [Thu, 20 Jul 2006 22:46:18 +0000 (22:46 +0000)]
DEVEL15-windows-ifs-cleanup-20060720

* fix up prototypes

* remove unused variables

* re-organize code for readability

* fix type safety issues

(cherry picked from commit 22f43b30a094669cc8b52bfb416ef6fb099bb93c)

19 years agoDEVEL15-windows-ifs-afsrdr-20060718
Jeffrey Altman [Thu, 20 Jul 2006 07:08:07 +0000 (07:08 +0000)]
DEVEL15-windows-ifs-afsrdr-20060718

updates to ifs afsrdr code to allow it to compile.

(cherry picked from commit 8d4d47860baeb983759782f64d46ec70659e5022)

19 years agoDEVEL15-windows-ifs-20060718
Jeffrey Altman [Thu, 20 Jul 2006 04:26:53 +0000 (04:26 +0000)]
DEVEL15-windows-ifs-20060718

enable the afsifs code to build again

(cherry picked from commit 66db2c9bec2b6a38aab49eb31a992701930bd055)

19 years agoDEVEL15-aix5-curpag-20060719
Derrick Brashear [Wed, 19 Jul 2006 22:17:17 +0000 (22:17 +0000)]
DEVEL15-aix5-curpag-20060719

curpag() exists in too many places
anyway, fix em

(cherry picked from commit 72abe41e1df0e530ae73e50b0b952b26d4e26683)

19 years agoDEVEL15-viced-checkrights-loglevel-20060719
Jeffrey Altman [Wed, 19 Jul 2006 15:48:17 +0000 (15:48 +0000)]
DEVEL15-viced-checkrights-loglevel-20060719

increase the log level on the "CheckRights: len=%u, for host=%s:%d\n"
message to 5.

(cherry picked from commit 14ed562c4b576bcfe6b0147b86fa5f7899d22c16)

19 years agoDEVEL15-rxkad-typeindex-20060718
Tom Keiser [Wed, 19 Jul 2006 05:20:35 +0000 (05:20 +0000)]
DEVEL15-rxkad-typeindex-20060718

clean up an off by one error for type index

(cherry picked from commit 51d0c3c8d1daf63e2a9d07ff5be0e649eb821b0c)

19 years agoDEVEL15-windows-relnotes-20060718
Jeffrey Altman [Wed, 19 Jul 2006 05:15:17 +0000 (05:15 +0000)]
DEVEL15-windows-relnotes-20060718

 Updates for 1.5.x

====================
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 new files and remove dead files

19 years agoDEVEL15-windows-wix-2_0_4221-20060718
Jeffrey Altman [Tue, 18 Jul 2006 17:03:59 +0000 (17:03 +0000)]
DEVEL15-windows-wix-2_0_4221-20060718

 * Updates to WIX installer to support the 2.0.4221 build

 * Removes unnecessary files from Release Notes

(cherry picked from commit 436e8fe17b2051db806e386db86b3de789afb2f0)

19 years agoDEVEL15-windows-cifs-rewrite-20060717
Jeffrey Altman [Mon, 17 Jul 2006 19:46:52 +0000 (19:46 +0000)]
DEVEL15-windows-cifs-rewrite-20060717

a re-write of the Tran2 Query File Info, Query Path Info, Set File Info,
and Set Path Info functions to make them more readable and ensure
correctness.

(cherry picked from commit 94e2fd2f51b671ee44e9ddd12b44c6d26aa149fe)

19 years agoDEVEL15-aix-largefile-20060714
Tom Keiser [Fri, 14 Jul 2006 20:35:20 +0000 (20:35 +0000)]
DEVEL15-aix-largefile-20060714

FDH_WRITE can return something great \7fer than an int32 size for largefile

(cherry picked from commit 7cb94029ce2092f2117742047cffd3c6b58292cd)

19 years agoDEVEL15-vpurge-needs-no-lock-20060713
Derrick Brashear [Thu, 13 Jul 2006 19:18:15 +0000 (19:18 +0000)]
DEVEL15-vpurge-needs-no-lock-20060713

don't hold the VOL_LOCK during vpurgevolume
volserver's transaction stuff (NewTrans, actually) precludes any problem

(cherry picked from commit 6878e0b6348a649768274adbce77500fbd45caa4)

19 years agoDEVEL15-rxkad-private-reorder-structures-20060713
Derrick Brashear [Thu, 13 Jul 2006 18:58:10 +0000 (18:58 +0000)]
DEVEL15-rxkad-private-reorder-structures-20060713

based on fix from tkeiser@gmail.com for aix segfaulting issue; keep offsets of
cprivate and sprivate's copies of type and level the same

(cherry picked from commit 845b4ac1cf8f97c5c4d84e36109ef477edef4a31)

19 years agoDEVEL15-tsm-interface-simple-uid-20060713
Derrick Brashear [Thu, 13 Jul 2006 18:41:15 +0000 (18:41 +0000)]
DEVEL15-tsm-interface-simple-uid-20060713

for now we use afs_uint32 as a uid in the exported interface

(cherry picked from commit 8b898261c1c682f819856966f8158aba36d9abdb)

19 years agoDEVEL15-aix-lam-20060712
Tom Keiser [Thu, 13 Jul 2006 18:23:27 +0000 (18:23 +0000)]
DEVEL15-aix-lam-20060712

tsm for aix5

(cherry picked from commit 4c1503ee9bf5769a9de247a86d7b9dae85bbd993)

19 years agoDEVEL15-windows-wait-rx-hard-dead-time-20060710
Jeffrey Altman [Mon, 10 Jul 2006 20:27:30 +0000 (20:27 +0000)]
DEVEL15-windows-wait-rx-hard-dead-time-20060710

Don't timeout based upon the LAN Workstation Session Timeout value.
Instead wait for the rx hard dead timeout.

(cherry picked from commit 8f2aba65819a668fc4a78c0ab929932c23cbc381)

19 years agoDEVEL15-windows-dllmap-20060705 openafs-devel-1_5_3
Jeffrey Altman [Thu, 6 Jul 2006 01:18:33 +0000 (01:18 +0000)]
DEVEL15-windows-dllmap-20060705

afsrpc.dll and afsauthent.dll got too big for their
allocations.

(cherry picked from commit 39af776e0e9c295aa24dcd31cd42d845980ad8d8)

19 years agoDEVEL15-openafs-1-5-3-20060705
Derrick Brashear [Wed, 5 Jul 2006 21:21:28 +0000 (21:21 +0000)]
DEVEL15-openafs-1-5-3-20060705

make openafs 1.5.3

19 years agoDEVEL15-windows-vlserver-makefile-correction-20060705
Jeffrey Altman [Wed, 5 Jul 2006 20:21:05 +0000 (20:21 +0000)]
DEVEL15-windows-vlserver-makefile-correction-20060705

so make clean works right (remove vldbint.h)

(cherry picked from commit 3aa506fe502f010135d25e0d6996f5cdc38a13bd)

19 years agoDEVEL15-libafsrpc-export-xdr-20060705
Derrick Brashear [Wed, 5 Jul 2006 19:36:14 +0000 (19:36 +0000)]
DEVEL15-libafsrpc-export-xdr-20060705

"       ld: warning: relocation warning: R_SPARC_COPY: file
       /usr/local/lib/libafsrpc.so: symbol
        rx_enable_stats: relocation bound to a symbol with STV_PROTECTED
       visibility
       Undefined                       first referenced
        symbol                             in file
       xdr_afs_uint32
       /usr/local/lib/libafsauthent.a(ptint.xdr.o)
       ld: fatal: Symbol referencing errors. No output written to slapd
       collect2: ld returned 1 exit status
"

one can guess how that might be less than useful

(cherry picked from commit 3d4b12626136a59bd876648e0d1360f629998df8)

19 years agoDEVEL15-windows-version-20060705
Jeffrey Altman [Wed, 5 Jul 2006 18:12:50 +0000 (18:12 +0000)]
DEVEL15-windows-version-20060705

1.5.3 == 1.5.0003

19 years agoDEVEL15-windows-cifs-20060704
Jeffrey Altman [Tue, 4 Jul 2006 23:43:24 +0000 (23:43 +0000)]
DEVEL15-windows-cifs-20060704

a mixture of updates to cifs compliance

(cherry picked from commit f720e922a982ec99d57adb0514878c65bafc4293)

19 years agoDEVEL15-ubik-call-sucks-20060704
Jeffrey Altman [Tue, 4 Jul 2006 22:24:09 +0000 (22:24 +0000)]
DEVEL15-ubik-call-sucks-20060704

make ubik_Call removal work on Windows.

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

another fix for Windows

(cherry picked from commit 941ac04165a9239a11b4ab908350dbfae24edfb9)

19 years agoDEVEL15-viced-uninitialized-20060704
Jeffrey Altman [Tue, 4 Jul 2006 07:18:30 +0000 (07:18 +0000)]
DEVEL15-viced-uninitialized-20060704

tcon in XStatsVersion.

(cherry picked from commit 15963ecb3459f34025c0e8fdbf8f1055e1e4a294)

19 years agoDEVEL15-fileserver-hates-pruclient-20060626
Derrick Brashear [Tue, 4 Jul 2006 04:57:24 +0000 (04:57 +0000)]
DEVEL15-fileserver-hates-pruclient-20060626

right now there is one struct ubik_client shared by all threads in the fileserve
r, which sucks when one has it locked

let's, uh, fix that.

(cherry picked from commit e117599fe17fdfca9c61d1883fe9bf9aa95e3918)

19 years agoDEVEL15-ubik-call-sucks-20060703
Derrick Brashear [Tue, 4 Jul 2006 04:51:30 +0000 (04:51 +0000)]
DEVEL15-ubik-call-sucks-20060703

ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible

(cherry picked from commit 4478d3a99a1baaee081048a20ac50e7af0223647)

19 years agoDEVEL15-sol10u2-rename-20060703
Tom Keiser [Mon, 3 Jul 2006 19:54:34 +0000 (19:54 +0000)]
DEVEL15-sol10u2-rename-20060703

FIXES 34774

In s10u2 the vnode path cache code was modified so that we're no longer
guaranteed of having a valid path cache pointer for the lofs mount case.
Attached patch changes gafs_rename to deal with this. Patch also removes
unnecessary MODLOAD32 build rule from sun4x_510 case.

(cherry picked from commit a2d5bb078f3df6dc6fe992fdcaaf8b5a5607c0d6)

19 years agoDEVEL15-fileserver-hates-pruclient-20060626
Derrick Brashear [Mon, 3 Jul 2006 19:46:06 +0000 (19:46 +0000)]
DEVEL15-fileserver-hates-pruclient-20060626

right now there is one struct ubik_client shared by all threads in the fileserver, which sucks when one has it locked

let's, uh, fix that.

(cherry picked from commit 791b2141809fc0ad2da78ab3cd91303ac0ec482d)

19 years agoDEVEL15-windows-notes-20060703
Jeffrey Altman [Mon, 3 Jul 2006 18:11:08 +0000 (18:11 +0000)]
DEVEL15-windows-notes-20060703

notes

19 years agoDEVEL15-windows-wix-sdk-20060702
Asanka Herath [Mon, 3 Jul 2006 02:46:33 +0000 (02:46 +0000)]
DEVEL15-windows-wix-sdk-20060702

Move SDK to \Program Files\OpenAFS\SDK

(cherry picked from commit 277eb30d32349ad1fd24b1ea02a8dfca86c79ef5)

19 years agoDEVEL15-windows-library-cleanup-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:06:44 +0000 (02:06 +0000)]
DEVEL15-windows-library-cleanup-20060702

afs_winsockCleanup

(cherry picked from commit 20b4f785b56ff604bab72d3b624aae74a9e5ae5d)

19 years agoDEVEL15-windows-afsauth-krb-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:06:01 +0000 (02:06 +0000)]
DEVEL15-windows-afsauth-krb-20060702

Build the afsuth.krb library

(cherry picked from commit e66467f382a31345f3ea9dd919ea703eccb623d9)

19 years agoDEVEL15-windows-nsis-sdk-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:04:36 +0000 (02:04 +0000)]
DEVEL15-windows-nsis-sdk-20060702

Move SDK to Program Files\OpenAFS\SDK

(cherry picked from commit 5accc48e1b0db55c56ba64abe0450d511c0fdf2a)

19 years agoDEVEL15-windows-afslogon-pr_end-20060702
Jeffrey Altman [Mon, 3 Jul 2006 02:03:13 +0000 (02:03 +0000)]
DEVEL15-windows-afslogon-pr_end-20060702

* do not attempt to copy kfw krb5 creds if integrated logon disabled

* disable use of automatic registration from afslogon.dll.  calling
  pr_Initialize() results in rx_Init() being called which creates
  threads that prevent safe unloading of the dll.  This is causing
  crashes in third party applications that call CreateProcessAsUser()
  which in turn temporarily loads afslogon.dll.

* add life_to_time to afskfw.c in order remove the link to the rxkad
  and des libraries

(cherry picked from commit 61df8d9fc834b87d758d8581e73fa7c05198ecf4)

19 years agoDEVEL15-butc-prototyping-20060701
Derrick Brashear [Sat, 1 Jul 2006 06:02:49 +0000 (06:02 +0000)]
DEVEL15-butc-prototyping-20060701

have some prototypes
happy july 1
and what a crappy day it is

(cherry picked from commit 1947002d11358b9427adce1d6e03f5357a416ad8)

19 years agoDEVEL15-libcmd-support-version-switch-20060630
Derrick Brashear [Fri, 30 Jun 2006 20:47:08 +0000 (20:47 +0000)]
DEVEL15-libcmd-support-version-switch-20060630

well, i guess adm will be sad until it exports AFSVersion, but, life is hard.

(cherry picked from commit 350c140d89198cb7f9f8b241188f9937d7da119e)

19 years agoDEVEL15-solaris-vfsops-20060629
Tom Keiser [Fri, 30 Jun 2006 15:07:31 +0000 (15:07 +0000)]
DEVEL15-solaris-vfsops-20060629

fix symbol binding for modern solaris 10 patches (6/06)
which kills a few we didn't need anyway

(cherry picked from commit 8a1a06b5eb0e415859fd841c3c4a6b578eaea022)

19 years agoDEVEL15-salvager-20060628
Tom Keiser [Fri, 30 Jun 2006 15:00:45 +0000 (15:00 +0000)]
DEVEL15-salvager-20060628

make ClearROInUseBit actually do it

(cherry picked from commit 2dcf63ef4e044019bda5889f1de332432124bb71)

19 years agoDEVEL15-rxbind-typo-fix-20060629
Christopher Allen Wing [Fri, 30 Jun 2006 01:18:43 +0000 (01:18 +0000)]
DEVEL15-rxbind-typo-fix-20060629

FIXES 34634

kill this obvious typo

(cherry picked from commit bc9f256f1c6d2ac26a0b6bfc15de85de895ecf0b)

19 years agoDEVEL15-rxkad-rt34568-20060629
Jeffrey Altman [Fri, 30 Jun 2006 00:27:16 +0000 (00:27 +0000)]
DEVEL15-rxkad-rt34568-20060629

FIXES 34568

The use of strncmp() results in p->v5_str being treated as matching
prefix instead of as the complete string.  This causes "ftpa" to be
considered a match for "ftp".

(cherry picked from commit f0830f89a11a2fea06a26270a90c7ddf8365a533)

19 years agoDEVEL15-windows-bulkstat-eaccess-20060628
Jeffrey Altman [Wed, 28 Jun 2006 16:01:21 +0000 (16:01 +0000)]
DEVEL15-windows-bulkstat-eaccess-20060628

New CM_SCACHEFLAG_EACCESS flag is used to track whether the status
information was the result of an EACCESS error during an inline bulk
status call.  If so, we have a callback but did not get any status
info.  When this flag is set we include the entry in future bulk status
calls but otherwise treat the cm_scache entry as if it has a valid
callback.  The callback will be revoked if the ACLs on the object
changes.

(cherry picked from commit a8dc93bf9f93a1ab74972c41d09af01da93ff230)

19 years agoDEVEL15-windows-inlinebulkstat-20060628
Jeffrey Altman [Wed, 28 Jun 2006 06:34:50 +0000 (06:34 +0000)]
DEVEL15-windows-inlinebulkstat-20060628

fix the timeout conditional and error handling so that all directory
entries will be processed.

now there is a problem in which transitioning from no tokens to tokens
does not result in refreshed data.  something to look into.

(cherry picked from commit cb395ac70a2387723b0eceb33afe293d2cbfbf71)

19 years agoDEVEL15-windows-inlinebulkstat-20060627
Jeffrey Altman [Wed, 28 Jun 2006 04:24:05 +0000 (04:24 +0000)]
DEVEL15-windows-inlinebulkstat-20060627

Activate previously implemented TryBulkStat code.  Due to incorrect
comparisons the code was never executed.  Add support for InlineBulkStat
with fallback to BulkStat and increase the size of CM_BULKMAX to 150.
(3 * AFSCBMAX)

Add CM_SERVERFLAG_NOINLINEBULK to track support for InlineBulkStat.
Clear flag during InitCallbackState.

(cherry picked from commit 7fa3d8d735779c263eec66fecec5255d8407b2be)

19 years agoDEVEL15-windows-fs-uuid-part-two-20060627
Jeffrey Altman [Tue, 27 Jun 2006 23:53:42 +0000 (23:53 +0000)]
DEVEL15-windows-fs-uuid-part-two-20060627

force new connections after uuid change

(cherry picked from commit 08c07df7eb8ab22857d0c23d8f7ab35532576039)

19 years agoDEVEL15-windows-fs-uuid-20060627
Jeffrey Altman [Tue, 27 Jun 2006 23:19:35 +0000 (23:19 +0000)]
DEVEL15-windows-fs-uuid-20060627

 fs uuid [-generate]

(cherry picked from commit 5c563c121e853a06bb47d0b8932276982e676150)

19 years agoDEVEL15-windows-uninitialized-vars-20060627
Jeffrey Altman [Tue, 27 Jun 2006 22:54:31 +0000 (22:54 +0000)]
DEVEL15-windows-uninitialized-vars-20060627

uninitialized pointers when dereferenced do bad things

(cherry picked from commit a8e481ddd92744944d2b06fd5c8ed28383297f6a)

19 years agoDEVEL15-windows-cleanup-20060627
Jeffrey Altman [Tue, 27 Jun 2006 16:40:33 +0000 (16:40 +0000)]
DEVEL15-windows-cleanup-20060627

 * fix UAEACCES debug string

 * assign scachetype invalid when invalid

 * smb_WriteData prototype

 * update T2 search dir debug message to include unique

(cherry picked from commit f2c64e15995abc6791923013805cca402e6f4e8e)

19 years agoDEVEL15-windows-do-not-release-null-20060626
Jeffrey Altman [Tue, 27 Jun 2006 05:04:27 +0000 (05:04 +0000)]
DEVEL15-windows-do-not-release-null-20060626

uidp can be null.  if so, do not release.

(cherry picked from commit 8de6593c6829eab9dae15fc38ba08f382ee7b096)

19 years agoDEVEL15-afsutil-includes-20060623
Christopher Allen Wing [Mon, 26 Jun 2006 17:20:50 +0000 (17:20 +0000)]
DEVEL15-afsutil-includes-20060623

Include <afs/afsutil.h> for prototypes of afs_inet_ntoa and afs_inet_ntoa_r.

(cherry picked from commit 2a1aff4104dd9a71bebf1a63ca85ac86338b3b1b)

19 years agoDEVEL15-windows-wix-path-key-fix-20060625
Asanka Herath [Mon, 26 Jun 2006 06:48:31 +0000 (06:48 +0000)]
DEVEL15-windows-wix-path-key-fix-20060625

properly set the path key

(cherry picked from commit 2a6f610ecadcc61f7fe332e63f8ffca7942e4193)

19 years agoDEVEL15-windows-32bit-tools-client-dir-20060625
Jeffrey Altman [Mon, 26 Jun 2006 03:25:49 +0000 (03:25 +0000)]
DEVEL15-windows-32bit-tools-client-dir-20060625

Modify afssw_GetClientInstallDir to check both the registry for both
the full client installation as well as the 32-bit tools installation
for the Client Install Pathname.

(cherry picked from commit 83e22d270ea07cd473bc98a5fb2e7191cb840a40)

19 years agoDEVEL15-windows-wix-client-path-20060625
Jeffrey Altman [Mon, 26 Jun 2006 03:19:31 +0000 (03:19 +0000)]
DEVEL15-windows-wix-client-path-20060625

move <Environment> tag to a component that will be installed
as part of the 32-bit tools so that Client\Program is added to
the PATH.

(cherry picked from commit ea499821f73a9f27aad36b1878cccd26b2dc55c5)

19 years agoDEVEL15-windows-largefile-support-20060625
Jeffrey Altman [Sun, 25 Jun 2006 22:45:11 +0000 (22:45 +0000)]
DEVEL15-windows-largefile-support-20060625

don't clear the no64bit when there is no server

(cherry picked from commit 0eb04961602949683be26cbe002677b5ee537ab6)

19 years agoDEVEL15-windows-aklog-64bit-20060625
Qi Dong [Sun, 25 Jun 2006 18:58:06 +0000 (18:58 +0000)]
DEVEL15-windows-aklog-64bit-20060625

Prepare makefile to link against kfw 64-bit libs when they are
available.

(cherry picked from commit 266c9339896d75ab36dc812f1e905d05be23e0fd)

19 years agoDEVEL15-windows-64bit-type-safety-20060625
Qi Dong [Sun, 25 Jun 2006 18:54:47 +0000 (18:54 +0000)]
DEVEL15-windows-64bit-type-safety-20060625

Type casting

(cherry picked from commit ebef2766358b8cca53efd5c12bc951198eb246e0)

19 years agoDEVEL15-windows-cleanup-20060625
Jeffrey Altman [Sun, 25 Jun 2006 17:58:00 +0000 (17:58 +0000)]
DEVEL15-windows-cleanup-20060625

cleanup AFS_component_version_number.h

(cherry picked from commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9)

19 years agoDEVEL15-windows-wix-tools-on-i386-only-20060625
Jeffrey Altman [Sun, 25 Jun 2006 16:01:04 +0000 (16:01 +0000)]
DEVEL15-windows-wix-tools-on-i386-only-20060625

only build the 32-bit tools installer on i386

(cherry picked from commit 8c3e1ad7578dfbfd26633fc12b91ea69c1f77436)

19 years agoDEVEL15-windows-nsis-help-files-install-location-20060625
Jeffrey Altman [Sun, 25 Jun 2006 15:57:12 +0000 (15:57 +0000)]
DEVEL15-windows-nsis-help-files-install-location-20060625

place the help files in the correct location

(cherry picked from commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12)

19 years agoDEVEL15-windows-report-quota-diskfull-20060624
Jeffrey Altman [Sun, 25 Jun 2006 02:51:40 +0000 (02:51 +0000)]
DEVEL15-windows-report-quota-diskfull-20060624

overquota and diskfull errors are detected while writing dirty buffers
to the file server.  A flag is set on the scp so that the error can
be returned to the caller.  cm_FSync was clearing the flag without
returning the error. This permitted calls to Win32 WriteFile to report
success even when they failed.

(cherry picked from commit 8e0033ba73ef9551cb24052ef90db677e4adad50)

19 years agoDEVEL15-windows-largefile-support-20060623
Asanka Herath [Sat, 24 Jun 2006 21:41:54 +0000 (21:41 +0000)]
DEVEL15-windows-largefile-support-20060623

This patch adds large file support (> 2GB) to the CIFS server and
the cache manager.

It also corrects a significant oversight where the definition of
struct rx_call was inconsistent due to a failure to define AFS_PTHREAD_ENV
prior to including rx.h in all source files.  This prevented all errors
during rx_Read and rx_Write to be ignored.

(cherry picked from commit 015f9ce287c22df7a0b967ee0357d0816b4e0e54)

19 years agoDEVEL15-rhel3-krb524-checking-20060624
Russ Allbery [Sat, 24 Jun 2006 17:24:19 +0000 (17:24 +0000)]
DEVEL15-rhel3-krb524-checking-20060624

FIXES 30589

Check for krb524 functions in libkrb524 if not found in libkrb5 so that the
Kerberos v5 support will build on RHEL3.  Thanks to Derek Atkins for the
debugging and testing.

(cherry picked from commit a4cb03504075771e0f2cfebf931f91f29553c73a)

19 years agoDEVEL15-windows-viced-cbd-20060624
Jeffrey Altman [Sat, 24 Jun 2006 15:10:46 +0000 (15:10 +0000)]
DEVEL15-windows-viced-cbd-20060624

don't break platforms other than Windows

(cherry picked from commit 830756f8f73e1f67da6ec916cdfc3e4b9a677f71)

19 years agoDEVEL15-windows-wix-help-files-install-location-20060623
Asanka Herath [Sat, 24 Jun 2006 03:49:43 +0000 (03:49 +0000)]
DEVEL15-windows-wix-help-files-install-location-20060623

place the help files in the correct location

(cherry picked from commit e264711295275b7b1372e701bf106cf75b342007)

19 years agoDEVEL15-windows-cm_syncop-buflocked-20060622
Jeffrey Altman [Fri, 23 Jun 2006 04:34:40 +0000 (04:34 +0000)]
DEVEL15-windows-cm_syncop-buflocked-20060622

If cm_SyncOp is called with the buffer locked, it must be returned
locked even on error.

(cherry picked from commit ae9a07a8e0a5d0e83e138ef9bbd71b3e7e0072ea)

19 years agoDEVEL15-windows-no-freelance-vldb-failover-20060622
Jeffrey Altman [Thu, 22 Jun 2006 22:54:40 +0000 (22:54 +0000)]
DEVEL15-windows-no-freelance-vldb-failover-20060622

When Freelance mode is not in use the cache manager must load the root.afs
volume of the default cell in order to be able to start.   Unfortunately,
if the first vlserver fails the request to obtain the volume information
will timeout and no retries will be performed.  This patch performs up
to 10 retries in the initialization code in order to enable the vlservers
to be marked down so that failover can occur.

(cherry picked from commit 4859232df55c94232a70d602cafe6a8bcc72d9dd)

19 years agoDEVEL15-windows-viced-cbd-20060621
Jeffrey Altman [Wed, 21 Jun 2006 21:40:31 +0000 (21:40 +0000)]
DEVEL15-windows-viced-cbd-20060621

typo

(cherry picked from commit d53a0a8d5e58d6bb0a979d977889aa2bfcb19829)

19 years agoDEVEL15-windows-viced-cbd-20060620
Jeffrey Altman [Tue, 20 Jun 2006 23:10:53 +0000 (23:10 +0000)]
DEVEL15-windows-viced-cbd-20060620

build the callback debug utility

(cherry picked from commit f3a7cd67c5d9d225a688892b3d5948db11e9a82e)

19 years agoDEVEL15-aix-largefile-cleanup-20060620
Tom Keiser [Tue, 20 Jun 2006 22:40:04 +0000 (22:40 +0000)]
DEVEL15-aix-largefile-cleanup-20060620

some largefile cleanup and other minor aix tweaking

(cherry picked from commit 7826b313868ec8ce975b65e5c430a9503fca4dd5)

19 years agoDEVEL15-windows-afsrpc-exports-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:59:25 +0000 (21:59 +0000)]
DEVEL15-windows-afsrpc-exports-20060620

New functions: rx_InitHost, rx_NewServiceHost

(cherry picked from commit 840ef4a80f3ec8378865232f23171c7c3485626b)

19 years agoDEVEL15-rxbind-for-servers-20060620
Jeffrey Altman [Tue, 20 Jun 2006 21:37:10 +0000 (21:37 +0000)]
DEVEL15-rxbind-for-servers-20060620

do not call parseNetFile on Windows where the function does not exist

(cherry picked from commit 7af6b06cb6611a8925e3fa887ddf0a03542ee4dc)

19 years agoDEVEL15-viced-findclient-do-not-return-wrong-client-20060620
Jeffrey Hutzelman [Tue, 20 Jun 2006 21:03:16 +0000 (21:03 +0000)]
DEVEL15-viced-findclient-do-not-return-wrong-client-20060620

In h_FindClient_r it was possible for the wrong client to be returned
and worse for it to be returned without the reference count being
incremented.

(cherry picked from commit 06fa1f9c40432747724e6e55154bf54e1e3e94c5)

19 years agoDEVEL15-viced-deadlock-20060620
Rainer Toebbicke [Tue, 20 Jun 2006 15:53:18 +0000 (15:53 +0000)]
DEVEL15-viced-deadlock-20060620

FIXES 34073

* checks for client == oldClient

* drops the H_LOCK prior to obtaining the WriteLock on oldClient
  in order to prevent a deadlock

(cherry picked from commit efd74baa950133de6ed92b7395be6d14ef63a58e)

19 years agoDEVEL15-fs-getcache-show-more-20060615
Troy Benjegerdes [Thu, 15 Jun 2006 16:52:59 +0000 (16:52 +0000)]
DEVEL15-fs-getcache-show-more-20060615

show more info about cache usage, optionally

(cherry picked from commit 176c2fddb95ced6c13e04e7492fc09b5551f273c)

19 years agoDEVEL15-linux-current-already-used-20060615
Troy Benjegerdes [Thu, 15 Jun 2006 16:45:19 +0000 (16:45 +0000)]
DEVEL15-linux-current-already-used-20060615

don;'t conflict on use of current

(cherry picked from commit 463d899a4f6527fc26d29e4cff31f65028cfa43f)

19 years agoDEVEL15-getaddr-avoid-looping-20060615
Derrick Brashear [Thu, 15 Jun 2006 16:20:56 +0000 (16:20 +0000)]
DEVEL15-getaddr-avoid-looping-20060615

so it would be good to count these all off

oops

(cherry picked from commit 2e691074fb6ce70e8352da3e57a746a77f7489f1)

19 years agoDEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613
Derrick Brashear [Tue, 13 Jun 2006 04:52:39 +0000 (04:52 +0000)]
DEVEL15-getaddr-skip-loopbacks-version-for-macos-20060613

so rxbind does something sensible

(cherry picked from commit 3d1fc22c6ba5d07c831da79ffa01e3cf4d95322a)

19 years agoDEVEL15-rxbind-for-servers-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:29:15 +0000 (01:29 +0000)]
DEVEL15-rxbind-for-servers-20060612

FIXES 32308

support -rxbind switch for servers

(cherry picked from commit 592d97f9472abcf77496cef07261fa8766f60b9f)

19 years agoDEVEL15-namei-dec-drop-lock-20060612
Derrick Brashear [Tue, 13 Jun 2006 01:01:51 +0000 (01:01 +0000)]
DEVEL15-namei-dec-drop-lock-20060612

FIXES 17638

unsure why yet, or even if, but this is all that makes sense

(cherry picked from commit 1e5f6a17fcf4f7039bae756c22735b77a31ceec5)

19 years agoDEVEL15-linux-enable-gcpags-20060612
Derrick Brashear [Mon, 12 Jun 2006 17:25:47 +0000 (17:25 +0000)]
DEVEL15-linux-enable-gcpags-20060612

enable gcpags

(cherry picked from commit 33418253e06534b43ad44eaa71b7c4a84be7cb49)

19 years agoDEVEL15-recvackpkt-count-acks-and-open-cong-window-20060612
Chas Williams [Mon, 12 Jun 2006 05:27:07 +0000 (05:27 +0000)]
DEVEL15-recvackpkt-count-acks-and-open-cong-window-20060612

"the non AFS_GLOBAL_RXLOCK_KERNEL version of
rxi_ReceiveAckPacket() wasnt counting 'hard' acks and not opening the
congestion window.  using rx_Readv() directs the incoming packets into
the target iov, and sends a hard ack (skipping soft acks).  "

(cherry picked from commit b365b06d34a9450dc53ad22e8ecb3f6d922af5f4)

19 years agoDEVEL15-windows-scache-recycle-fix-20060608 openafs-devel-1_5_2
Jeffrey Altman [Thu, 8 Jun 2006 22:22:20 +0000 (22:22 +0000)]
DEVEL15-windows-scache-recycle-fix-20060608

do not special case freelance entries

(cherry picked from commit 40b690803a928da8bf25b1e03745e95f14fd1743)

19 years agoDEVEL15-windows-cifs-std-info-take-two-20060607
Jeffrey Altman [Thu, 8 Jun 2006 00:31:55 +0000 (00:31 +0000)]
DEVEL15-windows-cifs-std-info-take-two-20060607

The "is a directory" value was being set one field beyond the end of
the Standard Info reply structure.

(cherry picked from commit 2c20a3d603fcc654759b8c90924f36468f8aae81)

19 years agoDEVEL15-openafs-devel-1-5-2-20060607
Derrick Brashear [Wed, 7 Jun 2006 06:03:06 +0000 (06:03 +0000)]
DEVEL15-openafs-devel-1-5-2-20060607

1.5.2

19 years agoDEVEL15-no-client-tcon-20060607
Chaskiel M Grundman [Wed, 7 Jun 2006 05:56:29 +0000 (05:56 +0000)]
DEVEL15-no-client-tcon-20060607

remove client->tcon and avoid locking issues

(cherry picked from commit f6468e0f27c90b2e2385508f9a1f01b8b1d346d2)

19 years agoDEVEL15-openlog-consistency-20060607
Chaskiel M Grundman [Wed, 7 Jun 2006 05:28:57 +0000 (05:28 +0000)]
DEVEL15-openlog-consistency-20060607

open logs consistently so assert logging is appended

(cherry picked from commit ed9a2181217f19b7ddbfe28118f6fb2f700b08ad)

19 years agoDEVEL15-synchronize-xdr-20060606
Russ Allbery [Wed, 7 Jun 2006 05:23:56 +0000 (05:23 +0000)]
DEVEL15-synchronize-xdr-20060606

Include the same set of xdr objects in the shared libafsrpc as are included
in the static libafsrpc.

(cherry picked from commit b8b1438716a14b596a68c2e77d54ca66009c01c2)

19 years agoDEVEL15-windows-smb-mountpt-is-dir-20060606
Jeffrey Altman [Tue, 6 Jun 2006 18:00:08 +0000 (18:00 +0000)]
DEVEL15-windows-smb-mountpt-is-dir-20060606

Be consistent about reporting mountpoints and invalid links as directories
to the CIFS client.

(cherry picked from commit 422f2d4523ae9be2ff3f1395db1dd62b0b3a3b4b)

19 years agoDEVEL15-windows-makefile-clean-20060606
Jeffrey Altman [Tue, 6 Jun 2006 15:47:08 +0000 (15:47 +0000)]
DEVEL15-windows-makefile-clean-20060606

cleanup additional files

(cherry picked from commit 81cd89320fe855d22f91bda461dd5cdba147b671)

19 years agoDEVEL15-windows-version-20060604
Jeffrey Altman [Mon, 5 Jun 2006 04:26:33 +0000 (04:26 +0000)]
DEVEL15-windows-version-20060604

1.5.0002

(cherry picked from commit 36da63e03de7230b8464a50a58acf732ce994ff2)

19 years agoDEVEL15-windows-notes-20060604
Jeffrey Altman [Mon, 5 Jun 2006 02:37:01 +0000 (02:37 +0000)]
DEVEL15-windows-notes-20060604

updates

(cherry picked from commit 54eed0930a36c54db73f8e2d10c28b99c2c1e6bb)

19 years agoDEVEL15-viced-swap-old-cbcon-diff-20060603
Jeffrey Altman [Sun, 4 Jun 2006 07:14:30 +0000 (07:14 +0000)]
DEVEL15-viced-swap-old-cbcon-diff-20060603

FIXES 32985

swap cbconn when other side changes IPs

(cherry picked from commit b30dcf9738d7fa87f8da4afa1f024376130b80a9)

19 years agoDEVEL15-windows-scache-recycle-20060603
Jeffrey Altman [Sat, 3 Jun 2006 19:01:19 +0000 (19:01 +0000)]
DEVEL15-windows-scache-recycle-20060603

A deadlock was detected when performing "fs flushall" if the file
server reports VNOVNODE.   The scp->createBufferLock is already
held by the current thread and there is no mechanism to propagate
the knowledge.  Therefore, an alternate mechanism for clearing the
cache must be developed.  A new function cm_RecycleSCache(scp,flags)
has been extracted from cm_GetNewSCache().  This function performs
the task of recycling an cm_scache_t object.  When called from
cm_GetNewSCache() with no flags the expectation is that there are
no associated buffers that are queued to be read or written.  When
called from cm_Analyze() with the CM_SCACHE_RECYCLEFLAG_DESTROY_BUFFERS
flag, any queued buffers will be de-queued and marked as if the operations
were performed so the data can be discarded.

This patch also addresses the following issues:

* CM_ERROR codes were logged as "unknown" by cm_Analyze.

* In response to VNOVNODE, the parent is only discarded if the current
  cm_scache_t is not a directory.

* In the Ioctl FlushFile and FlushVolume functions, there were no
  checks to protect against flushing the Freelance SCache entries.

* In FlushFile, the wrong cm_scache_t object was being released.

* In cm_GetNewSCache, do not allow Freelance SCache entries to be
  recycled.  Choose a new entry if cm_RecycleSCache fails.

(cherry picked from commit f4f09d1c03cf738de6f73fc9d56502babd6743b4)

19 years agoDEVEL15-flock-handle-uae-errors-20060601
Chaskiel M Grundman [Fri, 2 Jun 2006 22:25:26 +0000 (22:25 +0000)]
DEVEL15-flock-handle-uae-errors-20060601

handle uae versions of errors for flock locks

(cherry picked from commit 99b572a00a342ab6ff003eb6736eb24a27e8fb15)

19 years agoDEVEL15-linux-vfsops-remove-redundant-code-20060601
Joe Buehler [Thu, 1 Jun 2006 16:58:06 +0000 (16:58 +0000)]
DEVEL15-linux-vfsops-remove-redundant-code-20060601

FIXES 32783

remove redundancy

(cherry picked from commit 3fdb1902c04153e3522e36c091b073dc7419ac65)

19 years agoDEVEL15-rx-rdwr-type-casting-20060523
Jeffrey Altman [Thu, 1 Jun 2006 16:50:21 +0000 (16:50 +0000)]
DEVEL15-rx-rdwr-type-casting-20060523

type cast correctly

(cherry picked from commit 53f6c22a2b590279d0ea4859829aec71c0692983)

19 years agoDEVEL15-md5-formerly-fbsd-saddr-wtf-20060601
Jim Rees [Thu, 1 Jun 2006 16:49:56 +0000 (16:49 +0000)]
DEVEL15-md5-formerly-fbsd-saddr-wtf-20060601

seemlingly unrelated change in with some other stuff, so i can't just pull or leave it

19 years agoDEVEL15-windows-smb-fid-faster-20060531
Jeffrey Altman [Thu, 1 Jun 2006 16:42:02 +0000 (16:42 +0000)]
DEVEL15-windows-smb-fid-faster-20060531

Speed up the performance of the cache manager by not holding the
smb_fid_t mutex across calls to cm_SyncOp and AFS RPCs.

Ensure that all smb_fid_t flag references are protected.

(cherry picked from commit 87313c96b1271b4730a27dcee1b6c062b0a37425)

19 years agoDEVEL15-fix-rx-getaddr-20060531
Derrick Brashear [Thu, 1 Jun 2006 16:41:49 +0000 (16:41 +0000)]
DEVEL15-fix-rx-getaddr-20060531

(cherry picked from commit 397fb82b694e72d9259aaa7264ca432c007bdb6f)

19 years agoDEVEL15-windows-smb-fid-deadlock-20060530
Jeffrey Altman [Thu, 1 Jun 2006 16:41:23 +0000 (16:41 +0000)]
DEVEL15-windows-smb-fid-deadlock-20060530

remove a deadlock introduced in 1.4.1

(cherry picked from commit 134669a912a99b212fb4768d2a9a969cda5fffff)

19 years agoDEVEL15-windows-get-acls-20060528
Jeffrey Altman [Thu, 1 Jun 2006 16:40:57 +0000 (16:40 +0000)]
DEVEL15-windows-get-acls-20060528

It is possible to have a valid callback but not to have the
required ACL info for the current user.  Force acquisition of
a FetchStatus but do so without making multiple calls.

(cherry picked from commit 83732fdb158e79b64774667ee09fc1b81062707e)