openafs.git
11 years agorxk5-1557-20090522 rxk5-devel-1_5_57
Matt Benjamin [Fri, 22 May 2009 21:43:29 +0000]
rxk5-1557-20090522

LICENSE IPL10
FIXES n/a

Correct several variations on failure to include krb5 headers before inclusino of rxk5.h.

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

Move global 'i' declaration and references under AFS_RXK5 as intended.

====================
LICENSE IPL10
FIXES n/a

Add missing line continuation.

11 years agorxk5-1557-20090521
Matt Benjamin [Thu, 21 May 2009 20:43:41 +0000]
rxk5-1557-20090521

LICENSE IPL10
FIXES n/a

cm_ResetACLCache takes cell pointer

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

Remove definitions now in auth.h.  Don't export afskfw_krb524_init_ets or afskfw_krb524_convert_creds_kdc (or build them).

====================
LICENSE IPL10
FIXES n/a

Find des/des.h.

====================
LICENSE IPL10
FIXES n/a

AFSKFWDIR is now src\WINNT\afskfw

====================
LICENSE IPL10
FIXES n/a

Find des\des.h

11 years agorxk5-1557-20090510
Marcus Watts [Mon, 11 May 2009 00:51:33 +0000]
rxk5-1557-20090510

LICENSE IPL10
FIXES n/a

Update rxk5 branch to 1.5.59.

11 years agorxk5-1557-20090509
Marcus Watts [Sat, 9 May 2009 19:58:18 +0000]
rxk5-1557-20090509

LICENSE IPL10
FIXES n/a

Build cleanups, including completion of Linux kernel build changes already in rxk5, s/util.a/libafsutil.a/ in many Makefile.in.

11 years agorxk5-1557-20090503
Marcus Watts [Sun, 3 May 2009 20:00:06 +0000]
rxk5-1557-20090503

LICENSE IPL10
FIXES n/a

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

The files implementing the rxk5 rx security class, notes, and simple test programs.

====================
LICENSE IPL10
FIXES n/a

The files implementing k5ssl, an implementation of just those portions of kerberos 5 (particularly principal handling and encryption) required by rxk5, and suitable for operation in a Unix kernel.

====================
LICENSE IPL10
FIXES n/a

Build directory and NTMakefile for threaded rxk5 objects on Windows.

====================
LICENSE IPL10
FIXES n/a

Indirect interface to MIT KFW libraries reorganized slightly and moved to its own directory to facilitate sharing.

====================
LICENSE IPL10
FIXES n/a

Some files missed from addition on 5/3, including

* afs_capabilities.h/c support registration and reporting on locally-supported cm features
* afs_token.xg, afs_token_protos.h, rxk5_tkt.h/c and rxkad_tkt.c  support new token interface
* afserror.et error table input

11 years agoDEVEL15-fbsd-ustrategy-20090122 openafs-devel-1_5_57
Matt Benjamin [Thu, 22 Jan 2009 21:49:15 +0000]
DEVEL15-fbsd-ustrategy-20090122

LICENSE IPL10

make freebsd ustrategy correct

(cherry picked from commit 6742f2054ac96bcec19c01d408542c94de9a55f1)

11 years agoDEVEL15-hpux-readdir2-prototype-20090123
Mike Meffie [Thu, 22 Jan 2009 21:42:38 +0000]
DEVEL15-hpux-readdir2-prototype-20090123

LICENSE IPL10
FIXES 124187

fix typo in prototype

(cherry picked from commit 85fa1b132ae93a48dfb73155921245106f31f586)

11 years agoDEVEL15-fbsd-ignore-sigsys-20090123
Matt Benjamin [Thu, 22 Jan 2009 21:38:55 +0000]
DEVEL15-fbsd-ignore-sigsys-20090123

LICENSE IPL10
FIXES 123867

wrong but a step forward

(cherry picked from commit 6784222ac1741d9da18ba5d66fdd5057343ab8b1)

11 years agoDEVEL15-obsd44-pass1-20090123
Matt Benjamin [Thu, 22 Jan 2009 21:29:06 +0000]
DEVEL15-obsd44-pass1-20090123

LICENSE IPL10
FIXES 123830

first pass at openbsd 4.4

(cherry picked from commit 35a760632da0f15240153cb17ae96e0981e2c8c4)

11 years agoDEVEL15-klog-krb5-link-order-20090122
Derrick Brashear [Thu, 22 Jan 2009 21:19:57 +0000]
DEVEL15-klog-krb5-link-order-20090122

LICENSE IPL10

match the (bad) link order used elsewhere

(cherry picked from commit db15872a7ee0d1c666502f8da8c8c27c36159110)

11 years agoDEVEL15-disconnected-no-inline-on-irix-20090122
Derrick Brashear [Thu, 22 Jan 2009 20:20:01 +0000]
DEVEL15-disconnected-no-inline-on-irix-20090122

LICENSE IPL10

make this compile on irix

(cherry picked from commit 90f9073dde7041534d448083eaeabbc61d7563f9)

11 years agoDEVEL15-disconnected-call-makedir-with-correct-casting-20090122
Derrick Brashear [Thu, 22 Jan 2009 20:11:56 +0000]
DEVEL15-disconnected-call-makedir-with-correct-casting-20090122

LICENSE IPL10

another find by the irix compiler.

(cherry picked from commit 396b573b12a509b7e0d8d5094ebadc12c6aa8b45)

11 years agoDEVEL15-bcdb-listdumps-argument-fix-20090122
Derrick Brashear [Thu, 22 Jan 2009 19:33:14 +0000]
DEVEL15-bcdb-listdumps-argument-fix-20090122

