3970 Commits

Author SHA1 Message Date
Derrick Brashear
1ea85f62bf STABLE14-darwin90-debug-harder-20071009
stab the stabs


(cherry picked from commit 604838e7d43f4cd65d4eb70208bea57db2e93026)
2007-10-09 22:32:01 +00:00
Derrick Brashear
231359ce13 STABLE14-darwin90-dsym-and-ppc-cputype-support-20071009
build for all ppc cputypes. also, support dsym debug info instead of stabs, when appropriate


(cherry picked from commit b4b2b74d145140fb785170dfbab5ca50ef24f045)
2007-10-09 17:02:30 +00:00
Derrick Brashear
1a21d2df7a STABLE14-sol10-abstraction-20071005
abstract things as needed


(cherry picked from commit e4adbbc79b016b3fa4e83ad0e261a4c47aad55a5)
2007-10-05 23:23:49 +00:00
Dale Ghent
19ef6a9695 STABLE14-solaris10-network-updates-20071004
FIXES 72759

This patch removes use of the non-Public ILL structures by OpenAFS to
gather network interface information in order to make RX packet size
and server locality decisions.


(cherry picked from commit 4ac01ec1ed2ce588185c055acfa3d73095a5b444)
2007-10-05 03:54:08 +00:00
Jeffrey Altman
8ace88dfb7 STABLE14-windows-lanahelper-20071001
uninitialized variable in lana_IsLoopback


(cherry picked from commit 7890ce9eade282398c06c00166b43e7d23151944)
2007-10-01 21:07:14 +00:00
Derrick Brashear
6ec3976304 STABLE14-aklog-kimpersonate-20070912
inline kimpersonate support, to make testing easier.


(cherry picked from commit a6d7cacfdca82815af2cc0fda570340802a73dc3)
2007-09-12 19:19:45 +00:00
Chaskiel M Grundman
d60ad4ac07 STABLE14-namei-protect-against-extra-files-20070911
if someone is monkeying in the filesystem, sometimes they shoot themselves. save them if they renamed foo to foo.bak (where foo is a full 64 bits)


(cherry picked from commit c22f945bb783ba003c12ce73574568a9c4b80304)
2007-09-11 16:40:26 +00:00
Derrick Brashear
4b0c0d2af5 STABLE14-namei-fsync-less-20070910
remove sync() call from Windows build


(cherry picked from commit 049c95d74cab7ba99b99f9634a32f38058c86fb1)
2007-09-10 22:55:58 +00:00
Rainer Toebbicke
602af83c32 STABLE14-namei-fsync-less-20070907
FIXES 30632

we call fsync() too much. call it less, and fsync in the background


(cherry picked from commit dbbd59495bcda2a93d640f8cf5adf0b587f4591b)
2007-09-07 05:05:49 +00:00
Derrick Brashear
bbe4f52c8c STABLE14-checkhost-use-reentrant-list-traversal-20070823
rather than making a copy of the whole hostlist and holding every host, hold
what we need, the _r (not really reentrant) version.


(cherry picked from commit 5cae22ea3aa2580aaac1b465c024854791d3d8d7)
2007-09-07 04:55:40 +00:00
Derrick Brashear
94be954f97 STABLE14-consolidate-cellservdb-20070905
step 1. one place.
step 2 is coming: fix the scripts to update it when we do a release


(cherry picked from commit b3e385fc1093818c59d7f46477bb723132fcfd93)
2007-09-05 22:54:41 +00:00
Jim Rees
38145463cf STABLE14-use-strdup-20061026
use strdup instead of rolling our own


(cherry picked from commit c5fd006bf802bf6ccfd1e7a0c6422b71ea1fb9b1)
2007-08-29 21:29:02 +00:00
Derrick Brashear
d0e827e21d STABLE14-linux-module-error-handling-20070821
be more careful about what we call when, and clean up after ourselves


(cherry picked from commit c31cfea03d95779cf334c7aa0c08067e49dc5d47)
2007-08-22 03:19:28 +00:00
Derrick Brashear
d0124968d7 STABLE14-nfstrans-updates-20070821
FIXES 1480

fix the knfs error from the v/c/o pioctl changes


