]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
18 years agoDEVEL15-openafs-1-5-17-20070319 openafs-devel-1_5_17
Derrick Brashear [Tue, 20 Mar 2007 01:30:20 +0000 (01:30 +0000)]
DEVEL15-openafs-1-5-17-20070319

make 1.5.17

18 years agoDEVEL15-no-default-setuid-20070319
Derrick Brashear [Tue, 20 Mar 2007 01:13:34 +0000 (01:13 +0000)]
DEVEL15-no-default-setuid-20070319

FIXES 54713

disable default setuid for localcell

(cherry picked from commit c4183dbc1fb0e3d4db5105fe3312816fc82a7a33)

18 years agoDEVEL15-windows-release-notes-20070319
Jeffrey Altman [Mon, 19 Mar 2007 23:28:40 +0000 (23:28 +0000)]
DEVEL15-windows-release-notes-20070319

1.5.17

18 years agoDEVEL15-windows-version-20070319
Jeffrey Altman [Mon, 19 Mar 2007 23:25:27 +0000 (23:25 +0000)]
DEVEL15-windows-version-20070319

1.5.17 == 1.5.1700.0

18 years agoDEVEL15-windows-notes-20070319
Jeffrey Altman [Mon, 19 Mar 2007 23:20:17 +0000 (23:20 +0000)]
DEVEL15-windows-notes-20070319

1.5.17

18 years agoDEVEL15-windows-var-renaming-20070319
Jeffrey Altman [Mon, 19 Mar 2007 13:46:15 +0000 (13:46 +0000)]
DEVEL15-windows-var-renaming-20070319

give rx call variables a distinct name from cm call variables
in order to avoid confusion

(cherry picked from commit b4f323eaeb5f010cd0a0be09f29c4016d1a14fef)

18 years agoDEVEL15-java-lock-fix-200702310
Derrick Brashear [Sat, 10 Mar 2007 16:03:21 +0000 (16:03 +0000)]
DEVEL15-java-lock-fix-200702310

make it portable. ugh.

(cherry picked from commit 226c1ee8f9e24e199b2e2cf1ecc11dd072634450)

18 years agoDEVEL15-windows-afsd-nat-handling-20070310
Jeffrey Altman [Sat, 10 Mar 2007 15:50:07 +0000 (15:50 +0000)]
DEVEL15-windows-afsd-nat-handling-20070310

Improve cache manager performance behind NATs:

 * drop cm_daemonCheckUpInterval from 10 minutes to 4 minutes to bring
   it under the minimum recommended default port mapping idle timeout
   value for NATs

 * when a timeout on an rx connection occurs, retry the request once
   after forcing a new rx connection.  If there was a NAT and the port
   mapping changed, the server would respond to the original addr:port
   associated with the rx connection.  Forcing a new connection will
   allow the request to be responded to if the server is accessible.

   This should eliminate the UP-DOWN-UP-DOWN bouncing that user's have
   seen when working from behind a NAT.

(cherry picked from commit f1862d783a610d85a258aaee1d00aff26f348223)

18 years agoDEVEL15-windows-registry-20070310
Jeffrey Altman [Sat, 10 Mar 2007 14:26:19 +0000 (14:26 +0000)]
DEVEL15-windows-registry-20070310

move the AFS Server Manager and AFS Account Manager data cache from
the TransarcCorporation key to the OpenAFS key.  The data formats are
not compatible between the two versions and we don't want to be forced
to erase data if users switch back and forth between the two products
during OpenAFS evaluation.

(cherry picked from commit ce776b4809146733f278e18cbdae1b4ed45c6b5d)

18 years agoDEVEL15-release-notes-20070310
Jeffrey Altman [Sat, 10 Mar 2007 14:20:59 +0000 (14:20 +0000)]
DEVEL15-release-notes-20070310

add missing image file

18 years agoDEVEL15-cellservdb-20070309
Jeffrey Hutzelman [Sat, 10 Mar 2007 04:55:08 +0000 (04:55 +0000)]
DEVEL15-cellservdb-20070309

(cherry picked from commit 97fd54f399148eaf6652bd2a42c8b9f424d680bc)

18 years agoDEVEL15-DEVE15-windows-release-notes-20070308 openafs-devel-1_5_16
Jeffrey Altman [Fri, 9 Mar 2007 01:13:17 +0000 (01:13 +0000)]
DEVEL15-DEVE15-windows-release-notes-20070308

1.5.16

18 years agoDEVEL15-windows-notes-20070308
Jeffrey Altman [Fri, 9 Mar 2007 00:53:27 +0000 (00:53 +0000)]
DEVEL15-windows-notes-20070308

1.5.16

18 years agoDEVEL15-openafs-1-5-16-20070208
Derrick Brashear [Fri, 9 Mar 2007 00:46:09 +0000 (00:46 +0000)]
DEVEL15-openafs-1-5-16-20070208

make 1.5.16

18 years agoDEVEL15-windows-afsd-remove-generated-file-20070308
Jeffrey Altman [Thu, 8 Mar 2007 17:45:22 +0000 (17:45 +0000)]
DEVEL15-windows-afsd-remove-generated-file-20070308