LICENSE IPL10

prototype caught this. oops.

(cherry picked from commit d6c5d0bbb09f84476d7928e62921a4aa01cd17ed)

11 years agoDEVEL15-volserver-manage-inuse-better-20090122
Derrick Brashear [Thu, 22 Jan 2009 19:12:51 +0000]
DEVEL15-volserver-manage-inuse-better-20090122

LICENSE IPL10
FIXES 124142

V_PEEK/V_SECRETLY should not change inUse. servertype based inUse should not
leak past giving back a volume.

(cherry picked from commit 92cf4d996f91e895b8995d41419b32843a40b9fb)

11 years agoDEVEL15-windows-version-20090122
Jeffrey Altman [Thu, 22 Jan 2009 17:05:50 +0000]
DEVEL15-windows-version-20090122

LICENSE MIT

1.5.57 == 1.5.5700.0

11 years agoDEVEL15-openafs-1-5-57-20090122
Derrick Brashear [Thu, 22 Jan 2009 16:44:03 +0000]
DEVEL15-openafs-1-5-57-20090122

LICENSE IPL10

make 1.5.57

11 years agoDEVEL15-windows-release-notes-20090122
Jeffrey Altman [Thu, 22 Jan 2009 16:05:20 +0000]
DEVEL15-windows-release-notes-20090122

LICENSE MIT

1.5.57

11 years agoDEVEL15-windows-notes-20090122
Jeffrey Altman [Thu, 22 Jan 2009 16:02:12 +0000]
DEVEL15-windows-notes-20090122

LICENSE MIT

notes for 1.5.57

11 years agoDEVEL15-bucoord-ubik_call-no-more-20090122
Jeffrey Altman [Thu, 22 Jan 2009 15:40:49 +0000]
DEVEL15-bucoord-ubik_call-no-more-20090122

LICENSE MIT

replace ubik_Call(RPC, ...) with ubik_RPC(...)

(cherry picked from commit 1d70f4e14e991326d8d7e6d3d3f179179a7aaf45)

11 years agoDEVEL15-ubik_Call-no-more-20090122
Jeffrey Altman [Thu, 22 Jan 2009 15:29:10 +0000]
DEVEL15-ubik_Call-no-more-20090122

LICENSE MIT

remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...)

(cherry picked from commit d4b17a6e2e08c41de8ee07721029469ebcde6f72)

11 years agoDEVEL15-util-volparse-20090122
Peter Tripician [Thu, 22 Jan 2009 15:16:37 +0000]
DEVEL15-util-volparse-20090122

LICENSE IPL10
FIXES 84846

avoid some infinite loops on bad input

ensure that all partition ids are within the legal limit

provide prototypes for strlcat and strlcpy when the openafs
implementations are being used.

(cherry picked from commit 69bab4cc6ee68ab98b6f207f6ab80352250f6b97)

11 years agoDEVEL15-salvager-sensible-chdirlessness-20090122
Marc Dionne [Thu, 22 Jan 2009 14:29:54 +0000]
DEVEL15-salvager-sensible-chdirlessness-20090122

LICENSE IPL10
FIXES 124154

make salvager look for and create headers in the right place.

(cherry picked from commit f11480748cd682f60e81e8854e254fe964d5955c)

11 years agoDEVEL15-disconnected-linux-dont-inactive-while-disconnected-20090121
Simon Wilkinson [Wed, 21 Jan 2009 21:33:43 +0000]
DEVEL15-disconnected-linux-dont-inactive-while-disconnected-20090121

LICENSE IPL10
FIXES 124175

possibly not the ultimate right fix but it will make things work for now

(cherry picked from commit 81e1d5403438929bc6380c05bdacb808a31aaa37)

11 years agoDEVEL15-disconnected-pioctl-error-recovery-20090121
Simon Wilkinson [Wed, 21 Jan 2009 21:27:52 +0000]
DEVEL15-disconnected-pioctl-error-recovery-20090121

LICENSE IPL10
FIXES 124174

make reconnection possible by doing error recovery

(cherry picked from commit 0593374e2de0da391ea793e45ca08d6c971d8f86)

11 years agoDEVEL15-disconnected-shadow-directory-fixes-20090121
Simon Wilkinson [Wed, 21 Jan 2009 21:17:47 +0000]
DEVEL15-disconnected-shadow-directory-fixes-20090121

LICENSE IPL10
FIXES 124173

fix bugs in disconnected's directory shadowing

(cherry picked from commit 4045f3d5350955de91e019b09ad2ed7941f6dadb)

11 years agoDEVEL15-disconnected-replay-fixes-20090121
Simon Wilkinson [Wed, 21 Jan 2009 21:15:03 +0000]
DEVEL15-disconnected-replay-fixes-20090121

LICENSE IPL10
FIXES 124172

updates to fix bugs in disconnected change replays

(cherry picked from commit cc42d05324c6a3dc619192a997125ca8f3a595fd)

11 years agoDEVEL15-windows-avoid-rwevent-collision-part-two-20090121
Jeffrey Altman [Wed, 21 Jan 2009 21:04:42 +0000]
DEVEL15-windows-avoid-rwevent-collision-part-two-20090121

LICENSE MIT

don't leave out the size of the buffer.

(cherry picked from commit 0fb28687b498bd4cd7994fd388c3eef2f4cd17f9)

11 years agoDEVEL15-windows-avoid-rwevent-collision-20090121
Jeffrey Altman [Wed, 21 Jan 2009 21:01:11 +0000]
DEVEL15-windows-avoid-rwevent-collision-20090121

