openafs.git
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.

18 years agowindows-bg-fcrypt-20051219
Jeffrey Altman [Mon, 19 Dec 2005 16:12:16 +0000]
windows-bg-fcrypt-20051219

use the faster bg-fcrypt

18 years agowindows-64-bit-type-safety-20051105
Jeffrey Altman [Mon, 19 Dec 2005 15:51:28 +0000]
windows-64-bit-type-safety-20051105

SIZE_MAX should be UINT_MAX if not defined

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

18 years agowindows-uninit-20051219
Jeffrey Altman [Mon, 19 Dec 2005 12:36:48 +0000]
windows-uninit-20051219

initialize the variable containing the afs id in case the pts lookup
fails

18 years agowindows-rx-debug-disable-20051219
Jeffrey Altman [Mon, 19 Dec 2005 12:35:15 +0000]
windows-rx-debug-disable-20051219

Provide a method to enable/disable rx debugging along as a part
of "fs trace -on/-off"

18 years agolinux-writepage-rename-20051218
Björn Torkelsson [Mon, 19 Dec 2005 03:27:21 +0000]
linux-writepage-rename-20051218

The ocfs2 patch renames WRITEPAGE_ACTIVE to AOP_WRITEPAGE_ACTIVE, and
Ubuntu has applied that patch to their version of the kernel.  Allow for
either.

18 years agoseparate-capabilities-by-source-20051217
Jeffrey Altman [Sun, 18 Dec 2005 05:41:19 +0000]
separate-capabilities-by-source-20051217

This patch separates the client and viced capabilties;
adds a viced capabilities for 64bit files;
and modifies the Windows client to probe the viced capabilities
the first time the client discovers the server and uses the capabilities
RPC instead of the GetTime RPC to probe for Up/Down status

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

define the capabilities constants

18 years agowindows-no-fds-20051217
Jeffrey Altman [Sat, 17 Dec 2005 17:26:57 +0000]
windows-no-fds-20051217

when collecting rx statistics in response to an RPC query, the rx library
attempts to enumerate the number file descriptors in use.  This is fine
except that file descriptors are a C Run Time Library concept on Windows
and are not related to networking.  In Visual Studio 8, the run time library
will assert() if an invalid file descriptor is passed to fstat() which is
the test used to determine if a file descriptor is valid.

This patch simply returns 0 for the number of file descriptors in use
because that is what would have been returned anyway with the existing
code.  What we probably want to return is the number of open socket
handles.

18 years agovos-restore-parent-id-patch-20051215
Jeffrey Hutzelman [Fri, 16 Dec 2005 04:25:48 +0000]
vos-restore-parent-id-patch-20051215

avoid making broken readonlies when when you restore them

18 years agolinux-dentry-multiple-mounts-20051215
Chas Williams [Fri, 16 Dec 2005 03:36:16 +0000]
linux-dentry-multiple-mounts-20051215

avoid triggering BUG() when a volume is multiply mounted

18 years agofreedatabufs-mark-free-20051215
Tom Keiser [Fri, 16 Dec 2005 03:31:18 +0000]
freedatabufs-mark-free-20051215

avoid an error with marking data packets free

18 years agomultibreak-rework-avoiding-race-20051215
Tom Keiser [Fri, 16 Dec 2005 03:27:17 +0000]
multibreak-rework-avoiding-race-20051215

avoid a potential race finding the correct connection during
MultiBreakCallBack_r

18 years agorx-osi_alloc-prototype-20051215
Rainer Toebbicke [Thu, 15 Dec 2005 15:15:30 +0000]
rx-osi_alloc-prototype-20051215

FIXES 24267

must provide prototype for osi_Alloc() on systems with 64-bit pointers
and 32-bit int

18 years agorx-osi_alloc-prototype-20051214
Rainer Toebbicke [Thu, 15 Dec 2005 05:55:10 +0000]
rx-osi_alloc-prototype-20051214

FIXES 24267

include rx.h in order to safely include rx_prototypes.h in order
to obtain a prototype for osi_Alloc() in order to prevent pointer
truncation on systems with 64-bit pointers and 32-bit int.

