3384 Commits

Author SHA1 Message Date
Derrick Brashear
b84b10e48e STABLE14-parisc-linux-lwp-20060322
pulled in from debian


(cherry picked from commit 681419e6eda37488fee938c8abc1a59bbf2764c9)
2006-03-22 19:58:25 +00:00
Jeffrey Altman
9711c8a1ff STABLE14-another-time_t-pointer-fix-20060320
do not pass in pointers to 32-bit values as pointers to 64-bit values


(cherry picked from commit e6f0c0c68f6b4d415484eed556dd65bcaacc9585)
2006-03-20 13:39:11 +00:00
Jeffrey Altman
e1ec085f99 STABLE14-another-time_t-pointer-bug-20060320
do not pass pointers to 32-bit values as pointers to 64-bit values.
this results in memory corruption


(cherry picked from commit 1b2fbe5fa9384eb5e1b19487eb6b0d201bea975e)
2006-03-20 13:28:38 +00:00
Derrick Brashear
cb91532946 STABLE14-no-afssetpag-20060317
disable this for now
openafs-stable-1_4_1-rc10
2006-03-18 00:44:53 +00:00
Derrick Brashear
25d19dae1d STABLE14-openafs-1-4-1-rc10-20060317
pretend it's green beer flavored
2006-03-17 05:57:48 +00:00
Rainer Toebbicke
b9b6e8f600 STABLE14-snprintf-needs-arpa-inet-20060315
FIXES 28226

include arpa/inet.h so we get inet_addr prototype


(cherry picked from commit c6203bc67e31d40a95f7ef5a4689d1d6b1b2ccd9)
2006-03-15 18:35:56 +00:00
Dave McMurtrie
de77645223 STABLE14-tokens-buffer-overflow-20060315
FIXES 28227

avoid a too-short buffer we try to fill with a username. doh.


(cherry picked from commit 5c408ee134b096352d140b1ce6b58edcf6e492d5)
2006-03-15 18:29:03 +00:00
Tracy Di Marco White
4e72cd73f3 STABLE14-nbsd4-20060315
FIXES 27916

netbsd 4.0 support


(cherry picked from commit 9340a22d6eb7a0399630cbe332bf947fd534c3ee)
2006-03-15 18:22:43 +00:00
Chas Williams
2d931d8e4e STABLE14-linux26-module-parm-versus-param-20060315
FIXES 27588

deal with 2.6 changes


(cherry picked from commit 5ca54f23629145a9452345bd2d514b8fb571f735)
2006-03-15 16:28:01 +00:00
Neale Ferguson
465e42be65 STABLE14-s390-linux26-20060315
add s390 linux26 support


(cherry picked from commit 247273c51b10fca2c8f5633d203aa6a042e19b3b)
2006-03-15 16:16:36 +00:00
Jeffrey Altman
8f3883282a STABLE14-viced-unspecified-host-hash-port-20060313
h_Alloc_r was not specifying the port for the newly allocated
host when adding the host to the hash table.  Use hashInsert_r
instead so mistakes like this won't happen in the future.


(cherry picked from commit a8b82b1a744859a3ce2796fd17f997e0bdd2b570)
2006-03-14 00:33:46 +00:00
Chaskiel M Grundman
7d4e522638 STABLE14-viced-log-fix-typo-20060313
fix typo in addInterfaceAddr_r that is identical to the one that
was fixed by viced-log-fix-type-20060210 in removeInterfaceAddr_r


(cherry picked from commit 9afcb2529a72f0169313d65b8410f5093d14fc0a)
2006-03-13 21:00:53 +00:00
Jeffrey Altman
8d4d1ba41e STABLE14-windows-version-20060310
1.4.1-rc10 == 1.4.0100

(sorry, I'm out of numbers that don't imply 1.4.1)
2006-03-10 19:16:10 +00:00
Jeffrey Altman
6fc2098700 STABLE14-windows-notes-20060310
updates for 1.4.1-rc10
2006-03-10 19:14:11 +00:00
Jeffrey Altman
7e80ee67e1 STABLE14-host-tossstuff-locking-20060309
the nonblocking locking was my fault.


