openafs.git
18 years agono-global-sunlock-20060206
Jim Rees [Mon, 6 Feb 2006 17:18:12 +0000]
no-global-sunlock-20060206

Don't use global_sunlock on OpenBSD unless running smp kernel

18 years agowindows-winqual-20060206
Jeffrey Altman [Mon, 6 Feb 2006 07:06:33 +0000]
windows-winqual-20060206

Fix two bugs reported via Windows Crash Reporting:

 * Freelance initialization is somehow broken allowing the number of
   locally defined mountpoints to become negative.  Due to the use of
   != instead of < in loops, it is possible to read/write unallocated
   memory.

 * GetTextualSid() was not properly handling a NULL output buffer
   pointer as an indication that the desired size should be returned.

18 years agodarwin-avoid-bogus-name-caching-20060205
Chaskiel M Grundman [Sun, 5 Feb 2006 18:21:51 +0000]
darwin-avoid-bogus-name-caching-20060205

FIXES 26225

avoid the possibility of creating bogus cached named vnodes

18 years agowindows-mountpoints-20060205
Jeffrey Altman [Sun, 5 Feb 2006 17:45:34 +0000]
windows-mountpoints-20060205

 * if the mountpointstring is empty, return No Such Path; do not panic

18 years agowindows-afslogon-20060205
Jeffrey Altman [Sun, 5 Feb 2006 17:44:41 +0000]
windows-afslogon-20060205

 * AFS_Logoff_Event must destroy tokens even if integrated logon is not
   being used unless LogoffPreserveTokens is non-zero

18 years agowindows-afslogon-20060204
Jeffrey Altman [Sun, 5 Feb 2006 07:44:50 +0000]
windows-afslogon-20060204

 * fix LogoffPreserveTokens to work in the correct direction

 * modify behavior to avoid domain controller queries when integrated
   logon is disabled or the logon account is local

18 years agowindows-todays-bugs-20060203
Jeffrey Altman [Fri, 3 Feb 2006 23:21:04 +0000]
windows-todays-bugs-20060203

* cell names must be treated as case insensitive

* smb logoff messages do not mean the user is logging off the machine.
  do not use as an indication that tokens should be destroyed

* use the correct lock and avoid a deadlock when handling dead VCs

18 years agoviced-log-add-ports-20060202
Jeffrey Altman [Thu, 2 Feb 2006 21:47:37 +0000]
viced-log-add-ports-20060202

* add port numbers to Host addresses so we can distinguish clients behind
  NATs

* make messages consistent with regards to case and punctuation of
  "Host x.x.x.x:y"

* convert hex addresses to dotted notation

18 years agowindows-more-cleanup-20060201
Jeffrey Altman [Wed, 1 Feb 2006 18:28:58 +0000]
windows-more-cleanup-20060201

missed one case where the vcpCounter wrapped fids at 0

18 years agobkg-disable-var-20060202
Chaskiel M Grundman [Thu, 2 Feb 2006 08:27:16 +0000]
bkg-disable-var-20060202

don't extern this

18 years agowindows-more-cleanups-20060201
Jeffrey Altman [Wed, 1 Feb 2006 18:02:29 +0000]
windows-more-cleanups-20060201

* remove all references to 'dead_vcp'; cleanup smb_vc_t's as soon as
  we know they are dead

* add mx holds across the cm_cell_t updates

* add cm_FindSCacheParent() and remove duplicate code elsewhere

* add mx holds across scp->flags updates

* add cm_CleanFile()

* clear CM_SCACHEFLAG_CALLBACK when discarding callbacks

* fix smb fid wrapping.  wrap at 0xFFFF instead of 0 because 0xFFFF
  is -1 which is INVALID_HANDLE

* add missing mx holds around vcp->flags updates

18 years agoaix-prototyping-fixes-20060201
Tom Keiser [Wed, 1 Feb 2006 16:20:07 +0000]
aix-prototyping-fixes-20060201

FIXES 26102

fix some prototypes and enable prototype enforcement for aix

18 years agoosi-audit-locking-fix-20060201
Tom Keiser [Wed, 1 Feb 2006 16:09:01 +0000]
osi-audit-locking-fix-20060201