afsd_eventmessages.rc is a generated file.  Don't maintain in cvs.

(cherry picked from commit a7db1780b33b47d77927da7a3925c2b8780c5834)

18 years agoDEVEL15-windows-plug-n-play-network-fix-20070307
Jeffrey Altman [Wed, 7 Mar 2007 18:14:05 +0000 (18:14 +0000)]
DEVEL15-windows-plug-n-play-network-fix-20070307

Move the detection of which LAN adapter to use from smb_Init to
smb_NetbiosInit so that it is executed after the service is resumed
via a power management event.  Otherwise, when the network comes back
up the service attempts to bind to all LAN adapters instead of just
the loopback or the configured one.

(cherry picked from commit 5332348bdf68491670cc94ff1f9bc527876304fa)

18 years agoDEVEL15-windows-fs-checkserver-20070302
Jeffrey Altman [Sat, 3 Mar 2007 01:32:06 +0000 (01:32 +0000)]
DEVEL15-windows-fs-checkserver-20070302

FIXES 55234

The "fs checkservers" command when not being used to change the check
interval should not require admin privilege.

(cherry picked from commit e4d3681e3d9ba58c315f39d3852833b11811474c)

18 years agoDEVEL15-windows-partially-restore-find-lana-by-name-20070227
Jeffrey Altman [Wed, 28 Feb 2007 00:42:05 +0000 (00:42 +0000)]
DEVEL15-windows-partially-restore-find-lana-by-name-20070227

find lana by name is used by the afs control panel to populate the
lana list box.  don't use the function to find by name.  just use
it to generate the list of all lana names.

(cherry picked from commit 561f8b742fceeed10e6f3d9639c96efb085ad2a9)

18 years agoDEVEL15-windows-afsd-no-krb_h-20070226
Jeffrey Altman [Tue, 27 Feb 2007 01:32:09 +0000 (01:32 +0000)]
DEVEL15-windows-afsd-no-krb_h-20070226

Don't include krb.h when we don't use it for anything

(cherry picked from commit b8d09aff6a695041dde2ef7aca7bfe39ceef7a01)

18 years agoDEVEL15-forcenewconns-even-with-one-interface-20070226
Chaskiel M Grundman [Mon, 26 Feb 2007 22:14:58 +0000 (22:14 +0000)]
DEVEL15-forcenewconns-even-with-one-interface-20070226

otherwise we don't discard vlserver connections when a server is "down"

(cherry picked from commit 9d5de311a6c2d96ee5092d58db28fff1b5602be7)

18 years agoDEVEL15-uae-etoomanyrefs-avoid-dup-20070222
Derrick Brashear [Mon, 26 Feb 2007 18:49:42 +0000 (18:49 +0000)]
DEVEL15-uae-etoomanyrefs-avoid-dup-20070222

when ETOOMANYREFS is EIO don't rewrite the EIO slot with UAETOOMANYREFS

(cherry picked from commit 0d5642e3ee1d72f11c4b6393cd4a352540f3b2ba)

18 years agoDEVEL15-conditionalize-tasklist-lock-20070226
Stephan Wiesand [Mon, 26 Feb 2007 17:57:40 +0000 (17:57 +0000)]
DEVEL15-conditionalize-tasklist-lock-20070226

FIXES 54922

make rx_knet use tasklist_lock conditionally also

(cherry picked from commit a3a40968308e9ef894df3756af7ccd7ed141c74f)

18 years agoDEVEL15-update-tasklist-lock-test-20070226
Stephan Wiesand [Mon, 26 Feb 2007 17:52:04 +0000 (17:52 +0000)]
DEVEL15-update-tasklist-lock-test-20070226

FIXES 54916

make the tasklist lock test actually detect GPL stupidity

(cherry picked from commit bed42291bcc16065f23e964b64d60090ffaa96f9)

18 years agoDEVEL15-md5-inum-round-down-20070223
Derrick Brashear [Fri, 23 Feb 2007 00:44:08 +0000 (00:44 +0000)]
DEVEL15-md5-inum-round-down-20070223

make our computed md5-style inode numbers be actually 32 bit

(cherry picked from commit 844f045692d7863e096cb97710151c31a841874d)

18 years agoDEVEL15-linux-2621-20070222
Marc Dionne [Thu, 22 Feb 2007 21:47:23 +0000 (21:47 +0000)]
DEVEL15-linux-2621-20070222

FIXES 54645

configure support for new sysctl api

(cherry picked from commit f1a6107e0814d1e3e1d171834c97489479b5e6df)

18 years agoDEVEL15-linux-unlink-avoid-infrequent-leak-20070222
Rainer Toebbicke [Thu, 22 Feb 2007 21:41:33 +0000 (21:41 +0000)]
DEVEL15-linux-unlink-avoid-infrequent-leak-20070222

FIXES 54689

avoid minor leak

(cherry picked from commit 4f86aa379d345c98113bde2169b9d1400dcee89c)

18 years agoDEVEL15-linux-lookup-crfree-20070220
Kevin Hildebrand [Tue, 20 Feb 2007 18:04:50 +0000 (18:04 +0000)]
DEVEL15-linux-lookup-crfree-20070220

