]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
23 years agoSTABLE12-windows-rename-20021126
James Peterson [Wed, 4 Dec 2002 14:25:53 +0000 (14:25 +0000)]
STABLE12-windows-rename-20021126

fix rename on windows client

(cherry picked from commit fffba45737f37a0944491928352369e91547ff07)

23 years agoSTABLE12-windows-loopback-adapter-support-20021126
Scott D. Williams [Wed, 4 Dec 2002 14:24:30 +0000 (14:24 +0000)]
STABLE12-windows-loopback-adapter-support-20021126

try to bind to loopback on windows

(cherry picked from commit ed4cd74d47fc2253539aef64c95c1cb9ebab97cc)

23 years agoSTABLE12-windows-build-cleanup-20021204
James Peterson [Wed, 4 Dec 2002 14:20:44 +0000 (14:20 +0000)]
STABLE12-windows-build-cleanup-20021204

makefile changes.
initialize variables to NULL before use
clean up CellServDB parsing
make sure files do not get timestamp of -1 (1969)
update product version

23 years agoSTABLE12-disable-new-afs-thread-model-in-old-kernels-20021126
Derrick Brashear [Tue, 26 Nov 2002 23:54:44 +0000 (23:54 +0000)]
STABLE12-disable-new-afs-thread-model-in-old-kernels-20021126

so COMPLETION_H_EXISTS doesn't happen with 2.4.7-10

(cherry picked from commit 2ab5a578cf5ff61ef470fade98684e4f4cf6a9df)

23 years agoSTABLE12-hpux-readme-and-comments-on-header-20021126
Derrick Brashear [Tue, 26 Nov 2002 23:40:38 +0000 (23:40 +0000)]
STABLE12-hpux-readme-and-comments-on-header-20021126

Thanks to Carl Davidson for making it happen.

(cherry picked from commit e45d9bf430e00b2a1ca1789695fb23a459191f0e)

23 years agoSTABLE12-update-README-with-current-systems-20021122
Derrick Brashear [Sat, 23 Nov 2002 01:27:38 +0000 (01:27 +0000)]
STABLE12-update-README-with-current-systems-20021122

note that logging ufs on solaris can be bad

(cherry picked from commit 96253fdd414fa2152e32dd9f95c8d141a57adfd5)

23 years agodownmap F_*LK64 to F_*LK if they're different. we have no large files for now.
Kris Van Hees [Fri, 22 Nov 2002 21:01:29 +0000 (21:01 +0000)]
downmap F_*LK64 to F_*LK if they're different. we have no large files for now.

(cherry picked from commit 27005896103e250d045b005edc5a17cbec09131b)

23 years agoSTABLE12-address-operator-cant-be-applied-to-register-vars-on-hpux-20021122
Nathan Neulinger [Fri, 22 Nov 2002 19:14:53 +0000 (19:14 +0000)]
STABLE12-address-operator-cant-be-applied-to-register-vars-on-hpux-20021122

so we have a working hpux port

23 years agoSTABLE12-misc-dynroot-cleanup-20021119
Nickolai Zeldovich [Wed, 20 Nov 2002 03:24:47 +0000 (03:24 +0000)]
STABLE12-misc-dynroot-cleanup-20021119

Fix a memory leak in the dynroot directory creation process and
factor out common code to compute directory size.

(cherry picked from commit 6af0e344af39d15c8816b2acd86b785f991898b5)

23 years agoMake this work with Linux 2.2 kernels again. In particular,
Garry Zacheiss [Wed, 20 Nov 2002 03:18:47 +0000 (03:18 +0000)]
Make this work with Linux 2.2 kernels again.  In particular,

- Use the DCOUNT() macro from afs.h instead of atomic_read, because
  the d_count member of a struct dentry is an int in the 2.2 series,
  not an atomic_t.

- Use list_del() + INIT_LIST_HEAD() on 2.2, which doesn't have list_del_init().

- BUG() only exists on 2.4 kernels.  Just don't use it on 2.2.

(cherry picked from commit f8d781408717fbf65837fc69d4b4edda2349df4f)

23 years agoSTABLE12-dynamic-root-allocate-space-for-dot-and-dotdot-20011102
Nickolai Zeldovich [Wed, 20 Nov 2002 03:05:17 +0000 (03:05 +0000)]
STABLE12-dynamic-root-allocate-space-for-dot-and-dotdot-20011102

reserve space for . and .. in dynroot/freelance
fix my (shadow@dementia.org) screwup

23 years agoRevert to previous fcrypt implementation until the new one actually works.
Garry Zacheiss [Mon, 18 Nov 2002 04:35:47 +0000 (04:35 +0000)]
Revert to previous fcrypt implementation until the new one actually works.