(cherry picked from commit 34bbb13160e0d1fc2155f9fc1a906469d7aa3fde)
2007-08-22 03:15:33 +00:00
Derrick Brashear
d9238c7992 STABLE14-linux-modparam-269-updates-20070821
be consistent on 2.6.9 about which MODULE parm family used


(cherry picked from commit 2a9ef007a3271ef2e49af13093d4e30c147c0b31)
2007-08-21 22:31:59 +00:00
Jeffrey Altman
b1c7df93f9 STABLE14-viced-remove-asserts-20070821
remove asserts testing the number of alternate interfaces.


(cherry picked from commit d0f62da48417989040986a0bd6539d9696616229)
2007-08-21 09:28:37 +00:00
Derrick Brashear
17f61220e2 STABLE14-find-dcache-just-hold-the-lock-slightly-longer-20070820
we go out of our way to hold xdcache to protect indexTimes elsewhere... there's
no reason to drop it here just before this...


(cherry picked from commit d0a92c7bdeeac96a0d09e02a1494ff398f57f1bb)
2007-08-20 18:53:15 +00:00
Alejandro R. Sedeño
e41f6de262 STABLE14-krb4-64bit-tf-kth-or-mit-20070820
based on his patch for mit kerberos


(cherry picked from commit 5eff5f4ee8b02d17be64b46f8fb8669a40bf1666)
2007-08-20 18:29:25 +00:00
Marcus Watts
a9cd655772 STABLE14-pt_util-man-page-20061005
Initial man page for pt_util.


(cherry picked from commit f5e9182848b7c427acc515e7a7ed24afad655416)
2007-08-20 06:42:37 +00:00
Russ Allbery
e5e7de9860 STABLE14-no-kseal-20070819
Don't build or install kseal by default.  It's a debugging tool with very
limited utility.


(cherry picked from commit a6fe83d9a661743b11ee1eb7cc8f3f46810475da)
2007-08-19 23:31:27 +00:00
Jason Edgecombe
655418da78 STABLE14-man-page-fixes-20070819
More details on how to run check-pod.  Restore the [] markup in the vos
changeloc SYNOPSIS since the flags really are optional.


(cherry picked from commit dfb2961b677299a726be33e63b29476f003d03a7)
2007-08-19 23:27:02 +00:00
Russ Allbery
ddde0c6c46 STABLE14-ka-forwarder-20060731
Add ka-forwarder.


(cherry picked from commit cc37bc5ae487dda611d2bf4b383b2d2cfd1ea675)
2007-08-19 23:17:42 +00:00
Jason Edgecombe
9f0b5edc65 STABLE14-man-page-pts-pullup-20070817
For some reason, the previous pullup didn't cvs add these files.  Really
pull them up from the trunk.
2007-08-18 03:47:28 +00:00
Jason Edgecombe
43906fae26 STABLE14-man-page-vos-changeloc-more-20070817
Mention vos changeloc in the vos man page.  Also include an incidental fix
to pts source's man page.


(cherry picked from commit fb1cc324a498908f823e3c8ceb2b2be29cc785c3)
2007-08-18 03:38:14 +00:00
Jason Edgecombe
e20e6c0ac1 STABLE14-man-page-vos-changeloc-20070817
Add a man page for vos changeloc.


(cherry picked from commit dc5adbeaac1548a7649ee81cb87d9eea88021b93)
2007-08-18 03:34:24 +00:00
Jason Edgecombe
2a49a5570e STABLE14-man-page-fs-updates-20070817
Add man pages for fs flushall and fs getcalleraccess.


(cherry picked from commit 024442b020043501f14069d762ecefbf7feef59a)
2007-08-18 02:58:24 +00:00
Jason Edgecombe
c6ada7b194 STABLE14-man-page-bos-util-20070817
Add a man page for bos_util.


(cherry picked from commit 815ac3c773d9312f2abf6e7903aa3d723618485a)
2007-08-18 02:53:07 +00:00
Jason Edgecombe
21ce4273ed 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)
2007-08-18 02:48:12 +00:00
Jason Edgecombe
888c34d8de STABLE14-man-page-check-pod-20070817
Add check-pod script to test for POD syntax errors.