FIXES 54549

add missing crfree to avoid leak

(cherry picked from commit 6ce156741b62702e1d1f10f3329f1b77341e32e5)

18 years agoDEVEL15-windows-afs3-directory-format-20070219
Jeffrey Altman [Tue, 20 Feb 2007 03:14:45 +0000 (03:14 +0000)]
DEVEL15-windows-afs3-directory-format-20070219

correct the documentation of the directory format in the headers

(cherry picked from commit 79c1cdb83fe25d753ce3e38b9554d8604a3cb8df)

18 years agoDEVEL15-remove-find-lana-by-name-20070219
Jeffrey Altman [Tue, 20 Feb 2007 03:08:53 +0000 (03:08 +0000)]
DEVEL15-remove-find-lana-by-name-20070219

Remove the find lana by name functionality.  It is crucial that the
name computed by the afs service can also be computed by the pioctl
function executed by generic end users without privilege.  Unfortunately,
the undocumented functions used to implement find lana by name require
access to registry keys that a generic user cannot read.

(cherry picked from commit b2ed3c527b831f329a380203433312653bcd91a4)

18 years agoDEVEL15-windows-netidmgr-help-registration-20070215
Asanka Herath [Thu, 15 Feb 2007 21:52:24 +0000 (21:52 +0000)]
DEVEL15-windows-netidmgr-help-registration-20070215

In preparation for KFW 3.2, add conditional help registration.
When used with a version of NetIdMgr that supports the functionality
the OpenAFS plug-in will register its HtmlHelp on the NetIdMgr Help
menu.

(cherry picked from commit b00dddcd7da6f38893f408024f250254a5e1ff25)

18 years agoDEVEL15-windows-move-rxdebug-20070215
Jeffrey Altman [Thu, 15 Feb 2007 18:19:45 +0000 (18:19 +0000)]
DEVEL15-windows-move-rxdebug-20070215

back in 2001 rxdebug was moved from src/rx to src/rxdebug for Unix
but not for Windows.  Move it for Windows as well.

(cherry picked from commit 5ae8e5064c2aae067a32c94e98f2ed8a597417ae)

18 years agoDEVEL15-rxdebug-backoff-20070215
Jeffrey Hutzelman [Thu, 15 Feb 2007 17:11:29 +0000 (17:11 +0000)]
DEVEL15-rxdebug-backoff-20070215

make rxdebug be less aggressive when retransmitting

(cherry picked from commit e92739f2b925545e441c2d77eaf4ece00ffbcb51)

18 years agoDEVEL15-rx-rxdebug-long-option-20070215
Jeffrey Altman [Thu, 15 Feb 2007 11:49:17 +0000 (11:49 +0000)]
DEVEL15-rx-rxdebug-long-option-20070215

add the -long option from src/rxdebug/rxdebug.c to src/rx/rdebug.c

(cherry picked from commit 2e6a87e109bbab2cb242f58bcfce0ba1d92a41de)

18 years agoDEVEL15-windows-rmdir-not-empty-error-code-20070215
Jeffrey Altman [Thu, 15 Feb 2007 06:02:03 +0000 (06:02 +0000)]
DEVEL15-windows-rmdir-not-empty-error-code-20070215

Ensure that removing a directory containing existing files returns
the correct error to the caller.

(cherry picked from commit 1f530ff095a8ffa38114373c80d8f4c5ead103d8)

18 years agoDEVEL15-java-locking-redux-20070214
Adam Megacz [Thu, 15 Feb 2007 00:35:04 +0000 (00:35 +0000)]
DEVEL15-java-locking-redux-20070214

change the -1 len check for java locks slightly

(cherry picked from commit 65d89232521ceb1641ce0a14e1f3ed8d28b6afff)

18 years agoDEVEL15-darwin-missing-dropnames-20070214
Chaskiel M Grundman [Thu, 15 Feb 2007 00:28:26 +0000 (00:28 +0000)]
DEVEL15-darwin-missing-dropnames-20070214

for correctness, not to fix anything which has yet been observed

(cherry picked from commit 465a6d533b253d71e8854dc6cedcbcdc5ce678e1)

18 years agoDEVEL15-libafsdep-correction-20070214
Jeffrey Hutzelman [Wed, 14 Feb 2007 23:56:32 +0000 (23:56 +0000)]
DEVEL15-libafsdep-correction-20070214

FIXES 53441

apply the rest of the patch

(cherry picked from commit 083f3bcb2bcca382e00684ad1965dd1b224c9b4b)

18 years agoDEVEL15-osi-probe-harder-20070213 openafs-devel-1_5_15
Jeffrey Hutzelman [Tue, 13 Feb 2007 22:54:11 +0000 (22:54 +0000)]
DEVEL15-osi-probe-harder-20070213

2.6.16 i386 didn't probe successfully before in at least one case

(cherry picked from commit 51774c137b3889ef0e651e171493e7ca24a95077)