LICENSE MIT

Prevent multiple smb_Server threads from sharing the same EVENT
object when they are each waiting for their own packet requests
to complete.

(cherry picked from commit 10ecf76d281dc90a4f83f0c45404712b62bcea8b)

11 years agoDEVEL15-rename-conn-to-afs-conn-20090121
Simon Wilkinson [Wed, 21 Jan 2009 20:07:47 +0000]
DEVEL15-rename-conn-to-afs-conn-20090121

LICENSE IPL10
FIXES 124116

based on patch from daleg@elemental.org. rename to avoid conflict with opensolar
is

(cherry picked from commit a268678326f3713a0ba41f69a1432bd1fca2872f)

11 years agoDEVEL15-darwin-no-vprintf-20090121
Simon Wilkinson [Wed, 21 Jan 2009 14:32:43 +0000]
DEVEL15-darwin-no-vprintf-20090121

LICENSE IPL10

restore old behavior for mac client

(cherry picked from commit 9cc62beeb985745475ac7b3ecc5bf61c2fa06a9d)

11 years agoDEVEL15-windows-smb-parse-ascii-block-20090119
Jeffrey Altman [Tue, 20 Jan 2009 04:36:07 +0000]
DEVEL15-windows-smb-parse-ascii-block-20090119

LICENSE MIT

smb_ParseASCIIBlock() may be called with more than just data
type ASCII (0x4).  If the type is 2, 3, or 4 the data field is
a null terminated string.  If the type is 1 or 5 the data field
is a counted string.  if the type is 2 the data field is never
Unicode.

In any case, if the type is unrecognized smb_ParseASCIIBlock()
will return NULL and all of the callers must be prepared to handle
it.  If the return is NULL, the smb request will fail with
CM_ERROR_BADSMB.

(cherry picked from commit a0fd9b17334333e257ae9c476c4fbf85ee9fec95)

11 years agoDEVEL15-undo-rename-residency-from-mrafs-to-osd-20090119
Steven Jenkins [Tue, 20 Jan 2009 03:32:34 +0000]
DEVEL15-undo-rename-residency-from-mrafs-to-osd-20090119

LICENSE IPL10
FIXES 124130

restore the mr-afs names until such time as the pioctl registrations
are addressed.

(cherry picked from commit e5a6c3f62dde6bc1b6a26957b866c3f27dc28c3a)

11 years agoDEVEL15-man-page-pts-membership-fixes-20090119
Jason Edgecombe [Mon, 19 Jan 2009 23:04:54 +0000]
DEVEL15-man-page-pts-membership-fixes-20090119

FIXES 124157
LICENSE BSD

More wording and typo fixes for the pts membership man page.

(cherry picked from commit 8c18c62dffa23557fb521950eede4252cdafc0b5)

11 years agoDEVEL15-linux-init-script-uses-bash-20090119
Derrick Brashear [Mon, 19 Jan 2009 20:53:51 +0000]
DEVEL15-linux-init-script-uses-bash-20090119

LICENSE IPL10
FIXES 124056

note the script uses bash

(cherry picked from commit 5e1859a88e8133904f1315833c17851d7e6d10a4)

11 years agoDEVEL15-disconnected-extend-truncation-20090119
Simon Wilkinson [Mon, 19 Jan 2009 19:42:42 +0000]
DEVEL15-disconnected-extend-truncation-20090119

LICENSE IPL10
FIXES 124094

implement extending truncation so disconnected works

(cherry picked from commit dc0b96f5b7ee3f5f95639dfd5afb98ecb4ff6885)

11 years agoDEVEL15-abstract-reset-vcache-20090119
Simon Wilkinson [Mon, 19 Jan 2009 19:39:22 +0000]
DEVEL15-abstract-reset-vcache-20090119

LICENSE IPL10
FIXES 124147

abstract vcache resetting code so disconnected can reuse it

(cherry picked from commit 57744971179a8ee7441e73eeb9e2a56d671fcc37)

11 years agoDEVEL15-afs-q-improvements-20090119
Simon Wilkinson [Mon, 19 Jan 2009 19:27:09 +0000]
DEVEL15-afs-q-improvements-20090119

LICENSE IPL10
FIXES 124134

simplify afs_q macros and allow further reuse in disconnected

(cherry picked from commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9)

11 years agoDEVEL15-disconnected-flush-before-shadowing-20090119
Simon Wilkinson [Mon, 19 Jan 2009 18:48:03 +0000]
DEVEL15-disconnected-flush-before-shadowing-20090119

LICENSE IPL10
FIXES 124149

make
touch a
fs discon offline
rm -f a
fs discon online
work

(cherry picked from commit e1cc987ea57c03a93dd02164ecb75cd705fc79b3)

11 years agoDEVEL15-rename-residency-from-mrafs-to-osd-20090119
Steven Jenkins [Mon, 19 Jan 2009 18:09:19 +0000]
DEVEL15-rename-residency-from-mrafs-to-osd-20090119

LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.

(cherry picked from commit 92c7925b12d7b99e4ff044bc053330e77336a21a)

11 years agoDEVEL15-linux-disconnected-avoid-ls-hang-20090119
Simon Wilkinson [Mon, 19 Jan 2009 17:29:32 +0000]
DEVEL15-linux-disconnected-avoid-ls-hang-20090119

LICENSE IPL10
FIXES 124152

avoid allowing a non-CStatd vcache to make its way into a readdir which causes a
n infinite loop

(cherry picked from commit 9fa51694c6a41323cfeb7b41bb4dff9e8dac77be)