FIXES 25955

fix aix builds

18 years agogetsomespace-r-rewrite-20060201
Jeffrey Altman [Wed, 1 Feb 2006 15:58:30 +0000]
getsomespace-r-rewrite-20060201

rewrite of GetSomeSpace_r to get rid of the brokenness we had before.

also make GetCapabilities work like other rpc stubs which don't need callbacks

18 years agowindows-smb_fid_t-mx-20060130
Jeffrey Altman [Tue, 31 Jan 2006 09:13:11 +0000]
windows-smb_fid_t-mx-20060130

*Includes the changes from STABLE14-windows-smb_fid_t-audit-20060125
 as well:

"Further testing revealed that some smb_vc_t objects could not be freed
because the associated smb_fid_t objects never reached a zero refcount.
Additional auditing uncovered cases in which there were holds not being
released and others in which they were released to many times.  This
patch fixes the problems and improves auditability by modifying the
behavior of the smb_IoctlXXX() functions to not release a reference
that was obtained by the caller.  Now the caller releases the reference."

Fixup token deletion logic

Surround all references to smb_fid_t flags and other references
by obtaining and releasing the 'mx' lock.

18 years agomerge-up-fixes-rxtcp-20060130
Ken Hornstein [Mon, 30 Jan 2006 22:11:40 +0000]
merge-up-fixes-rxtcp-20060130

Merge in fixes to up from the rxtcp branch.

18 years agosimple-darwin-disable-bkg-20060128
Chaskiel M Grundman [Sat, 28 Jan 2006 19:20:44 +0000]
simple-darwin-disable-bkg-20060128

avoid potential hang by disabling bkg daemons on 10.4 for now

18 years agonewvcache-dont-spin-20060128
Chaskiel M Grundman [Sat, 28 Jan 2006 18:06:06 +0000]
newvcache-dont-spin-20060128

make things so newvcache won't spin

18 years agoreclaim-defered-flush-fixes-20060128
Chaskiel M Grundman [Sat, 28 Jan 2006 18:02:40 +0000]
reclaim-defered-flush-fixes-20060128

fix side effect of reclaim lookaside

18 years agoup-cleanup-20060126
Derrick Brashear [Thu, 26 Jan 2006 21:24:39 +0000]
up-cleanup-20060126

FIXES 25863

subsumes todd's fix

18 years agoosi-panic-revert-to-kandr-20060126
Tom Keiser [Thu, 26 Jan 2006 20:34:50 +0000]
osi-panic-revert-to-kandr-20060126

FIXES 25924

avoid prototype issue for now

18 years agolinux-vcache-extra-ref-unneeded-20060126
Chas Williams [Thu, 26 Jan 2006 18:55:18 +0000]
linux-vcache-extra-ref-unneeded-20060126

FIXES 25829

the dynamic/system inode version of the linux client already keeps an
extra reference when the inode is on the vcache list. the inode/vnode
should not go away while we are trying to flush the dcache children.

18 years agoremove-spurious-var-20060126
Jim Rees [Thu, 26 Jan 2006 18:13:06 +0000]
remove-spurious-var-20060126

Remove unused local variable "lock".

18 years agocast-pointer-20060126
Jim Rees [Thu, 26 Jan 2006 18:11:23 +0000]
cast-pointer-20060126

Cast pointer to long for printf.
"%p" would be a better fix, but is it supported on all platforms?

18 years agomacos-avoid-reclaim-hang-20060124
Derrick Brashear [Thu, 26 Jan 2006 16:03:03 +0000]
macos-avoid-reclaim-hang-20060124

FIXES 25686

based on chaskiel's suggestion, implement a lookaside reclaim list

18 years agomore-rxglock-cleanup-20060126
Chas Williams [Thu, 26 Jan 2006 16:00:34 +0000]
more-rxglock-cleanup-20060126

FIXES 23321

more rx glock cleanup. eval for pullup after 1.4.1

18 years agolinux26-build-update-20060126
Chas Williams [Thu, 26 Jan 2006 15:56:41 +0000]
linux26-build-update-20060126

