openafs.git
18 years agowindows-client-side-locking-20060420
Asanka Herath [Thu, 20 Apr 2006 19:52:03 +0000]
windows-client-side-locking-20060420

In order to make the client side locking more usable, if the client
is denied a lock by the server and the user only has read privileges,
then we will allocate a local lock.  Local locks are not allocated
for write locks.

There is a bug in the file server locking dating back to at least
AFS 3.1 in which the lock privilege is used for read, write and insert
locks.  According to the docs, the lock privilege is only supposed to
control read locks.  Write locks on new and existing files are supposed
to be controlled by the Write and Insert privileges.  This will be fixed
in the file server by another commit.

18 years agowindows-query-afsid-20060420
Jeffrey Altman [Thu, 20 Apr 2006 18:19:22 +0000]
windows-query-afsid-20060420

In order to properly handle the local allocation of locks
the cache manager must enforce the locking rules associated
with PRSFS_WRITE and PRSFS_INSERT and PRSFS_LOCK.  Insert
affects "new files" which in AFS are defined as any file that
is owned by the user.  Therefore, we must know the afsid of the
user so that it can be compared to owner of the file.

This commit includes a query using PR_SNameToId where the name
is the name specified by the entity setting the token.  There
does not currently exist a Protection Service RPC to return the
AFSID of the entity that the rx connection was authenticated as.
Such a function will have to be added in order to make this
functionality secure.

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

Export functions missing from the UNIX version and the PR_ functions
required by the Windows Cache Manager.

18 years agorx-dpf-20060417
Jeffrey Altman [Mon, 17 Apr 2006 19:59:41 +0000]
rx-dpf-20060417

fix dpf to print the right thing and not simply fail to compile

18 years agovolser-dump-validate-input-20060417
Jeffrey Altman [Mon, 17 Apr 2006 16:20:50 +0000]
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.

18 years agovos-date-parse-errmsg-20060417
Andrew Deason [Mon, 17 Apr 2006 15:59:04 +0000]
vos-date-parse-errmsg-20060417

FIXES 30218

use the correct index value when printing the invalid date string

18 years agoaix-build-fix-20060413
Tom Keiser [Fri, 14 Apr 2006 14:12:16 +0000]
aix-build-fix-20060413

FIXES 30089

don't include this other than in kernel

18 years agoirix-ifnet-flags-20060413
Derrick Brashear [Thu, 13 Apr 2006 22:08:19 +0000]
irix-ifnet-flags-20060413

make ifnet_flags b e defined for irix also

18 years agoinode-64bit-type-20060411
Derrick Brashear [Tue, 11 Apr 2006 20:40:19 +0000]
inode-64bit-type-20060411

use a 64 bit type for 64 bit inode size with inode fileserver

18 years agobackup-dump-parameter-fix-20060411
Rainer Toebbicke [Tue, 11 Apr 2006 20:27:03 +0000]
backup-dump-parameter-fix-20060411

this is a pointer, not an int, pass in NULL not 0

18 years agowindows-remove-active_vcp-20060410
Jeffrey Altman [Mon, 10 Apr 2006 18:57:33 +0000]
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.

18 years agoman-page-fs-listquota-perms-20060410
Russ Allbery [Mon, 10 Apr 2006 17:41:22 +0000]
man-page-fs-listquota-perms-20060410

fs listquota requires read on the directory, not list.

18 years agowindows-getvolstatus-20060408
Jeffrey Altman [Sun, 9 Apr 2006 08:28:58 +0000]
windows-getvolstatus-20060408

don't prevent all calls to getvolstatus, just the ones that are
not AFS pioctl calls.

18 years agowindows-protect-against-vcp-undercount-20060408
Jeffrey Altman [Sun, 9 Apr 2006 05:52:38 +0000]
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.

18 years agoviced-store-data-validate-input-20060408
Jeffrey Altman [Sat, 8 Apr 2006 20:40:15 +0000]
viced-store-data-validate-input-20060408

