Commit Graph

3427 Commits

Author SHA1 Message Date
Jeffrey Altman
36a8e29045 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.
2006-03-01 19:12:05 +00:00
Jeffrey Altman
31fd9994db 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
2006-03-01 06:42:46 +00:00
Jeffrey Altman
6f707d9406 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.
2006-03-01 05:04:00 +00:00
Russ Allbery
fc5acc0151 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.
2006-03-01 05:02:29 +00:00
Jeffrey Altman
2bd46f8a39 viced-host-hold-leak-20060228
fix a host hold leak although this one rarely occurs.
2006-03-01 04:08:57 +00:00
Russ Allbery
fed1cdb022 html-style-todo-20060228
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.
2006-03-01 00:12:52 +00:00
Russ Allbery
6321cca1a5 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.
2006-02-28 23:43:03 +00:00
Jeffrey Altman
2c825a8590 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.
2006-02-28 23:24:23 +00:00
Todd M. Lewis
1705109815 up-m-docs-20060228
Document the -m flag to up.
2006-02-28 23:09:08 +00:00
Russ Allbery
79a7ddac4d 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.
2006-02-28 21:17:27 +00:00
Chas Williams
c41253bda7 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
2006-02-28 00:17:52 +00:00
Chas Williams
9243beff2b pod-updates-20060227
FIXES 26463

update pod files to deal with some section number changes
2006-02-27 20:46:25 +00:00
Chaskiel M Grundman
ff1d11169b tiger-updates-20060220
update lpioctl, setattr and free tuios
2006-02-27 20:36:24 +00:00
Chaskiel M Grundman
888b038c92 darwin-bsd-flock-20060227
FIXES 25544

deal with posix flag in flock request on darwin
2006-02-27 20:34:10 +00:00
Derrick Brashear
df0ebd8b90 shut-up-fucking-whiner-20060227
without further comment
2006-02-27 20:17:21 +00:00
Jim Rees
50ed43bfb4 indent-style-note-20060227
Document our official indent style.
2006-02-27 18:31:18 +00:00
Jeffrey Hutzelman
f800113c3b rmtsys-up-limits-20060225
FIXES 27095

raise limits of constants in rmtsys
2006-02-25 06:44:18 +00:00
Hartmut Reuter
2024fe94cb vnop-remove-revised-lock-order-20060225
FIXES 27176

drop the tdc lock even rearlier
2006-02-25 06:39:20 +00:00
Jeffrey Altman
ff46f60c19 windows-ioctl-20060224
FIXES 27225

properly compute the length of the ioctl output buffer for each data
segment
2006-02-24 07:48:21 +00:00
Jeffrey Altman
1bc6c3a78c windows-freelance-default-20060224
change freelance default to on.  this matches what the installers do.
2006-02-24 07:45:35 +00:00
Jim Rees
9a0b4cac56 aclprocs-protos-20060223
Prototypes for aclprocs.
Also some other prototypes for viced.
2006-02-23 15:52:23 +00:00
Derrick Brashear
d3113a14e8 softsig-thread-hack-not-on-nbsd30-20060223
based on comment from gendalia@iastate.edu
2006-02-23 12:32:25 +00:00
Jim Rees
edd97cb225 viced-cleanup-20060222
Prototypes, dead code removal, and other minor cleanups
2006-02-22 20:29:01 +00:00
Jeffrey Altman
a2530f03ba rxkad-krb5-improvements-20060222
correct precedence of && and || in conditional to determine when
tkt_DecodeTicket5() should be called.

optimize order of ticket property evaluation to delay call to get_key()
which will require that a lock be obtained until after we know that
all of the other checks will succeed.
2006-02-22 05:07:48 +00:00
Jeffrey Altman
9306554f9c viced-log-get-key-failure-20060221
log afsconf_GetKey() failure
2006-02-22 05:01:31 +00:00
Jeffrey Altman
0ef21914da server-rxmaxmtu-option-20060221
add -rxmaxmtu <bytes> to allow setting the max send and receive RX MTU size
2006-02-22 04:07:34 +00:00
Jim Rees
d7a60f50a4 fbsd61-20060221
Param file for FreeBSD 6.1. Builds, untested.
2006-02-21 21:07:57 +00:00
Derrick Brashear
10947ccc74 cache-autotune-20060220
put in defaults so an old afsd will still start ok.
2006-02-20 21:49:17 +00:00
Jeffrey Altman
4808977d7d viced-client-cps-race-fix-20060220
remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by
changing h_ID2Client to return the client with a refcount and then
release the refCount with PutClient.