FIXES 25879

KBUILD_BASENAME will need to be set in 2.6.15 and later for configure to work usefully

18 years agoukernel-rx-knet-deref-20060126
Tom Keiser [Thu, 26 Jan 2006 15:52:37 +0000]
ukernel-rx-knet-deref-20060126

FIXES 25927

pass correct parameter to avoid type mismatch

18 years agosol10-vnode-cleanup-20060126
Derrick Brashear [Thu, 26 Jan 2006 15:49:05 +0000]
sol10-vnode-cleanup-20060126

Because we use a private pool of vnodes, it's up to us to trigger cleanup.
here we do so.

18 years agoregen-no-doc-noise-20060125
Jim Rees [Wed, 25 Jan 2006 19:44:15 +0000]
regen-no-doc-noise-20060125

Don't say we're building man pages if we're not.

18 years agoman-page-html-20060124
Russ Allbery [Wed, 25 Jan 2006 05:59:38 +0000]
man-page-html-20060124

Initial cut at an HTML conversion of the POD reference pages.  Requires
Pod::Simple be installed (version 3.0 or later, probably).  Also fix a POD
formatting bug in the afs(1) man page noticed while testing HTML output.

18 years agomacos-avoid-reclaim-hang-20060124
Derrick Brashear [Wed, 25 Jan 2006 04:45:00 +0000]
macos-avoid-reclaim-hang-20060124

FIXES 25686

based on chaskiel's suggestion, implement a lookaside reclaim list

18 years agorelease-avoid-negative-time-20060124
Jeffrey Hutzelman [Wed, 25 Jan 2006 03:49:25 +0000]
release-avoid-negative-time-20060124

avoid any possibility of time going negative when releasing incrementally

18 years agoimplement-vpeek-for-listvol-20060124
Derrick Brashear [Wed, 25 Jan 2006 03:24:25 +0000]
implement-vpeek-for-listvol-20060124

roll back for listonevolume (only)

18 years agousebuffer-macros-20060124
Chas Williams [Tue, 24 Jan 2006 17:40:11 +0000]
usebuffer-macros-20060124

FIXES 25819

get rid of usebuffers macro usage warning

18 years agowindows-continued-refcount-cleanup-20060124
Jeffrey Altman [Tue, 24 Jan 2006 23:22:00 +0000]
windows-continued-refcount-cleanup-20060124

* re-enable LogoffTokenTransferTimeout and LogoffTokenTransfer.
  Tokens are now destroyed at logoff based upon the values specified
  here.  Default is ON and 120 seconds.  Setting this to OFF will
  result in tokens never being destroyed.  This will leak memory.

* protect global queues with mutexes and avoid a variety of race
  conditions.

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

rollback unintended commit

18 years agoviced-grow-h_maxSlots-20060123
Chaskiel M Grundman [Mon, 23 Jan 2006 21:23:16 +0000]
viced-grow-h_maxSlots-20060123

and jhutz@cs.cmu.edu

The size of h_maxSlots as computed based upon the value of
MAX_FILESERVER_THREAD is too small.   It is possible for h_lwpIndex
(in the pthread case) to have produce the same Slot value for multiple
threads.  In that case it is possible for the following to occur:

       X: h_Hold_r(host)
       X: H_UNLOCK
       ...
       E: H_LOCK
       E: Check h_Held_r(host); it is true, so don't hold
       E: H_UNLOCK
       X: H_LOCK
       X: h_Release_r(host)
       X: h_TossStuff_r(host)  [called by h_Release_r]
       X: H_UNLOCK
       E: CheckHost(host)

The end result would be a crash due to a reference to a null field
in the host processed by CheckHost.

This patch is a bit of a hack in that it solves the problem by increasing
the number of slots for threads and does not determine the correct number
of threads the process should be allowed to produce.

18 years agocheck-host-optimize-20060123
Jeffrey Altman [Mon, 23 Jan 2006 21:13:19 +0000]
check-host-optimize-20060123