The old StoreData RPC is only supposed to be valid for files
smaller than 2GB.  When StoreData64 was added, StoreData and StoreData64
were implemented as calls to common_StoreData64.  This removed the bounds
checking on the old StoreData RPC making it possible for operations
beyond two 2GB to be requested even if the file server cannot support
them.  This patch adds a validity check to ensure that the requested
file operations remain below 2GB.  Failures return E2BIG.

18 years agobsd-md5-20060407
Jim Rees [Fri, 7 Apr 2006 18:26:49 +0000]
bsd-md5-20060407

Use kernel md5 on bsd.

18 years agoxstat_fs-fix-20060407
Jeffrey Altman [Fri, 7 Apr 2006 06:34:26 +0000]
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.

18 years agolinux24-fix-osi-probe-20060407
Chaskiel M Grundman [Fri, 7 Apr 2006 06:21:38 +0000]
linux24-fix-osi-probe-20060407

linux-updates-20060331 broke 2.4 kernels

18 years agocalc-inum-linux-only-20060406
Jim Rees [Thu, 6 Apr 2006 15:39:04 +0000]
calc-inum-linux-only-20060406

Disable md5 inode calc on non-linux.

18 years agomd5-inode-numbers-20060405
Derrick Brashear [Thu, 6 Apr 2006 02:24:21 +0000]
md5-inode-numbers-20060405

FIXES 25849

an interface which lets you select md5 based inode numbers, and the c\7fsupporting code

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

an interface which lets you select md5 based inode numbers, and the c^?supportin
g code

18 years agomacos-packaging-update-20060405
Derrick Brashear [Wed, 5 Apr 2006 14:45:58 +0000]
macos-packaging-update-20060405

FIXES 29226

copy cellservdb if there is none

18 years agotest-heimdal-20060217
Jim Rees [Wed, 5 Apr 2006 01:21:56 +0000]
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.

18 years agosyntax-err-20060404
Jim Rees [Tue, 4 Apr 2006 22:32:22 +0000]
syntax-err-20060404