23 years agoSTABLE12-rxkad-make-stress-compile-again-20020119
Love Hörnquist-Åstrand [Sat, 16 Nov 2002 19:28:36 +0000 (19:28 +0000)]
STABLE12-rxkad-make-stress-compile-again-20020119

Make stress compile again.

23 years agoreadd missing statistics
Derrick Brashear [Fri, 15 Nov 2002 13:45:31 +0000 (13:45 +0000)]
readd missing statistics
make cm and ukernel compile with new stuff

====================
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 missing include path

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

un-nocopy bg-fcrypt

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

and readd rx/rx.h so private_data's struct clock ref is resolved

(cherry picked from commit da3dad673043bdf35b58dc303f3ab324b0d0d828)

23 years agoSTABLE12-linux-dcache-flushing-experimental-20020819
Chas Williams [Fri, 15 Nov 2002 13:29:28 +0000 (13:29 +0000)]
STABLE12-linux-dcache-flushing-experimental-20020819

shadow@dementia.org at least partly to blame.

hold the dcache lock only briefly; instead put dcache entries to be junked
onto a free list, by unhashing them, then grab the dcache lock, junk them,
and release it.

23 years agoSTABLE12-REVERT-volserver-dont-deal-poorly-with-fssync-blockage-20021016
Chaskiel M Grundman [Fri, 15 Nov 2002 13:17:21 +0000 (13:17 +0000)]
STABLE12-REVERT-volserver-dont-deal-poorly-with-fssync-blockage-20021016

not ready yet, needs work

(cherry picked from commit fb3ca247296a14eb6ae0497f7ac4efe5e26d204b)

23 years agoSTABLE12-rxkad5-dont-allow-dot-in-aname-20021114
Love Hörnquist-Åstrand [Fri, 15 Nov 2002 05:04:56 +0000 (05:04 +0000)]
STABLE12-rxkad5-dont-allow-dot-in-aname-20021114

otherwise we need to deal with the fact that we're using . as a separator

(cherry picked from commit 21e056922d695c3fb49b48afc6e68391c764b16b)

23 years agofix typo introduced during merge.
Garry Zacheiss [Fri, 15 Nov 2002 04:08:57 +0000 (04:08 +0000)]
fix typo introduced during merge.

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

Fix typo introduced during merge.

23 years agorxkad fcrypt from bg@pdc.kth.se. we should also add autoconf test for what
Love Hörnquist-Åstrand [Thu, 14 Nov 2002 22:51:51 +0000 (22:51 +0000)]
rxkad fcrypt from bg@pdc.kth.se. we should also add autoconf test for what
to use for EFF_NTOHL

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

rxkad fcrypt from bg@pdc.kth.se. we should also add autoconf test for what
to use for EFF_NTOHL

(cherry picked from commit ea57d1062c8f48a4217b220a169a1072488ff953)

23 years agobased on report from leg@andrew.cmu.edu
Derrick Brashear [Thu, 14 Nov 2002 22:46:51 +0000 (22:46 +0000)]
based on report from leg@andrew.cmu.edu

(cherry picked from commit 05a3224474c3cb7552a8ce4b2d7524c631520690)

23 years agoAdded support to rxkad for servers accepting Kerberos V5 tickets and
Love Hörnquist-Åstrand [Thu, 14 Nov 2002 22:44:20 +0000 (22:44 +0000)]
Added support to rxkad for servers accepting Kerberos V5 tickets and
truncated "proposal 2b" tickets.  When used with an appropriate aklog
or krb524d (such as shipped with Heimdal and MIT Kerberos), this allows
the use of Kerberos V5 tickets (with DES session keys) to authenticate
connections to OpenAFS servers.

(cherry picked from commit ce34c263e683bc27ad64c4d26f5132afdba13dff)

23 years agoMinor fixes for HPUX110.
Douglas Engert [Thu, 14 Nov 2002 22:27:15 +0000 (22:27 +0000)]
Minor fixes for HPUX110.

(cherry picked from commit 63c5438e4864c80d8809ddd326ce09ccb80ee55f)

23 years agorewrite so we treat the ptr args as such
Derrick Brashear [Thu, 14 Nov 2002 22:23:47 +0000 (22:23 +0000)]
rewrite so we treat the ptr args as such

(cherry picked from commit d3c31d00619b968ec50d072499d6df08ba5de503)

23 years agoRecognize MacOS X 10.2.2 as ppc_darwin_60. It's compatible.
Garry Zacheiss [Thu, 14 Nov 2002 22:21:37 +0000 (22:21 +0000)]
Recognize MacOS X 10.2.2 as ppc_darwin_60.  It's compatible.

(cherry picked from commit da4ee765f9a2b17169c7ebed474cf9e83e06907d)

23 years agoClean up code in rxi_FindConnection.
Nickolai Zeldovich [Thu, 14 Nov 2002 22:19:50 +0000 (22:19 +0000)]
Clean up code in rxi_FindConnection.