There should never be a case where h_Enumerate calls CheckHost with a
host whose callback_rxcon that is NULL.  However, due to a bug it ended up
being the case that it happened.  An examination of the CheckHost code
showed that the check for the HOSTDELETED flag should take place before
a reference to callback_rxcon is obtained.  If HOSTDELETED were set, the
code would simply release the reference immediately.  However, the process
of obtaining and releasing the reference required dropping and obtaining
locks that would be a performance hit.

18 years agofs-getfid-20060123
Derrick Brashear [Mon, 23 Jan 2006 21:04:31 +0000]
fs-getfid-20060123

add a fs subcommand to get a fid

18 years agowindows-smb-logoff-or-abandonment-detection-20060121
Jeffrey Altman [Sat, 21 Jan 2006 21:37:04 +0000]
windows-smb-logoff-or-abandonment-detection-20060121

This patch:

(1) removes the rest of the dead logoff code that was originally
    stripped of any meaning by DELTA
    winnt-win2000-win98-afs-client-updates-20010623.

(2) gives new meaning to smb_TokenTransfer and smb_TokenTransferTimeout.
    these variables now control how long a smb_username_t and its
    associated cm_user_t and its cm_cellinfo_t (including tokens)
    will be preserved after a logoff.

(3) adds logic to detect logoff conditions

(4) adds cm_CheckVCs().  This function probes the SMB client with a ECHO
    response to determine if the associated SMB virtual circuit is still
    valid.   This is executed once every five minutes by smb_Daemon()
    and whenever the machine's IP addresses change.  This allows
    abandoned VCs to be detected and the associated user credentials,
    file handles, and locks to be cleaned up.  This will also prevent
    the exhaustion of the limited number of SMB sessions.

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

and remember to mark the session dead so it can be re-used

18 years agoh_gethost_r-hold-fix-20060121
Jeffrey Altman [Sat, 21 Jan 2006 21:22:47 +0000]
h_gethost_r-hold-fix-20060121

fix hold errors

18 years agohost-cpu-20060120
Jim Rees [Fri, 20 Jan 2006 16:40:24 +0000]
host-cpu-20060120

Introduce @HOST_CPU@ and use it to find correct headers for FreeBSD build.

18 years agowindows-notes-20060120
Jeffrey Altman [Fri, 20 Jan 2006 06:22:46 +0000]
windows-notes-20060120

more notes for 1.4.1-rc5

18 years agocached-lookup-mtpt-20060120
Chaskiel M Grundman [Fri, 20 Jan 2006 05:19:47 +0000]
cached-lookup-mtpt-20060120

FIXES 25647

don't do lookups on the wrong vnode, if it's a mvstat=1 vnode, it's not useful

18 years agoaix-vm-rdwr-fix-20060120
Tom Keiser [Fri, 20 Jan 2006 05:05:35 +0000]
aix-vm-rdwr-fix-20060120

FIXES 25650

avoid a loop in vm_rdwr on aix. also fix ifnet_flags macro

18 years agocmdebug-no-zero-pad-output-20060119
Derrick Brashear [Fri, 20 Jan 2006 00:00:18 +0000]
cmdebug-no-zero-pad-output-20060119

length, dv and refcnt no longer 0 padded

18 years agowindows-integrated-logon-hack-fix-for-proper-refcounts-20060119
Jeffrey Altman [Thu, 19 Jan 2006 23:07:50 +0000]
windows-integrated-logon-hack-fix-for-proper-refcounts-20060119

The Integrated Logon hack of setting a token for a smb name different
than the one associated with the current smb session fails when smb
virtual circuits, sessions and username objects are properly reference
counted.  When refcounts are not leaked the constructed smb_username_t
is destroyed immediately after the token is set since there are not
references to it from a current session.

The fix is to mark the smb_username_t object with a flag indicating that
it was created by the Network Provider.  This flag prevents the destruction
when the refcount is zero so that it will be available at the time the
smb session is created (just a moment or two later.)  During the binding
of the smb_username_t to the smb_vc_t the flag is cleared allowing the
tokens to be destroyed when the smb session is closed.

18 years agobozo-log-fix-20060119
Jim Rees [Thu, 19 Jan 2006 16:57:07 +0000]
bozo-log-fix-20060119