Fix syntax error (missing braces)
Fix include file ordering
Don't declare *tmpdir extern, we're initializing it here (even though
  there's no reason to)
Fix OnlyOneVolume args to match proto

18 years agotime-t-casting-fixes-20060404
Derrick Brashear [Tue, 4 Apr 2006 21:51:13 +0000]
time-t-casting-fixes-20060404

FIXES 15169

hopefully the rest of this

18 years agolinux-enroll-locks-20060403
Chaskiel M Grundman [Tue, 4 Apr 2006 02:41:12 +0000]
linux-enroll-locks-20060403

FIXES 25037

enroll our locks in the linux kernels' lock management

18 years agovnop-ifdef-cleanup-20060403
Chaskiel M Grundman [Tue, 4 Apr 2006 02:35:15 +0000]
vnop-ifdef-cleanup-20060403

make this less messy

18 years agoiso-8601-20060403
Jim Rees [Mon, 3 Apr 2006 17:22:30 +0000]
iso-8601-20060403

Parse a pitiful subset of ISO 8601 in date/time strings

18 years agowindows-minidump-20060402
Jeffrey Altman [Mon, 3 Apr 2006 00:54:40 +0000]
windows-minidump-20060402

change minidump default to include data segments

18 years agowindows-util-makefile-20060402
Jeffrey Altman [Mon, 3 Apr 2006 00:44:56 +0000]
windows-util-makefile-20060402

remove duplicate entry for strlcpy

18 years agolinux-updates-20060331
Chaskiel M Grundman [Fri, 31 Mar 2006 06:51:03 +0000]
linux-updates-20060331

FIXES 29122 29110 29112

fc5 and 2.6.16 updates

18 years agonat-mode-20060330
Jim Rees [Thu, 30 Mar 2006 18:13:39 +0000]
nat-mode-20060330

Code for "nat mode."  Currently there is no way to set it, because it would
be a bad idea to make this available to the casual user.

18 years agoviced-gethostcps-byte-order-20060328
Derrick Brashear [Thu, 30 Mar 2006 17:27:52 +0000]
viced-gethostcps-byte-order-20060328

don't call GetHostCPS after swapping away from net byte order

18 years agoman-page-asetkey-20060329
Russ Allbery [Wed, 29 Mar 2006 21:44:16 +0000]
man-page-asetkey-20060329

Add a man page for asetkey.

18 years agoman-page-kaserver-fix-20060329
Russ Allbery [Wed, 29 Mar 2006 21:00:50 +0000]
man-page-kaserver-fix-20060329

SYNOPSIS was mislabelled DESCRIPTION and the man page was therefore missing
the HTML formatting fixes.

18 years agoviced-client-keep-conn-ref-20060329
Derrick Brashear [Wed, 29 Mar 2006 06:26:49 +0000]
viced-client-keep-conn-ref-20060329

FIXES 28966

keep a ref on the conn the client has a pointer to

18 years agoviced-gethostcps-byte-order-20060328
Derrick Brashear [Wed, 29 Mar 2006 05:13:58 +0000]
viced-gethostcps-byte-order-20060328

don't call GetHostCPS after swapping away from net byte order

18 years agoafsdb-len-signed-20060328
Garry Zacheiss [Tue, 28 Mar 2006 19:39:45 +0000]
afsdb-len-signed-20060328

in order for -1 to ever be returned, it's gotta be signed...

18 years agoignore-new-targets-20060327
Jim Rees [Mon, 27 Mar 2006 18:27:38 +0000]
ignore-new-targets-20060327

cvsignore new targets

18 years agodebian-updates-20060323
Derrick Brashear [Thu, 23 Mar 2006 21:06:18 +0000]
debian-updates-20060323

from russ and sam

18 years agobuild-system-updates-20060323
Derrick Brashear [Wed, 5 Apr 2006 01:11:15 +0000]
build-system-updates-20060323

config.sub config.guess and some other scripting updates

18 years agomacos-packaging-fixes-20060323
Derrick Brashear [Thu, 23 Mar 2006 16:07:30 +0000]
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

18 years agoafsd-fs-check-20060323
Derrick Brashear [Thu, 23 Mar 2006 15:35:53 +0000]
afsd-fs-check-20060323

from debian, modified slightly. tell people why their filesystem sucks

18 years agoman-page-todo-20060322
Russ Allbery [Thu, 23 Mar 2006 05:41:02 +0000]
man-page-todo-20060322

More to-do items for the documentation.

18 years agosunos-dos2unix-20060322
Derrick Brashear [Wed, 22 Mar 2006 20:05:47 +0000]
sunos-dos2unix-20060322

dumbest change ever

18 years agoparisc-linux-lwp-20060322
Derrick Brashear [Wed, 22 Mar 2006 19:57:04 +0000]
parisc-linux-lwp-20060322

pulled in from debian

18 years agowindows-dafs-20060320
Jeffrey Altman [Mon, 20 Mar 2006 17:29:52 +0000]
windows-dafs-20060320

64-bit time_t pointer update

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

correct a type for consistency

====================

corrections to the dafs delta to allow compilation on Windows

18 years agowindows-64bit-wix-installer-32bit-tools-20060320
Asanka Herath [Mon, 20 Mar 2006 17:20:01 +0000]
windows-64bit-wix-installer-32bit-tools-20060320

Construct an MSI for installing 32-bit AFS tools and libraries
on 64-bit Windows for use with 32-bit Kerberos tools.

18 years agostrl-20060320
Jim Rees [Mon, 20 Mar 2006 16:15:23 +0000]
strl-20060320

src/util/strlcat.c src/util/strlcpy.c

18 years agotvolser-try-ntmakefile-20060320
Derrick Brashear [Mon, 20 Mar 2006 16:01:22 +0000]
tvolser-try-ntmakefile-20060320

first cut at ntmake for tvolser

18 years agoanother-time_t-pointer-fix-20060320
Jeffrey Altman [Mon, 20 Mar 2006 13:38:36 +0000]
another-time_t-pointer-fix-20060320

do not pass in pointers to 32-bit values as pointers to 64-bit values

18 years agoanother-time_t-pointer-bug-20060320
Jeffrey Altman [Mon, 20 Mar 2006 13:25:50 +0000]
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

18 years agoconfigure-help-clarity-20060319
Pedro Perez [Mon, 20 Mar 2006 04:45:06 +0000]
configure-help-clarity-20060319

Change "AFSDB RR" to "AFSDB DNS RR" for people who don't speak DNS.

18 years agoreadme-references-20050319
Pedro Perez [Mon, 20 Mar 2006 04:41:23 +0000]
readme-references-20050319

Refer to the right names of the extra README files.

18 years agosparc-linux-config-20060317
Russ Allbery [Fri, 17 Mar 2006 23:10:50 +0000]
sparc-linux-config-20060317

Collapse all of the sparc*_linux* cases into a single case.  Not just for
ease of maintenance -- this also results in clearer error messages for
configurations that aren't supported and should allow building of the
userspace tools for a few @sys types that the kernel build doesn't support.
Reported by Michael Conrad and Karl Ramm.  Patch has been in the Debian
package for some time.

18 years agodafs-20060317
Tom Keiser [Fri, 17 Mar 2006 19:54:26 +0000]
dafs-20060317

FIXES 26648

demand attach/fast restart fileserver

18 years agodedebug-20051007
Derrick Brashear [Fri, 17 Mar 2006 19:44:06 +0000]
dedebug-20051007

perhaps this should never be pulled up.

anyway, implement dentry cache status dumping for linux.^? and provide a tool to
 dump it

disabled (tool, not rpc) by default

18 years agofix-includes-20060315
Jim Rees [Wed, 15 Mar 2006 19:32:49 +0000]
fix-includes-20060315

Now that we include arpa/inet.h, also include its prerequisites,
and fix the ordering.

18 years agosnprintf-needs-arpa-inet-20060315
Rainer Toebbicke [Wed, 15 Mar 2006 18:34:26 +0000]
snprintf-needs-arpa-inet-20060315

FIXES 28226

include arpa/inet.h so we get inet_addr prototype

18 years agotokens-buffer-overflow-20060315
Dave McMurtrie [Wed, 15 Mar 2006 18:27:43 +0000]
tokens-buffer-overflow-20060315

FIXES 28227

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

18 years agonbsd4-20060315
Tracy Di Marco White [Wed, 15 Mar 2006 18:22:30 +0000]
nbsd4-20060315

FIXES 27916

netbsd 4.0 support

18 years agolinux26-module-parm-versus-param-20060315
Chas Williams [Wed, 15 Mar 2006 16:26:06 +0000]
linux26-module-parm-versus-param-20060315

FIXES 27588

deal with 2.6 changes

18 years agos390-linux26-20060315
Neale Ferguson [Wed, 15 Mar 2006 16:15:07 +0000]
s390-linux26-20060315

add s390 linux26 support

18 years agoviced-unspecified-host-hash-port-20060313 mp-rxtcp-20060314
Jeffrey Altman [Tue, 14 Mar 2006 00:33:14 +0000]
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.

18 years agocmd-protos-20060313
Jim Rees [Mon, 13 Mar 2006 23:15:44 +0000]
cmd-protos-20060313

Fix protos for cmd funcs.

18 years agoviced-log-fix-typo-20060313
Chaskiel M Grundman [Mon, 13 Mar 2006 20:53:14 +0000]
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

18 years agono-clid-for-bsd-20060313
Jim Rees [Mon, 13 Mar 2006 19:18:07 +0000]
no-clid-for-bsd-20060313

Back out rev 1.28 for BSD.
On BSD, clid is not necessarily a pid.
Passing it to HandleFlock results in client hangs.

18 years agocurproc-20060313
Jim Rees [Mon, 13 Mar 2006 16:26:27 +0000]
curproc-20060313

Possible fix for curproc panic reported by ober@linbsd.org.
My guess is it will fix this one but others are lurking.

18 years agomultiple-local-realms-fix-20060313
Jeffrey Altman [Mon, 13 Mar 2006 15:09:40 +0000]
multiple-local-realms-fix-20060313

Fix use of "=" instead of "==" in conditional.

Re-order parameters of afs_is_foreign_ticket_name for consistency

18 years agohost-tossstuff-locking-20060309
Jeffrey Altman [Thu, 9 Mar 2006 21:49:04 +0000]
host-tossstuff-locking-20060309

the nonblocking locking was my fault.

18 years agoxstat-fs-callbacks-20060309
Rainer Toebbicke [Thu, 9 Mar 2006 16:25:48 +0000]
xstat-fs-callbacks-20060309

FIXES 27912

add new collection with callback stats

18 years agoopenbsd39-20060309
Jim Rees [Thu, 9 Mar 2006 15:27:17 +0000]
openbsd39-20060309

Changes for OpenBSD 3.8 and 3.9.
Based on ports by ober@linbsd.org and todd@fries.net.
Untested.

18 years agofstab-moved-20060309
Jim Rees [Thu, 9 Mar 2006 14:36:35 +0000]
fstab-moved-20060309

fstab.c moved from viced to util

18 years agodarwin-x86-and-leopard-20060309
Ed Moy [Thu, 9 Mar 2006 06:35:14 +0000]
darwin-x86-and-leopard-20060309

updates for darwin x86, and pre-leopard

18 years agolinux-updates-20060309
Chas Williams [Thu, 9 Mar 2006 06:05:46 +0000]
linux-updates-20060309

FIXES 27590

add missing variable test

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

update for new mutexes

18 years agoman-page-bash-bashish-20060308
Russ Allbery [Wed, 8 Mar 2006 20:05:59 +0000]
man-page-bash-bashish-20060308

if ! command is a bashish.  Use if command ; then : ; else instead.

18 years agorx-panic-printf-20060307
Jeffrey Altman [Wed, 8 Mar 2006 05:04:36 +0000]
rx-panic-printf-20060307

restore use of printf in osi_Panic

18 years agowindows-mkmount-20060306
Jeffrey Altman [Mon, 6 Mar 2006 21:23:09 +0000]
windows-mkmount-20060306

allow case-insensitive matches for the parent of the mount point

18 years agowindows-init-20060306
Jeffrey Altman [Mon, 6 Mar 2006 20:07:08 +0000]
windows-init-20060306

fix sysname string on amd64

add registry configurable CallBackPort to allow for forcing the
client to use different ports when talking with the file server.

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

add registry configurable CallBackPort to allow for forcing the
client to use different ports when talking with the file server.

Add UAE errors to cm_Analyze debug output

18 years agowindows-smb-log-packet-20060305
Jeffrey Altman [Mon, 6 Mar 2006 05:01:22 +0000]
windows-smb-log-packet-20060305

packet strings can contain %; do not parse as a format

18 years agowindows-xstat-20060304
Jeffrey Altman [Mon, 6 Mar 2006 03:11:31 +0000]
windows-xstat-20060304

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

build xstat utils for windows

====================

more windows specific mods plus improved output of ipaddrs and port
numbers when debugging

18 years agowindows-rx-lwp-clock-20060305
Jeffrey Altman [Mon, 6 Mar 2006 03:04:38 +0000]
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.

18 years agoviced-host-type-consistency-20060305
Jeffrey Altman [Sun, 5 Mar 2006 22:31:11 +0000]
viced-host-type-consistency-20060305

make sure all the types for host and port are consistent

18 years agowindows-no-smb-ioctl-info-20060305
Jeffrey Altman [Sun, 5 Mar 2006 20:53:28 +0000]
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

18 years agoviced-unsign-haddr-hport-20060304
Jeffrey Altman [Sun, 5 Mar 2006 05:36:40 +0000]
viced-unsign-haddr-hport-20060304

haddr and hport should be unsigned

18 years agoxstats-getcapabiliites-20060304
Jeffrey Altman [Sat, 4 Mar 2006 22:02:57 +0000]
xstats-getcapabiliites-20060304

add the GetCapabilities RPC to the ops table

18 years agowindows-deadcode-20060304
Jeffrey Altman [Sat, 4 Mar 2006 21:39:25 +0000]
windows-deadcode-20060304

18 years agoconst-args-20060303
Jim Rees [Fri, 3 Mar 2006 20:27:23 +0000]
const-args-20060303

add const qualifiers to pr_Initialize and vl_Initialize args

18 years agoviced-fix-tcallhost-20060303
Jeffrey Altman [Fri, 3 Mar 2006 19:26:21 +0000]
viced-fix-tcallhost-20060303

fix type and declaration location

18 years agoviced-remove-premature-commit-20060303
Jeffrey Altman [Fri, 3 Mar 2006 18:26:45 +0000]
viced-remove-premature-commit-20060303

remove premature LockUpgrade/LockDowngrade commit

18 years agosysincludes-first-20060302
Jim Rees [Thu, 2 Mar 2006 22:42:56 +0000]
sysincludes-first-20060302

afs/sysincludes before other sys includes, please.

18 years agoprobe-interval-20060302
Jim Rees [Thu, 2 Mar 2006 22:34:27 +0000]
probe-interval-20060302

Make probe_all interval tuneable, although there is no easy way to set it yet.

18 years agocallback-get-refs-20060302
Chaskiel M Grundman [Thu, 2 Mar 2006 06:42:47 +0000]
callback-get-refs-20060302

more updates, focused on issues found working at darwin, but actually generic issues

18 years agorefridgerator-update-20060227
Chaskiel M Grundman [Thu, 2 Mar 2006 06:39:45 +0000]
refridgerator-update-20060227

try to make refrigerator work again

18 years agodarwin-access-exec-only-20060302
Chaskiel M Grundman [Thu, 2 Mar 2006 06:35:59 +0000]
darwin-access-exec-only-20060302

FIXES 27553

don't misenforce mode bits

18 years agodarwin-remove-fix-20060302
Chaskiel M Grundman [Thu, 2 Mar 2006 06:33:44 +0000]
darwin-remove-fix-20060302

move the if inside the condition so we aren't screwed up on tiger

18 years agonbsd-30-pthreads-20060302
Tracy Di Marco White [Thu, 2 Mar 2006 06:31:30 +0000]
nbsd-30-pthreads-20060302

update for netbsd 3.0

18 years agoviced-fix-comment-20060301
Jeffrey Altman [Thu, 2 Mar 2006 06:22:15 +0000]
viced-fix-comment-20060301

fix comment in h_GetHost_r

18 years agoremunlink-needs-iocount-20060302
Chaskiel M Grundman [Thu, 2 Mar 2006 06:21:42 +0000]
remunlink-needs-iocount-20060302

FIXES 27493

keep needed iocount for remunlink on darwin 8.0

18 years agoviced-preamble-postamble-20060301
Jeffrey Hutzelman [Thu, 2 Mar 2006 06:16:59 +0000]
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.

18 years agoviced-h_Enumerate_r-fix-20060301
Jeffrey Altman [Wed, 1 Mar 2006 19:12:05 +0000]
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.

18 years agoviced-h_gethost_r-host-hold-leak-20060228
Jeffrey Altman [Wed, 1 Mar 2006 06:42:46 +0000]
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