(cherry picked from commit 9b1fa66828ecb02d782378f1717ac813ff657fdf)
2006-03-09 21:50:18 +00:00
Jim Rees
bae6694421 STABLE14-fstab-moved-20060309
fstab.c moved from viced to util


(cherry picked from commit 346d85adb00b34473bbec176184df40bf4b245bc)
2006-03-09 21:46:09 +00:00
Chas Williams
52e0966d0b STABLE14-linux-updates-20060309
FIXES 27589

update for new mutexes


(cherry picked from commit 6e7d51187c881e6a785b88ccddbb083e52d58448)
2006-03-09 21:41:51 +00:00
Rainer Toebbicke
ed422b3da0 STABLE14-xstat-fs-callbacks-20060309
FIXES 27912

add new collection with callback stats


(cherry picked from commit cc324ae0653a7d2170a065f61b8475d76cdf03c1)
2006-03-09 16:28:59 +00:00
Jim Rees
12c964ea9d This delta was automatically created as part of the CVS migration
(cherry picked from commit d451a366fba93bdbfcd1dd40adf2335ed2d7adf7)
2006-03-09 15:27:17 +00:00
Ed Moy
9ef1c3325e STABLE14-darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard

RCS file: /cvs/openafs/src/vol/Attic/fstab.c,v
Working file: src/vol/fstab.c
head: 1.6
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 8;	selected revisions: 0
description:


(cherry picked from commit 9f94892f8d996a522e7801ef6088a13769bee7c2)
2006-03-09 06:41:31 +00:00
Russ Allbery
23e83d2372 STABLE14-man-page-bash-bashish-20060308
if ! command is a bashish.  Use if command ; then : ; else instead.


(cherry picked from commit da878c2b9d11471b3e59fc9fe0694a5e23e373c2)
2006-03-08 20:20:18 +00:00
Jeffrey Altman
68f34324f4 STABLE14-rx-panic-printf-20060307
restore use of printf in osi_Panic


(cherry picked from commit c2535c0ee725657d2e06dd29fd3fba0ec3a66138)
2006-03-08 05:05:51 +00:00
Jeffrey Altman
95ef5fc9d2 STABLE14-windows-mkmount-20060306
allow case-insensitive matches for the parent of the mount point


(cherry picked from commit 9dc84c8c6c4682ab3c0a536a7ac10e997724f2b0)
2006-03-06 21:24:08 +00:00
Tracy Di Marco White
0f6b8ce7cb STABLE14-nbsd-30-pthreads-20060302
update for netbsd 3.0
2006-03-06 05:33:02 +00:00
Jeffrey Altman
fe7c06e956 STABLE14-windows-smb-log-packet-20060305
packet strings can contain %; do not parse as a format


(cherry picked from commit 9c687f10d013e423fb75d8049cc224218257c104)
2006-03-06 05:01:52 +00:00
Jeffrey Altman
389f7115a7 STABLE14-windows-xstat-20060304
more windows specific mods plus improved output of ipaddrs and port
numbers when debugging


(cherry picked from commit 638eef405b802fb1215efc9e828996a8c6381067)
2006-03-06 03:16:40 +00:00
Jeffrey Altman
f3ec55dada STABLE14-windows-rx-lwp-clock-20060305
clock_Init() was broken because it would initialize rxi_clock0
with QueryPerformanceCounter() and then call clock_UpdateTime().
So instead of getting an ever increasing value you would get a
fixed value determined by how long it takes to make a function call
between to QueryPerformanceCounter() calls.


(cherry picked from commit c582cab1fb1708109f2aa26aab8eba189198e729)
2006-03-06 03:05:02 +00:00
Jim Rees
ddb7855c1b STABLE14-openbsd-pthread-20050815
pullup openbsd pthread usage