don't fclose(NULL) (found by ober@linbsd.org)
fflush after printf instead of before
add missing trailing newline in WARNING message
consolidate the logic to make it clearer
make tdate bigger (26 chars plus '\0'; not sure this is needed)

18 years agofbsd-opts-20060118
Jim Rees [Wed, 18 Jan 2006 22:31:22 +0000]
fbsd-opts-20060118

add -mno-mmx -mno-3dnow -mno-sse -mno-sse2 to kernel cc flags

18 years agoifnet-flags-20060118
Jim Rees [Wed, 18 Jan 2006 16:03:28 +0000]
ifnet-flags-20060118

#define ifnet_flags to fix build on bsd

18 years agolinux-vrefcount-macro-fix-20060118
Derrick Brashear [Wed, 18 Jan 2006 06:26:15 +0000]
linux-vrefcount-macro-fix-20060118

thanks to jhutz@cmu.edu for making me consider this

18 years agolinux-kernel-bug-macro-inline-20060117
Derrick Brashear [Wed, 18 Jan 2006 02:21:00 +0000]
linux-kernel-bug-macro-inline-20060117

force oops inline instead of calling bug, so we can printk

18 years agoregen-doc-20060117
Jim Rees [Tue, 17 Jan 2006 22:25:51 +0000]
regen-doc-20060117

slightly better documentation of regen.sh

18 years agowindows-truncate-after-lock-check-20060116
Jeffrey Altman [Tue, 17 Jan 2006 21:43:25 +0000]
windows-truncate-after-lock-check-20060116

In smb_ReceiveNTCreateX the lock check, cm_CheckNTOpen(), must take place
before we allow the file to be truncated.

18 years agodarwin-use-kthreads-20060117
Chaskiel M Grundman [Tue, 17 Jan 2006 17:08:34 +0000]
darwin-use-kthreads-20060117

FIXES 25542

use kernel threads for afsd processes instead of forked pids

18 years agomacos-locking-behavior-20060117
Chaskiel M Grundman [Tue, 17 Jan 2006 17:05:31 +0000]
macos-locking-behavior-20060117

FIXES 25543

F_UNLCK is send as a command, remap to F_SETLK like everyone else

18 years agotiger-sysctl-20060117
Chaskiel M Grundman [Tue, 17 Jan 2006 16:06:56 +0000]
tiger-sysctl-20060117

FIXES 25327

implementation of sysctl for tiger

18 years agonewvcache-can-fail-now-20060116
Peter Somogyi [Tue, 17 Jan 2006 04:59:11 +0000]
newvcache-can-fail-now-20060116

FIXES 22260

allow newvcache to fail without ooping

sort of nasty, if you want more vcaches, say so.

18 years agowindows-afsmap-20060116
Jeffrey Altman [Tue, 17 Jan 2006 03:57:19 +0000]
windows-afsmap-20060116

strcpy -> strncpy

18 years agoremove-dead-prototype-20060116
Chaskiel M Grundman [Tue, 17 Jan 2006 03:32:44 +0000]
remove-dead-prototype-20060116

remove dead prototype for osi_iput()

18 years agoh-enumerate-r-fix-for-real-20060116
Chaskiel M Grundman [Mon, 16 Jan 2006 21:15:21 +0000]
h-enumerate-r-fix-for-real-20060116

FIXES 24196

make this not simply wrong

18 years agowindows-rx-ehostunreach-20060116
Jeffrey Altman [Mon, 16 Jan 2006 16:22:27 +0000]
windows-rx-ehostunreach-20060116

another location where EHOSTUNREACH can be returned
such that we can timeout the request immediately

18 years agowindows-vc-locks-and-more-20060115
Jeffrey Altman [Mon, 16 Jan 2006 02:05:27 +0000]
windows-vc-locks-and-more-20060115

This patch fixes several issues:

 * the smb virtual circuits can be active and/or dead.   this patch
   improves the handling of vc's making the transition from active
   to dead

 * correct the refcounts on the smb_user_t and smb_vc_t objects

 * replace the deprecated GetCurrentTime() with GetTickCounts() which
   is the new name.  This function needs to be replaced with something
   else because its return value wraps after 49.7 days

 * hold the correct locks when adjusting the scp->fileLocksH queue

 * add new event log entries for unexpected session closures and
   send packet failures