18 years agoDEVEL15-amd64-linux24-ucontext-20070213
Derrick Brashear [Tue, 13 Feb 2007 19:12:27 +0000 (19:12 +0000)]
DEVEL15-amd64-linux24-ucontext-20070213

this should not have been removed here

18 years agoDEVEL15-amd64-syscall-probe-20070212
Derrick Brashear [Tue, 13 Feb 2007 18:45:43 +0000 (18:45 +0000)]
DEVEL15-amd64-syscall-probe-20070212

FIXES 53441

based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise
S: ----------------------------------------------------------------------

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 53441

based on suggested change from cg2v@andrew.cmu.edu
tasklist_lock not being exported makes this useless otherwise

(cherry picked from commit 5b0ba22734f8a354f26ca2600e96608e72a3f9e4)

18 years agoDEVEL15-windows-notes-20070213
Jeffrey Altman [Tue, 13 Feb 2007 18:33:27 +0000 (18:33 +0000)]
DEVEL15-windows-notes-20070213

1.5.15

18 years agoDEVEL15-windows-version-20070213
Jeffrey Altman [Tue, 13 Feb 2007 18:29:59 +0000 (18:29 +0000)]
DEVEL15-windows-version-20070213

1.5.15

18 years agoDEVEL15-windows-afsd-symlink-to-dot-20070213
Jeffrey Altman [Tue, 13 Feb 2007 05:47:02 +0000 (05:47 +0000)]
DEVEL15-windows-afsd-symlink-to-dot-20070213

FIXES 53878

When parsing a path containing a symlink to ".", do not short circuit
the evaluation.  Allow cm_Lookup to do its job.  Its slower but correct.

(cherry picked from commit 4d5138c4030c581c2d52f1d59279e4b997ef59fd)

18 years agoDEVEL15-windows-netidmgr-20070212
Jeffrey Altman [Tue, 13 Feb 2007 03:49:27 +0000 (03:49 +0000)]
DEVEL15-windows-netidmgr-20070212

combo boxes should drop down.

(cherry picked from commit 111100732f0051a67f175988ab3f55cf208f8df3)

18 years agoDEVEL15-windows-unused-vars-20070212
Jeffrey Altman [Tue, 13 Feb 2007 03:09:20 +0000 (03:09 +0000)]
DEVEL15-windows-unused-vars-20070212

remove unused vars

(cherry picked from commit 6c703a483c718670f9f4109e59204d71aa70c7ae)

18 years agoDEVEL15-openafs-1-5-15-20070212
Derrick Brashear [Tue, 13 Feb 2007 01:50:58 +0000 (01:50 +0000)]
DEVEL15-openafs-1-5-15-20070212

make openafs 1.5.15

18 years agoDEVEL15-lock-mask-64bit-negative-1-for-java-20070212
Adam Megacz [Tue, 13 Feb 2007 01:34:38 +0000 (01:34 +0000)]
DEVEL15-lock-mask-64bit-negative-1-for-java-20070212

java sends a 64 bit long -1... which isn't going to be useful most of the time

(cherry picked from commit 01882246c8704e9cfad38e8bce71380b843fbbab)

18 years agoDEVEL15-windows-release-notes-20070210
Jeffrey Altman [Sat, 10 Feb 2007 15:28:15 +0000 (15:28 +0000)]
DEVEL15-windows-release-notes-20070210

updates for 1.5.15.

document changes in locking behavior and lack of support for .hlp files
on Vista

18 years agoDEVEL15-windows-notes-20070210
Jeffrey Altman [Sat, 10 Feb 2007 15:03:17 +0000 (15:03 +0000)]
DEVEL15-windows-notes-20070210

more updates

18 years agoDEVEL15-aklog-krb5-referrals-compat-20070210
Jeffrey Altman [Sat, 10 Feb 2007 13:58:17 +0000 (13:58 +0000)]
DEVEL15-aklog-krb5-referrals-compat-20070210

MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

(cherry picked from commit 645f7e8f81be8c096b2fd3d9b852b8614d9dc690)

18 years agoDEVEL15-windows-smb-file-lock-20070209
Asanka Herath [Sat, 10 Feb 2007 00:00:44 +0000 (00:00 +0000)]
DEVEL15-windows-smb-file-lock-20070209

When processing exclusive locks for files that were opened read-only,
obtain a read-lock instead of a write-lock.

In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file
already exists, do not require write permission

(cherry picked from commit 25c7f567f2c831d62152104c3b84ec31d9fd330f)

18 years agoDEVEL15-windows-access-check-20070209
Jeffrey Altman [Fri, 9 Feb 2007 23:54:31 +0000 (23:54 +0000)]
DEVEL15-windows-access-check-20070209

disable the test for the EACCESS flag in cm_HaveAccessRights.

(cherry picked from commit a9b0dbb30cc926251d66ea9036d6505fe525cc51)

18 years agoDEVEL15-windows-fs-memdump-20070209
Jeffrey Altman [Fri, 9 Feb 2007 23:51:15 +0000 (23:51 +0000)]
DEVEL15-windows-fs-memdump-20070209

only dump the dead smb_vcp list once

(cherry picked from commit 1a00759d8b9f1b249e90b044bc1aa66d9d5c9d23)

