]>
git.michaelhowe.org Git - packages/o/openafs.git/log
Jason Edgecombe [Sat, 18 Aug 2007 02:53:07 +0000 (02:53 +0000)]
STABLE14-man-page-bos-util-
20070817
Add a man page for bos_util.
(cherry picked from commit
815ac3c773d9312f2abf6e7903aa3d723618485a )
Jason Edgecombe [Sat, 18 Aug 2007 02:48:12 +0000 (02:48 +0000)]
STABLE14-man-page-updates-
20070817
Add new man pages for pts interactive, quit, sleep, and source. Fix POD
errors in a few other man pages and update the to-do list in README.
(cherry picked from commit
87efbab4e8c0dc37c1938503eea88f7f319b7e5d )
Jason Edgecombe [Sat, 18 Aug 2007 02:44:47 +0000 (02:44 +0000)]
STABLE14-man-page-check-pod-
20070817
Add check-pod script to test for POD syntax errors.
(cherry picked from commit
a8172fca24f91e2b5ab10f66d62d766b7e5d46c1 )
Derrick Brashear [Thu, 16 Aug 2007 04:54:26 +0000 (04:54 +0000)]
STABLE14-aix-dont-use-root-vfs-for-anything-
20070815
the cache may not be in /; we basically never need rootvfs
(cherry picked from commit
25ace7c2c79705a59be4aded829aaf8d1dc003e2 )
Jeffrey Altman [Sun, 12 Aug 2007 00:54:04 +0000 (00:54 +0000)]
STABLE14-pts-
20070811
remove SUPERGROUPS condition for compilation of pts commands:
Interactive, Quit, Source, Sleep
fix the assignment of 'source' to permit it to function
replace bcopy and bzero with memcpy and memset to permit compilation
on Windows
replace ubik_Call(xxx) with ubik_xxx() (testpt.c)
add -DSUPERGROUPS and map.c to NTMakefile
====================
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.
====================
rename functions to avoid Win32 conflicts
(cherry picked from commit
58d5f38b10b35ab3712eacde60f2a06fb2f2a062 )
Rainer Toebbicke [Thu, 9 Aug 2007 15:59:54 +0000 (15:59 +0000)]
STABLE14-64bit-ticket-file-
20070809
fix the ticket files we write on 64 bit
(cherry picked from commit
6811175f37ba51691556d64309d59dbff8a1a29c )
Jeffrey Altman [Wed, 8 Aug 2007 21:36:18 +0000 (21:36 +0000)]
STABLE14-vice-hash-minimal-
20070808
This delta is a minimal variation on vice-hash-
20070808 .
The differences between the two are that there has not been a
significant updating of ViceLog entries and renaming of functions
and variables for consistency has not been performed.
(1) fixes a bug that could cause a 'host' structure to not be removed
from the global host list if the 'host' did not possess an interface
list. This would happen with older AFS clients that do not support the
WhoAreYou family of RPCs. Windows clients older than 1.3.80 and old
Transarc UNIX clients.
(2) fixes a bug which could result in ViceLog being called with an
uninitialized 'hoststr' buffer as a parameter.
(3) ensures that only addresses known to belong to the 'host' are
added to the address hash table. The list of addresses provided by
the client are stored as alternates and are only used when searching
for a client that is no longer accessible on the primary address.
These addresses are not stored in the address hash table within
initInterfaceAddr_r().
The addresses provided by the client should not be added to the hash
table because they have not been verified as belonging to the 'host'
that provided them. The contents of the list may in fact be completely
unreliable. Consider the existing UNIX clients that generate the list
at startup and never alter it even after the client has migrated to a
different network. If two client's both claim the same address,
lookups by address may fail to find the correct one.
a. The client list might contain private address ranges which
are likely to be re-used by many clients allocated addresses
by a NAT.
b. The client list will not include any public addresses that
are hidden by a NAT.
c. Private address ranges that are exposed to the server will
be obtained from the rx connections that use them.
d. Lists provided by the client are not necessarily truthful.
Many existing clients (UNIX) do not refresh the IP address
list as the actual assigned addresses change. The end result
is that they report the initial address list for the lifetime
of the process. In other words, a client can report addresses
that they are in fact not using. Adding these addresses to
the host interface list without verification is not only
pointless, it is downright dangerous.
e. The reported addresses do not include port numbers and
guessing that the port number is 7001 does not work when
port mapping devices such as NATs or some VPNs are in
use.
(4) [not in this delta]
(5) logs the UUID along with the client addresses when initializing the
host's interface list. (level 125)
(6) saves memory by using a smaller structure for the UUID hash table
Derrick Brashear [Wed, 8 Aug 2007 20:58:51 +0000 (20:58 +0000)]
STABLE14-viced-avoid-tying-up-all-threads-
20070730
FIXES 19461
implement a thread quota.
(cherry picked from commit
ece19eefbe46400e1c28834570deed7294761167 )
Rainer Toebbicke [Wed, 8 Aug 2007 16:54:39 +0000 (16:54 +0000)]
STABLE14-viced-multi-probe-addr-
20070808
FIXES 67355
MultiProbeAlternateAddress_r badly indexes the list of interfaces for
clients with multiple IP interfaces, resulting in peers with IP
address 0 port 0 to be created. This in turn results in rxi_sendmsg
errors (on systems where caught early, as on Linux, on others it may
pass unnoticed).
(cherry picked from commit
f099df38b2eff9c8c5afb52ec1a69dd89af22dad )
Jason Edgecombe [Mon, 6 Aug 2007 00:40:27 +0000 (00:40 +0000)]
STABLE14-man-page-vos-size-
20070805
Add a new man page for vos size.
(cherry picked from commit
87d2f5cd3f1e370f6daf6b6170e00f156644315a )
Jason Edgecombe [Mon, 6 Aug 2007 00:37:14 +0000 (00:37 +0000)]
STABLE14-man-page-fs-newalias-
20070805
Add a new fs newalias man page. Add -help to the synopsis and options of
the other new man pages. Add additional missing links in the fs man page.
Fix some wording in the CellAlias man page.
(cherry picked from commit
e7742db31f68acf2d227c13840e0a0ed9291d247 )
Jason Edgecombe [Mon, 6 Aug 2007 00:28:13 +0000 (00:28 +0000)]
STABLE14-man-page-fs-listaliases-
20070805
Add manual page for fs listaliases. Also add the links in the fs(1) man
page and update README more for the current to-do list.
(cherry picked from commit
95cfc0cfafe5c0a3f9f8ff07cb3c2be29fe9e3fc )
Russ Allbery [Sun, 5 Aug 2007 23:12:19 +0000 (23:12 +0000)]
STABLE14-man-page-style-
20070805
Some style fixes and some additional style documentation in README.
(cherry picked from commit
e735ef962de3623f8fa11cca92d13151d62b5aaa )
Jason Edgecombe [Sun, 5 Aug 2007 23:09:04 +0000 (23:09 +0000)]
STABLE14-man-page-afsd-crypt-alias-
20070805
Complete the documentation of the afsd flags and update a few things like
-settime and -nosettime. Add man pages for fs setcrypt, fs getcrypt, and
CellAlias. Based on work by Jason Edgecombe and then extensively edited,
so any errors I probably introduced.
(cherry picked from commit
8761673c608986d32bb858b26441b09c24f41696 )
Jeffrey Altman [Tue, 31 Jul 2007 23:22:21 +0000 (23:22 +0000)]
STABLE14-rxkad-bg-fcrypt-unbreak-windows-
20070731
i (derrick) broke everything. fix it.
(cherry picked from commit
4b8db9f2119de86b9e52e947cc5708d89dbcc3f5 )
Derrick Brashear [Sat, 28 Jul 2007 15:35:06 +0000 (15:35 +0000)]
STABLE14-darwin-avoid-fsref-panic-maybe-
20070728
maybe this works.
(cherry picked from commit
a608cd2e24e50026c36148eb357c03d583384dde )
Jason Edgecombe [Fri, 27 Jul 2007 19:02:03 +0000 (19:02 +0000)]
STABLE14-man-page-updates-
20070726
FIXES 65988
Mention aklog and kinit in klog's man page, add -dynroot to the afsd man
page, and mention that -skipauth tells uss not to create any Kerberos
principal and this has to be done separately.
(cherry picked from commit
2367c273bbfd3cbecc72b770ede579e60da153e2 )
Derrick Brashear [Thu, 19 Jul 2007 19:52:40 +0000 (19:52 +0000)]
STABLE14-volser-directoryless-incremental-dumps-
20070719
add an rpc, give vos a switch, allow incrementals which do not include directory objects
(cherry picked from commit
16b32c134590fbdb13b83ea71be0579338ab8f7e )
Derrick Brashear [Thu, 19 Jul 2007 16:17:22 +0000 (16:17 +0000)]
STABLE14-viced-assert-less-
20070719
in don't assert for every silly thing
(cherry picked from commit
58d6f0b42ad552972e03c75d61d90a0398adf0cc )
Derrick Brashear [Thu, 19 Jul 2007 16:12:35 +0000 (16:12 +0000)]
STABLE14-viced-no-nulluuid-
20070719
a host with a zero uuid has no uuid support
(cherry picked from commit
91fee8a699e31ad825e84a4f2bd56eb9093ea85a )
Derrick Brashear [Thu, 19 Jul 2007 16:03:07 +0000 (16:03 +0000)]
STABLE14-kill-more-ubikcall-
20070719
tested more ubik call death, so, byebye
(cherry picked from commit
c01005269959257ed5c4ecfbde176a02ee25dea3 )
Derrick Brashear [Thu, 19 Jul 2007 15:57:54 +0000 (15:57 +0000)]
STABLE14-vos-validate-dumpfile-
20070719
based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)
(cherry picked from commit
982f455debcb50d0a59b0997085e7b2e9475b604 )
Cesar Garcia [Wed, 18 Jul 2007 15:24:30 +0000 (15:24 +0000)]
STABLE14-libadmin-deubikcall-cleanup-
20070718
remove bogus extra arg
(cherry picked from commit
ef76695bb906c331a69356d1eb63ef00e56ea615 )
Jeffrey Hutzelman [Tue, 17 Jul 2007 13:18:18 +0000 (13:18 +0000)]
STABLE14-osi-probe-check-readable-
20070717
FIXES 63971
avoid potentially reading pges that don't exist
(cherry picked from commit
65c1b37f15e0fc7963aac9fa630613cf0d29df26 )
Marcus Watts [Tue, 17 Jul 2007 13:09:41 +0000 (13:09 +0000)]
STABLE14-bg-fcrypt-64bit-fix-
20070717
instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types...
(cherry picked from commit
2abf6e204c6f72993021a45485523aa04bca8ac2 )
Russ Allbery [Tue, 17 Jul 2007 05:06:41 +0000 (05:06 +0000)]
STABLE14-sparc32-no-ucontext-
20070716
Don't define USE_UCONTEXT on sparc32 Linux since glibc doesn't implement
getcontext/setcontext for that architecture.
(cherry picked from commit
7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff )
Derrick Brashear [Tue, 17 Jul 2007 04:13:59 +0000 (04:13 +0000)]
STABLE14-sparc32-no-getcontext-
20070716
implement ptr_mangle for sparc32
(cherry picked from commit
f489b05a1c055f3aa8eccdbcd96f8bbcfbf466e7 )
Eric Sturdivant [Mon, 16 Jul 2007 21:43:31 +0000 (21:43 +0000)]
STABLE14-xbsa-54-solaris-cplusplus-fun-
20070716
FIXES 65588
deal with change to c++ xbsa library
(cherry picked from commit
5662cd310b03b14d17f4443035b47126f9729207 )
Jeffrey Altman [Mon, 16 Jul 2007 01:00:37 +0000 (01:00 +0000)]
STABLE14-libadmin-ubik_call-
20070715
replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...)
correct the incorrect parameter lists for ubik_FOO()
(cherry picked from commit
82cb8884c8c962c7fbc3fc75f923e3dfdfc24a76 )
Derrick Brashear [Fri, 13 Jul 2007 20:55:21 +0000 (20:55 +0000)]
STABLE14-aix-aklog-lam-plugin-
20070713
allow aklog equivalent from lam
(cherry picked from commit
a818f2d6b6dfb1538e929c74db466cbec1a1ae64 )
Derrick Brashear [Thu, 12 Jul 2007 19:11:19 +0000 (19:11 +0000)]
STABLE14-suser-aix-macro-
20070712
can't use ifdefs inside the macro...
(cherry picked from commit
7aa5f7ad8b50e74eba1a9f359c1c5ae44b87a016 )
Douglas Engert [Wed, 11 Jul 2007 05:32:27 +0000 (05:32 +0000)]
STABLE14-aklog-deal-without-524-
20070711
patch in a way of dealing with no krb524
(cherry picked from commit
e13f8859a01509a45d686972959c73be1d46e500 )
Rainer Toebbicke [Tue, 10 Jul 2007 21:30:57 +0000 (21:30 +0000)]
STABLE14-pagsh-krb5-
20070710
FIXES 54621
clean up the environment
(cherry picked from commit
73087bd4bea8a15032b6d3309940ff183804a99d )
Derrick Brashear [Mon, 9 Jul 2007 21:02:19 +0000 (21:02 +0000)]
STABLE14-linux-register-fs-deal-with-error-
20070709
deal with other people who think they are afs.
(cherry picked from commit
28208c9a241b54d20eb492a2ffdd85b30b03f011 )
Chaskiel M Grundman [Mon, 9 Jul 2007 20:16:48 +0000 (20:16 +0000)]
STABLE14-sparc-linux-des-alignment-
20070709
seems like compilers really hate des. it should would be nice to euthanize this.
it's a shame there's no simple license-friendly des library to use
(cherry picked from commit
d8457dd359fccfc461b220061d23cf7600a95a4c )
Marcus Watts [Fri, 6 Jul 2007 12:38:31 +0000 (12:38 +0000)]
STABLE14-budb-ol_verify-
20070706
FIXES 53210
fixes a missing pointer declaration that would presumably
break on 64-bit architectures.
(cherry picked from commit
62bf68f4ba952d06aa82e1607a43a72a203befd0 )
Jim Rees [Fri, 6 Jul 2007 12:34:00 +0000 (12:34 +0000)]
STABLE14-proto-
20061026
prototypes for dbread/dbwrite
(cherry picked from commit
2145b549b304291c9ed022bcb9a8ce8c9042c3a6 )
Jeffrey Hutzelman [Fri, 6 Jul 2007 00:44:55 +0000 (00:44 +0000)]
STABLE14-cellservdb-
20070705
GCO Public CellServDB 05 Jul 2007
(cherry picked from commit
600a20f5a2fdd9fbcd0e54412fa29f7a16906359 )
Derrick Brashear [Tue, 3 Jul 2007 15:04:24 +0000 (15:04 +0000)]
STABLE14-macos-no-default-memcache-
20070703
this should be leopard only memcache for now
(cherry picked from commit
35a2fe01dd4c8a73515c46cd9a076453e7434547 )
Derrick Brashear [Tue, 3 Jul 2007 05:24:45 +0000 (05:24 +0000)]
STABLE14-des-p-temp-volatile-
20070703
make des work again on powerpc darwin and possibly elsewhere
(cherry picked from commit
a5815643fcdbb96a01d73520fa22f5652f11413d )
Dan Hyde [Mon, 2 Jul 2007 18:06:31 +0000 (18:06 +0000)]
STABLE14-volser-delete-clone-not-source-
20070702
FIXES 64268
fixes a bug in the UV_CopyVolume2 cleanup code. Without
this patch, the cleanup code will delete the source volume.
(cherry picked from commit
a41d0af021b7b56532bb70d7aa63701e3915b099 )
Derrick Brashear [Thu, 28 Jun 2007 03:13:44 +0000 (03:13 +0000)]
STABLE14-volser-earlier-logging-
20070627
deal with the changes to deal with reconnecting in the unix domain fsync socket
(cherry picked from commit
f7c4a7e538a3f4cca0c1ae988f56561ac5383ab2 )
Kevin Hildebrand [Wed, 27 Jun 2007 22:23:44 +0000 (22:23 +0000)]
STABLE14-amd64-linux-24-syscall-probe-symbol-change-
20070623
FIXES 63763
probe for something else for 2.4 and older
====================
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.
====================
(cherry picked from commit
d9875469022d2aa91dff595dc97f37466852bfbc )
Derrick Brashear [Wed, 27 Jun 2007 17:32:12 +0000 (17:32 +0000)]
STABLE14-forceallnewconns-prototype-
20070627
missed this earlier. linux wants it.
(cherry picked from commit
6e2737190a46c9043ceb2bd7285471f00273a995 )
Derrick Brashear [Tue, 26 Jun 2007 20:11:45 +0000 (20:11 +0000)]
STABLE14-macos-afsd-dont-leak-symbol-
20070626
avoid leaking a ref to this symbol outside macos code
(cherry picked from commit
17c7ab74613309d1af0b664a81796975ac6f698d )
Jeffrey Altman [Tue, 26 Jun 2007 06:44:57 +0000 (06:44 +0000)]
STABLE14-backup-usedump-
20070625
FIXES 55704
afs_com_err not com_err
(cherry picked from commit
470be46a4c6231ebf422b9fa9d9c47baa4342824 )
Tom Keiser [Mon, 25 Jun 2007 21:25:31 +0000 (21:25 +0000)]
STABLE14-aix53-avoid-wait-crash-
20070625
avoid crashing because of unpinned mmemory when doing event handling
(cherry picked from commit
5e5bfa6b9401ebc1fa5446e208cf46c15943c411 )
Chas Williams [Sat, 23 Jun 2007 16:31:11 +0000 (16:31 +0000)]
STABLE14-memcache-alloc-failures-
20070623
FIXES 55339
deal with alloc failures in memcache
(cherry picked from commit
99a61e9762373f0b2b6352fe108bb42cf59f6340 )
Garry Zacheiss [Sat, 23 Jun 2007 16:27:22 +0000 (16:27 +0000)]
STABLE14-backup-usedump-
20070623
FIXES 55704
restore from specific dump id
(cherry picked from commit
a2cd5f5ec0cf20cca2f4a568f23759eda42e1fcc )
Jeffrey Altman [Sat, 23 Jun 2007 15:48:26 +0000 (15:48 +0000)]
STABLE14-windows-release-notes-
20070623
1.4.4 (oops)
Derrick Brashear [Sat, 23 Jun 2007 15:24:05 +0000 (15:24 +0000)]
STABLE14-image-fix-
20070623
(cherry picked from commit
8e180b6303d37cf4e45d52b67089fa9405e6aa22 )
Derrick Brashear [Sat, 23 Jun 2007 15:05:46 +0000 (15:05 +0000)]
STABLE14-doc-add-missing-gifs-
20070623
FIXES 1826
(cherry picked from commit
fe61d4e3a1e9419983a7a3e59ba0d196000edddd )
Marcus Watts [Sat, 23 Jun 2007 14:46:53 +0000 (14:46 +0000)]
STABLE14-fssync-unix-socket-handling-fixes-
20070623
FIXES 63743
make unix domain socket behavior better
Derrick Brashear [Sat, 23 Jun 2007 07:27:22 +0000 (07:27 +0000)]
STABLE14-newuuid-fix-
20070622
yeah, i should commit from places with better network if i'm going to need to edit in place, so i can see what i'm typing
(cherry picked from commit
ec223f850b654365d13a7f8ae483c883d35413ab )
Russ Allbery [Tue, 19 Jun 2007 10:06:27 +0000 (10:06 +0000)]
STABLE14-man-page-net-info-fixes-
20070619
Fix a NetInfo reference in the NetRestrict man page that should be
NetRestrict and add cross-references in SEE ALSO.
(cherry picked from commit
67ea3ae96bc678b5e2a61810634bef71713291da )
Derrick Brashear [Mon, 18 Jun 2007 19:51:31 +0000 (19:51 +0000)]
STABLE14-macos-realtime-ip-updates-
20070618
notice and deal with IP address changes
(cherry picked from commit
56728676386dfcdb1e9f3938ce9375f9a5531f17 )
Derrick Brashear [Mon, 18 Jun 2007 19:26:37 +0000 (19:26 +0000)]
STABLE14-readme-
20070618
update the systype list
(cherry picked from commit
f19ce63279d8745146694de989633cf2035e13f9 )
Derrick Brashear [Mon, 18 Jun 2007 19:05:35 +0000 (19:05 +0000)]
STABLE14-avoid-empty-uuid-
20070618
avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step
(cherry picked from commit
39b027504b9b26b9b71aa4abac5f2b66f256f200 )
Derrick Brashear [Mon, 18 Jun 2007 19:00:46 +0000 (19:00 +0000)]
STABLE14-darwin-collect-network-errors-for-fast-timeout-
20070618
same optimization we do on windows, linux
(cherry picked from commit
0c5cf6028d2e45809772838fb169c456f22e61f6 )
Derrick Brashear [Mon, 18 Jun 2007 18:12:13 +0000 (18:12 +0000)]
STABLE14-darwin-afs-syscall-eliminate-needless-vfs-context-hold-
20070618
avoid potential deadlock when e.g. SetTokens called before initialization completes
(cherry picked from commit
125e4511a9715a5df7dda265373d97a21177ea21 )
Jeffrey Altman [Thu, 14 Jun 2007 20:05:03 +0000 (20:05 +0000)]
STABLE14-rx-lwp-sendmsg-
20070614
update the lwp version of rxi_sendmsg to return the same error, -1,
returned by the pthread version.
replace errno with WSAGetLastError() in the Windows blocks so that
the correct error value is checked.
(cherry picked from commit
46a931d020da24dd534e1064ea9fbe693acbdf65 )
Derrick Brashear [Tue, 12 Jun 2007 20:20:10 +0000 (20:20 +0000)]
STABLE14-newuuid-
20070612
add the newuuid command
(cherry picked from commit
b1bbe33fdee32a3b3ec87a9d770d8684347f7c4b )
Marc Dionne [Tue, 12 Jun 2007 19:41:09 +0000 (19:41 +0000)]
STABLE14-linux-configure-vfs-update-
20070612
FIXES 62017
clean up output
(cherry picked from commit
391d657c6ed80b5479d1db6ded957c8ddf688cb2 )
Marc Dionne [Tue, 12 Jun 2007 19:35:44 +0000 (19:35 +0000)]
STABLE14-linux-vfs-flush-3arg-
20070612
FIXES 62203
3rd arg for passing lock owner id. add configure gunk also
(cherry picked from commit
6eabfbd4b969d9efcc1eef646899af28a5077f0f )
Simon Wilkinson [Tue, 12 Jun 2007 19:28:49 +0000 (19:28 +0000)]
STABLE14-linux-sysctl-update-
20070612
FIXES 61906
2.6.21.1 introduces an additional .parent pointer in the middle of
the structure. As the OpenAFS code just initialises the structure
with a list, this causes it to assign the value intended
for .proc_handler to .parent
(cherry picked from commit
a6294ee79a9dc18fad219262b6be69535c0398a9 )
Marc Dionne [Tue, 12 Jun 2007 06:47:41 +0000 (06:47 +0000)]
STABLE14-linux-2-6-22-updates-
20070611
FIXES 61767
1 - task_struct loses thread_info, which is now accessible through the
task_thread_info() macro. A configure test is added to deal with this.
2 - the SLAB_CTOR_VERIFY flag is gone
(cherry picked from commit
37a0b14e016af74176d714cc1b25a2af00275d56 )
Steven Jenkins [Tue, 12 Jun 2007 05:00:18 +0000 (05:00 +0000)]
STABLE14-man-vos-online-
20070611
Add initial man pages for vos offline and vos online.
(cherry picked from commit
ce209b23a5c64ed4b0d79ed775acf6cc000f4a35 )
Lars Wilke [Tue, 12 Jun 2007 04:55:39 +0000 (04:55 +0000)]
STABLE14-man-fileserver-args-
20070611
Missed another erroneous option argument.
(cherry picked from commit
ee37fd74ef67ea6c9543544b23ca69fd9f624572 )
Jeffrey Altman [Sun, 10 Jun 2007 15:22:49 +0000 (15:22 +0000)]
STABLE14-rxkad-badticket-
20070610
In rxkad_CheckResponse, when checking the return value from tkt_CheckTimes,
the order is == 0, == -1, < -1, <= 0. The <= 0 case is extraneous so
remove it. Both < -1 and <= 0 returned RXKADBADTICKET.
(cherry picked from commit
f4bd2604222c1199fc0ece0eaa82c034fa50b977 )
Asanka Herath [Sun, 10 Jun 2007 06:54:10 +0000 (06:54 +0000)]
STABLE14-windows-pioctl-buffer-overrun-
20070609
this patch protects against a buffer overrun in the client if the
server were to send more data than the receiving buffer can hold.
(cherry picked from commit
8a814a5596e9d8db1c24326715f794ae46966b3b )
Derrick Brashear [Sun, 10 Jun 2007 06:40:45 +0000 (06:40 +0000)]
STABLE14-linux-kmem-destroy-fix-
20070609
don't destroy if create failed
(cherry picked from commit
18484f0fc64a550c1abacb6d2614c7ea12af4052 )
Derrick Brashear [Wed, 6 Jun 2007 18:57:43 +0000 (18:57 +0000)]
STABLE14-vsprocs-avoid-bogus-error-
20070606
don't EPRINT if it's not an error
(cherry picked from commit
fcfdcc3cc1c272966574103f7e8bd495c7fcbb84 )
Derrick Brashear [Wed, 6 Jun 2007 18:33:50 +0000 (18:33 +0000)]
STABLE14-lwp-linux-ucontext-
20070606
to revert other changes which got pushed down here; make things like the head
Derrick Brashear [Wed, 6 Jun 2007 18:23:24 +0000 (18:23 +0000)]
STABLE14-aix-declare-setlim-
20070606
maybe fix lwp.c compiling with modern aix
(cherry picked from commit
cb18c5f80257d2ef239933dbe055cbe753b312c6 )
Derrick Brashear [Tue, 5 Jun 2007 18:12:51 +0000 (18:12 +0000)]
STABLE14-solaris-sparc-default-to-v8-insns-for-kmod-
20070605
FIXES 23935
don't use the default instruction set since the compiler has changed over time
(cherry picked from commit
a62104968094bec86a7d3692158bbc84db035cdd )
Jeffrey Hutzelman [Tue, 5 Jun 2007 04:56:14 +0000 (04:56 +0000)]
STABLE14-fix-kbuild-linux-ppc64-
20070604
The Linux 2.6 kbuild environment requires assembly files end in .S, not .s.
(cherry picked from commit
e8493e06f9d62c282bca2df8a4a0ac20caa4c70c )
Derrick Brashear [Fri, 18 May 2007 06:55:13 +0000 (06:55 +0000)]
STABLE14-clone-dont-hold-vol-lock-
20070516
same deal as purge. a transaction on the volume outstanding holds it. we don't n
eed to preclude all access
(cherry picked from commit
aa5d46b71b3700d6256f47237fadf0a4829daee6 )
Derrick Brashear [Thu, 17 May 2007 19:38:46 +0000 (19:38 +0000)]
STABLE14-linux-posix-lock-file-has-wait-arg-now-
20070517
FIXES 58590
hopefully this works, i can't actually try it now
(cherry picked from commit
ad98eacdadf6b9e079d1606f40cfc352450650a1 )
Arkadi Shishlov [Thu, 17 May 2007 07:52:52 +0000 (07:52 +0000)]
STABLE14-linux-sparc-arch-detection-
20070517
FIXES 60288
use arch to figure out if we are sparc64
(cherry picked from commit
9352435f1c128ee011fc820e41c6fba508d141dd )
Derrick Brashear [Thu, 17 May 2007 07:39:48 +0000 (07:39 +0000)]
STABLE14-linux-posix-lock-file-has-wait-arg-now-
20070517
FIXES 58590
hopefully this works, i can't actually try it now
(cherry picked from commit
59eb3de5ea3bc9588c91d3f2dbb6a598fa56ad43 )
Rainer Toebbicke [Thu, 17 May 2007 06:47:06 +0000 (06:47 +0000)]
STABLE14-bucoord-dump-levels-
20070517
FIXES 57246
dont use memory past what you've allocated
(cherry picked from commit
87a93241dab68696a54c8e43df4ffb70928fce21 )
Lukas Hluze [Wed, 16 May 2007 22:00:14 +0000 (22:00 +0000)]
STABLE14-libafs-common-placate-irix-make-
20070516
FIXES 59153
irix make wants $@ to be $(@) inside other braces
(cherry picked from commit
5987e2923a2670a27a801461dc9668ec88ed7d2a )
Chaskiel M Grundman [Wed, 16 May 2007 21:53:05 +0000 (21:53 +0000)]
STABLE14-rx-ack-idle-comment-
20070516
FIXES 60046
fix comment
(cherry picked from commit
d143385ec6e633c0b8a953550a4d2b9e5c1b2171 )
Chaskiel M Grundman [Wed, 16 May 2007 21:46:47 +0000 (21:46 +0000)]
STABLE14-rx-tq-busy-
20070516
FIXES 60046
abstract tq busy wait code
(cherry picked from commit
7a72e2445fa8da7947a4370080edb9eb4df67e17 )
Chaskiel M Grundman [Wed, 16 May 2007 21:39:09 +0000 (21:39 +0000)]
STABLE14-rx-send-req-ack-
20070516
FIXES 60046
change reply code where appropriate
(cherry picked from commit
a900fe30894b5c1bf3a55f2f539179c75c177dad )
Arkadi Shishlov [Wed, 16 May 2007 21:23:58 +0000 (21:23 +0000)]
STABLE14-glibc24-jmp-buf-mangling-
20070516
FIXES 60440
glibc 2.4 does jmp buf manging for "security"
whatever. deal.
(cherry picked from commit
f550e3b3ffeac6be73a780fa3ed43ab3dc4600ba )
Marcus Watts [Wed, 16 May 2007 20:57:16 +0000 (20:57 +0000)]
STABLE14-supergroup-cleanup-
20070516
FIXES 60809
Problems fixed with this patch:
/1/ supergroup bug: when updating an entry in prdb, the logic in
pt_mywrite is supposed to unset flagged & found bitmap entries.
This failed on little-endian architecture machines.
/2/ warnings; a few fixes to eliminate some compiler noise.
(cherry picked from commit
d608809c247c9b8105c95e230449f98705767476 )
Marcus Watts [Wed, 16 May 2007 20:45:50 +0000 (20:45 +0000)]
STABLE14-ptserver-fix-bitmap-
20070516
FIXES 60680
make sure bitmap code is correct else supergroups returns invalid answer
fix verify code to be correct on little endian hosts
(cherry picked from commit
62dc1975410ad0dbea12a0c7e3c11a37230e5971 )
Rainer Toebbicke [Mon, 14 May 2007 22:45:06 +0000 (22:45 +0000)]
STABLE14-namei-dont-randomly-full-salvage-
20070514
FIXES 61300
trivial fix to clear forcep
(inode already does this)
(cherry picked from commit
c78b4c61f70f6756a79440748ecacea2affec8ab )
Chaskiel M Grundman [Mon, 14 May 2007 22:38:43 +0000 (22:38 +0000)]
STABLE14-getdcache-no-slowpass-enforcement-on-dynroot-
20070514
don't enforce slowpass check (and don't do unnecessary work) for dynroot vnodes
(cherry picked from commit
1b1c0eda5a3db6fe92d46d5f3d8529bf7c6378c2 )
Erland Lewin [Mon, 14 May 2007 20:27:49 +0000 (20:27 +0000)]
STABLE14-dont-fclose-null-
20070514
we erroneously don't check for not null before fclose. fix it.
(1.4 only bug)
Frank Cusack [Thu, 10 May 2007 23:44:12 +0000 (23:44 +0000)]
STABLE14-fix-partition-check-
20070510
oops
(cherry picked from commit
08cbee9b2d941d79b9f7919f4c76b1ab45ef3643 )
Derrick Brashear [Thu, 10 May 2007 01:18:18 +0000 (01:18 +0000)]
STABLE14-vos-namelen-for-dump-restore-is-stupid-
20070509
fixes bug reported by stephen joyce which i am too lazy to go get the RT number of
(cherry picked from commit
f2761c416320a3ff2bb0af4298ca95b8ecb04211 )
Russ Allbery [Mon, 7 May 2007 18:23:11 +0000 (18:23 +0000)]
STABLE14-up-preserve-dir-mtime-
20070507
FIXES 34522
Set the mtime on newly created directories to match the original directory.
(cherry picked from commit
1d4d8f5c4f125707fc6af432024d99e2672cadab )
Derrick Brashear [Wed, 25 Apr 2007 20:50:21 +0000 (20:50 +0000)]
STABLE14-rx-call-abort-release-refcount-
20070425
don't leak a call ref when doing a call abort
(cherry picked from commit
92ecfdd675e8a851c7f0f19e5359362fa00c1c8f )
Jeffrey Altman [Tue, 24 Apr 2007 01:41:03 +0000 (01:41 +0000)]
STABLE14-viced-write-perm-grants-read-lock-
20070423
the permission to obtain a write-lock is granted either by having the
"w" permission or the "i" when owning the file. The permission to obtain
a read-lock has been granted by having the "k" permission. However it
makes no sense that someone can obtain a write-lock but not a read-lock.
This patch grants permission to obtain read-locks to those who can obtain
write-locks.
(cherry picked from commit
bb61e1dc678ea28132c195438fc1f157fa580cd1 )
Jeffrey Altman [Fri, 20 Apr 2007 11:59:41 +0000 (11:59 +0000)]
STABLE14-windows-wix-html-installgd-
20070420
FIXES 59827
The wix installer creates the wrong directory name for the IBM Quick Guide
(cherry picked from commit
c5c23b7bc4544af2c1204622cd67b835b27bcdab )
Rainer Toebbicke [Thu, 19 Apr 2007 05:10:35 +0000 (05:10 +0000)]
STABLE14-linux-unlink-avoid-infrequent-leak-
20070222
FIXES 54689
avoid minor leak
(cherry picked from commit
4f86aa379d345c98113bde2169b9d1400dcee89c )
Christopher Allen Wing [Wed, 18 Apr 2007 19:27:46 +0000 (19:27 +0000)]
STABLE14-linux-symlink-handling-avoid-crash-
20070418
Background: OpenAFS is vulnerable to crashing in the linux kernel symlink
code when running on kernel versions between 2.6.10 to 2.6.12. This also
includes all RHEL4 kernels, because RHEL4 includes the code from 2.6.10. The
problem is that the symlink text caching API, page_follow_link() et al, is
unsuitable for network filesystems where the page cache may be invalidated
in parallel with a path lookup.
This crash can be triggered easily by doing a bunch of path lookups
involving symlinks (e.g., stat() on various files pointed to through links),
while simultaneously running 'fs flushvol' on the volume containing the
symlinks.
The simplest way to fix this problem is to disable the use of symlink text
caching when the kernel does not provide a usable symlink API.
(cherry picked from commit
2d18bd1777b8d18a3b855685928dcdafcbe609b8 )
Chaskiel M Grundman [Wed, 18 Apr 2007 19:04:10 +0000 (19:04 +0000)]
STABLE14-vmalloc-no-glock-
20070418
Based on Chris Wing's analysis which stated in part:
GFP_NOFS tells the allocator not to recurse back into the filesystem if it's
necessary to free up memory. However, vmalloc() does not have such an
option. Therefore, calling osi_Alloc() to request more than a page of
memory may end up recursing back into AFS to try to free unused inodes or
dentries.
In this case, what happened was that osi_Alloc() is called within an
AFS_GLOCK(); osi_Alloc() calls vmalloc() which tries to free dentry objects,
which then calls back into the AFS module. Unfortunately, AFS_GLOCK() is
already held and we deadlock.
(cherry picked from commit
9943fe1fd71fc29331dcac7cd6a51bd37f307876 )