18 years agowindows-ncb-error-strings-20060114
Jeffrey Altman [Sun, 15 Jan 2006 08:10:00 +0000]
windows-ncb-error-strings-20060114

consolidate the use of NCB error strings in one place

18 years agowindows-afsifs-20060114
Asanka Herath [Sun, 15 Jan 2006 08:04:59 +0000]
windows-afsifs-20060114

minor style change

18 years agowindows-eventlog-20051219
Jeffrey Altman [Sun, 15 Jan 2006 08:01:49 +0000]
windows-eventlog-20051219

More messages for the event log

18 years agosparc64-linux-typo-20060114
Russ Allbery [Sat, 14 Jan 2006 08:19:19 +0000]
sparc64-linux-typo-20060114

XLDFLAGS64, not XLDFLAG64.

18 years agosparc64-linux-20060113
Troy Benjegerdes [Sat, 14 Jan 2006 08:00:01 +0000]
sparc64-linux-20060113

Hopefully fix sparc64 Linux support with 2.6 kernels.

18 years agowindows-lock-data-versions-20060112
Asanka Herath [Thu, 12 Jan 2006 18:45:16 +0000]
windows-lock-data-versions-20060112

Add a lockDataVersion field to cm_scache_t.  This data version is
compared to the cm_scache_t dataVersion field in the following
circumstances:

 * lock upgrades from read to write in which the lock must be released
   given current file server rpcs

 * lock downgrades from write to read in which the lock must be released
   given current file server rpcs

 * lost locks due to network disconnect.  if the data version has not
   changed then re-obtaining the lock is safe to do

18 years agowindows-cmfinduserbyname-20060112
Jeffrey Altman [Thu, 12 Jan 2006 05:54:23 +0000]
windows-cmfinduserbyname-20060112

FIXES 25347

Fix invalid access after freeing newly allocated data structure

18 years agolinux-clean-up-stupidity-20060111
Chas Williams [Wed, 11 Jan 2006 21:37:06 +0000]
linux-clean-up-stupidity-20060111

get some of an inadvertant misapplied patch, and get rid of a redundant check

18 years agoafs-sysnames-20060110
Jeffrey Altman [Wed, 11 Jan 2006 04:44:49 +0000]
afs-sysnames-20060110

move allocations for SYS_NAME_ID_amd64_w2k and  SYS_NAME_ID_i64_w2k to avoid
conflicts

18 years agomacos-reclaim-20060110
Chaskiel M Grundman [Wed, 11 Jan 2006 04:23:22 +0000]
macos-reclaim-20060110

FIXES 25165

avoid a vnode cleaning pnaic during recycle

18 years agomacos-avoid-ref-leak-20060110
Chaskiel M Grundman [Wed, 11 Jan 2006 04:21:11 +0000]
macos-avoid-ref-leak-20060110

FIXES 25302

fix for the earlier fix

18 years agoremove-vnop-mem-leak-20060110
Derrick Brashear [Tue, 10 Jan 2006 15:09:55 +0000]
remove-vnop-mem-leak-20060110

avoid leaking mvid when we use .__afsXXXX renaming in remove

18 years agoremove-vnop-lock-order-20060110
Derrick Brashear [Tue, 10 Jan 2006 15:03:26 +0000]
remove-vnop-lock-order-20060110

FIXES 25118

finegrained dcache lock order not obeyed

18 years agowindows-smb-username-refcount-20060110
Jeffrey Altman [Tue, 10 Jan 2006 13:26:41 +0000]
windows-smb-username-refcount-20060110

the smb_username_t objects are reference counted but they were never
released on their own accord.  Instead the smb_uid_t objects when
released were also cleaning up the smb_username_t.  Since the smb_username_t
is reused, now that smb_user_t objects are being cleaned up, this was
a problem.

18 years agowindows-tests-winflock-20060108
Asanka Herath [Mon, 9 Jan 2006 05:44:19 +0000]
windows-tests-winflock-20060108

