4451 Commits

Author SHA1 Message Date
Jeffrey Altman
0977936c2d STABLE14-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)
2009-01-05 23:17:48 +00:00
Andrew Deason
ccd9c5c539 STABLE14-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)
2008-12-29 21:26:24 +00:00
Derrick Brashear
7863507c93 STABLE14-macos-103-fixes-20081229
LICENSE IPL10

make macos 10.3 work again


(cherry picked from commit c11eb4c3336f66a3f0fd92c3df41eb9765de050c)
2008-12-29 17:29:30 +00:00
Jeffrey Altman
28e124c692 STABLE14-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)
2008-12-28 21:08:13 +00:00
Derrick Brashear
3b371bf390 STABLE14-solaris-largepartition-interface-20081222
LICENSE IPL10

add support for using statvfs64 on solaris


(cherry picked from commit 556b9780517376c688c965dd446506cac1a0353b)
2008-12-22 20:34:33 +00:00
Derrick Brashear
fe0d59665c STABLE14-ubik-serverinit-clones-correction-20081222
LICENSE IPL10

as pointed out by Simon Wilkinson


(cherry picked from commit 72cb3a5f18f0483515dd82f8c851309003cf3a2f)
2008-12-22 19:23:31 +00:00
Tom Kula
a7d80c6632 STABLE14-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)
2008-12-22 19:02:09 +00:00
Derrick Brashear
89fb2d77c0 STABLE14-rx-idledead-only-ignore-keepalives-20081222
LICENSE IPL10

critical to not ignore e.g. other acks


(cherry picked from commit c69fa8fef4de43182d9e6ebad1d5c1db71148d6d)
2008-12-22 17:15:00 +00:00
Jeffrey Altman
51069d711d STABLE14-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)
2008-12-21 06:05:22 +00:00
Jeffrey Altman
5489a652b3 STABLE14-tweak-vicelog-macros-20081221
LICENSE IPL10

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


(cherry picked from commit 46abfec0c74e6a1d4c5c76afcd24192484e2d0fa)
2008-12-21 05:59:57 +00:00
Jeffrey Altman
ade0023922 STABLE14-audit-consolidate-open-20081221
LICENSE IPL10
FIXES 123923

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


(cherry picked from commit dbc92bde39361c9741828be7a2151e521c9aeef9)
2008-12-21 05:46:42 +00:00
Simon Wilkinson
21323c0170 STABLE14-tweak-vicelog-macros-20081218
LICENSE IPL10

deal with macro semicolon confusion for vicelog


(cherry picked from commit 12297b95885d030e5cae6bec2543bdeb3e65b5ee)
2008-12-18 14:05:33 +00:00
Steve McIntosh
86d2faf323 STABLE14-audit-consolidate-open-20081217
LICENSE IPL10
FIXES 123923

consolidate opening auditlog in one place; make opening nonblock easier
AUTHOR
LICENSE IPL10


(cherry picked from commit 539dc6f501459712136f574744dba196598bee0b)
2008-12-17 18:16:25 +00:00
Steve McIntosh
0f97301219 STABLE14-auditlog-fids-20081217
LICENSE IPL10
FIXES 123922

make auditlog process multiple fids correctly


(cherry picked from commit 8271c1674f75f80804d08e0f4ed3178b61b29eff)
2008-12-17 18:12:25 +00:00
Garry Zacheiss
727ac94285 STABLE14-butc-xbsa-64bit-linux-20081215
LICENSE IPL10

use the 64 bit libraries when built for amd64


(cherry picked from commit 00d5f88fa5b09b795edf8fdf04b3a19bb577506f)
2008-12-15 22:21:37 +00:00
Derrick Brashear
9e9700c2a7 STABLE14-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)
2008-12-15 20:51:28 +00:00
Matt Benjamin
be8fd231ce STABLE14-amd64-fbsd-20081215
LICENSE IPL10
FIXES 123811

add support for fbsd 7.1, amd64 fbsd


(cherry picked from commit c63e2541e5879fe153238ad1d774f60fa00dc0ee)
2008-12-15 20:38:19 +00:00
Derrick Brashear
a0c0ca4c3d STABLE14-missing-comerr-header-includes-20081130
LICENSE IPL10
FIXES 123676

include com_err header in places where it's not so afs_error_message et al
exist


(cherry picked from commit 8166bd1d199f5a34225a49173b17e4682b5c3a84)
2008-11-30 20:25:00 +00:00
Douglas Engert
4942800217 STABLE14-solaris-fs-agnostic-cache-20081130
LICENSE IPL10
FIXES 123677

make the cache able to be filesystem-agnostic so a ZFS cache is possible
note this makes 1.4.8 afsd incompatible on systems where this is enabled


(cherry picked from commit 29457b1ca71518b29bb9e9e934c58e6fa4b9877a)
2008-11-30 20:21:35 +00:00
Derrick Brashear
2c98e2a6bb STABLE14-uphys-invalidate-returns-void-20081130
LICENSE IPL10
FIXES 123723

