]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
22 years agoSTABLE12-darwin-deal-with-unclean-pages-from-vm-20020107
Chaskiel M Grundman [Sat, 25 Jan 2003 18:41:14 +0000 (18:41 +0000)]
STABLE12-darwin-deal-with-unclean-pages-from-vm-20020107

based on report from lha@stacken.kth.se

(cherry picked from commit 4b690db92f2098f332132996a11ff07322284802)

22 years agoSTABLE12-pam-no-system-include-path-20021210
Nathan Neulinger [Wed, 22 Jan 2003 17:12:13 +0000 (17:12 +0000)]
STABLE12-pam-no-system-include-path-20021210

breaks modern gcc.  also, wrong.

(cherry picked from commit 7e2fcac3c15811b1210d08f86b3d288c2d430a2c)

22 years agoSTABLE12-rx-assign-thread-id-key-to-periodic-helpers-20030117
Rainer Toebbicke [Fri, 17 Jan 2003 18:18:08 +0000 (18:18 +0000)]
STABLE12-rx-assign-thread-id-key-to-periodic-helpers-20030117

so each gets own holdbits

(cherry picked from commit ea4f1a80d73f62d91f0375d75dec67d38bd86f24)

22 years agoSTABLE12-viced-getclient-assert-logging-20030117
Derrick Brashear [Fri, 17 Jan 2003 07:39:53 +0000 (07:39 +0000)]
STABLE12-viced-getclient-assert-logging-20030117

log some more info before asserting

(cherry picked from commit 2e3678c8829761506b9179d3660448c9ae21942b)

22 years agoSTABLE12-vol-clone-inc-failure-logging-20030117
Derrick Brashear [Fri, 17 Jan 2003 06:47:35 +0000 (06:47 +0000)]
STABLE12-vol-clone-inc-failure-logging-20030117

log more info on asserts

(cherry picked from commit ec111ccc442439f68e9052721571ec8ef1754644)

22 years agoSTABLE12-viced-improved-host-logging-20030117
Derrick Brashear [Fri, 17 Jan 2003 06:24:45 +0000 (06:24 +0000)]
STABLE12-viced-improved-host-logging-20030117

to deal with condition reported by lha@stacken.kth.se

(cherry picked from commit 12eb511d4516dc5c82dc565bf1ae634e479b09ed)

22 years agoSTABLE12-solaris-deal-with-gmake-stupidity-20030117
Jeffrey Hutzelman [Fri, 17 Jan 2003 06:12:29 +0000 (06:12 +0000)]
STABLE12-solaris-deal-with-gmake-stupidity-20030117

make gmake not try to link libafs.o and libafs.nonfs.o into another object

(cherry picked from commit 587304c2ba6f092c963dda8866cd273cf7a68d0e)

22 years agoSTABLE12-viced-alloc-hosts-held-and-locked-20030114
Derrick Brashear [Fri, 17 Jan 2003 06:02:44 +0000 (06:02 +0000)]
STABLE12-viced-alloc-hosts-held-and-locked-20030114

to avoid potential race as we chain in while allocating then try to lock
after returning to h_GetHost_r

(cherry picked from commit cff9ae0f1036782018c818ba7176ad16e9ae202c)

22 years agoSTABLE12-linux-ifdef-stupidity-cleanup-20030117
Derrick Brashear [Fri, 17 Jan 2003 05:43:05 +0000 (05:43 +0000)]
STABLE12-linux-ifdef-stupidity-cleanup-20030117

as pointed out by zacheiss@mit.edu

(cherry picked from commit 82d009d480c6b2a664264329f6940c1a519ea3df)

22 years agoSTABLE12-linux-fast-netdown-20020107
Derek Atkins [Fri, 17 Jan 2003 05:42:34 +0000 (05:42 +0000)]
STABLE12-linux-fast-netdown-20020107

notice the NETUNREACH quickly and mark a host down

(cherry picked from commit b72c14c4cfdae85c469bcc1b88659e5bd6fb620c)

22 years agoSTABLE12-linux-lock64-fix-20030116
Pavel Semerad [Fri, 17 Jan 2003 01:30:37 +0000 (01:30 +0000)]
STABLE12-linux-lock64-fix-20030116

fix 64bit lock functions

(cherry picked from commit 3fa43862aa17467795121eb21f191066ab399980)