18 years agoDEVEL15-windows-nim-plugin-krb5-referrals-compat-20070209
Jeffrey Altman [Fri, 9 Feb 2007 20:12:38 +0000 (20:12 +0000)]
DEVEL15-windows-nim-plugin-krb5-referrals-compat-20070209

MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

This will be required for KFW 3.2 support.

(cherry picked from commit 584e1bd98eb4258a2cd1a517f7d49c71407983b5)

18 years agoDEVEL15-libafsdep-mods-20070209
Peter Breitenlohner [Fri, 9 Feb 2007 18:43:11 +0000 (18:43 +0000)]
DEVEL15-libafsdep-mods-20070209

FIXES 53381

don't break vpath builds

(cherry picked from commit b5c39e4373bd24fc724719ff365597327aa143cf)

18 years agoDEVEL15-linux-compile-test-24-20070209
Jeffrey Hutzelman [Fri, 9 Feb 2007 18:27:54 +0000 (18:27 +0000)]
DEVEL15-linux-compile-test-24-20070209

FIXES 53385

no linux/namei.h on 2.4

(cherry picked from commit a1d9a9209094864f784ecc90d41201480ffd66da)

18 years agoDEVEL15-linux-kbuild-test-fixes-20070119
Jeffrey Hutzelman [Fri, 9 Feb 2007 18:22:48 +0000 (18:22 +0000)]
DEVEL15-linux-kbuild-test-fixes-20070119

fixes to build for linux when doing objdir builds

(cherry picked from commit c88ab63663319035d88dfceb9778b98553a091b5)

18 years agoDEVEL15-windows-aklog-krb5-referrals-compat-20070209
Jeffrey Altman [Fri, 9 Feb 2007 17:30:33 +0000 (17:30 +0000)]
DEVEL15-windows-aklog-krb5-referrals-compat-20070209

MIT Kerberos version 5 release 1.6 adds support for referrals in the
client.  As a result krb5_get_host_realm() returns the nul-string for
the realm whenever there is no local domain-realm mapping in the
profile.

aklog must now manually perform the fallback to using the domain of
the vlserver as basis for the realm name if referrals fail.

This will be required for KFW 3.2 support.

(cherry picked from commit 2287f5f578fa40a0229699a4e90263300ca79e50)

18 years agoDEVEL15-ktc-cleanup-20070208
Marcus Watts [Fri, 9 Feb 2007 03:13:31 +0000 (03:13 +0000)]
DEVEL15-ktc-cleanup-20070208

FIXES 53212

clean up ktc code, prototyping et al

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 53212

restore ktc_GetToken prototype

(cherry picked from commit a05fa83336df6cd11d60cc64882c68cc01243aad)

18 years agoDEVEL15-linux-locking-pre-2618-20070208
Christopher Allen Wing [Fri, 9 Feb 2007 01:36:35 +0000 (01:36 +0000)]
DEVEL15-linux-locking-pre-2618-20070208

FIXES 53457

deal with pre 2.6.18 locking behavior

(cherry picked from commit 171676011ba72b48b6ed2d6df6cfc1f0adb52c1f)

18 years agoDEVEL15-tasklist-export-check-20070208
Derrick Brashear [Fri, 9 Feb 2007 01:30:14 +0000 (01:30 +0000)]
DEVEL15-tasklist-export-check-20070208

work around tasklist lock export harder

(cherry picked from commit 00c5dbfd048e31a653de0e1cf37d45d539e0c755)

18 years agoDEVEL15-afs-magic-for-linux-20070208
Adam Megacz [Fri, 9 Feb 2007 01:23:40 +0000 (01:23 +0000)]
DEVEL15-afs-magic-for-linux-20070208

FIXES 52442

use the afs magic number

(cherry picked from commit 797f46a88ee9c50c34a8b6e1fa7c878e252d3a97)

18 years agoDEVEL15-obsd40-initial-20070208
Dave Cottle [Fri, 9 Feb 2007 01:13:19 +0000 (01:13 +0000)]
DEVEL15-obsd40-initial-20070208

FIXES 53283

doesn't work right, and the patch in 53296 can't be taken as is

(cherry picked from commit 87a3cd2a709a4fcf5df9a82ce223be0a33bf18f1)

18 years agoDEVEL15-linux24-update-20070208
Marcus Watts [Fri, 9 Feb 2007 01:06:11 +0000 (01:06 +0000)]
DEVEL15-linux24-update-20070208

FIXES 53199

update for linux 2.4

(cherry picked from commit 226f3b1b47371bf6c37d8003725fac6d2486ea16)

18 years agoDEVEL15-auth-cleanup-20070208
Marcus Watts [Fri, 9 Feb 2007 01:00:18 +0000 (01:00 +0000)]
DEVEL15-auth-cleanup-20070208

FIXES 53208

remove unneeded includes of auth.h

(cherry picked from commit 9dd8d7f8171614a9efda14f6392651b8c276aa04)

18 years agoDEVEL15-bozo-cleanup-20070208
Marcus Watts [Fri, 9 Feb 2007 00:55:39 +0000 (00:55 +0000)]
DEVEL15-bozo-cleanup-20070208