thanks to Hartmut Reuter for catching this.


(cherry picked from commit 96996e65fcd569565e78b7af79258dfad3b0d261)
2008-11-30 19:49:41 +00:00
Tracy Di Marco White
e108dbbd40 STABLE14-netbsd-acinclude-typo-20081117
LICENSE IPL10
FIXES 123647

fix netbsd version tests for amd64


(cherry picked from commit 122833a44eed58273e73992df815c7718ac6e4f7)
2008-11-17 23:14:27 +00:00
Derrick Brashear
75055b2eef STABLE14-aix6-lam-plugin-20081117
LICENSE IPL10
FIXES 123649

based on suggestion from Hung_Pham@unc.edu

build aix5 module for aix6


(cherry picked from commit b5fea780fbb0ea12d3d086210d0abbef12e24560)
2008-11-17 23:06:01 +00:00
Russ Allbery
79a4377c6a STABLE14-man-page-fileserver-fix-block-size-20081111
After code study, we've decided that additional blocks do add 32 octets,
not 16, despite messages to the contrary in the archives.


(cherry picked from commit a3c9b01f3adae098dbd31e7b9742dec5f8081d2c)
2008-11-12 02:31:21 +00:00
Jason Edgecombe
2ece563297 STABLE14-man-page-fileserver-updates-20081111
LICENSE BSD

Various file server man page updates: number of partitions, partition size
limits, directory file name block size, and a reference to the IBM manual
set.


(cherry picked from commit 794967ed3ec5a46329375ae19eac21c1c508c1ee)
2008-11-12 02:19:48 +00:00
Russ Allbery
95cfc001d5 STABLE14-man-page-fileserver-octet-20081111
LICENSE BSD

The sizing limit on directories is better expressed in octets than in
characters in the new possibly-Unicode world.


(cherry picked from commit 196e995b2569c7dceea8748a36431802d4875188)
2008-11-12 02:02:44 +00:00
Derrick Brashear
780104e0b4 STABLE14-viced-helper-thread-count-20081111
LICENSE IPL10

fix the thread count of helpers so we don't go past 128


(cherry picked from commit 267472a473316fbc37e1fc5dc74e4e7f9edfa4ef)
2008-11-11 20:31:40 +00:00
Marc Dionne
4d1e520c91 STABLE14-linux-new-aop-20081108
LICENSE IPL10
FIXES 123580

support for 2.6.28


(cherry picked from commit 041f09e17b7e1760a968c0e38f52d7feac2862ba)
openafs-stable-1_4_8
2008-11-08 16:49:57 +00:00
Simon Wilkinson
51ad7e7d80 STABLE14-redhat-packaging-krb-conf-man-page-20081105
LICENSE IPL10

account for the new manpage


(cherry picked from commit eccc12fb07cc5fef660ee29fe5ebcc573b027568)
2008-11-05 21:29:57 +00:00
Derrick Brashear
acda4d31db STABLE14-openafs-1-4-8-20081105
LICENSE IPL10

make openafs 1.4.8
2008-11-05 16:23:15 +00:00
Simon Wilkinson
9fa1eeefd5 STABLE14-aklog-attempt-order-comments-20081029
LICENSE IPL10

to clarify what gets tried when and why.


(cherry picked from commit 50e1e59a92f38e0751384b401016ea01fe01ed8f)
2008-10-29 19:44:10 +00:00
Max Cohan
f1f9a119cd STABLE14-windows-setup-utils-20081028
LICENSE IPL10

correct file name to match the file.
committed broken in windows-file-versioning-20030619


(cherry picked from commit ef70f73141bf9940ec10d42c2d6ab5b6b341cdc9)
2008-10-28 17:57:41 +00:00
Simon Wilkinson
4899132ac1 STABLE14-initialize-variables-to-avoid-logic-issues-20081027
LICENSE IPL10