22 years agoSTABLE12-undo-unintended-change-20020817
Love Hörnquist-Åstrand [Tue, 14 Jan 2003 07:48:05 +0000 (07:48 +0000)]
STABLE12-undo-unintended-change-20020817

An unintentional change accidentally leaked out when the
rx-avoid-using-newproc-on-solaris-20020812 delta was checked
in.  Undo it, since it breaks things.

(cherry picked from commit 9a871520c951db8f68b7b08acc26de5ffe8b5f57)

22 years agoSTABLE12-solaris-x86-58-support-20030113
Joakim Fallsjö [Mon, 13 Jan 2003 23:47:16 +0000 (23:47 +0000)]
STABLE12-solaris-x86-58-support-20030113

needed for patch

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

make 1.2.x work on solaris 8 x86

22 years agoSTABLE12-linux-redhat-81-beta-support-20020107
Derrick Brashear [Sat, 11 Jan 2003 07:53:11 +0000 (07:53 +0000)]
STABLE12-linux-redhat-81-beta-support-20020107

thanks to Sean McDermott for the errno.h fixes.
the rest is my fault, the configure tests as well as the kernel changes

(cherry picked from commit 4624fd2206027a83ca3a27dd701f0ef4d3f01cef)

22 years agoSTABLE12-rx-avoid-using-newproc-on-solaris-20020812
Nickolai Zeldovich [Sat, 11 Jan 2003 07:48:58 +0000 (07:48 +0000)]
STABLE12-rx-avoid-using-newproc-on-solaris-20020812

Second attempt at avoiding the use of newproc() on Solaris.
This time, use thread_create to spawn a kernel thread, and
use a dummy packet to wake up the listener during shutdown.

(cherry picked from commit 5d3545610b83905e220d18c948d0fc621db851a5)

22 years agoSTABLE12-rxkad-2b-principal-translation-20021223
Sam Hartman [Sat, 11 Jan 2003 07:44:57 +0000 (07:44 +0000)]
STABLE12-rxkad-2b-principal-translation-20021223

Do v5/v4 principal name translation.

(cherry picked from commit b8dbb6e0c9aaa6091080be01ac5426c52356196b)

22 years agoSTABLE12-vol-package-avoid-race-on-invalidating-hashed-vnode-20030111
Derrick Brashear [Sat, 11 Jan 2003 07:44:19 +0000 (07:44 +0000)]
STABLE12-vol-package-avoid-race-on-invalidating-hashed-vnode-20030111

thanks to whichever of jhutz@cmu.edu or cg2v@andrew.cmu.edu (or both)
noticed the race; also deal with wrap problem in VolumeCacheCheck that i
noticed

22 years agoSTABLE12-include-errno-dont-declare-it-20030111
Sam Hartman [Sat, 11 Jan 2003 07:42:31 +0000 (07:42 +0000)]
STABLE12-include-errno-dont-declare-it-20030111

include errno.h instead of extern int errno ourselves

(cherry picked from commit 92e76f7eb20ea548dfc2d688d9d6eeb6a58e2c18)

22 years agoSTABLE12-rxkad-be-openssl-keyschedule-safe-20030111
Jeffrey Hutzelman [Sat, 11 Jan 2003 07:35:53 +0000 (07:35 +0000)]
STABLE12-rxkad-be-openssl-keyschedule-safe-20030111

openssl has larger keyschedules than we do

crypto api is all so unfortunate

(cherry picked from commit 2be60b7ee43cb3baa1709506d685c86ea643815e)

22 years agoSTABLE12-linux-placate-whiny-gcc-20020110
Derrick Brashear [Fri, 10 Jan 2003 19:49:32 +0000 (19:49 +0000)]
STABLE12-linux-placate-whiny-gcc-20020110

debian unstable gcc gets bitter and cries to mom over newlines in strings.

(cherry picked from commit e1c86d76917ee5960de4a55f529f58e8c57dbcfb)

22 years agoSTABLE12-nfstrans-solaris-pre-7-support-20021210
Derrick Brashear [Fri, 10 Jan 2003 09:35:07 +0000 (09:35 +0000)]
STABLE12-nfstrans-solaris-pre-7-support-20021210

pullup

23 years agoFix symlink support on Windows XP. openafs-stable-1_2_8a
James Peterson [Sun, 15 Dec 2002 04:34:45 +0000 (04:34 +0000)]
Fix symlink support on Windows XP.