FIXES 53202

clean up bosserver

(cherry picked from commit 6e947cd3be0fbba3265ae6e0197579cabb4c3d8a)

18 years agoDEVEL15-keyring-pag-avoid-shadowing-20070208
Marc Dionne [Fri, 9 Feb 2007 00:27:00 +0000 (00:27 +0000)]
DEVEL15-keyring-pag-avoid-shadowing-20070208

FIXES 38959

avoid shadowing the pag variable

(cherry picked from commit 0dfd1d0ed81547791d8b90f9be2d04b362401422)

18 years agoDEVEL15-getcbi-limit-addresses-20070208
Derrick Brashear [Fri, 9 Feb 2007 00:18:45 +0000 (00:18 +0000)]
DEVEL15-getcbi-limit-addresses-20070208

FIXES 36643

don't write addresses (if we have too many) over random memory

(cherry picked from commit 8ecad072df8f6cfa63e1ef4d862611a0f2a75e7b)

18 years agoDEVEL15-use-unix-sockets-20070208
Derrick Brashear [Thu, 8 Feb 2007 23:59:32 +0000 (23:59 +0000)]
DEVEL15-use-unix-sockets-20070208

option to use unix socket for fssync

(cherry picked from commit a4d52ee772a84212911c52f5d79dd4f02b9a8b2a)

18 years agoDEVEL15-linux-lock-tracking-20070208
Jeffrey Hutzelman [Thu, 8 Feb 2007 22:39:29 +0000 (22:39 +0000)]
DEVEL15-linux-lock-tracking-20070208

FIXES 31818

avoid a potential leaked lock when closing firefox.

(cherry picked from commit b0425c4e7f65c00fe217d7c54d309bceac9b38d5)

18 years agoDEVEL15-windows-scp-recycle-init-20070208
Jeffrey Altman [Thu, 8 Feb 2007 13:51:40 +0000 (13:51 +0000)]
DEVEL15-windows-scp-recycle-init-20070208

when we recycle a stat cache object be sure to clear the file type so
we don't inherit the previous file type if the fetch status fails.

in merge status, clear the file type if the errorCode is EACCESS

(cherry picked from commit 403b5086dddf16ef360b3dade0f3fa0e12db5b71)

18 years agoDEVEL15-windows-merge-parent-fid-20070207
Jeffrey Altman [Wed, 7 Feb 2007 17:35:16 +0000 (17:35 +0000)]
DEVEL15-windows-merge-parent-fid-20070207

modify cm_MergeStatus to take a pointer to the parent stat cache entry
so that the parent fid can be set when bulk status returns an error.

(cherry picked from commit 0cc59928b980fbd89e3ed06e04474762655791ef)

18 years agoDEVEL15-windows-mounttab-remove-debugging-20070207
Jeffrey Altman [Wed, 7 Feb 2007 16:39:32 +0000 (16:39 +0000)]
DEVEL15-windows-mounttab-remove-debugging-20070207

remove unused variables

(cherry picked from commit 92c282f40c84e8f6c3a02bf55d040007fa48e7ff)

18 years agoDEVEL15-windows-merge-eaccess-20070207
Jeffrey Altman [Wed, 7 Feb 2007 08:13:29 +0000 (08:13 +0000)]
DEVEL15-windows-merge-eaccess-20070207

when merging status info that has an errorCode of EACCESS set,
merge the garbage we received.

When checking the access to the object return EACCESS if the
stat cache object has the EACCESS flag set.  This will be cleared
the next time a BulkStatus succeeds.

(cherry picked from commit e9fb99c770101de103df0a2ff7ba364159b81f80)

18 years agoDEVEL15-multiple-local-realms-20070201
Jeffrey Altman [Wed, 7 Feb 2007 04:53:18 +0000 (04:53 +0000)]
DEVEL15-multiple-local-realms-20070201

FIXES 52459

The Name to ID RPC must distinguish between local and foreign names

(cherry picked from commit 36233e1e318c7864122cf16c85da012f936c03db)

18 years agoDEVEL15-windows-merge-status-20070206
Jeffrey Altman [Tue, 6 Feb 2007 16:47:33 +0000 (16:47 +0000)]
DEVEL15-windows-merge-status-20070206

when merging status for store data ops, use the fileHashTable to reduce
the number of buffers we must examine

(cherry picked from commit 55653d5dd00665c80397ab3c397063a1e636afea)

18 years agoDEVEL15-windows-merge-status-20070204
Jeffrey Altman [Mon, 5 Feb 2007 11:08:32 +0000 (11:08 +0000)]
DEVEL15-windows-merge-status-20070204

For each StoreData operation the dataVersion on the object is incremented.
To prevent all of the cached buffers from being considered out of date,
if the dataVersion has been incremented by exactly one, then update the
dataVersion of the buffers that match the FID and the previous dataVersion

(cherry picked from commit 4e8bc6d5016f8e6d46a21331009c414d94e90d10)