make sure any variable whose value is used will be initialized before that
value is used. (these aren't just warnings)


(cherry picked from commit fc78255c1dc29c55b67f7a7b4599bed141282213)
2008-10-28 00:54:49 +00:00
Jeffrey Altman
02e191d208 STABLE14-ptutils-restricted-accessok-20081025
LICENSE MIT

Fix restricted mode test when 'any' is not set on AccessOK


(cherry picked from commit a614a8d95476ae49642d055cb0ac7942109d021e)
2008-10-26 07:51:37 +00:00
Simon Wilkinson
187a0fb3fd STABLE14-aklog-chatty-20081025
LICENSE IPL10

make aklog not accidentally be chatty


(cherry picked from commit f2014112bcc27ecc1426ef078af7456285d839d2)
2008-10-26 01:00:21 +00:00
Derrick Brashear
0c6da791be STABLE14-openafs-1-4-8-pre-20081022
LICENSE IPL10

make 1.4.8pre3
openafs-stable-1_4_8pre3
2008-10-23 02:52:09 +00:00
Derrick Brashear
a7e48a55e9 STABLE14-fd-setsize-test-20081021
LICENSE BSD

a test so we can deal with platforms which don't honor FD_SETSIZE


(cherry picked from commit a7a1846ab7fb049360b2c69486b7c673d09b8b28)
2008-10-21 19:36:59 +00:00
Derrick Brashear
1a9705f5b9 STABLE14-linux24-writepage-antideadlock-20081021
LICENSE IPL10

also make this work for 2.4.x


(cherry picked from commit 9bca8ce22add91b32f45922650c429404d74797d)
2008-10-21 14:46:17 +00:00
Derrick Brashear
0a1d5e2b31 STABLE14-blacklist-move-init-checks-back-into-req-code-20081020
LICENSE IPL10

revise things so we don't need to check initd outside analyze.c/InitReq

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

since these end up being used, init them too


(cherry picked from commit 6d14b44b7c83918bcd7e6e07ec365f8430ad23c5)
2008-10-20 20:29:46 +00:00
Derrick Brashear
ad37c1d5de STABLE14-linux-mmap-antirecursion-20081020
LICENSE IPL10
FIXES 120491

avoid deadlocking ourselves due to recursion when flushing pages on an
mmap()ed file larger than the cache


(cherry picked from commit 4a587356a31ac5afdf17d329a8598f70cf8bc3af)
2008-10-20 13:38:27 +00:00
Marc Dionne
be0deafca0 STABLE14-autoconf-262-support-20081020
LICENSE IPL10
FIXES 118058

fix the quoting and remove the tests we shouldn't need anymore


(cherry picked from commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2)
2008-10-20 13:35:27 +00:00
Derrick Brashear
65f041e922 STABLE14-blacklist-check-only-existing-servers-20081020
LICENSE IPL10

based on suggestion from haba@pdc.kth.se


(cherry picked from commit 3ad8fba85f5b45cdd6537c3ca71717c9370cc48e)
2008-10-20 13:03:30 +00:00
Marc Dionne
ffa990cd9a STABLE14-blacklistonce-use-only-initd-vrequest-20081020
LICENSE IPL10

avoid using an un "initd" vrequest for server blacklisting


(cherry picked from commit 7366eb3d46506b1fdda5ece843abd96aa76b7936)
2008-10-20 13:01:59 +00:00
Jeffrey Hutzelman
4c4364ae28 STABLE14-newtrans-lock-fix-fix-20081018
LICENSE IPL10

swap in the freshly allocated memory instead of throwing it away


(cherry picked from commit 2767cbf773653bffaa63e098cce463ada804d6d7)
2008-10-18 20:26:17 +00:00
Jeffrey Altman
05473b8ccb STABLE14-ubik-uninitialized-var-20081018
LICENSE MIT

'pass' must be initialized.  do so.


(cherry picked from commit 7e8c41d53fcd51ae0ff4420ba1027b354af306c8)
2008-10-18 16:24:57 +00:00
Jeffrey Altman
2d0a50f44c STABLE14-restore-uninitialized-var-20081018
LICENSE MIT

'last' must be initialized.  do so.


(cherry picked from commit f69137625fde97e465671978820350d41ca5d5b8)
2008-10-18 16:23:37 +00:00
Jeffrey Altman
0189bc6d49 STABLE14-fix-maxmtu-command-line-20081018
LICENSE MIT

fix the variable used for maxmtu command line processing


(cherry picked from commit 1bdea5e4707e9c60b949cc55b847c498fc9a7bec)
2008-10-18 16:10:57 +00:00
Mike Meffie
2ca1a5cdeb STABLE14-linux-alt-builddir-fix-20081014
LICENSE IPL10
FIXES 121650

correct the if test to include missing x


(cherry picked from commit 9be6b92a17ebe1d125e13c1cbd7bce620e7672ce)
2008-10-14 15:38:51 +00:00
Derrick Brashear
dd1cd28300 STABLE14-linux-proc-walk-locking-20081012
LICENSE IPL10
FIXES 116603

sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely


(cherry picked from commit 24ce8010cd414c8c573f2b035d186a2418900546)
2008-10-12 19:44:46 +00:00
Stefaan De Roeck
377b27bb64 STABLE14-linux-alternate-kernel-builddir-20081012
LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.


(cherry picked from commit 726fc5b8425eb7bbaab4bdde38d977382dc17a9d)
2008-10-12 19:02:35 +00:00
Jeffrey Hutzelman
c0d33baf29 STABLE14-volser-newtrans-racy-20081012
LICENSE IPL10
FIXES 121263

avoid a race on creating new transactions in volserver


(cherry picked from commit 322f7e0e9fff02c5d6cad8d9aded3e40abce93ef)
2008-10-12 18:53:29 +00:00