]>
git.michaelhowe.org Git - packages/o/openafs.git/log
Jeffrey Altman [Thu, 27 Apr 2006 16:55:38 +0000 (16:55 +0000)]
STABLE14-windows-deadlock-and-race-removal-
20060427
This patch fixes:
* race conditions around cm_Lock() calls that were not protected
by cm_SyncOp(LOCK) [asanka@secure-endpoints.com]
* deadlocks caused by obtaining smb_fid_t->mx after cm_scache_t->mx
* removes an extra Release smb_fid_t->mx that could result in
releasing a mutex that is not currently held
* changes the log representation of several return codes and fids to
be consistent with other output
(cherry picked from commit
bf7404c3510d63b90c2cb15766f8455f79da90fe )
Tommie Gannert [Wed, 26 Apr 2006 16:24:14 +0000 (16:24 +0000)]
STABLE14-vlserver-rxmaxmtu-fix-
20060426
use 'index' as offset to argv
(cherry picked from commit
702e3346f36d448af8901d31c543d9d4b35bfa81 )
Jeffrey Altman [Wed, 26 Apr 2006 14:58:34 +0000 (14:58 +0000)]
STABLE14-linux-probe-missing-commas-
20060426
FIXES 30977
Add missing commas for non-2.6 x86_64 platforms
(cherry picked from commit
a88cb6c662d7fc0daed043ba40d971f4b5d2a05a )
Jeffrey Altman [Mon, 17 Apr 2006 16:22:26 +0000 (16:22 +0000)]
STABLE14-volser-dump-validate-input-
20060417
This patch adds code to perform return code error checking for all calls
to the ReadXyz() routines. If the rx connection was lost or if the dump
format being parsed was incorrect there was an opportunity for data to
the processed after an error had already been detected. In the best case
this would have simply resulted in additional work being performed when
it was not necessary but there was also the potential for modifying return
values which would later be used as input to later operations. Better
to simply catch the error when it initially occurs and be done with it.
The ReadString() function had the potential to write into one byte prior
to the start of the input array.
ProcessIndex() would not properly close Fdhandle nor the StreamHandle
if an error was detected.
RestoreVolume() had a problem with the processing of incremental dumps.
Originally AFS supported a concept of incrementals dumps which when
restored would simply add their contents to the existing volume. One
of the distinctions between the incremental and full dumps is that full
dump processing is responsible for removing any vnode entries from the
volume that are not present in the dump file headers. When the incremental
dump support was removed, the RestoreVolume() function was broken. If
a dump file contains multiple Dump Headers, then only the vnode entries
in the first Dump Header would be marked as being restored. Any vnode
entries restored from subsequent Dump Headers would be deleted when the
RestoreVolume() function reached the end. By removing the assignment
of 'tdelo = -1' within the loop that processes the Dump Headers, this
bug is resolved. Although RestoreVolume is only called with the
'incremental' parameter == 0 at the current time, the check for non-zero
values is restored and the "remove unrestored vnodes" functionality is
disabled when a non-zero value is provided.
The ReadVnodes() function did not perform error checking.
(cherry picked from commit
8074632d6938e965d3f02cc07359d85276c25dbc )
Andrew Deason [Mon, 17 Apr 2006 16:00:46 +0000 (16:00 +0000)]
STABLE14-vos-date-parse-errmsg-
20060417
FIXES 30218
use the correct index value when printing the invalid date string
(cherry picked from commit
f8103d800d8136d9f19fc880497741da859ff830 )
Jeffrey Altman [Fri, 14 Apr 2006 20:54:06 +0000 (20:54 +0000)]
STABLE14-relnotes-
20060414
windows notes
Derrick Brashear [Fri, 14 Apr 2006 20:23:23 +0000 (20:23 +0000)]
STABLE14-openafs-relnotes-1_4_1-
20060414
1.4.1 release notes
Rainer Toebbicke [Tue, 11 Apr 2006 20:28:20 +0000 (20:28 +0000)]
STABLE14-backup-dump-parameter-fix-
20060411
this is a pointer, not an int, pass in NULL not 0
(cherry picked from commit
9ebf2fed4a1af7134fa86d09c865802b05ed27d1 )
Tom Keiser [Fri, 14 Apr 2006 14:13:49 +0000 (14:13 +0000)]
STABLE14-aix-build-fix-
20060413
FIXES 30089
don't include this other than in kernel
(cherry picked from commit
c77421ff087d059b8723b8e44f19a87e860d5593 )
Derrick Brashear [Thu, 13 Apr 2006 22:09:55 +0000 (22:09 +0000)]
STABLE14-irix-ifnet-flags-
20060413
make ifnet_flags b e defined for irix also
(cherry picked from commit
bbf4620d2d5c0d80d01f737b5bdda794453dd4ad )
Derrick Brashear [Tue, 11 Apr 2006 20:41:33 +0000 (20:41 +0000)]
STABLE14-inode-64bit-type-
20060411
use a 64 bit type for 64 bit inode size with inode fileserver
(cherry picked from commit
4d91ee63efb8b00dd2e6a1a50072928a94673175 )
Derrick Brashear [Mon, 10 Apr 2006 21:29:30 +0000 (21:29 +0000)]
STABLE14-openafs-1-4-1-
20060410
make OpenAFS 1.4.1
Jeffrey Altman [Mon, 10 Apr 2006 18:56:30 +0000 (18:56 +0000)]
STABLE14-windows-remove-active_vcp-
20060410
The 'active_vcp' variable is no longer being used for any useful
purpose and is the center of a race condition that could lead to
an undercount of references to 'vcp' objects. Remove it.
(cherry picked from commit
f1ef60c020feffb73b2aee4c1871afba039afb67 )
Jeffrey Altman [Mon, 10 Apr 2006 16:46:46 +0000 (16:46 +0000)]
STABLE14-xstat_fs-fix-
20060407
as pointed out by cg2v@andrew.cmu.edu the addition of performance
collection data for the GetCapabilities RPC broke backward compatibility
with previous builds because it altered the size of the data structure
sent on the wire.
Instead we count the number of GetCapabilties calls but do not gather
performance timing data as this can be done using spare fields.
(cherry picked from commit
78bb852509767ff32547c8dc90c385a4c503e0f9 )
Jeffrey Altman [Sun, 9 Apr 2006 08:52:50 +0000 (08:52 +0000)]
STABLE14-STABLE-windows-vs2005-compat-
20060409
correct the makefile so it is compatible with the latest nmake
Jeffrey Altman [Sun, 9 Apr 2006 08:32:54 +0000 (08:32 +0000)]
STABLE14-windows-notes-
20060409
updates for 1.4.1-rc11
Jeffrey Altman [Sun, 9 Apr 2006 08:29:37 +0000 (08:29 +0000)]
STABLE14-windows-getvolstatus-
20060408
don't prevent all calls to getvolstatus, just the ones that are
not AFS pioctl calls.
(cherry picked from commit
632d0c701b31877b4d74f5f3849a5a8054f7326a )
Jeffrey Altman [Sun, 9 Apr 2006 06:01:58 +0000 (06:01 +0000)]
STABLE14-windows-version-
20060408
1.4.0101 == 1.4.1-rc11
Jeffrey Altman [Sun, 9 Apr 2006 05:56:36 +0000 (05:56 +0000)]
STABLE14-windows-protect-against-vcp-undercount-
20060408
An undercount has been detected of the smb_vc_t objects stored
in the smb_allVCsp list. Unfortunately, we have yet to be able
to find the cause of the undercount so this patch adds logic to
protect against the side effects until such time as the cause
can be identified.
(cherry picked from commit
b9f22f0b7b9bf9aa746d3ef8ea63465b1cdadb97 )
Chaskiel M Grundman [Fri, 7 Apr 2006 06:23:11 +0000 (06:23 +0000)]
STABLE14-linux24-fix-osi-probe-
20060407
linux-updates-
20060331 broke 2.4 kernels
(cherry picked from commit
714df786894e6a9572e93d77b68384706abb02f0 )
Jim Rees [Wed, 5 Apr 2006 16:42:13 +0000 (16:42 +0000)]
STABLE14-test-heimdal-
20060217
Add a configure test for heimdal and use it to build asetkey or not.
Thanks to Derek Atkins for his helpful suggestions.
Russ Allbery [Mon, 3 Apr 2006 20:48:08 +0000 (20:48 +0000)]
STABLE14-man-page-asetkey-
20060329
Add a man page for asetkey.
(cherry picked from commit
5b20ed35114473061015d3ff1904c12d0790c7ea )
Derrick Brashear [Mon, 3 Apr 2006 20:42:05 +0000 (20:42 +0000)]
STABLE14-asetkey-macos-
20060215
make the same fix we do on aklog w.r.t com_err
(cherry picked from commit
90d681405a744816435949c1c70a5f33d86ff12d )
Ken Hornstein [Mon, 3 Apr 2006 20:39:50 +0000 (20:39 +0000)]
STABLE14-integrate-asetkey-
20051029
Add asetkey to the OpenAFS tree.
(cherry picked from commit
6b042d4edb7f26358523da9dcdb565ed023e00da )
Jeffrey Altman [Mon, 3 Apr 2006 00:56:06 +0000 (00:56 +0000)]
STABLE14-windows-minidump-
20060402
change minidump default to include data segments
(cherry picked from commit
0fd8768c859b549c2294dcb4dc4cb315deb7caad )
Chaskiel M Grundman [Fri, 31 Mar 2006 06:52:59 +0000 (06:52 +0000)]
STABLE14-linux-updates-
20060331
FIXES 29122 29110 29112
fc5 and 2.6.16 updates
(cherry picked from commit
ea59126e31672e3a1ed2958ea10ef5dbad24813e )
Derrick Brashear [Thu, 30 Mar 2006 17:29:22 +0000 (17:29 +0000)]
STABLE14-viced-gethostcps-byte-order-
20060328
don't call GetHostCPS after swapping away from net byte order
(cherry picked from commit
d387dba5efc88b14696b72e6b18cfb1af264be04 )
Russ Allbery [Wed, 29 Mar 2006 21:41:55 +0000 (21:41 +0000)]
STABLE14-man-page-kaserver-fix-
20060329
SYNOPSIS was mislabelled DESCRIPTION and the man page was therefore missing
the HTML formatting fixes.
(cherry picked from commit
5f70d9bb3ce0d1bb5db6604a53c52f483449e0d3 )
Derrick Brashear [Wed, 29 Mar 2006 06:29:35 +0000 (06:29 +0000)]
STABLE14-viced-client-keep-conn-ref-
20060329
FIXES 28966
keep a ref on the conn the client has a pointer to
(cherry picked from commit
2c96a91ba42674e35ca7d54c0c20a1725b733e37 )
Derrick Brashear [Wed, 29 Mar 2006 05:16:36 +0000 (05:16 +0000)]
STABLE14-viced-gethostcps-byte-order-
20060328
don't call GetHostCPS after swapping away from net byte order
(cherry picked from commit
1904db3fa3a0765f63ae4ecac23a8464818f1e9c )
Garry Zacheiss [Tue, 28 Mar 2006 19:42:57 +0000 (19:42 +0000)]
STABLE14-afsdb-len-signed-
20060328
in order for -1 to ever be returned, it's gotta be signed...
(cherry picked from commit
a4f24472aa7abee6500188c6bb3acabcf96377bc )
Derrick Brashear [Thu, 23 Mar 2006 21:07:50 +0000 (21:07 +0000)]
STABLE14-debian-updates-
20060323
from russ and sam
(cherry picked from commit
1db522b6ac7df1d5f569d4cd654ead4dcbea91b4 )
Derrick Brashear [Thu, 23 Mar 2006 20:11:50 +0000 (20:11 +0000)]
STABLE14-build-system-updates-
20060323
config.sub config.guess and some other scripting updates
(cherry picked from commit
5a1bd817b82ad613b1b63738dfa4a08746531a96 )
Derrick Brashear [Thu, 23 Mar 2006 16:45:53 +0000 (16:45 +0000)]
STABLE14-cmdebug-no-zero-pad-output-
20060119
length, dv and refcnt no longer 0 padded
Jim Rees [Thu, 23 Mar 2006 16:43:28 +0000 (16:43 +0000)]
STABLE14-print-64-
20051117
On non-Windows use %llu for 64 bit printf.
Thanks to Brent Graveland for pointing this out.
(cherry picked from commit
d3f9842bd4897b1b5c580858c3cb17326900548c )
Derrick Brashear [Thu, 23 Mar 2006 16:08:34 +0000 (16:08 +0000)]
STABLE14-macos-packaging-fixes-
20060323
update to make sure we have a cellservdb, that we shut down afs before an upgrade, and install the universal binary build script
(cherry picked from commit
bb96daf441402cb6def2c20cc20f51d3d160b6e1 )
Derrick Brashear [Thu, 23 Mar 2006 15:40:10 +0000 (15:40 +0000)]
STABLE14-afsd-fs-check-
20060323
from debian, modified slightly. tell people why their filesystem sucks
(cherry picked from commit
a1041136186dba50f035ddc9b97fbfb86469b504 )
Russ Allbery [Thu, 23 Mar 2006 05:51:23 +0000 (05:51 +0000)]
STABLE14-man-page-todo-
20060322
More to-do items for the documentation.
(cherry picked from commit
db8d1da77aa792e0d042bf5dbe041c534350b277 )
Derrick Brashear [Wed, 22 Mar 2006 20:14:35 +0000 (20:14 +0000)]
STABLE14-sunos-dos2unix-
20060322
dumbest change ever
(cherry picked from commit
c0ce1b880a48661ac307477317091a63e9763623 )
Derrick Brashear [Wed, 22 Mar 2006 19:58:25 +0000 (19:58 +0000)]
STABLE14-parisc-linux-lwp-
20060322
pulled in from debian
(cherry picked from commit
681419e6eda37488fee938c8abc1a59bbf2764c9 )
Jeffrey Altman [Mon, 20 Mar 2006 13:39:11 +0000 (13:39 +0000)]
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 )
Jeffrey Altman [Mon, 20 Mar 2006 13:28:38 +0000 (13:28 +0000)]
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 )
Derrick Brashear [Sat, 18 Mar 2006 00:44:53 +0000 (00:44 +0000)]
STABLE14-no-afssetpag-
20060317
disable this for now
Derrick Brashear [Fri, 17 Mar 2006 05:57:48 +0000 (05:57 +0000)]
STABLE14-openafs-1-4-1-rc10-
20060317
pretend it's green beer flavored
Rainer Toebbicke [Wed, 15 Mar 2006 18:35:56 +0000 (18:35 +0000)]
STABLE14-snprintf-needs-arpa-inet-
20060315
FIXES 28226
include arpa/inet.h so we get inet_addr prototype
(cherry picked from commit
c6203bc67e31d40a95f7ef5a4689d1d6b1b2ccd9 )
Dave McMurtrie [Wed, 15 Mar 2006 18:29:03 +0000 (18:29 +0000)]
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 )
Tracy Di Marco White [Wed, 15 Mar 2006 18:22:43 +0000 (18:22 +0000)]
STABLE14-nbsd4-
20060315
FIXES 27916
netbsd 4.0 support
(cherry picked from commit
9340a22d6eb7a0399630cbe332bf947fd534c3ee )
Chas Williams [Wed, 15 Mar 2006 16:28:01 +0000 (16:28 +0000)]
STABLE14-linux26-module-parm-versus-param-
20060315
FIXES 27588
deal with 2.6 changes
(cherry picked from commit
5ca54f23629145a9452345bd2d514b8fb571f735 )
Neale Ferguson [Wed, 15 Mar 2006 16:16:36 +0000 (16:16 +0000)]
STABLE14-s390-linux26-
20060315
add s390 linux26 support
(cherry picked from commit
247273c51b10fca2c8f5633d203aa6a042e19b3b )
Jeffrey Altman [Tue, 14 Mar 2006 00:33:46 +0000 (00:33 +0000)]
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 )
Chaskiel M Grundman [Mon, 13 Mar 2006 21:00:53 +0000 (21:00 +0000)]
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 )
Jeffrey Altman [Fri, 10 Mar 2006 19:16:10 +0000 (19:16 +0000)]
STABLE14-windows-version-
20060310
1.4.1-rc10 == 1.4.0100
(sorry, I'm out of numbers that don't imply 1.4.1)
Jeffrey Altman [Fri, 10 Mar 2006 19:14:11 +0000 (19:14 +0000)]
STABLE14-windows-notes-
20060310
updates for 1.4.1-rc10
Jeffrey Altman [Thu, 9 Mar 2006 21:50:18 +0000 (21:50 +0000)]
STABLE14-host-tossstuff-locking-
20060309
the nonblocking locking was my fault.
(cherry picked from commit
9b1fa66828ecb02d782378f1717ac813ff657fdf )
Jim Rees [Thu, 9 Mar 2006 21:46:09 +0000 (21:46 +0000)]
STABLE14-fstab-moved-
20060309
fstab.c moved from viced to util
(cherry picked from commit
346d85adb00b34473bbec176184df40bf4b245bc )
Chas Williams [Thu, 9 Mar 2006 21:41:51 +0000 (21:41 +0000)]
STABLE14-linux-updates-
20060309
FIXES 27589
update for new mutexes
(cherry picked from commit
6e7d51187c881e6a785b88ccddbb083e52d58448 )
Rainer Toebbicke [Thu, 9 Mar 2006 16:28:59 +0000 (16:28 +0000)]
STABLE14-xstat-fs-callbacks-
20060309
FIXES 27912
add new collection with callback stats
(cherry picked from commit
cc324ae0653a7d2170a065f61b8475d76cdf03c1 )
Jim Rees [Thu, 9 Mar 2006 15:27:17 +0000 (15:27 +0000)]
This delta was automatically created as part of the CVS migration
(cherry picked from commit
d451a366fba93bdbfcd1dd40adf2335ed2d7adf7 )
Ed Moy [Thu, 9 Mar 2006 06:41:31 +0000 (06:41 +0000)]
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 )
Russ Allbery [Wed, 8 Mar 2006 20:20:18 +0000 (20:20 +0000)]
STABLE14-man-page-bash-bashish-
20060308
if ! command is a bashish. Use if command ; then : ; else instead.
(cherry picked from commit
da878c2b9d11471b3e59fc9fe0694a5e23e373c2 )
Jeffrey Altman [Wed, 8 Mar 2006 05:05:51 +0000 (05:05 +0000)]
STABLE14-rx-panic-printf-
20060307
restore use of printf in osi_Panic
(cherry picked from commit
c2535c0ee725657d2e06dd29fd3fba0ec3a66138 )
Jeffrey Altman [Mon, 6 Mar 2006 21:24:08 +0000 (21:24 +0000)]
STABLE14-windows-mkmount-
20060306
allow case-insensitive matches for the parent of the mount point
(cherry picked from commit
9dc84c8c6c4682ab3c0a536a7ac10e997724f2b0 )
Tracy Di Marco White [Mon, 6 Mar 2006 05:33:02 +0000 (05:33 +0000)]
STABLE14-nbsd-30-pthreads-
20060302
update for netbsd 3.0
Jeffrey Altman [Mon, 6 Mar 2006 05:01:52 +0000 (05:01 +0000)]
STABLE14-windows-smb-log-packet-
20060305
packet strings can contain %; do not parse as a format
(cherry picked from commit
9c687f10d013e423fb75d8049cc224218257c104 )
Jeffrey Altman [Mon, 6 Mar 2006 03:16:40 +0000 (03:16 +0000)]
STABLE14-windows-xstat-
20060304
more windows specific mods plus improved output of ipaddrs and port
numbers when debugging
(cherry picked from commit
638eef405b802fb1215efc9e828996a8c6381067 )
Jeffrey Altman [Mon, 6 Mar 2006 03:05:02 +0000 (03:05 +0000)]
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 )
Jim Rees [Mon, 6 Mar 2006 00:33:21 +0000 (00:33 +0000)]
STABLE14-openbsd-pthread-
20050815
pullup openbsd pthread usage
(cherry picked from commit
a09b27d0a0bdb9d967220388f76379ece4c7b5cb )
Jeffrey Altman [Sun, 5 Mar 2006 22:31:38 +0000 (22:31 +0000)]
STABLE14-viced-host-type-consistency-
20060305
make sure all the types for host and port are consistent
(cherry picked from commit
f803153c992af44cea18f4c948c7f3fb2a72da45 )
Jeffrey Altman [Sun, 5 Mar 2006 20:55:14 +0000 (20:55 +0000)]
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 )
Jeffrey Altman [Sun, 5 Mar 2006 05:37:33 +0000 (05:37 +0000)]
STABLE14-viced-unsign-haddr-hport-
20060304
haddr and hport should be unsigned
(cherry picked from commit
3e70b7f3656be0a40fe45fb8ad9815abd2f541fe )
Tracy Di Marco White [Sun, 5 Mar 2006 04:44:45 +0000 (04:44 +0000)]
STABLE14-nbsd-30-pthreads-
20060302
update for netbsd 3.0
Jeffrey Altman [Sat, 4 Mar 2006 22:03:34 +0000 (22:03 +0000)]
STABLE14-xstats-getcapabiliites-
20060304
add the GetCapabilities RPC to the ops table
(cherry picked from commit
127ea5ae7df2d1441d4e636506ebadb07664311c )
Jeffrey Altman [Fri, 3 Mar 2006 19:27:42 +0000 (19:27 +0000)]
STABLE14-viced-fix-tcallhost-
20060303
fix type
(cherry picked from commit
8a0016cabd026bd586fc27a1dfad3220c66e4457 )
Derrick Brashear [Thu, 2 Mar 2006 06:46:33 +0000 (06:46 +0000)]
STABLE14-openafs-1_4_1-rc9-
20060302
1.4.1-rc9
Chaskiel M Grundman [Thu, 2 Mar 2006 06:44:05 +0000 (06:44 +0000)]
STABLE14-callback-get-refs-
20060302
more updates, focused on issues found working at darwin, but actually generic issues
(cherry picked from commit
c9a4d3363bc11722e017cac4ee83cbeb5d9583f7 )
Chaskiel M Grundman [Thu, 2 Mar 2006 06:41:23 +0000 (06:41 +0000)]
STABLE14-refridgerator-update-
20060227
try to make refrigerator work again
(cherry picked from commit
d1156ad4f9b1e0fb07275fff976890fd3bc90e05 )
Chaskiel M Grundman [Thu, 2 Mar 2006 06:36:33 +0000 (06:36 +0000)]
STABLE14-darwin-access-exec-only-
20060302
FIXES 27553
don't misenforce mode bits
(cherry picked from commit
c472a9c9165b3b742afd97b65c987b325c478b00 )
Chaskiel M Grundman [Thu, 2 Mar 2006 06:34:19 +0000 (06:34 +0000)]
STABLE14-darwin-remove-fix-
20060302
move the if inside the condition so we aren't screwed up on tiger
(cherry picked from commit
8bfa2cdc6e79bf683ea035526e261940d1257daa )
Chaskiel M Grundman [Thu, 2 Mar 2006 06:30:33 +0000 (06:30 +0000)]
STABLE14-remunlink-needs-iocount-
20060302
FIXES 27493
keep needed iocount for remunlink on darwin 8.0
(cherry picked from commit
10f8d509df3a69e6dc684cfd81b5809adc5c9b09 )
Jeffrey Altman [Thu, 2 Mar 2006 06:24:41 +0000 (06:24 +0000)]
STABLE14-viced-fix-comment-
20060301
fix comment in h_GetHost_r
(cherry picked from commit
c2ef97ea657f27af5fdc7811a8b6bb21ed535707 )
Jeffrey Hutzelman [Thu, 2 Mar 2006 06:17:18 +0000 (06:17 +0000)]
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 )
Jeffrey Altman [Wed, 1 Mar 2006 19:12:37 +0000 (19:12 +0000)]
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 )
Jeffrey Altman [Wed, 1 Mar 2006 06:43:14 +0000 (06:43 +0000)]
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 )
Jeffrey Altman [Wed, 1 Mar 2006 05:59:14 +0000 (05:59 +0000)]
STABLE14-windows-version-
20060228
1.4.0099 == 1.4.1-rc9
Russ Allbery [Wed, 1 Mar 2006 05:11:17 +0000 (05:11 +0000)]
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 )
Jeffrey Altman [Wed, 1 Mar 2006 05:04:32 +0000 (05:04 +0000)]
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 )
Jeffrey Altman [Wed, 1 Mar 2006 04:09:41 +0000 (04:09 +0000)]
STABLE14-viced-host-hold-leak-
20060228
fix a host hold leak although this one rarely occurs.
(cherry picked from commit
2bd46f8a3915a37720e68d10a56a0ec33f508f67 )
Russ Allbery [Wed, 1 Mar 2006 00:16:46 +0000 (00:16 +0000)]
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 )
Russ Allbery [Tue, 28 Feb 2006 23:48:45 +0000 (23:48 +0000)]
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 )
Jeffrey Altman [Tue, 28 Feb 2006 23:27:54 +0000 (23:27 +0000)]
STABLE14-viced-panic-if-maxhosttables-exceeded-
20060228
Do not allow HTBlocks to allocate more blocks than will fit in
hosttablesptrs. Doing so corrupts memory. Panic instead until
we can get this fixed right.
(cherry picked from commit
2c825a859033574b714c00d0e16ce06f126e1d6d )
Todd M. Lewis [Tue, 28 Feb 2006 23:12:30 +0000 (23:12 +0000)]
STABLE14-up-m-docs-
20060228
Document the -m flag to up.
(cherry picked from commit
1705109815189f2c03323bc154feb639c76180ad )
Russ Allbery [Tue, 28 Feb 2006 21:22:50 +0000 (21:22 +0000)]
STABLE14-amd64-linux26-fix-
20060228
Restore the previous code for AMD64 under Linux 2.6, as the generic
Linux 2.6 code apparently does not work with all AMD64 kernels.
(cherry picked from commit
79a7ddac4da960e3337b7792f8a44fc82514f81d )
Chas Williams [Tue, 28 Feb 2006 00:19:20 +0000 (00:19 +0000)]
STABLE14-systm-h-header-inclusion-
20060227
FIXES 24765
avoid implicit references by including the prototypes from the header except on linux
====================
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.
====================
FIXES 24765
avoid implicit references by including the prototypes from the header except on
linux
(cherry picked from commit
c41253bda7340f19b5f16d009393bf32f30ad24c )
Chas Williams [Mon, 27 Feb 2006 20:47:42 +0000 (20:47 +0000)]
STABLE14-pod-updates-
20060227
FIXES 26463
update pod files to deal with some section number changes
(cherry picked from commit
9243beff2b7677dbfc5259a534625b2252f0fc54 )
Chaskiel M Grundman [Mon, 27 Feb 2006 20:37:47 +0000 (20:37 +0000)]
STABLE14-tiger-updates-
20060220
update lpioctl, setattr and free tuios
(cherry picked from commit
ff1d11169bc19aeb451a97e8ccdc14e1109031e7 )
Chaskiel M Grundman [Mon, 27 Feb 2006 20:35:11 +0000 (20:35 +0000)]
STABLE14-darwin-bsd-flock-
20060227
FIXES 25544
deal with posix flag in flock request on darwin
(cherry picked from commit
888b038c92c222f0ebb4b61f9f96bd56ce75dfed )
Derrick Brashear [Mon, 27 Feb 2006 20:18:33 +0000 (20:18 +0000)]
STABLE14-shut-up-fucking-whiner-
20060227
without further comment
(cherry picked from commit
df0ebd8b903eb5f62fb7e34c198020068d144669 )
Jeffrey Hutzelman [Sat, 25 Feb 2006 06:45:29 +0000 (06:45 +0000)]
STABLE14-rmtsys-up-limits-
20060225
FIXES 27095
raise limits of constants in rmtsys
(cherry picked from commit
f800113c3b2cb921a818d8823950c2ffeb18815b )
Hartmut Reuter [Sat, 25 Feb 2006 06:40:36 +0000 (06:40 +0000)]
STABLE14-vnop-remove-revised-lock-order-
20060225
FIXES 27176
drop the tdc lock even rearlier
(cherry picked from commit
2024fe94cb331fe4eeeff3626617ab8090ce70ea )
Derrick Brashear [Thu, 23 Feb 2006 12:33:39 +0000 (12:33 +0000)]
STABLE14-softsig-thread-hack-not-on-nbsd30-
20060223
based on comment from gendalia@iastate.edu
(cherry picked from commit
d3113a14e81c02993749b8f3bf0421809793f46d )