(cherry picked from commit 82523baf9f76eca38fc4856f52bc7cdabddf14b3)

23 years agoHandle Linux kernels that don't export sys_call_table.
Chaskiel M Grundman [Thu, 14 Nov 2002 22:17:55 +0000 (22:17 +0000)]
Handle Linux kernels that don't export sys_call_table.

(cherry picked from commit 735afe1a6140bd99bb9040796175c4a4e8c1d5dd)

23 years agoUnder Solaris, only clean up the open count in VOP_INACTIVE when
Nickolai Zeldovich [Thu, 14 Nov 2002 21:58:40 +0000 (21:58 +0000)]
Under Solaris, only clean up the open count in VOP_INACTIVE when
the vcache is mvstat 0 (necessary because executables don't get
VOP_CLOSE'd).  Volume roots (mvstat 2) need to keep their open
counts, because under fakestat, the mountpoint above it is still
considered open by the kernel.

(cherry picked from commit 038d4a0e8e0520bf8c29793d810f0c0a6e40e419)

23 years agoAllocate memory for the interface addr arrays dynamically
Nickolai Zeldovich [Thu, 14 Nov 2002 21:56:57 +0000 (21:56 +0000)]
Allocate memory for the interface addr arrays dynamically
to avoid potential overruns.

(cherry picked from commit f349e5b3fa0206cd6269df256911a73f52ff4a0b)

23 years agoturn echo back on
Simon Spero [Thu, 14 Nov 2002 21:51:06 +0000 (21:51 +0000)]
turn echo back on

(cherry picked from commit d67e1550e47c3366384f278b8cf2f7dd255fa685)

23 years agoso AC_DEFINE() specifies 3 arguments for everything defined
Love Hörnquist-Åstrand [Thu, 14 Nov 2002 21:45:23 +0000 (21:45 +0000)]
so AC_DEFINE() specifies 3 arguments for everything defined

(cherry picked from commit fdeaffdd916226d3110c2461935553cbadf65c0e)

23 years agodon't assume it returns char
Sam Hartman [Thu, 14 Nov 2002 21:40:34 +0000 (21:40 +0000)]
don't assume it returns char

(cherry picked from commit 5f051a666b525abb2b3497a7966aa9ece8884aab)

23 years agoSlight change to the semantics of the serial number field in the
Nickolai Zeldovich [Thu, 14 Nov 2002 21:38:41 +0000 (21:38 +0000)]
Slight change to the semantics of the serial number field in the
ack packet, which results in more reliable RTT computation.

(cherry picked from commit 70872e9d3cba906a28fa4cf78a080819c822f5f6)

23 years agoChange some ints to unsigned for correct quota calculation.
Satish Kumar [Thu, 14 Nov 2002 21:37:26 +0000 (21:37 +0000)]
Change some ints to unsigned for correct quota calculation.
From Gregory via Satish Kumar.

(cherry picked from commit ec5df8df8cfc0e69856031ffcb07ae6d58d4a203)

23 years agoThe attached patch attempts to deal with the issue that the volserver
Chaskiel M Grundman [Thu, 14 Nov 2002 21:35:28 +0000 (21:35 +0000)]
The attached patch attempts to deal with the issue that the volserver
blocks if the fileserver's fssync interface isn't responsive by doing a
select (IOMGR_Select) before trying to read the server's response.

(cherry picked from commit 141c26f78ece33d87c5b4da750c902dc7f759839)

23 years agomake libafs.o get built on solaris
Derrick Brashear [Thu, 14 Nov 2002 21:34:02 +0000 (21:34 +0000)]
make libafs.o get built on solaris

(cherry picked from commit 695bf4bd6f123a33e433c41d0f95db1e2c83e568)

23 years agoIf the user calls rx_EndCall and we still have an outstanding
Nickolai Zeldovich [Thu, 14 Nov 2002 21:32:26 +0000 (21:32 +0000)]
If the user calls rx_EndCall and we still have an outstanding
delayack, force-send it now, to be nice to the server (otherwise
the server will keep retransmitting to us for a while).

(cherry picked from commit 7aebf2b2ea68668482edaefedd4efa5cafa61edd)

23 years agoWorking NFS translator on Solaris.
Derrick Brashear [Thu, 14 Nov 2002 21:31:17 +0000 (21:31 +0000)]
Working NFS translator on Solaris.

23 years agoA better way to do cross-cell-only fakestat, which should
Nickolai Zeldovich [Thu, 14 Nov 2002 21:24:30 +0000 (21:24 +0000)]
A better way to do cross-cell-only fakestat, which should
also avoid problems with Linux's attribute validation.

(cherry picked from commit 2d182a7fc1aa17bce1f63164944995663f567c12)

23 years agoChange the meaning of the -fakestat switch to only enable fakestat
Nickolai Zeldovich [Thu, 14 Nov 2002 21:03:57 +0000 (21:03 +0000)]
Change the meaning of the -fakestat switch to only enable fakestat
for cross-cell mountpoints.  The -fakestat-all switch can now be
used to enable fakestat for all mountpoints (old behavior).

(cherry picked from commit f0c7fe9ee1d07d50fe9f53598f36d42e365f0d89)

23 years agoalso avoid potential null deref in ih_open but with the ReadVolumeHeader patch
Derrick Brashear [Thu, 14 Nov 2002 20:41:44 +0000 (20:41 +0000)]
also avoid potential null deref in ih_open but with the ReadVolumeHeader patch
we should never get there.

thanks to Kris Van Hees for discovering this

(cherry picked from commit c6da165252c61a2328837d13c4463026d47a45c0)

23 years agoReturn EINVAL when the user tries to create a FIFO under afs,
Nickolai Zeldovich [Thu, 14 Nov 2002 20:39:56 +0000 (20:39 +0000)]
Return EINVAL when the user tries to create a FIFO under afs,
instead of silently creating a regular file.

(cherry picked from commit 74ad450bc202101b99923e18828073ee7208320c)

23 years agocheck for timegm. lha needs it for rxkad but it's "safe"
Love Hörnquist-Åstrand [Thu, 14 Nov 2002 20:37:58 +0000 (20:37 +0000)]
check for timegm. lha needs it for rxkad but it's "safe"

(cherry picked from commit 06690bd19c648e407f045f583cdf217cd3c822c5)

23 years agoif ino_t is a larger type than afs_int32, we lose bits, then treat it as
Derrick Brashear [Thu, 14 Nov 2002 20:36:31 +0000 (20:36 +0000)]
if ino_t is a larger type than afs_int32, we lose bits, then treat it as
if nothing happened...

(cherry picked from commit d04a30d76b7b55aef7ec7463a6b0ba3cbc06b08a)

23 years agomake the hpux client work
Nathan Neulinger [Thu, 14 Nov 2002 20:30:19 +0000 (20:30 +0000)]
make the hpux client work

(cherry picked from commit aab137dc718178a7648b2360a131861ccbba1121)

23 years agojust include the header directly if we caN
Derrick Brashear [Thu, 14 Nov 2002 20:20:39 +0000 (20:20 +0000)]
just include the header directly if we caN

(cherry picked from commit 0b8ff6366f0bb052afeb25b2bc5f7689c0dbc819)

23 years agoas edited by shadow@dementia.org
Nathan Neulinger [Thu, 14 Nov 2002 20:18:07 +0000 (20:18 +0000)]
as edited by shadow@dementia.org

(cherry picked from commit 729ec68bf6c2d51d8738524149dba613fce9094f)

23 years agoas provided by Srikanth Vishwanathan
Derrick Brashear [Thu, 14 Nov 2002 20:12:51 +0000 (20:12 +0000)]
as provided by Srikanth Vishwanathan

(cherry picked from commit 41ea527e539e94654c184b1ad03a6ba95eb40b9b)

23 years agoclean up missed and won't-compile stuff
Nathan Neulinger [Thu, 14 Nov 2002 20:10:50 +0000 (20:10 +0000)]
clean up missed and won't-compile stuff

(cherry picked from commit 30d558bfc576bcd9fa78451c0efc9f3c9678b710)

23 years agobasically verbatim import from ibm afs, per laura stentz:
Derrick Brashear [Thu, 14 Nov 2002 20:09:36 +0000 (20:09 +0000)]
basically verbatim import from ibm afs, per laura stentz:
Derrick,

I have gotten approval to allow you to publish this header in OpenAFS.
Enjoy!

Laura

(cherry picked from commit 7e631080a0ddba96859b6be54f4a70182b1c17e8)

23 years agoget us closer to building
Derrick Brashear [Thu, 14 Nov 2002 20:08:23 +0000 (20:08 +0000)]
get us closer to building

(cherry picked from commit d84171dd30771401787450582bbd57aab7aafc4e)

23 years agoIf we're doing our own xdr, we should be doing ALL of of own xdr, not
Nathan Neulinger [Thu, 14 Nov 2002 20:01:59 +0000 (20:01 +0000)]
If we're doing our own xdr, we should be doing ALL of of own xdr, not
piecemeal.  This impacted on HP w/ duplicate symbols if -lnsl, and
missing symbols if no -lnsl.

(cherry picked from commit a6216b35ea93e41dac5082441b984a7e1a7b1800)

23 years agoinit linux rwlocks we missed before
David Howells [Thu, 14 Nov 2002 19:53:00 +0000 (19:53 +0000)]
init linux rwlocks we missed before

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

Need to declare new lock extern.

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

init linux rwlocks we missed before

(cherry picked from commit fee78214f69ae4895e47e3c9b70e354646c154b6)

23 years agoIf ngroups in the parent is 0, but the first two elements of the groups
Nick Ingolia [Thu, 14 Nov 2002 19:47:12 +0000 (19:47 +0000)]
If ngroups in the parent is 0, but the first two elements of the groups
array represent a valid PAG (perhaps because they weren't zeroed), then
set_pag_in_parent won't add 2 to ngroups and the parent process won't
join the PAG.

(cherry picked from commit f5e96f747edc8674b6bf529b9c88d07799d9b10c)

23 years agoSTABLE12-shlibafsauthent-extra-functions-20021102
Derrick Brashear [Sat, 2 Nov 2002 17:25:48 +0000 (17:25 +0000)]
STABLE12-shlibafsauthent-extra-functions-20021102

export more on solaris

(cherry picked from commit 048e35c8290894387379a27616ef8fbae45568fb)

23 years agoNeed this defined to build shared libraries. openafs-stable-1_2_7
Derrick Brashear [Thu, 26 Sep 2002 06:18:26 +0000 (06:18 +0000)]
Need this defined to build shared libraries.

23 years agoRecognize Mac OS X 10.2.1 as ppc_darwin_60. It's compatible.
Garry Zacheiss [Thu, 26 Sep 2002 04:48:52 +0000 (04:48 +0000)]
Recognize Mac OS X 10.2.1 as ppc_darwin_60.  It's compatible.

(cherry picked from commit b8f10c45be99dbd3eb80005a804b123b8ba7ad21)

23 years agoUpdate NEWS file with user visible changes and other noteworthy things
Garry Zacheiss [Thu, 26 Sep 2002 00:39:38 +0000 (00:39 +0000)]
Update NEWS file with user visible changes and other noteworthy things
about OpenAFS 1.2.7.

(cherry picked from commit d18fd91f9d074759adba7ef7ea0c192e82205a04)

23 years agoAdd OpenAFS 1.2.7 release notes.
Garry Zacheiss [Thu, 26 Sep 2002 00:18:19 +0000 (00:18 +0000)]
Add OpenAFS 1.2.7 release notes.

23 years agoBegin release cycle.
Garry Zacheiss [Wed, 25 Sep 2002 23:14:52 +0000 (23:14 +0000)]
Begin release cycle.

23 years agoSTABLE12-linux-correct-fragsize-to-be-as-expected-20020919
Derrick Brashear [Thu, 19 Sep 2002 23:33:43 +0000 (23:33 +0000)]
STABLE12-linux-correct-fragsize-to-be-as-expected-20020919

consider it a partial pullup of  client-64bit-file-size-support-20011031

in order for the bit operations we do in afs_AdjustSize to work, this must
be (what it is) minus 1

23 years agoSTABLE12-freebsd-finish-pullup-20020917
Derrick Brashear [Wed, 18 Sep 2002 00:11:04 +0000 (00:11 +0000)]
STABLE12-freebsd-finish-pullup-20020917

sigh.

23 years agoSTABLE12-nfs-trans-comment-unused-variables-20020913
Derrick Brashear [Sat, 14 Sep 2002 00:53:36 +0000 (00:53 +0000)]
STABLE12-nfs-trans-comment-unused-variables-20020913

make solaris xlator module load

(cherry picked from commit abe77a507ad6c7185b38b9948d58edcf58568db3)

23 years agoSTABLE12-update-README-20020913
Derrick Brashear [Fri, 13 Sep 2002 05:15:16 +0000 (05:15 +0000)]
STABLE12-update-README-20020913

platform list update

23 years agoSTABLE12-alpha-dux-rm-missing-20020912
Derrick Brashear [Fri, 13 Sep 2002 04:53:50 +0000 (04:53 +0000)]
STABLE12-alpha-dux-rm-missing-20020912

define RM

23 years agoSTABLE12-rxkad-client-offer-better-bad-token-warnings-20020912
Derrick Brashear [Fri, 13 Sep 2002 03:53:19 +0000 (03:53 +0000)]
STABLE12-rxkad-client-offer-better-bad-token-warnings-20020912

if it's too large to be a valid token, offer a useful error.

(cherry picked from commit 33ada3676c4be83dc22cd7765e3904fe7c9377c6)

23 years agoSTABLE12-linux-use-kernel-threads-and-completions-if-possible-20020911
Derrick Brashear [Wed, 11 Sep 2002 17:17:31 +0000 (17:17 +0000)]
STABLE12-linux-use-kernel-threads-and-completions-if-possible-20020911

configure glue

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

with some rewriting by shadow@dementia.org

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

rest of the configure glue

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

no sys_exit in stock kernels

(cherry picked from commit a0154cf196b54c411e2fa47cf36f5fe5af45746e)

23 years agoSTABLE12-aix-namei-fileserver-fix-20020911
Michael Niksch [Wed, 11 Sep 2002 09:18:09 +0000 (09:18 +0000)]
STABLE12-aix-namei-fileserver-fix-20020911

make namei fileserver work on aix

(cherry picked from commit 8790c0759c5c920fce035945a9d2fdd05fa9a75d)

23 years agoSTABLE12-evalmountpoint-save-stack-20020909
Derrick Brashear [Wed, 11 Sep 2002 08:21:59 +0000 (08:21 +0000)]
STABLE12-evalmountpoint-save-stack-20020909

use "small" memory pool instead of 128 bytes off the stack

(cherry picked from commit 2656f417935a906a95bc07d401229405e8e5d9bd)

23 years agoSTABLE12-ptserver-acl-dumpentry-to-disallow-access-based-on-record-20020911
Derrick Brashear [Wed, 11 Sep 2002 08:20:23 +0000 (08:20 +0000)]
STABLE12-ptserver-acl-dumpentry-to-disallow-access-based-on-record-20020911

tighten up acl enforcement

(cherry picked from commit bbca5d8b08cb02a7f7b15fd4ea6d757282e99460)

23 years agoa) a freebsd client that compiles, and to a certain extent, works. Should
Tom Maher [Tue, 10 Sep 2002 23:33:24 +0000 (23:33 +0000)]
a) a freebsd client that compiles, and to a certain extent, works. Should
not be used except by people doing freebsd client development
b) configure glue for freebsd 4.3, 4.4, and 4.5
c) freebsd tfileserver support. Note that, by default, this isn't very
interesting, as the supported freebsd pthreads are just as cooperative as
LWP. if you install the linuxthreads port and swap the MT_* variables in
osconf.m4, you will get a more traditional tfileserver though. configure
glue for that will be forthcoming at some point.
d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them.