11 years agoDEVEL15-man-page-pts-membership-privilege-20090118
Russ Allbery [Mon, 19 Jan 2009 03:32:18 +0000]
DEVEL15-man-page-pts-membership-privilege-20090118

FIXES 124151
LICENSE BSD

Add system:ptsviewers to the privilege documentation of pts membership and
try to clarify the privilege required by being less verbose and hopefully
more direct.

(cherry picked from commit d781450cf3c08bf89f3d1490620ed89885f7e518)

11 years agoDEVEL15-krb5-klog-link-rule-20090118
Derrick Brashear [Mon, 19 Jan 2009 03:25:29 +0000]
DEVEL15-krb5-klog-link-rule-20090118

LICENSE IPL10

this was just wrong

(cherry picked from commit df71f42b637c5ef2aa266a709720b35e65b8e27f)

11 years agoDEVEL15-volser-setflags-clear-callptr-20090118
Derrick Brashear [Mon, 19 Jan 2009 03:19:15 +0000]
DEVEL15-volser-setflags-clear-callptr-20090118

LICENSE IPL10

make things calling SetFlags not error

(cherry picked from commit dbc73f43ee64072509ee0ae66cf7499ff9e5d861)

11 years agoDEVEL15-linux-2629-20090115
Marc Dionne [Thu, 15 Jan 2009 13:27:27 +0000]
DEVEL15-linux-2629-20090115

LICENSE IPL10
FIXES 124115

add 2.6.29 support

(cherry picked from commit 24a5d12bae9a2af393f3641055893824c71a4712)

11 years agoDEVEL15-osi-probe-check-result-cope-with-enoent-20090115
Chaskiel M Grundman [Thu, 15 Jan 2009 13:13:09 +0000]
DEVEL15-osi-probe-check-result-cope-with-enoent-20090115

LICENSE IPL10

in order for probing to work right

(cherry picked from commit 86225b60147d58ca71063a72be02236df1257407)

11 years agoDEVEL15-rx-afs-kmutex-kcondvar-20090113
Jeffrey Altman [Wed, 14 Jan 2009 06:34:19 +0000]
DEVEL15-rx-afs-kmutex-kcondvar-20090113

LICENSE BSD

The rx_pthread.h defines afs_kcondvar_t and afs_kmutex_t but
their use throughout the rx library is inconsistent.  Sometimes
they are used, other times pthread_cond_t and pthread_mutex_t.

This commit ensures that afs_kmutex_t and afs_kcondvar_t are
used consistently.

(cherry picked from commit 3394644531fb89b02ffbe0c10f4a51c3a4169a39)

11 years agoDEVEL15-linux-truncate-cleanup-20090113
Simon Wilkinson [Tue, 13 Jan 2009 19:37:15 +0000]
DEVEL15-linux-truncate-cleanup-20090113

LICENSE IPL10

fix the patch to actually be applicable

(cherry picked from commit e6d60f58e2a6b7ac9964cfb1ec753decd5d6ed91)

11 years agoDEVEL15-rx-make-rxdebug-optional-20090113
Jeffrey Altman [Tue, 13 Jan 2009 16:33:30 +0000]
DEVEL15-rx-make-rxdebug-optional-20090113

LICENSE BSD

Permit the rx library to be built without the RXDEBUG preprocessor
definition.  When RXDEBUG is not defined all of the debugging functions
either become stubs or log a message indicating that the library was
built without RXDEBUG so that there will be no surprises.  There
are no changes to the export list.  By default RXDEBUG is defined.

Eventually the definition of RXDEBUG can become a configuration option
to the build system.

(cherry picked from commit f1a13e15625afa324ffc6614eea432dcc89bf768)

11 years agoDEVEL15-freebsd-cleanup-20090112
Matt Benjamin [Mon, 12 Jan 2009 14:33:25 +0000]
DEVEL15-freebsd-cleanup-20090112

LICENSE IPL10
FIXES 124107

minor freebsd cleanup

(cherry picked from commit ba9556ff2bbf854bb5c05074032b94973bf339ec)

11 years agoDEVEL15-linux-i-size-20090112
Marc Dionne [Mon, 12 Jan 2009 14:19:10 +0000]
DEVEL15-linux-i-size-20090112

LICENSE IPL10
FIXES 124106

use i_size_read macro correctly

(cherry picked from commit 45e808945627b36ab1dbb64b6fafa8ed7b1901b6)

11 years agoDEVEL15-libuafs-set-fileoffsetbits-20090112
Andrew Deason [Mon, 12 Jan 2009 14:11:49 +0000]
DEVEL15-libuafs-set-fileoffsetbits-20090112

LICENSE IPL10
FIXES 124093

make libuafs work with things which expect to be able to use native file
sizes etc

(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)

11 years agoDEVEL15-linux24-no-backing-dev-20090112
Marc Dionne [Mon, 12 Jan 2009 13:28:55 +0000]
DEVEL15-linux24-no-backing-dev-20090112

LICENSE IPL10
FIXES 124100

backing_dev_info isn't in 2.4

(cherry picked from commit 434ad307430fc12968abd65e007f8e606aa55917)

11 years agoDEVEL15-fetch64-fstrace-typo-20090112
Rainer Toebbicke [Mon, 12 Jan 2009 13:24:24 +0000]
DEVEL15-fetch64-fstrace-typo-20090112

LICENSE IPL10
FIXES 124113

move l to correct side of % for type printing

(cherry picked from commit d158ddb25c769d357d5f58acbd911ec7a7281343)