(cherry picked from commit a8172fca24f91e2b5ab10f66d62d766b7e5d46c1)
2007-08-18 02:44:47 +00:00
Derrick Brashear
952d139a4a 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)
2007-08-16 04:54:26 +00:00
Jeffrey Altman
d3162e2373 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)
2007-08-12 00:54:04 +00:00
Rainer Toebbicke
54c7c7089c STABLE14-64bit-ticket-file-20070809
fix the ticket files we write on 64 bit


(cherry picked from commit 6811175f37ba51691556d64309d59dbff8a1a29c)
2007-08-09 15:59:54 +00:00
Jeffrey Altman
9535989cad 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
2007-08-08 21:36:18 +00:00
Derrick Brashear
1059d9aa6d STABLE14-viced-avoid-tying-up-all-threads-20070730
FIXES 19461

implement a thread quota.


(cherry picked from commit ece19eefbe46400e1c28834570deed7294761167)
2007-08-08 20:58:51 +00:00
Rainer Toebbicke
63bf2d2ced 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)
2007-08-08 16:54:39 +00:00
Jason Edgecombe
ddc7ad603b STABLE14-man-page-vos-size-20070805
Add a new man page for vos size.


(cherry picked from commit 87d2f5cd3f1e370f6daf6b6170e00f156644315a)
2007-08-06 00:40:27 +00:00
Jason Edgecombe
1cd51dc8e1 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)
2007-08-06 00:37:14 +00:00
Jason Edgecombe
a795b5e554 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)
2007-08-06 00:28:13 +00:00
Russ Allbery
c4acf695ef STABLE14-man-page-style-20070805
Some style fixes and some additional style documentation in README.


(cherry picked from commit e735ef962de3623f8fa11cca92d13151d62b5aaa)
2007-08-05 23:12:19 +00:00
Jason Edgecombe
2a7341ca28 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)
2007-08-05 23:09:04 +00:00
Jeffrey Altman
64353a01d2 STABLE14-rxkad-bg-fcrypt-unbreak-windows-20070731
i (derrick) broke everything. fix it.


(cherry picked from commit 4b8db9f2119de86b9e52e947cc5708d89dbcc3f5)
2007-07-31 23:22:21 +00:00
Derrick Brashear
2072c154ef STABLE14-darwin-avoid-fsref-panic-maybe-20070728
maybe this works.


(cherry picked from commit a608cd2e24e50026c36148eb357c03d583384dde)
2007-07-28 15:35:06 +00:00
Jason Edgecombe
13232f0064 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)
2007-07-27 19:02:03 +00:00
Derrick Brashear
10911ec44e 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)
2007-07-19 19:52:40 +00:00
Derrick Brashear
15d053fb10 STABLE14-viced-assert-less-20070719
in don't assert for every silly thing


(cherry picked from commit 58d6f0b42ad552972e03c75d61d90a0398adf0cc)
2007-07-19 16:17:22 +00:00
Derrick Brashear
8478a18334 STABLE14-viced-no-nulluuid-20070719
a host with a zero uuid has no uuid support


(cherry picked from commit 91fee8a699e31ad825e84a4f2bd56eb9093ea85a)
2007-07-19 16:12:35 +00:00
Derrick Brashear
09561f7af7 STABLE14-kill-more-ubikcall-20070719
tested more ubik call death, so, byebye


(cherry picked from commit c01005269959257ed5c4ecfbde176a02ee25dea3)
2007-07-19 16:03:07 +00:00
Derrick Brashear
6bc7d632d3 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)
2007-07-19 15:57:54 +00:00
Cesar Garcia
f879aed62b STABLE14-libadmin-deubikcall-cleanup-20070718
remove bogus extra arg


(cherry picked from commit ef76695bb906c331a69356d1eb63ef00e56ea615)
2007-07-18 15:24:30 +00:00
Jeffrey Hutzelman
f9c8440b21 STABLE14-osi-probe-check-readable-20070717
FIXES 63971

avoid potentially reading pges that don't exist


(cherry picked from commit 65c1b37f15e0fc7963aac9fa630613cf0d29df26)
2007-07-17 13:18:18 +00:00