(and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x
 on same conf files issue)

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

no really, we need to include...

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

missed file

(cherry picked from commit bd707fb7e6e037ba0ae6e9addedca907cdaf5af0)

23 years agoSTABLE12-shared-library-builds-20020910
Derrick Brashear [Tue, 10 Sep 2002 06:41:58 +0000 (06:41 +0000)]
STABLE12-shared-library-builds-20020910

pullup from head

23 years agoSTABLE12-uss-fix-typo-20020909
Derrick Brashear [Mon, 9 Sep 2002 18:01:12 +0000 (18:01 +0000)]
STABLE12-uss-fix-typo-20020909

reported anonymously

(cherry picked from commit 63f25df3ef6cf6f851b8e184510eb49b06441653)

23 years agoIrix needs this. Put it back.
Derrick Brashear [Wed, 28 Aug 2002 08:20:25 +0000 (08:20 +0000)]
Irix needs this.  Put it back.

Note:  This was part of the delta prototypes-fixes-20020821 on the mainline,
but this chunk is needed on the 1.2.x branch, and it would be appropriate
to pull in the entire delta in which it appeared.

23 years agoSTABLE12-linux-symbol-export-test-20020810
Derrick Brashear [Wed, 28 Aug 2002 07:13:32 +0000 (07:13 +0000)]
STABLE12-linux-symbol-export-test-20020810