11 years agoDEVEL15-rx-statistics-active-flag-20090110
Jeffrey Altman [Sun, 11 Jan 2009 05:56:07 +0000]
DEVEL15-rx-statistics-active-flag-20090110

LICENSE MIT

Permit rx statistics gathering to be disabled by setting the
new rx_stats_active variable to 0.  This avoids grabbing the
rx_stats_mutex throughout the execution of the requests and
permits greater concurrency thoughout the library.

(cherry picked from commit 30cfed8e25dfcc6c423d1e121360f048d6724328)

11 years agoDEVEL15-rx-finer-grained-locking-20091010
Jeffrey Altman [Sun, 11 Jan 2009 04:52:00 +0000]
DEVEL15-rx-finer-grained-locking-20091010

LICENSE MIT

not everything should be under the rx_stats_mutex.  doing so
results in too much lock contention.  add new mutexes:
rx_quota_mutex, rx_waiting_mutex, rx_pthread_mutex, and rx_packets_mutex.
Each new mutex protects an associated group of variables.

11 years agoDEVEL15-rx-user-socket-buffer-sizes-20090110
Jeffrey Altman [Sun, 11 Jan 2009 04:25:43 +0000]
DEVEL15-rx-user-socket-buffer-sizes-20090110

LICENSE MIT

if the socket buffer size specified by the configuration is too large
to be applied, do not drop down immediately to 32766 bytes.  Instead
try increasingly smaller values trying to find the largest one that
works.  use the same value for the send buf size as well.

(cherry picked from commit 5b0e23567e1ed64f448bb3253ad90d39cad31271)

11 years agoDEVEL15-linux-truncate-race-20090109
Simon Wilkinson [Fri, 9 Jan 2009 15:09:24 +0000]
DEVEL15-linux-truncate-race-20090109

LICENSE IPL10
FIXES 124094

avoid a race during truncation which trips an issue when fsx is run

(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)

11 years agoDEVEL15-ac-verbatim-include-undefs-20090109
Andrew Deason [Fri, 9 Jan 2009 14:50:57 +0000]
DEVEL15-ac-verbatim-include-undefs-20090109

LICENSE IPL10
FIXES 124077

the undefs for things which are not ac macros ended up outside the ac verbatim
blob. fix it.

(cherry picked from commit 2d07a62c38fea642d52c20ff86e8f72e3c16bbe0)

11 years agoDEVEL15-netrestrict-no-wildcard-20090106
Derrick Brashear [Tue, 6 Jan 2009 13:40:16 +0000]
DEVEL15-netrestrict-no-wildcard-20090106

LICENSE IPL10

don't misadvertise network wildcard support

(cherry picked from commit 80fc888a9223050481de932233fe7121a48df194)

11 years agoDEVEL15-rx-do-not-race-current-packet-20090105
Jeffrey Altman [Mon, 5 Jan 2009 23:13:08 +0000]
DEVEL15-rx-do-not-race-current-packet-20090105

LICENSE MIT

Throughout rx_rdwr.c functions allocate a register variable 'cp'
which is used to optimize access to call->currentPacket.
Unfortunately, if the call->lock is dropped (for example, CV_WAIT)
the synchronization between the two is lost.  This delta re-syncs
'cp' and call->currentPacket after each location where the call->lock
may be dropped.

(cherry picked from commit 423ab97eee35f57beeb481cac2159d28dea20577)

11 years agoDEVEL15-windows-license-smgl2rtf-20090105
Jeffrey Altman [Mon, 5 Jan 2009 18:17:01 +0000]
DEVEL15-windows-license-smgl2rtf-20090105

LICENSE MIT

Ensure that the input string is nul terminated and then instruct
WideCharToMultiByte to compute the length itself instead of passing
in a value that is very likely to be wrong.

(cherry picked from commit e7edfbbf2204641ba08d0ae5e0d085e5f913f2d2)

11 years agoDEVEL15-windows-afsd-freelance-20090105
Jeffrey Altman [Mon, 5 Jan 2009 16:20:20 +0000]
DEVEL15-windows-afsd-freelance-20090105

LICENSE MIT

Bring a bit more sanity to the Freelance code:

1. Add functions cm_FreelanceFetchMountPointString and
   cm_FreelanceFetchFileType to cm_freelance.c.  These functions
   permit the MountPointString and FileType to be obtained within
   cm_GetSCache without requiring knowledge of data structures
   that should be private to cm_freelance.c

2. Enforce the rule that odd vnode values are directory objects.
   The root directory is 1 and everything else must be a multiple
   of two.

3. Use the unique field as an index into the localMountPoints
   array.

4. Fix cm_GetCallback to process freelance data refreshes on
   all objects in the freelance volume not just the root directory.
   If this is not done, an access to \\afs\foo prior to \\afs\all
   being evaluated will cause an unnecessary attempt to send a
   fetch status request to a file server and produce an alldown
   error.

(cherry picked from commit 8c4b06a5b62a07d4d6733b313ad404e1cb6abe8d)

11 years agoDEVEL15-rx-packet-count-debugging-20090104
Jeffrey Altman [Mon, 5 Jan 2009 00:00:20 +0000]
DEVEL15-rx-packet-count-debugging-20090104

LICENSE MIT

change C preprocessor symbol required for packet count debugging
to RXDEBUG_PACKET

(cherry picked from commit 02cd4c510b2b9e2293e33372c39bd8b62089236b)

11 years agoDEVEL15-windows-client-config-manifest-20090104
Jeffrey Altman [Sun, 4 Jan 2009 19:19:49 +0000]
DEVEL15-windows-client-config-manifest-20090104