Updates to locking tests

18 years agowindows-byte-range-locking-20060108
Asanka Herath [Mon, 9 Jan 2006 04:43:36 +0000]
windows-byte-range-locking-20060108

When SMB sessions are prematurely terminated as part of the tear down
of the virtual circuit we must clean up any remaining file handles,
tree connections, and user sessions.

18 years agowindows-byte-range-locks-fix-20060107
Jeffrey Altman [Sun, 8 Jan 2006 04:17:18 +0000]
windows-byte-range-locks-fix-20060107

fix the SERVERLOCKS_ENABLED macro

18 years agowindows-enable-byte-range-locking-20060107
Jeffrey Altman [Sun, 8 Jan 2006 00:42:52 +0000]
windows-enable-byte-range-locking-20060107

re-enable byte range locking

18 years agowindows-byte-range-locking-20060107
Jeffrey Altman [Sun, 8 Jan 2006 00:38:32 +0000]
windows-byte-range-locking-20060107

* Update architectural documentation

* Allow locks to be obtained as soon as it is possible instead of
  enforcing a requirement that locks be granted in order.

* Fix other bugs

* Disable byte range lock processing

18 years agowindows-eventlog-20051219
Jeffrey Altman [Sun, 8 Jan 2006 00:30:40 +0000]
windows-eventlog-20051219

For afsd_service.exe, properly use the Event Log by constructing
message strings stored in a MESSAGETEXT resource.  This patch also
removes a large number of debugging related event messages that
should never have been seen by an end user.   That data is now
logged to the trace.log where it should have been logged initially.

Similar changes need to be implemented for afslogon.dll and afscreds.exe

The afsd_eventlog.[ch] files should be broken out into its own library
so that it can be reused efficiently.

The afsreg.h header was cleaned up to ensure name consistency and to
remove the last vestiges of "IBM AFS".

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

Do not change "AFS Client" to "OpenAFS Client" unless the installers
are also updated.

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

remove temporary files upon clean

18 years agomacos-104-change-access-enforcement-20060105
Derrick Brashear [Fri, 6 Jan 2006 02:54:40 +0000]
macos-104-change-access-enforcement-20060105

don't improperly enforce read attribute restriction on child instead of parent
when it's a directory

avoid screwing ourselves on mode 0 files, also

18 years agomacos-vnode-get-fixes-20060105
Chaskiel M Grundman [Thu, 5 Jan 2006 05:31:34 +0000]
macos-vnode-get-fixes-20060105

The afs_pioctl.c change should fix a real crash (panic), but fs flushv isn't
that common an operation.
Other changes:
don't GUNLOCK() around vnode_get(). we weren't consistent about it, and it
doesn't appear to be strictly required.
handle vnode_get() failures in more cases
darwin_vn_hold will panic if vnode is terminating rather than mess up the
refcounts.

18 years agofbsd-vnode-includes-20060103
Horst Birthelmer [Tue, 3 Jan 2006 21:26:40 +0000]
fbsd-vnode-includes-20060103

Generate vnode_if_newproto.h and vnode_if_typedef.h in case they aren't in
the kernel build directory, for example if the kernel has been configed but
not built.

18 years agowindows-vista-wix-install-20051230
Asanka Herath [Fri, 30 Dec 2005 22:40:15 +0000]
windows-vista-wix-install-20051230

Update the MSI to install the network provider without impersonation

18 years agoman-page-rxgen-cmdebug-20051227
Russ Allbery [Tue, 27 Dec 2005 23:30:22 +0000]
man-page-rxgen-cmdebug-20051227

Add man pages for rxgen and cmdebug.  The cmdebug man page was written from
scratch based on the source code.  The rxgen man page is a conversion of an
old TeX document to POD.

18 years agowindows-ptc-rc-20051227
Jeffrey Altman [Tue, 27 Dec 2005 20:00:10 +0000]
windows-ptc-rc-20051227

for ptclient.exe

18 years agowindows-process-detach-20051227
Jeffrey Altman [Tue, 27 Dec 2005 16:17:11 +0000]
windows-process-detach-20051227