test for tasklist_lock being exported

(cherry picked from commit 2bde78fdac01380a359b6e6a8c466757553f846f)

23 years agoWork around MacOSX Finder's behavior by returning ENOENT when the user
Nickolai Zeldovich [Wed, 28 Aug 2002 05:49:18 +0000 (05:49 +0000)]
Work around MacOSX Finder's behavior by returning ENOENT when the user
tries to look up Contents or .DS_Store in an uncached volume root.

(cherry picked from commit 77b1a76e47948422c7797de2ac27f3a121aa8806)

23 years agoSTABLE12-linux-tasklist-lock-export-detection-20020829
Derrick Brashear [Wed, 28 Aug 2002 05:30:48 +0000 (05:30 +0000)]
STABLE12-linux-tasklist-lock-export-detection-20020829

if you don't have a versioned kernel, so sorry.

(cherry picked from commit efd9a7e32dc793c45f056be5c796f25db429a054)

23 years agomore or less verbatim as suggested by kolya@mit.edu
Derrick Brashear [Wed, 28 Aug 2002 04:57:37 +0000 (04:57 +0000)]
more or less verbatim as suggested by kolya@mit.edu

avoid leaking directory fds if we get an error

(cherry picked from commit b5677719dc204a2b8d039594b8c70bfee3914896)