18 years agoDEVEL15-windows-buffer-mgmt-20070204
Jeffrey Altman [Mon, 5 Feb 2007 03:41:41 +0000 (03:41 +0000)]
DEVEL15-windows-buffer-mgmt-20070204

Instead of using a fixed sized hashtable of 1024 entries regardless
of the number of buffers, compute the hashtable to be large enough
for on average 7 buffers per bucket.

Remove the 'size' field from cm_buf_t since it is never used.

Add more info to the output of cm_buf_t objects when using "fs memdump"

(cherry picked from commit cec0b902f6cbeb849984d5ca1ef1847ef1eeac89)

18 years agoDEVEL15-windows-store-biod-20070204
Jeffrey Altman [Sun, 4 Feb 2007 15:39:14 +0000 (15:39 +0000)]
DEVEL15-windows-store-biod-20070204

Add a 'failed' parameter to the cm_ReleaseBIOD function.  This enables
the clearing of the CM_BUF_DIRTY flag to be conditional upon successful
completion of the store operation.

(cherry picked from commit 333005c46332a9c76974261aef5fdf82c19698b1)

18 years agoDEVEL15-windows-mounttab-remove-debugging-20070203
Jeffrey Altman [Sun, 4 Feb 2007 02:50:29 +0000 (02:50 +0000)]
DEVEL15-windows-mounttab-remove-debugging-20070203

no longer need the Debug Output String statements

(cherry picked from commit 78c83150f62d78330795c9a8c9b7de13421f0bde)

18 years agoDEVEL15-windows-bkgdaemon-retry-failed-requests-20070203
Jeffrey Altman [Sun, 4 Feb 2007 02:46:25 +0000 (02:46 +0000)]
DEVEL15-windows-bkgdaemon-retry-failed-requests-20070203

background request functions such as BkgFetch and BkgStore do not
return success or failure.  the bkgDaemon thread simply executes
the request and discards it regardless of whether or not the request
was completed.  this can result in background store event failing
to be written to the file server.

modify the background request functions to return success or failure.

modify the background daemon to put failed requests back onto the queue
if the reason for failure was transient.

modify the background daemon only to process requests when the servers
for the volume are marked up.

(cherry picked from commit 37d16dd70bdc88af02db4ed0307b2ec56a4e9a34)

18 years agoDEVEL15-windows-buf-refcount-leak-fix-20070203
Jeffrey Altman [Sun, 4 Feb 2007 02:02:26 +0000 (02:02 +0000)]
DEVEL15-windows-buf-refcount-leak-fix-20070203

Plug a buffer refcount leak.   This is why the client slows down over
time.  It runs out of buffers it can use.

(cherry picked from commit 9a9e0976c881ef6b77e7de19a79611569b1426a3)

18 years agoDEVEL15-windows-buf-dump-fix-20070203
Jeffrey Altman [Sat, 3 Feb 2007 18:04:51 +0000 (18:04 +0000)]
DEVEL15-windows-buf-dump-fix-20070203

  restore the missing format string to the Buffer Hash Table Dump routine

(cherry picked from commit 84a0ef8e1a076e3fb03d8cb6bb72bba63679a700)

18 years agoDEVEL15-windows-log-eol-20070203
Jeffrey Altman [Sat, 3 Feb 2007 17:49:33 +0000 (17:49 +0000)]
DEVEL15-windows-log-eol-20070203

ensure that log files use CR-LF for end of line.   the "fs memdump"
output and the afsd_init.log initialization output were still using LF.

(cherry picked from commit 1e44ef074aae0fd718f15ba8ff8b66bca1586c2f)

18 years agoDEVEL15-windows-drive-mappings-20070202
Jeffrey Altman [Sat, 3 Feb 2007 04:53:04 +0000 (04:53 +0000)]
DEVEL15-windows-drive-mappings-20070202

FIXES 45545

Remove "Drive " from the drive mappings.  This way the drive letters
can be selected with a single key press.

(cherry picked from commit 7d6baa2df1ef0244b0a27082948be794ef36a8e4)

18 years agoDEVEL15-linux-and-locks-cleanup-20070202
Chaskiel M Grundman [Sat, 3 Feb 2007 03:28:02 +0000 (03:28 +0000)]
DEVEL15-linux-and-locks-cleanup-20070202

fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid usele
ss panic

(cherry picked from commit fd1c37ebe7f5fb2ed52371705aaf1efc7764c7eb)

18 years agoDEVEL15-windows-afsd-volume-ref-leak-20070202
Jeffrey Altman [Fri, 2 Feb 2007 15:44:12 +0000 (15:44 +0000)]
DEVEL15-windows-afsd-volume-ref-leak-20070202

When looking up a volume by ID or Name, if the volume server data requires
refreshing and the UpdateVolume operation failed, do not leak the refCount.

(cherry picked from commit ab294cfdc5fa4108f89b37c4a7da5844872ecacf)

18 years agoDEVEL15-windows-nsis-20070202
Jeffrey Altman [Fri, 2 Feb 2007 15:40:08 +0000 (15:40 +0000)]
DEVEL15-windows-nsis-20070202

even if afsd_service.exe can be shut down the binary might still not
be able to be replaced due to the windows Protection Service.
Use the ReplaceDLL macro