when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure
to set the prlist_val to NULL if the prlist_len is being set to 0
since all of the tests are performed on prlist_val
2006-02-20 15:26:21 +00:00
Jeffrey Altman
fc5bb308c7 rx-dpf-20060217
typo

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

conditionalize rx_intentionallyDroppedOnReadPer100
2006-02-18 06:01:27 +00:00
Derrick Brashear
9e3fdd9c3c flushrec-prototype-20060217
add a prototype to shut up gcc4
2006-02-18 04:58:28 +00:00
Chaskiel M Grundman
591d9c76c8 vnode-ref-verification-20060217
verify we got a ref when we call vnode_ref
2006-02-18 04:53:34 +00:00
Jeffrey Altman
c135a53f92 rx-dpf-20060216
when dpf is in use, log error codes from abort packets and perform
ntoh translation of addresses and port numbers.
2006-02-18 04:11:30 +00:00
Chaskiel M Grundman
55bdee41e6 qremove-set-null-20060217
when we remove an object from a queue null its list pointers
2006-02-17 21:57:12 +00:00
Chaskiel M Grundman
c320fae825 flushvolume-vhashq-consistency-20060217
avoid having vflushed vnodes in play
2006-02-17 21:43:42 +00:00
Jim Rees
5e752a9cff 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.
2006-02-17 17:58:21 +00:00
Derrick Brashear
a8f0d4a30f hpux11-store-fd-sonner-20060217
FIXES 23112

based on report from  	jbuehler@spirentcom.com
2006-02-17 17:34:15 +00:00
Chaskiel M Grundman
167819c0c5 darwin-x86-lwp-fix-20060217
make lwp work on darwin x86
2006-02-17 16:41:28 +00:00
Jeffrey Altman
3d1e5e29f7 windows-notes-20060216
1.5.0 development build
2006-02-17 15:35:38 +00:00
Chaskiel M Grundman
ca4fb5f2d0 darwin-lost-wakeups-20060213
eliminate the apparent lost wakeup problem in tiger
2006-02-17 15:22:24 +00:00
Klas Lindfors
79cfa471a7 viced-has-as-member-locking-20060217
FIXES 26967

A crucial line was missing from DELTA viced-fix-check-rights-race-20060213
2006-02-17 14:48:09 +00:00
Jeffrey Altman
532bc6e84c windows-optimize-find-uid-20060216
Rename smb_GetUser to smb_GetUserFromVCP and add smb_GetUserFromUID.

Use calls to smb_GetUserFromUID to reduce the number of times that
the smb_user_t object is obtained and released during the processing
of an smb call.
2006-02-16 22:06:02 +00:00
Jeffrey Altman
424ae50d1f windows-server-ping-20060216
add logging of server addresses, status and capabilities

prevent multiple threads from pinging the same server simultaneously.
instead, threads block and then use the result of the ping that was
already taking place.
2006-02-16 22:03:47 +00:00
Jeffrey Altman
1e3c9a9a47 windows-daemon-check-registry-20060216
Add registry values to allow the defaults for daemon checks to be altered
at startup.  Log values to afsd_init.log.

daemonCheckDownInterval
daemonCheckUpInterval
daemonCheckVolInterval
daemonCheckCBInterval
daemonCheckLockInterval
daemonCheckTokenInterval
2006-02-16 22:01:45 +00:00
Jeffrey Altman
cc0e245b7a windows-lock-testing-20060216
turn on the support for backing byte range lock allocations with
afs file server locks.
2006-02-16 21:59:19 +00:00
Jeffrey Altman
e1f4dd1c26 windows-rx-wsaeconnreset-20060216
Deal with the fact that Windows returns WSAECONNRESET after an ICMP
port not reachable packet was returned in response to a packet previously
sent.
2006-02-16 21:48:50 +00:00
Derrick Brashear
21e0734259 linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem

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

make i_sem become i_mutex
2006-02-15 21:01:49 +00:00
Chaskiel M Grundman
cee042e2f9 darwin-event-cleanup-20060215
clean up event resources added for deadlock avoidance
2006-02-15 20:53:02 +00:00
Derrick Brashear
90d681405a asetkey-macos-20060215
make the same fix we do on aklog w.r.t com_err
2006-02-15 16:38:33 +00:00
Derrick Brashear
de53b41333 darwin-ifnet-flags-20060215
darwin (8.0) already has this
2006-02-15 16:32:42 +00:00