23 years agosuggested by Srikanth Vishwanathan
Derrick Brashear [Wed, 28 Aug 2002 04:56:05 +0000 (04:56 +0000)]
suggested by Srikanth Vishwanathan

(cherry picked from commit 6ffcd27a1ecd0299cda2f45396c88ecd34959e7a)

23 years agowe weren't passing in creds before. do so.
Derrick Brashear [Wed, 28 Aug 2002 04:54:49 +0000 (04:54 +0000)]
we weren't passing in creds before.  do so.

(cherry picked from commit 6f7e6bf1127d04c4e70ed13cffbc8d9324c41eab)

23 years agoMake "fs newcell" work even when there are no pre-existing cells in
Nickolai Zeldovich [Wed, 28 Aug 2002 04:53:33 +0000 (04:53 +0000)]
Make "fs newcell" work even when there are no pre-existing cells in
the kernel yet.  Previously, newcell tried to issue a GetCell pioctl
to figure out what version of the pioctl interface the kernel is
using.  Lacking such information (if the pioctl returns an error),
we now assume the newer interface.

(cherry picked from commit f840143cd6b672858e121a0fb3dea5e12cb60f84)

23 years agoin a build with alternate dirpaths we shouldn't create directories we
Derrick Brashear [Wed, 28 Aug 2002 04:47:43 +0000 (04:47 +0000)]
in a build with alternate dirpaths we shouldn't create directories we
don't use