The procmgmt library replaces the C RunTime Library's signal handlers
but does not restore them on process detachment.  This leaves the
process with signal handlers pointing to invalid code that generates
an invalid access error during process termination if the library
was previously unloaded.

18 years agosolaris-uniqtime32-20051223
Chas Williams [Sat, 24 Dec 2005 01:07:43 +0000]
solaris-uniqtime32-20051223

FIXES 24445

afs really wants the 32 bit timeval/uniqtime stuff

18 years agodarwin-dnlc-cache-purge-20051223
Chaskiel M Grundman [Sat, 24 Dec 2005 00:28:10 +0000]
darwin-dnlc-cache-purge-20051223

FIXES 22644

cache_purge() to hint to darwin that we changed something instead of letting it cache invalid data

18 years agotiger-fixes-20051215
Chaskiel M Grundman [Sat, 24 Dec 2005 00:20:18 +0000]
tiger-fixes-20051215

potential reclaim in progress fix, and per Chaskiel,
"I don't remember why I put it there, but the fact that
it gets triggered means that we're leaking a vcache object lock. It looks
like the "rename to .__afsXXXX" codepath is responsible (as afsrename does
not use the fact that adp (or aodp) is locked by afs_remove, and locks it
again. I'm surprised it's not deadlocking)" so i coded up a fix

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

chaskiel says
The RHS shouldn't be a double negative...
       There's no bug (other than the assert itself)

18 years agodarwin-lost-wakeups-20051223
Chaskiel M Grundman [Sat, 24 Dec 2005 00:08:32 +0000]
darwin-lost-wakeups-20051223

FIXES 24492

rewrite for tiger to avoid losing wakeups

18 years agoman-page-misc-improvements-20051221
Russ Allbery [Thu, 22 Dec 2005 07:34:49 +0000]
man-page-misc-improvements-20051221

Add new man pages for livesys and voldump.  Fix the man page for sys to say
what it actually does, rather than implying that it works like livesys, and
to recommend livesys instead.  Fix a path error in the NetInfo
documentation.  Update the README for the current status, including
listing all installed commands that don't have man pages.  (There may still
be some subcommands that don't have man pages but aren't listed.)

18 years agoman-page-installation-20051221
Russ Allbery [Thu, 22 Dec 2005 07:29:52 +0000]
man-page-installation-20051221

On installation, substitute the configured paths into the man pages,
replacing the Transarc paths.  Also fix a problem with the way that
pinstall was being used to install man pages.  (Silly me, I was assuming
it had the same behavior as install.)

This is just a quick first pass.  Longer term, it's probably better to
replace all paths in the man pages with unambiguous tokens and then
replace those tokens instead of assuming that the man pages use Transarc
paths and replacing those paths specifically.  The current method has a
few minor problems, such as not being able to distinguish between the
various paths that make up /usr/afs/bin.  Still, the results of this method
are good enough to start with.

18 years agoaklog-obsd-20051221
Jim Rees [Wed, 21 Dec 2005 18:41:47 +0000]
aklog-obsd-20051221

make aklog build on OpenBSD

18 years agoaklog-fix-install-Makefile-target-20051221
Ken Hornstein [Wed, 21 Dec 2005 18:22:08 +0000]
aklog-fix-install-Makefile-target-20051221

Fixed the install target so it installs asetkey instead of running it.

18 years agoman-page-whitespace-20051220
Russ Allbery [Wed, 21 Dec 2005 00:41:17 +0000]
man-page-whitespace-20051220

Remove all trailing whitespace while we have the chance and there are no
merge issues yet.

18 years agoman-page-generation-20051220
Russ Allbery [Wed, 21 Dec 2005 00:37:16 +0000]
man-page-generation-20051220

Move man page generation out into a separate script that's just invoked
from regen.sh, so that someone can run that separate script later if they
wish.  Make that script more robust against problems such as empty podN
directories.  Diagnose a missing pod2man and warn about old versions of
Pod::Man.

Also, remove the old programs used to do the initial conversion from HTML.
Enough post-conversion editing was done that they're no longer necessary
except for historical curiosity, and for that purpose they can be pulled
out of CVS.