(cherry picked from commit d057f179506a94db0cc178e5df60977ee753f1f7)

23 years agoSTABLE12-nfstrans-solaris-pre-7-support-20021210 openafs-stable-1_2_8
Derrick Brashear [Tue, 10 Dec 2002 23:17:43 +0000 (23:17 +0000)]
STABLE12-nfstrans-solaris-pre-7-support-20021210

make it work for 2.6 and earlier

23 years agoSTABLE12-windows-wide-char-fix-20021210
Larry Greenfield [Tue, 10 Dec 2002 22:55:57 +0000 (22:55 +0000)]
STABLE12-windows-wide-char-fix-20021210

include afxpriv.h so we get macros
call GetSize() and not GetCount()

(cherry picked from commit 7c5798f3902f7329511f127d7f6c8922885da383)

23 years agoSTABLE12-use-afs-strchr-instead-of-strchr-20021210
Mattias Amnefelt [Tue, 10 Dec 2002 19:11:39 +0000 (19:11 +0000)]
STABLE12-use-afs-strchr-instead-of-strchr-20021210

make dux happy

(cherry picked from commit 889da5053cb1b89ce25caec1bf9fa5a7dbb7830b)

23 years agoSTABLE12-windows-loopback-adapter-support-20021126
Scott D. Williams [Tue, 10 Dec 2002 16:41:24 +0000 (16:41 +0000)]
STABLE12-windows-loopback-adapter-support-20021126

try to bind to loopback on windows

(cherry picked from commit fd856437c88b3a4f3954db1bf06f20ad67e77b44)

23 years agoSTABLE12-linux-ia64-updates-20021209
Joseph V Moss [Tue, 10 Dec 2002 04:32:40 +0000 (04:32 +0000)]
STABLE12-linux-ia64-updates-20021209

deal with *LK64 not defined
deal with ia64 sys_call_table

(cherry picked from commit f7f1c50256b4073f3f8b762468bda450ad288267)

23 years agoAdd 1.2.8 release notes.
Garry Zacheiss [Tue, 10 Dec 2002 03:42:28 +0000 (03:42 +0000)]
Add 1.2.8 release notes.

23 years agoUpdate NEWS file with user visible changes and other noteworthy things
Garry Zacheiss [Mon, 9 Dec 2002 23:13:51 +0000 (23:13 +0000)]
Update NEWS file with user visible changes and other noteworthy things
about OpenAFS 1.2.8.

(cherry picked from commit 7a449be5fc0edc1ba4b86927856a44b865587c8b)

23 years agoBegin release cycle.
Garry Zacheiss [Mon, 9 Dec 2002 22:54:20 +0000 (22:54 +0000)]
Begin release cycle.

23 years agoSTABLE12-windows-versioning-updates-20021205
James Peterson [Thu, 5 Dec 2002 05:59:52 +0000 (05:59 +0000)]
STABLE12-windows-versioning-updates-20021205

conditionalize parts of windows build process on what platform the build is on

23 years agoSTABLE12-deal-with-non-modversioned-non-exported-sys-call-table-20021204
Nathan Neulinger [Thu, 5 Dec 2002 00:45:26 +0000 (00:45 +0000)]
STABLE12-deal-with-non-modversioned-non-exported-sys-call-table-20021204

fix broken test

(cherry picked from commit 1bd76f6fe56f231d5fbc271cc7768c519058890e)

23 years agoSTABLE12-windows-fake-cml-info-20021126
Scott D. Williams [Wed, 4 Dec 2002 14:27:32 +0000 (14:27 +0000)]
STABLE12-windows-fake-cml-info-20021126

fake up cml info for windows

(cherry picked from commit 0dd158bb6f09089928cfa80dbc2e1e13f12fda98)

23 years agoSTABLE12-windows-rename-warning-20021126
James Peterson [Wed, 4 Dec 2002 14:26:43 +0000 (14:26 +0000)]
STABLE12-windows-rename-warning-20021126

Currently AFS doesn't handle Explorer operations 'rename' and 'move'
correctly.  Normal operation of 'rename' and 'move' is to warn the operator
when the destination file name already exist.

(cherry picked from commit f5ff298ec5dcc3607621321e5785374bbed591fc)

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)