(cherry picked from commit 9f2a661a98399966735a69ced4b60b68b821c1c9)

23 years agoapply copyright info from arla.
Derrick Brashear [Wed, 28 Aug 2002 04:39:37 +0000 (04:39 +0000)]
apply copyright info from arla.

(cherry picked from commit 641beba860a8f4f47e6ca54ee8c3415d01986337)

23 years agoDon't return ELOOP when crossing a mountpoint boundary from a BK volume to
Garry Zacheiss [Wed, 28 Aug 2002 04:37:27 +0000 (04:37 +0000)]
Don't return ELOOP when crossing a mountpoint boundary from a BK volume to
a BK volume.  find treats it as a fatal error, and it's annoying not to be
able to naively use find to recurse through a volume with its backup volume
mounted.  Never noticed this before because we used to ignore this return
value.  Return ENODEV instead.

(cherry picked from commit f6462eac361ba2bddf5b84cdb7861f7ca482caba)

23 years agosuggested by lha@stacken.kth.se.
Derrick Brashear [Wed, 28 Aug 2002 04:35:51 +0000 (04:35 +0000)]
suggested by lha@stacken.kth.se.

(cherry picked from commit 5a7fa71c8613589c1c38d1d7723d72221818017f)

23 years agobased on report from lha@e.kth.se
Derrick Brashear [Wed, 28 Aug 2002 04:34:58 +0000 (04:34 +0000)]
based on report from lha@e.kth.se

note that this works because PIGGYSIZE is always less than AFS_LRALLOCSIZ

(cherry picked from commit 6260cbecd0795c4795341bdcf98671de6b9a43fb)

23 years agoSTABLE12-netinfo-support-fake-ips-for-nat-20020808
Derrick Brashear [Wed, 28 Aug 2002 04:32:18 +0000 (04:32 +0000)]
STABLE12-netinfo-support-fake-ips-for-nat-20020808

basically verbatim from Todd DeSantis, cleared for release by IBM

(cherry picked from commit caeecc241e6b4133009e9997cba4e4f259c33e60)

23 years agoSTABLE12-windows-build-fixes-20020806
Nickolai Zeldovich [Wed, 28 Aug 2002 04:28:14 +0000 (04:28 +0000)]
STABLE12-windows-build-fixes-20020806

fix windows build items

(cherry picked from commit fa729e7694d8d2a7694621542ddce6e212050599)

23 years agohold tasklist_lock in the right place. doesn't yet address versions
Derrick Brashear [Wed, 28 Aug 2002 04:27:08 +0000 (04:27 +0000)]
hold tasklist_lock in the right place. doesn't yet address versions
which don't export it.

(cherry picked from commit 38025e06508a7a83247ca4f8957fb8e5f32dec78)

23 years agoSTABLE12-sunos-support-cleanup-20020822
Derrick Brashear [Mon, 26 Aug 2002 05:34:08 +0000 (05:34 +0000)]
STABLE12-sunos-support-cleanup-20020822

some things want ucontext.h. leave it there

(cherry picked from commit 76aa5ff2186ee28717a25b8d6947046ac14d8770)

23 years agoSTABLE12-vsprocs-checkvolume-bug-20020822
Derrick Brashear [Thu, 22 Aug 2002 18:54:46 +0000 (18:54 +0000)]
STABLE12-vsprocs-checkvolume-bug-20020822

if we're going to make a string we should make it where we expect it

(cherry picked from commit 0e05e114a663acc138d1be7d87f2631c3460de40)