(cherry picked from commit 38d6f485078185acc0067362eb970b5cbf41e800)

18 years agoDEVEL15-venus-include-afs-com_err-20070201
Jeffrey Altman [Thu, 1 Feb 2007 13:25:33 +0000 (13:25 +0000)]
DEVEL15-venus-include-afs-com_err-20070201

FIXES 51424

include afs/com_err.h for error_message() prototype to prevent crashes
on platforms with 64-bit pointers and 32-bit int

(cherry picked from commit 564d41d96e224132d5073170d0f82e0264315077)

18 years agoDEVEL15-windows-notes-20070201
Jeffrey Altman [Thu, 1 Feb 2007 11:02:06 +0000 (11:02 +0000)]
DEVEL15-windows-notes-20070201

many changes in recent days

18 years agoDEVEL15-windows-freelance-20070131
Jeffrey Altman [Thu, 1 Feb 2007 04:30:21 +0000 (04:30 +0000)]
DEVEL15-windows-freelance-20070131

FIXES 52069

If an app tries to open the freelance directory for WRITE then the
default anonymous access privileges, read/lookup, are not sufficient
and cm_HaveAccessRights will fail.  Freelance can't get access rights
from anywhere.  Therefore, cm_HaveAccessRights should special case
the Freelance directory.

(cherry picked from commit bd5ed7d332df05ac232f4188a166ce6f791f7cca)

18 years agoDEVEL15-windows-delete-test-file-not-dir-20070131
Jeffrey Altman [Wed, 31 Jan 2007 17:03:33 +0000 (17:03 +0000)]
DEVEL15-windows-delete-test-file-not-dir-20070131

the cm_CheckNTDelete function was testing the permissions of the
directory and not the permissions of the file being deleted.
This resulted in inconsistencies between the attributes of the
file and the ability to delete it.

this patch also adds a large amount of trace log entries as there
was none in this section of the code before.

(cherry picked from commit f3c4bbd41a06aeced5536f55e949767169b906d2)

18 years agoDEVEL15-windows-shell-ext-reformat-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:42:43 +0000 (12:42 +0000)]
DEVEL15-windows-shell-ext-reformat-20070130

reformat the source code to make it easier to read/edit

(cherry picked from commit 908918a89d40605cad738a35f9938aa9d7488a3d)

18 years agoDEVEL15-windows-netidmgr-string-updates-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:31:46 +0000 (12:31 +0000)]
DEVEL15-windows-netidmgr-string-updates-20070130

As per the NetIdMgr model, refer to credentials instead of tokens.

Update the copyright strings

(cherry picked from commit daddcd3bcc3ab5b79954fe4dccf648aa35b0530c)

18 years agoDEVEL15-windows-vol-fssync-debug-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:25:20 +0000 (12:25 +0000)]
DEVEL15-windows-vol-fssync-debug-20070130

add a resource file for fssync-debug for when we decide to build it

(cherry picked from commit 0b669007c7338ec4f18a3a7cf88b9621c626c8bd)

18 years agoDEVEL15-windows-vol-fix-salvager-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:17:28 +0000 (12:17 +0000)]
DEVEL15-windows-vol-fix-salvager-20070130

The salvager on Windows was not being built properly.  The fssync-debug.c
main() was being used instead of the salvager.c main().  Remove
fssync-debug.obj from the library and fixup the includes and global
variable declarations.

(cherry picked from commit c4a89f3f79d6b5c62ccd91f3e7e01d38e3e80c1f)

18 years agoDEVEL15-windows-procmgmt-20070130
Jeffrey Altman [Tue, 30 Jan 2007 12:07:18 +0000 (12:07 +0000)]
DEVEL15-windows-procmgmt-20070130

Do not raise an exception if SIGQUIT is received prior to the
registration of the Shutdown handler

(cherry picked from commit b02c32b0692991636e06e1205ae0d07c9f15106b)

18 years agoDEVEL15-document-fs-setacl-permissions-20070129
Russ Allbery [Mon, 29 Jan 2007 19:33:40 +0000 (19:33 +0000)]
DEVEL15-document-fs-setacl-permissions-20070129

Better document the current state of implicit "a" rights on directories.

(cherry picked from commit 3960a5ff1cfef0c3f6adfe6cf602b8c80078ce7d)

18 years agoDEVEL15-volume-dont-artificially-untimeout-vlservers-20061218
Jeffrey Hutzelman [Thu, 25 Jan 2007 11:20:47 +0000 (11:20 +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 91ce7a066d0912bb84a7c87863cd1b7ed6cc480a)

18 years agoDEVEL15-remove-unbaked-code-20060802
Russ Allbery [Thu, 25 Jan 2007 10:38:04 +0000 (10:38 +0000)]
DEVEL15-remove-unbaked-code-20060802

Remove the preliminary rxgk and Automake conversion, neither of which are
finished or ready for prime time yet.  Having this active in CVS isn't
helpful and is mildly confusing at the moment.

(cherry picked from commit 78880bc5dce716c7c5885f505bee7eca23ff50d6)