(cherry picked from commit a09b27d0a0bdb9d967220388f76379ece4c7b5cb)
2006-03-06 00:33:21 +00:00
Jeffrey Altman
63f8c18c10 STABLE14-viced-host-type-consistency-20060305
make sure all the types for host and port are consistent


(cherry picked from commit f803153c992af44cea18f4c948c7f3fb2a72da45)
2006-03-05 22:31:38 +00:00
Jeffrey Altman
230c80fe71 STABLE14-windows-no-smb-ioctl-info-20060305
don't support functions we don't implement.  the CIFS trans2 get info
ioctl is not equivalent to the AFS Get Volume Status function


(cherry picked from commit cea063c0d48bb81c6349298ecdf5dfcc0f39733b)
2006-03-05 20:55:14 +00:00
Jeffrey Altman
45f35bbaf5 STABLE14-viced-unsign-haddr-hport-20060304
haddr and hport should be unsigned


(cherry picked from commit 3e70b7f3656be0a40fe45fb8ad9815abd2f541fe)
2006-03-05 05:37:33 +00:00
Tracy Di Marco White
1d89f9c692 STABLE14-nbsd-30-pthreads-20060302
update for netbsd 3.0
2006-03-05 04:44:45 +00:00
Jeffrey Altman
37f3e54c59 STABLE14-xstats-getcapabiliites-20060304
add the GetCapabilities RPC to the ops table


(cherry picked from commit 127ea5ae7df2d1441d4e636506ebadb07664311c)
2006-03-04 22:03:34 +00:00
Jeffrey Altman
fc134b9290 STABLE14-viced-fix-tcallhost-20060303
fix type


(cherry picked from commit 8a0016cabd026bd586fc27a1dfad3220c66e4457)
2006-03-03 19:27:42 +00:00
Derrick Brashear
1c9fcdaa62 STABLE14-openafs-1_4_1-rc9-20060302
1.4.1-rc9
openafs-stable-1_4_1-rc9
2006-03-02 06:46:33 +00:00
Chaskiel M Grundman
fb1b2e03b2 STABLE14-callback-get-refs-20060302
more updates, focused on issues found working at darwin, but actually generic issues


(cherry picked from commit c9a4d3363bc11722e017cac4ee83cbeb5d9583f7)
2006-03-02 06:44:05 +00:00
Chaskiel M Grundman
ec43c27cd7 STABLE14-refridgerator-update-20060227
try to make refrigerator work again


(cherry picked from commit d1156ad4f9b1e0fb07275fff976890fd3bc90e05)
2006-03-02 06:41:23 +00:00
Chaskiel M Grundman
0ef3d9a8f9 STABLE14-darwin-access-exec-only-20060302
FIXES 27553

don't misenforce mode bits


(cherry picked from commit c472a9c9165b3b742afd97b65c987b325c478b00)
2006-03-02 06:36:33 +00:00
Chaskiel M Grundman
fa76c856fb STABLE14-darwin-remove-fix-20060302
move the if inside the condition so we aren't screwed up on tiger


(cherry picked from commit 8bfa2cdc6e79bf683ea035526e261940d1257daa)
2006-03-02 06:34:19 +00:00
Chaskiel M Grundman
dbfed27ee7 STABLE14-remunlink-needs-iocount-20060302
FIXES 27493

keep needed iocount for remunlink on darwin 8.0


(cherry picked from commit 10f8d509df3a69e6dc684cfd81b5809adc5c9b09)
2006-03-02 06:30:33 +00:00
Jeffrey Altman
48cb7cce45 STABLE14-viced-fix-comment-20060301
fix comment in h_GetHost_r


(cherry picked from commit c2ef97ea657f27af5fdc7811a8b6bb21ed535707)
2006-03-02 06:24:41 +00:00
Jeffrey Hutzelman
44234a9ae7 STABLE14-viced-preamble-postamble-20060301
If the host obtained during the CallPremable and CallPostamble differ,
then there is the possibility of a hold leak.  This patch is a quick
attempt to deal with the potential problem.  If the problem occurs
we log it in order to know for sure if this is in fact a problem.