LICENSE MIT
FIXES 123889

reverse change from 20081226.  removing the auto-generated manifest
removes the manifest binding to the run time library.  The reason
two manifests are specified is that we are merging them.

(cherry picked from commit bf51eaca47db1bbf58490d770f1be105e69f7ea9)

11 years agoDEVEL15-windows-version-20081229 openafs-devel-1_5_56 openafs-devel-1_5_56-ifs
Jeffrey Altman [Tue, 30 Dec 2008 04:27:54 +0000]
DEVEL15-windows-version-20081229

LICENSE MIT

1.5.56 == 1.5.5600.0

11 years agoDEVEL15-windows-notes-20081229
Jeffrey Altman [Mon, 29 Dec 2008 23:21:01 +0000]
DEVEL15-windows-notes-20081229

LICENSE MIT

1.5.56

11 years agoDEVEL15-windows-release-notes-20081229
Jeffrey Altman [Mon, 29 Dec 2008 22:51:32 +0000]
DEVEL15-windows-release-notes-20081229

LICENSE MIT

1.5.56

11 years agoDEVEL15-rx-packet-count-debugging-20081229
Jeffrey Altman [Mon, 29 Dec 2008 22:38:25 +0000]
DEVEL15-rx-packet-count-debugging-20081229

LICENSE MIT

Validating the state of the rx library is hard.  This patch makes it
a bit easier to validate from within crash dumps (or on Windows in
"fs memdump" output) whether rx packets and calls are in a sane state.
When the library is compiled with -DDEBUG the rx_call and rx_packet
data structures are extended to include a linked list of all allocated
objects and counters are added to track the number of packets on each
of the transmit, receive, and iovec queues.

This compliments the tracking of packet states via RX_PKTFLAGs.

For Windows, rx_DumpCalls and rx_DumpPackets functions are added
that will dump the state of all allocated calls and packets (in Checked
build) in response to a "fs memdump" command.  These functions are
exported from afsrpc.dll.

(cherry picked from commit 29e3bb5838ee224e8d13bf1e680e1eb9480f1400)

11 years agoDEVEL15-openafs-1-5-56-20081229
Derrick Brashear [Mon, 29 Dec 2008 22:08:17 +0000]
DEVEL15-openafs-1-5-56-20081229

LICENSE IPL10

make openafs 1.5.56

11 years agoDEVEL15-libuafs-updates-20081229
Andrew Deason [Mon, 29 Dec 2008 21:26:12 +0000]
DEVEL15-libuafs-updates-20081229

LICENSE IPL10
FIXES 124072

adds ATTR_* constants for UKERNEL code, and makes use
of them. Without this in some cases updating file metadata will also
update unrelated metadata (e.g. truncating a file changes the mode
bits).

adds threadsafe positional i/o calls to
afs_usrops.c: uafs_pwrite and uafs_pread, allowing for threadsafe
libuafs i/o.

changes the types of some fs-related
variables to be more "correct", I think (off_t for offsets, mode_t for
file mode, etc), it fixes a bug where nDaemons is not correctly set from
the uafs_Init parameter, fixes a segfault in uafs_open when O_CREAT is
specified, initializes a couple of static vars, "#if 0"s out code that
copies tokens from kernel-space to user-space (doesn't seem to work from
what I've seen, and the current code crashes on clientless Solaris
machines from being killed by SIGSYS)

(cherry picked from commit 3d44f93f9a0b1d2d4a07b58b3104420e9c138d12)

11 years agoDEVEL15-macos-103-fixes-20081229
Derrick Brashear [Mon, 29 Dec 2008 17:29:17 +0000]
DEVEL15-macos-103-fixes-20081229

LICENSE IPL10

make macos 10.3 work again

(cherry picked from commit c11eb4c3336f66a3f0fd92c3df41eb9765de050c)

11 years agoDEVEL15-rx-rdwr-writeproc-race-20081228
Jeffrey Altman [Sun, 28 Dec 2008 21:05:00 +0000]
DEVEL15-rx-rdwr-writeproc-race-20081228

LICENSE MIT
FIXES 123799

prevent rx_WriteProc() from passing a packet to rxi_PrepareSendPacket()
that has been freed and possibly allocated to another call.

(cherry picked from commit d0cc6eb2f5f0aea0a6ad88de2d847f93d07cc8b9)

11 years agoDEVEL15-windows-smb-fs-attr-info-20081227
Jeffrey Altman [Sun, 28 Dec 2008 04:41:48 +0000]
DEVEL15-windows-smb-fs-attr-info-20081227

LICENSE MIT

even though the docs for FILE_FS_ATTRIBUTE_INFORMATION state
that the MaximumComponentNameLength field is in bytes, it turns
out that Windows SMB servers return the value in characters.

Reduce the reported value to 255 to match NTFS.

(cherry picked from commit 8f3e660270d9c1af268ba45118ab87740fbeeef8)

11 years agoDEVEL15-windows-libafsrpc-makefile-20081227
Jeffrey Altman [Sat, 27 Dec 2008 19:22:47 +0000]
DEVEL15-windows-libafsrpc-makefile-20081227

LICENSE MIT

additional defines are to be appended to AFSDEV_AUXCDEFINES,
they are not supposed to replace the prior definition

(cherry picked from commit f70ba203206a2953a3f51b48fe3455b9cad52eae)

11 years agoDEVEL15-windows-afsd-fs-attr-info-20081226
Jeffrey Altman [Sat, 27 Dec 2008 06:01:19 +0000]
DEVEL15-windows-afsd-fs-attr-info-20081226