18 years agomultiple-local-realms-20051208
Jeffrey Altman [Thu, 15 Dec 2005 05:51:24 +0000]
multiple-local-realms-20051208

This patch extends the krb.conf file allowing the specification of
multiple realms which should be treated as equivalents to the local
cell authentication domain.  Additional realms are specified on the
first line of the krb.conf file and are separated by white space.

In addition, the patch adds a new file stored in the same directory
as the krb.conf file called krb.excl.  This file contains a list of
principal names, one per line, that must not be treated as local
identities.

The purpose of this patch is to allow organizations that are supporting
multiple realms with synchronized user principal databases to allow
their users to login with any of the realms and treat the principal
names as equivalent to the local PTS identity.   The exclusion is
to allow certain names, such as those for administrative IDs, to be
restricted to a subset of the realms.

Further optimization of the afs_krb_exclusion() should be performed to
remove the need to re-read the file.  This patch should be considered
a temporary solution until a more permanent set of extensions to the
PT database and RPCs allow for the assignment of mechanism specific
aliases for PT IDs.

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

correction to exclusion list parsing

18 years agowindows-ansification-20051214
Jeffrey Altman [Wed, 14 Dec 2005 05:39:56 +0000]
windows-ansification-20051214

use modern function declarations

18 years agowindows-rpc-warning-20051214
Jeffrey Altman [Wed, 14 Dec 2005 05:32:55 +0000]
windows-rpc-warning-20051214

If osi_InitDebug() fails due to RPC_S_NO_PROTSEQS, log to the afsd_init.log
file a warning indicating that the registry should be examined for a
misconfiguration of Windows.

18 years agowindows-fs-setserverpref-vldb-20051214
Jeffrey Altman [Wed, 14 Dec 2005 05:29:28 +0000]
windows-fs-setserverpref-vldb-20051214

prevent a panic condition if "fs setserverprefs -vlserver" is executed
more than once before the vlserver is associated with a cell.

18 years agowindows-registry-20051214
Jeffrey Altman [Wed, 14 Dec 2005 05:27:09 +0000]
windows-registry-20051214

Change all of the daemon check interval values so they can be set
via the registry.

18 years agoretire-cat-pages-20051213
Russ Allbery [Wed, 14 Dec 2005 01:36:05 +0000]
retire-cat-pages-20051213

These can go now that we have POD versions of, in most cases, newer
versions of the same documentation.

18 years agoman5-editing-pass-20051213
Russ Allbery [Wed, 14 Dec 2005 01:30:20 +0000]
man5-editing-pass-20051213

This completes the first editing pass of the man pages.  Very little
content editing has been done, but the server and client versions of
various man pages have been combined into a single man page for the
file (affects CellServDB, ThisCell, NetInfo, and NetRestrict), the
descriptions of the various AFS cache files have been combined into one
afs_cache man page, and the descriptions of the two butc log files have
been combined into one butc_logs man page.

For man pages for databases with two files, symlinks are now created on
installation for the secondary file name.

All of the man pages should now be ready for public review, additional
editing and cleanup, and content editing.

18 years agofix-cbd-20051213
Rainer Toebbicke [Tue, 13 Dec 2005 21:58:49 +0000]
fix-cbd-20051213

The attached patch makes the cbd program (the stand-alone version of
the fileserver's callback.c) work again.

(Now I expect 99% "what's that?" and 0% "what a relief!" reactions. As
a reminder that's one of the things you might go hunting for after a
'kill -XCPU' to the fileserver - this program is probably used
infrequently but the older you get... )

18 years agoman8-editing-pass-20051213
Russ Allbery [Tue, 13 Dec 2005 19:21:13 +0000]
man8-editing-pass-20051213

This completes the initial editing pass of the section eight man pages.
Only small amounts of content editing has been done.  Some known problems
have been noted in README, but there will doubtless be others, as well as
some lingering formatting problems.  However, the quality should now be
good enough for general public review.

Some of the section eight man pages were really supposed to be section one,
the package apropros and package help commands are too useless to document,
and a few of the difficult-to-name section five man pages have now acquired
names.