23 years agoClear the RX_CONN_ATTACHWAIT flag when an asymmetric client's calls
Nickolai Zeldovich [Thu, 22 Aug 2002 03:03:41 +0000 (03:03 +0000)]
Clear the RX_CONN_ATTACHWAIT flag when an asymmetric client's calls
time out; otherwise, the client could be locked out until the conn
is recycled.

(cherry picked from commit 7c20aa608273c5af8829183b325acbb2c356e038)

23 years agoAdd osi_Assert()'s around pthread_{cond,mutex}_* calls to make sure
Nickolai Zeldovich [Thu, 22 Aug 2002 03:02:09 +0000 (03:02 +0000)]
Add osi_Assert()'s around pthread_{cond,mutex}_* calls to make sure
we aren't getting errors anywhere.

Update the documentation/comments about Rx lock ordering.

Fix possible deadlock in asymmetric client detection code.

(cherry picked from commit b08f021fc924f24fe82dae79fa9ff30ff0a17572)

23 years agoThe first part of the patch fixes a likely deadlock in the
Nickolai Zeldovich [Thu, 22 Aug 2002 03:00:28 +0000 (03:00 +0000)]
The first part of the patch fixes a likely deadlock in the
case when we're destroying a client connection with active
calls.

The second part fixes a minor connection refcount leak in
my recent modification to protect against half-reachable
clients.

(Note: the first part of this was pulled up a while ago.  The second
 part wasn't, and is being pulled up now.)

23 years agoAlways verify that the client is fully reachable before talking
Nickolai Zeldovich [Thu, 22 Aug 2002 02:47:44 +0000 (02:47 +0000)]
Always verify that the client is fully reachable before talking
to it, in the fileserver.  This prevents some additional lossage
cases with poorly-connected clients.

Disable same feature for other Rx services, since they don't
need to incur extra RTT delay.

(cherry picked from commit feb689396ccc39f304db05cb69dc8db3506de921)

23 years agoThis patch should protect Rx-based servers from half-reachable clients,
Nickolai Zeldovich [Thu, 22 Aug 2002 02:43:30 +0000 (02:43 +0000)]
This patch should protect Rx-based servers from half-reachable clients,
which issue requests but don't acknowledge the server's response, thereby
eventually tying up all of the server threads, and denying service to all
other clients.  Such clients can arise in case of uni-directional routing
failures, whereby all packets from the server to client are lost but not
the other way around.

The idea it to ping clients (using Rx ack ping) before attaching them to
a thread, if (a) we're running low on threads, and (b) the client hasn't
responsed to a ping recently.

(cherry picked from commit c8f461dcb0b4e8d63a99b9837f2dcc1d52d66cc4)

23 years agoSTABLE12-darwin-updates-20020821
Chaskiel M Grundman [Wed, 21 Aug 2002 23:08:54 +0000 (23:08 +0000)]
STABLE12-darwin-updates-20020821

should be correct support for 10.2. also updates for 10.1

(cherry picked from commit 89f411e22c2d63c78cbd52410ca3e15b8aaf1c4a)

23 years agoSTABLE12-ptserver-catch-empty-idlist-20020831
Derrick Brashear [Wed, 21 Aug 2002 22:13:24 +0000 (22:13 +0000)]
STABLE12-ptserver-catch-empty-idlist-20020831

based on report from joda+openafs@pdc.kth.se
consistent with what the opposite transform does

(cherry picked from commit c6fcaad9e8b7374d0fd5ca579b0559f599b9e0f7)

23 years agoSTABLE12-viced-provide-way-to-not-retraverse-hostlist-20020821
Thomas Mueller [Wed, 21 Aug 2002 22:01:55 +0000 (22:01 +0000)]
STABLE12-viced-provide-way-to-not-retraverse-hostlist-20020821

avoid retraversing the host list and gewtting stucvk in a loop

(cherry picked from commit 0ca7613ac4ce16f54931f3702e186a1097c25d87)

23 years agoSTABLE12-int64-operator-updates-20020821
Hartmut Reuter [Wed, 21 Aug 2002 21:59:04 +0000 (21:59 +0000)]
STABLE12-int64-operator-updates-20020821

Changing the length and offset fields from afs_int64 to afs_uint64 gave
strange results for CompareInt64 and SubtractInt64. Therefore it's
better to cast the values as signed in these macros.

(cherry picked from commit 6587d225213c9125cb8bfb227647fc5e5511b134)

23 years agoSTABLE12-linux-22-kernel-support-for-current-state-20020821
Derrick Brashear [Wed, 21 Aug 2002 20:58:02 +0000 (20:58 +0000)]
STABLE12-linux-22-kernel-support-for-current-state-20020821

based on report from alfw@SLAC.Stanford.EDU

(cherry picked from commit d4d7befaebb5fb1e4d4cfa9ca6be44852235d1fd)