LICENSE MIT

Pointed out by jason edgecombe.  the AFS SMB server failed to report
the FILE_UNICODE_ON_DISK characteristic when responding to
TRANS2_QUERY_FS_INFORMATION.

(cherry picked from commit a09a1709f646087c2ceb6f484b45b48495ea1127)

11 years agoDEVEL15-windows-install-nsis-20081226
Jeffrey Altman [Sat, 27 Dec 2008 02:54:14 +0000]
DEVEL15-windows-install-nsis-20081226

LICENSE MIT

permit the location of the NSIS application to be configurable

(cherry picked from commit f18b54bfe647cfee6a7072d11df04019161d8223)

11 years agoDEVEL15-windows-client-config-manifest-20081226
Matt Benjamin [Sat, 27 Dec 2008 02:27:56 +0000]
DEVEL15-windows-client-config-manifest-20081226

LICENSE BSD
FIXES 123889

remove extraneous reference to the output manifest file which resulted
in two manifests being generated with conflicting UAC values.

(cherry picked from commit 06468cb9393aca2c58cc75ee51bfb50f56957c52)

11 years agoDEVEL15-windows-afsd-btree-lookups-20081226
Jeffrey Altman [Fri, 26 Dec 2008 23:40:23 +0000]
DEVEL15-windows-afsd-btree-lookups-20081226

LICENSE MIT

when performing a lookup operation it is acceptable for the data version
of the btree to be greater than the data version of the cm_dirOp_t
under which the operation is being performed.  No change to the btree
can take place and the result of the lookup will maintain consistency
without requiring an additional restart of the directory operation.

(cherry picked from commit 61aa1b199c28abc763456b35a644047cb9bafc18)

11 years agoDEVEL15-windows-afsd-dir-prefetch-20081226
Jeffrey Altman [Fri, 26 Dec 2008 23:34:37 +0000]
DEVEL15-windows-afsd-dir-prefetch-20081226

LICENSE MIT

when prefetching the directory buffers do not call cm_FlushFile to
discard locally modified buffers.  Instead just set the cm_scache_t
bufDataVersionLow to the current version.  out of date buffers will
therefore be ignored without requiring that locks be dropped and
reacquired and without searching all of the buffers associated with
the directory.

(cherry picked from commit 4435c4fdcc6ba21b86277cfd09b0dfa1b88989c5)

11 years agoDEVEL15-windows-afsd-max-daemons-20081226
Jeffrey Altman [Fri, 26 Dec 2008 23:29:32 +0000]
DEVEL15-windows-afsd-max-daemons-20081226

LICENSE MIT

permit the number of daemon threads to be increased to 64 instead of
a maximum of 8.

(cherry picked from commit 9784a9f0cc35cf485c5f9533db9dd8247df3b7c3)

11 years agoDEVEL15-windows-afsd-rename-collision-20081226
Jeffrey Altman [Fri, 26 Dec 2008 23:26:18 +0000]
DEVEL15-windows-afsd-rename-collision-20081226

LICENSE MIT

Do not permit cm_Rename() to rename an existing object such that it
creates a case-insensitive name collision with another object.
This change in behavior is consistent with the restrictions when
creating new objects.  This change prevents the explorer shell from
getting confused when it creates a new folder.

(cherry picked from commit 9e2d9f6fa8862d33dfc7352c961f7945d0e04f4f)

11 years agoDEVEL15-windows-pioctl-drive-subst-20081226
Jeffrey Altman [Fri, 26 Dec 2008 21:18:20 +0000]
DEVEL15-windows-pioctl-drive-subst-20081226

LICENSE MIT

GetDriveType() will return "REMOTE" for drive letters that are mapped
to network devices via the SUBST command.  Recursively check drive letters
for the final substitution before checking to see if the drive letter
is in fact an AFS device.

(cherry picked from commit 238ad07e13a85366bcf49a309e3735d26ff51ff2)

11 years agoDEVEL15-windows-afsd-findserverbyip-refcount-20081223
Matt Benjamin [Tue, 23 Dec 2008 20:42:56 +0000]
DEVEL15-windows-afsd-findserverbyip-refcount-20081223

LICENSE BSD
FIXES 124054

reference count the server object returned by cm_FindServerByIP

(cherry picked from commit 411a63fb063cf24d6b9aedeb83df2eb58716e239)

11 years agoDEVEL15-solaris-largepartition-interface-20081222
Derrick Brashear [Mon, 22 Dec 2008 20:34:23 +0000]
DEVEL15-solaris-largepartition-interface-20081222

LICENSE IPL10

add support for using statvfs64 on solaris

(cherry picked from commit 556b9780517376c688c965dd446506cac1a0353b)

11 years agoDEVEL15-ubik-serverinit-clones-correction-20081222
Derrick Brashear [Mon, 22 Dec 2008 19:23:17 +0000]
DEVEL15-ubik-serverinit-clones-correction-20081222

LICENSE IPL10

as pointed out by Simon Wilkinson

(cherry picked from commit 72cb3a5f18f0483515dd82f8c851309003cf3a2f)

11 years agoDEVEL15-vol-dump-incr-largefile-support-20081222
Tom Kula [Mon, 22 Dec 2008 19:01:58 +0000]
DEVEL15-vol-dump-incr-largefile-support-20081222

LICENSE IPL10
FIXES 123984

add large file support for >2gb dumps; add incremental support

(cherry picked from commit d2ae1c99523ac4150a0d5536593781dbccfc1408)