If it is, then at a later date we should perform a more extensive
re-write in which the CallPreamble is used to obtain the host and the
client and pass them both back to the caller which would not be
required to obtain them again at a later date.


(cherry picked from commit 84a24d096c1159aef3aeec4b27d154f47acdcab9)
2006-03-02 06:17:18 +00:00
Jeffrey Altman
08039832aa STABLE14-viced-h_Enumerate_r-fix-20060301
In h_Enumerate_r it is possible that the host may be released by the
called procedure.  Therefore, we must preserve the pointer to host->next
before the call and hold the host it points to in order to ensure that
it does not disappear out from under us.  This ensures that although
the H_LOCK can be dropped during the procedure and the host list can
be rearranged we won't miss more than a handful of hosts during the
enumeration.


(cherry picked from commit 36a8e29045adfcf5d3c144b0ff0bc9d1398d11b0)
2006-03-01 19:12:37 +00:00
Jeffrey Altman
139292df4b STABLE14-viced-h_gethost_r-host-hold-leak-20060228
when h_GetHost_r replaces 'host' with 'oldHost' we need to release the
hold on 'host' and maintain the hold on 'oldHost' because if a hold
was placed on 'host' in CallPreamble() it will no longer be released
in CallPostamble() since 'oldHost' will now be bound to the client


(cherry picked from commit 31fd9994db1c58d5e851e5a0bd9d04a031557c8d)
2006-03-01 06:43:14 +00:00
Jeffrey Altman
353d37a2e6 STABLE14-windows-version-20060228
1.4.0099 == 1.4.1-rc9
2006-03-01 05:59:14 +00:00
Russ Allbery
9950d15ce2 STABLE14-pretty-html-synopsis-20060228
Implement proper synopsis wrapping for HTML generation.

This was done in three pieces.  First, add HTML-specific tags to the POD to
mark the synopsis for HTML purposes so that we can apply style information
to it.  Second, update the style sheet to indent all lines except for the
first in the synopsis section.  Third, add the appropriate S<> tags around
option and argument pairs so that we don't wrap between the option and its
argument.

Unfortunately, due to the <I<foo>> style that looks nicer for other reasons,
we have to use the very verbose S<<< >>>.  Oh well.


(cherry picked from commit fc5acc01517260c661097cf84bddc359ca060bd3)
2006-03-01 05:11:17 +00:00
Jeffrey Altman
bf8fa7c186 STABLE14-viced-client-refcount-leak-20060228
SRXAFS_CallBackRxConnAddr calls h_FindClient_r which returns a
client with a refCount and the client->host held.  The call
to CallPostamble will release the host hold but not the client
refcount.


(cherry picked from commit 6f707d94064646762e7014d19840b5b2902b3a4e)
2006-03-01 05:04:32 +00:00
Jeffrey Altman
1e06402214 STABLE14-viced-host-hold-leak-20060228
fix a host hold leak although this one rarely occurs.


(cherry picked from commit 2bd46f8a3915a37720e68d10a56a0ec33f508f67)
2006-03-01 04:09:41 +00:00
Russ Allbery
805c720abc STABLE14-html-style-todo-20060228
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.


(cherry picked from commit fed1cdb02241f6cffee9cdcb5d334f227fd011bb)
2006-03-01 00:16:46 +00:00
Russ Allbery
f03026d3c9 STABLE14-html-link-fixes-20060228
Make the mentions of subcommands in the fs command introduction links to
the relevant pages, and add to README a to-do note to do this for the rest
of the introductory pages.

Fix links to man pages that contain underscores by working around a bug
in Pod::Simple.


(cherry picked from commit 6321cca1a5bdda2c9e8d9688d220eff0edd850f9)
2006-02-28 23:48:45 +00:00