11 years agoDEVEL15-doxygen-getfid-correction-20081222
Jeffrey Hutzelman [Mon, 22 Dec 2008 17:31:09 +0000]
DEVEL15-doxygen-getfid-correction-20081222

LICENSE IPL10

correct out param description

(cherry picked from commit 0c52c9b3d900f610822249765b6a441422361888)

11 years agoDEVEL15-rx-idledead-only-ignore-keepalives-20081222
Derrick Brashear [Mon, 22 Dec 2008 17:14:47 +0000]
DEVEL15-rx-idledead-only-ignore-keepalives-20081222

LICENSE IPL10

critical to not ignore e.g. other acks

(cherry picked from commit c69fa8fef4de43182d9e6ebad1d5c1db71148d6d)

11 years agoDEVEL15-rxgen-cpp-definition-20081221
Jeffrey Altman [Sun, 21 Dec 2008 06:05:33 +0000]
DEVEL15-rxgen-cpp-definition-20081221

LICENSE MIT
FIXES 124011

avoid "ologo" compilation error messages due to buffer overflow in rxgen
on Windows.  research performed by mlane@sinenomine.net.

(cherry picked from commit 992ec096332c31f64e8cff66e20d2ab87708485f)

11 years agoDEVEL15-tweak-vicelog-macros-20081221
Jeffrey Altman [Sun, 21 Dec 2008 06:00:41 +0000]
DEVEL15-tweak-vicelog-macros-20081221

LICENSE IPL10

add missing semi-colons left out from DELTA tweak-vicelog-macros-20081218

(cherry picked from commit 46abfec0c74e6a1d4c5c76afcd24192484e2d0fa)

11 years agoDEVEL15-audit-consolidate-open-20081221
Jeffrey Altman [Sun, 21 Dec 2008 05:47:25 +0000]
DEVEL15-audit-consolidate-open-20081221

LICENSE IPL10
FIXES 123923

fix audit-consolidate-open-20081217 which broke the Windows build.

(cherry picked from commit dbc92bde39361c9741828be7a2151e521c9aeef9)

11 years agoDEVEL15-tweak-vicelog-macros-20081218
Simon Wilkinson [Thu, 18 Dec 2008 14:05:21 +0000]
DEVEL15-tweak-vicelog-macros-20081218

LICENSE IPL10

deal with macro semicolon confusion for vicelog

(cherry picked from commit 12297b95885d030e5cae6bec2543bdeb3e65b5ee)

11 years agoDEVEL15-audit-consolidate-open-20081217
Steve McIntosh [Wed, 17 Dec 2008 18:14:59 +0000]
DEVEL15-audit-consolidate-open-20081217

LICENSE IPL10
FIXES 123923

consolidate opening auditlog in one place; make opening nonblock easier

(cherry picked from commit 539dc6f501459712136f574744dba196598bee0b)

11 years agoDEVEL15-auditlog-fids-20081217
Steve McIntosh [Wed, 17 Dec 2008 18:12:10 +0000]
DEVEL15-auditlog-fids-20081217

LICENSE IPL10
FIXES 123922

make auditlog process multiple fids correctly

(cherry picked from commit 8271c1674f75f80804d08e0f4ed3178b61b29eff)

11 years agoDEVEL15-windows-afsd-smb-error-mapping-20081217
Jeffrey Altman [Wed, 17 Dec 2008 16:19:42 +0000]
DEVEL15-windows-afsd-smb-error-mapping-20081217

LICENSE MIT

map ENOMEM to STATUS_OUT_OF_MEMORY

(cherry picked from commit dc4429487fbfc7a41f266b36d0f86ab32eb24e75)

11 years agoDEVEL15-irix-prototype-fixage-20081216
Derrick Brashear [Tue, 16 Dec 2008 21:49:04 +0000]
DEVEL15-irix-prototype-fixage-20081216

LICENSE IPL10

more cleanup to make prototypes match functions on irix

(cherry picked from commit df90f5510a057d77a486a1b667f91ff63ad17fd2)

11 years agoDEVEL15-irix-close-vnop-typo-20081216
Derrick Brashear [Tue, 16 Dec 2008 21:05:35 +0000]
DEVEL15-irix-close-vnop-typo-20081216

LICENSE IPL10

fix irix close vnop prototype to be correct

(cherry picked from commit dfc38ea7e950990eb4047d49892f4903b5c9b945)

11 years agoDEVEL15-rxdebug-tconn-flags-20081216
Jeffrey Altman [Tue, 16 Dec 2008 17:26:03 +0000]
DEVEL15-rxdebug-tconn-flags-20081216

LICENSE MIT

permit rxdebug to display the RX_CONN_KNOW_WINDOW, RX_CONN_RESET,
RX_CONN_BUSY, and RX_CONN_ATTACHWAIT flags

11 years agoDEVEL15-butc-xbsa-64bit-linux-20081215
Garry Zacheiss [Mon, 15 Dec 2008 22:20:48 +0000]
DEVEL15-butc-xbsa-64bit-linux-20081215

LICENSE IPL10

use the 64 bit libraries when built for amd64

(cherry picked from commit 00d5f88fa5b09b795edf8fdf04b3a19bb577506f)

11 years agoDEVEL15-fbsd71-like-current-20081215
Derrick Brashear [Mon, 15 Dec 2008 20:51:09 +0000]
DEVEL15-fbsd71-like-current-20081215

LICENSE IPL10
FIXES 123917

rpc is in sys now, like in current. tweaked from matt's patch to also
deal with amd64

(cherry picked from commit 1754101972ffb9b2d36c39656dac04464c5e9798)