openafs.git
16 years agowindows-scache-refcount-race-20080207
Jeffrey Altman [Thu, 7 Feb 2008 21:20:02 +0000]
windows-scache-refcount-race-20080207

LICENSE MIT

if we are going to call a NoLock function better be holding the lock

16 years agowindows-multi-check-servers-20080207
Jeffrey Altman [Thu, 7 Feb 2008 20:27:47 +0000]
windows-multi-check-servers-20080207

LICENSE MIT

for multi must compute the host string from the ip address for each server

16 years agowindows-volstat-20080207
Jeffrey Altman [Thu, 7 Feb 2008 14:47:25 +0000]
windows-volstat-20080207

LICENSE MIT

When updating the volume status do not introduce a deadlock by holding
cm_serverLock

16 years agowindows-volstat-20080206
Jeffrey Altman [Thu, 7 Feb 2008 06:13:11 +0000]
windows-volstat-20080206

LICENSE MIT

Ensure that the volume status is always updated after a server_ref
status change.

16 years agowindows-multi-check-servers-20080206
Jeffrey Altman [Wed, 6 Feb 2008 19:29:44 +0000]
windows-multi-check-servers-20080206

LICENSE MIT

do not leak references

remove signed vs unsigned warnings

retry all RXGEN_OPCODE responses regardless of whether or not the entry
had to be moved to consolidate the list.

16 years agowindows-shell-add-symlink-20080206
Jeffrey Altman [Wed, 6 Feb 2008 17:53:12 +0000]
windows-shell-add-symlink-20080206

LICENSE MIT

No longer attempt to validate the target of the symlink.
There is no method of doing so reliably.

16 years agowindows-vnovol-20080206
Jeffrey Altman [Wed, 6 Feb 2008 16:45:29 +0000]
windows-vnovol-20080206

LICENSE MIT

VNOVOL means the volume could not be attached which from the client
perspective is the same as being offline.  The VLDB should not be
queried in response to this error.

16 years agohpux-dafs-inline-functions-20080206
Derrick Brashear [Wed, 6 Feb 2008 12:20:07 +0000]
hpux-dafs-inline-functions-20080206

LICENSE IPL10

fix this for hpux

16 years agowindows-cleanup-head-20080205
Jeffrey Altman [Wed, 6 Feb 2008 02:08:32 +0000]
windows-cleanup-head-20080205

LICENSE MIT

cleanup junk that does not belong

16 years agolinux-rx-kernel-listener-kill-task-directly-20080205
Derrick Brashear [Wed, 6 Feb 2008 01:23:50 +0000]
linux-rx-kernel-listener-kill-task-directly-20080205

LICENSE IPL10

as reported by cg2v@andrew.cmu.edu

16 years agowindow-wix-dependencies-two-20080205
Jeffrey Altman [Wed, 6 Feb 2008 01:13:47 +0000]
window-wix-dependencies-two-20080205

LICENSE MIT

afsvosadmin.dll is required by translate_et.exe

16 years agowindows-pioctl-path-charset-translation-20080205
Jeffrey Altman [Tue, 5 Feb 2008 20:48:30 +0000]
windows-pioctl-path-charset-translation-20080205

LICENSE MIT
FIXES 84279

Do not translate the character set of the pioctl path data.
These paths were not provided by the file system but by the end user.
Therefore, they were not converted to the OEM character set.

With this change the AFS shell context menu will be displayed for
non-ASCII file names when ANSI file names are being used as well
as the fs commands will work.

16 years agowindows-multi-checkservers-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:37:21 +0000]
windows-multi-checkservers-20080205

LICENSE MIT

Instead of probing servers one at a time, use multi_rx versions of
RXAFS_GetCapabilities, RXAFS_GetTime and VL_ProbeServer to permit
simultaneous probing of servers in constant time regardless of the
number of servers.

16 years agomulti-rx-calls-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:24:15 +0000]
multi-rx-calls-20080205

LICENSE MIT

Add multi versions of RXAFS_GetCapabilities, RXAFS_GiveUpAllCallBacks,
and VL_ProbeServer.

16 years agorxgen-multi-prototypes-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:17:44 +0000]
rxgen-multi-prototypes-20080205

LICENSE MIT

When 'multi' is applied to an RPC definition, rxgen produced split prototypes,
Start and End, but failed to produce the prototype for the normal RPC call.

16 years agowindows-down-time-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:10:34 +0000]
windows-down-time-20080205

LICENSE MIT

use clock time instead of osi_Time() for server down time tracking
for proper comparison with expiration times.

16 years agowindows-check-offline-volumes-20080205
Jeffrey Altman [Tue, 5 Feb 2008 17:07:13 +0000]
windows-check-offline-volumes-20080205

LICENSE MIT

Do not hold the cm_volume_t mutex across the RPC

16 years agowindows-wix-translate_et-20080205
Jeffrey Altman [Tue, 5 Feb 2008 16:56:49 +0000]
windows-wix-translate_et-20080205

LICENSE MIT

Install the dll dependencies for translate_et as part of the client
component.

16 years agodafs-windows-vnode-locking-20080204
Jeffrey Altman [Mon, 4 Feb 2008 22:41:28 +0000]
dafs-windows-vnode-locking-20080204

LICENSE MIT

allow Windows to build with dafs-vnode-locking-20080204

16 years agopts-localauth-20080204
Simon Wilkinson [Mon, 4 Feb 2008 19:41:49 +0000]
pts-localauth-20080204

LICENSE IPL10

distilled from changes by mdw@umich.edu

16 years agodafs-vnode-locking-20080204
Tom Keiser [Mon, 4 Feb 2008 18:50:54 +0000]
dafs-vnode-locking-20080204

LICENSE IPL10
FIXES 84778

* Vnode package concurrency model was overhauled. Unlike the old model,
where concurrency was controlled via reader/writer locks, the new model
uses a per-vnode finite state automata.
* add several new volume states to deal with volume vnode list operations
* a new FSSYNC command code was added to allow volume utilities to close
out a volume operation without causing the fileserver to mount the volume
* a new FSSYNC command code was added to allow volume utilities to
transition a volume into a hard error state
* the salvageserver has been modified to keep volume group partition
path data coherent with the fileserver (like many other parts of the
volume package, this code assumes all members of the group are stored on
the same vice partition)
* make salvageserver correctly handle volume state when a child worker
process terminates abnormally
* update volume pre-attachment code to deal with move volumes across
partitions on the same server
* add volume state sanity checks to more volume package interfaces
* original vos online patch introduced a race condition; rearchitect vos
online/offline to eliminate race condition, and reduce i/o load caused
by operation
* unify duplicate code in volserver related to servicing vos examine and
vos listvol requests
* add doxygen formatted comment blocks to numerous volume package elements
* various updates to fssync-debug to allow dumping vnode state, and
updates to deal with added volume and vnode states
* several 1.5-specific fixes related to fssync and salvsync

16 years agorx-xdr_rec-type-error-20080203
Jeffrey Altman [Mon, 4 Feb 2008 04:05:00 +0000]
rx-xdr_rec-type-error-20080203

LICENSE MIT

x_inline second parameter is unsigned

16 years agokauth-windows-handle-leak-20080203
Jeffrey Altman [Mon, 4 Feb 2008 03:56:13 +0000]
kauth-windows-handle-leak-20080203

LICENSE MIT

close() does not close sockets on Windows

16 years agorxmaxmtu-printf-format-error-20080203
Jeffrey Altman [Mon, 4 Feb 2008 03:50:05 +0000]
rxmaxmtu-printf-format-error-20080203

LICENSE MIT

correct improper format string

16 years agowindows-vista-resume-smb-binding-20080202
Jeffrey Altman [Sat, 2 Feb 2008 22:25:40 +0000]
windows-vista-resume-smb-binding-20080202

LICENSE MIT

another plane trip, more tweaks to the logic for handling re-binding
of the netbios name after a power management resume event.

16 years agowindows-dfs-referrals-symlinks-20082002
Jeffrey Altman [Sat, 2 Feb 2008 22:22:20 +0000]
windows-dfs-referrals-symlinks-20082002

LICENSE MIT

another small tweak to ensure that we don't create a symlink for "fo" when
a mountpoint or symlink for "foo" exists

16 years agowindows-cellservdb-location-20080202
Jeffrey Altman [Sat, 2 Feb 2008 13:38:50 +0000]
windows-cellservdb-location-20080202

LICENSE MIT

Modify the search order for determining the location of CellServDB
and other client configuration files.

1. AFSCONF environment variable
2. registry setting
3. NEW - use All Users\AppData\OpenAFS\Client only if CellServDB exists
4. use Program Files\OpenAFS\Client

16 years agowindows-more-cellservdb-consolidation-20080201
Jeffrey Altman [Sat, 2 Feb 2008 02:46:16 +0000]
windows-more-cellservdb-consolidation-20080201

LICENSE MIT

Merge cellconfig.c and the afsreg library.
Redefine the location of the client cellservdb directory in dirpath
in terms of the cellservdb direction and not the install directory.
(although they point at the same thing now by default.)

Future changes to the location of the cellservdb directory should
be made in afsreg.

16 years agowindows-client-config-cellservdb-20080201
Jeffrey Altman [Sat, 2 Feb 2008 00:23:44 +0000]
windows-client-config-cellservdb-20080201

LICENSE MIT

modify cellservdb.c to use cm_GetCellServDB() from libafsconf.dll.
This results in both libadmin and the afs client control panel using
the same CellServDB as the rest of the system.

16 years agowindows-build-system-20080201
Jeffrey Altman [Sat, 2 Feb 2008 00:18:27 +0000]
windows-build-system-20080201

LICENSE MIT

re-order the building of directories so that libafsconf.dll is built
before other directories that might want to use it.

16 years agowindows-refactor-cm_config-20080201
Jeffrey Altman [Fri, 1 Feb 2008 21:42:17 +0000]
windows-refactor-cm_config-20080201

LICENSE MIT

cm_config.c was a nightmare.  there were several functions that each
computed the location of the OpenAFS Client configuration directory
in a slightly different way.  Now there is a single exported function
that determines the directory, and another that determines the name
of the CellServDB file.  All of the other functons in cm_config.c and
throughout the src/WINNT/afsd directory now use those two functions.

The new rule for determining the location of the OpenAFS Client
configuration directory and hence the CellServDB file location is:

1. check the AFSCONF environment variable
2. check the HKLM\SOFTWARE\OpenAFS\Client   CellServDBDir registry value
3. use AFSDIR_CLIENT_ETC_DIRPATH which currently refers to
   \Program Files\OpenAFS\Client

16 years agoh-enumerate-less-heavyhanded-check-20080201
Derrick Brashear [Fri, 1 Feb 2008 21:31:32 +0000]
h-enumerate-less-heavyhanded-check-20080201

LICENSE IPL10

if hostCount is too small this is fine or at least not fatal

16 years agowindows-netidmgr-20080201
Jeffrey Altman [Fri, 1 Feb 2008 21:14:40 +0000]
windows-netidmgr-20080201

LICENSE MIT

afs/stds.h before all others

16 years agopoll-drop-fsync-lock-20080201
Simon Wilkinson [Fri, 1 Feb 2008 15:25:52 +0000]
poll-drop-fsync-lock-20080201

LICENSE IPL10

update to drop fsync lock if we're using poll

16 years agosolaris10-cleanup-friendliness-20080130
Derrick Brashear [Thu, 31 Jan 2008 20:17:45 +0000]
solaris10-cleanup-friendliness-20080130

LICENSE IPL10

based on patch from mib@unimelb.edu.au

clean up taskq after ourselves and don't leave ourself marked system processes

16 years agowindows-noprobe-20080131
Jeffrey Altman [Thu, 31 Jan 2008 16:09:56 +0000]
windows-noprobe-20080131

LICENSE MIT

do not mark servers down if they are not probed.

16 years agowindows-edquot-20080131
Jeffrey Altman [Thu, 31 Jan 2008 07:26:26 +0000]
windows-edquot-20080131

LICENSE MIT

For Windows, EDQUOT == WSAEDQUOT.   Define it in the right places
so that in the end STATUS_OUT_OF_QUOTA can be returned to the application.

16 years agowindows-fs-newcell-20080130
Jeffrey Altman [Thu, 31 Jan 2008 05:47:34 +0000]
windows-fs-newcell-20080130

LICENSE MIT

prevent the afs client service from crashing when fs newcell is executed

16 years agowindows-nsis-installer-20080130
Jeffrey Altman [Thu, 31 Jan 2008 03:01:46 +0000]
windows-nsis-installer-20080130

LICENSE MIT

move afslogon.dll, afscpcc.exe and afs_cpa.cpl to
\Program Files\OpenAFS\Client\Program in order to get them out
of the %windir% tree

16 years agorx-edquot-20080130
Jeffrey Altman [Thu, 31 Jan 2008 00:25:59 +0000]
rx-edquot-20080130

LICENSE MIT

Conditionalize error translation on the existence of EDQUOT not
on platform macros

16 years agolinux-keytype-exports-20080130
Simon Wilkinson [Wed, 30 Jan 2008 17:30:23 +0000]
linux-keytype-exports-20080130

LICENSE IPL10

try to work even if key_type_keyring isn't exported

16 years agolinux-rx-kernel-listener-kill-task-directly-20080130
Simon Wilkinson [Wed, 30 Jan 2008 17:25:42 +0000]
linux-rx-kernel-listener-kill-task-directly-20080130

LICENSE IPL10

based on work from shadow@dementia.org

since the tasklist lock and rcu stuff can/will be de-exported, and we don't
need it anyway...

16 years agowindows-ipaddr-change-server-deadlock-20080130
Jeffrey Altman [Wed, 30 Jan 2008 14:53:44 +0000]
windows-ipaddr-change-server-deadlock-20080130

LICENSE MIT

avoid a deadlock during server probes initiated by the ipaddr change
daemon thread.

(missed a case in DELTA windows-ipaddr-change-server-deadlock-20080106)

16 years agosyncvl-fix-bogus-rw-update-20080129
Alistair Ferguson [Tue, 29 Jan 2008 20:39:31 +0000]
syncvl-fix-bogus-rw-update-20080129

LICENSE IPL10

pass in a ref to entry correctly

16 years agowindows-lanahelper-20080128
Jeffrey Altman [Tue, 29 Jan 2008 00:20:33 +0000]
windows-lanahelper-20080128

LICENSE MIT

The algorithms that were used to produce a Netbios name were broken.
The name that was produced when the hostname was too long was in fact
longer than the maximum permitted netbios name.

Also, the "NetbiosName" value was not used as a suffix when the loopback
adapter was not installed.  The hardcoded string "AFS" was used instead.

16 years agowindows-network-type-allocation-20080128
Jeffrey Altman [Mon, 28 Jan 2008 19:49:51 +0000]
windows-network-type-allocation-20080128

LICENSE MIT

Microsoft has defined for us:

#define     WNNC_NET_OPENAFS     0x00390000

16 years agorevert-linux-2624-rc5-updates-20080127
Derrick Brashear [Mon, 28 Jan 2008 19:29:49 +0000]
revert-linux-2624-rc5-updates-20080127

LICENSE IPL10
FIXES 83716

the generic 2.6.24 patch should address all this.

16 years agosysctl-table-checking-modpost-fun-fun-20080127
Marc Dionne [Mon, 28 Jan 2008 19:13:46 +0000]
sysctl-table-checking-modpost-fun-fun-20080127

LICENSE IPL10
FIXES 83890

try again to do something sensible so we don't default wrong

16 years agowindows-freelance-improved-dfs-handling-20080127
Jeffrey Altman [Mon, 28 Jan 2008 07:22:32 +0000]
windows-freelance-improved-dfs-handling-20080127

LICENSE MIT

Cell names are published as share names.  As a result they are searched
for as part of the Dfs Referral evaluation.  If share "foo" can not be
reached, the CIFS client will fallback to searching for "fo" as well.

Since the freelance client automatically adds a symlink for prefixes
of the cell name, this results in both "foo" and "fo" being added to
the freelance root.afs volume.  This patch prevents that negative side
effect.

16 years agowindows-afskfw-20080127
Jeffrey Altman [Mon, 28 Jan 2008 07:12:09 +0000]
windows-afskfw-20080127

LICENSE MIT

when tracking ccache names be sure to include the cache type prefix.

16 years agoafsdb-fix-20080126
Derrick Brashear [Mon, 28 Jan 2008 01:37:38 +0000]
afsdb-fix-20080126

LICENSE IPL10

pull bugfix from 1.4

16 years agomacos-panic-decoder-20080127
Jason Edgecombe [Sun, 27 Jan 2008 18:44:28 +0000]
macos-panic-decoder-20080127

LICENSE BSD

panic log decoder from Jason. Still needs some work for Leopard but we should
be able to make a go of this

16 years agoredhat-support-dkms-20080124
Derrick Brashear [Thu, 24 Jan 2008 23:55:02 +0000]
redhat-support-dkms-20080124

LICENSE IPL10

attempt to provide dkms support.
this does work on my fc8 test host. it may not work in all cases.

16 years agotests-update-20080124
Mike Meffie [Thu, 24 Jan 2008 23:44:38 +0000]
tests-update-20080124

LICENSE IPL10

update test scripting

16 years agorxkad-v5-dot-check-20080124
Jeffrey Altman [Thu, 24 Jan 2008 16:05:58 +0000]
rxkad-v5-dot-check-20080124

LICENSE MIT

Export rx_SetSecurityConfiguration on Windows

16 years agowindows-get-volume-no-reset-flag-20080124
Jeffrey Altman [Thu, 24 Jan 2008 15:29:56 +0000]
windows-get-volume-no-reset-flag-20080124

LICENSE MIT

There are circumstances where a volume object is being accessed and the
volume is marked indicating that the volume location information is out
of date but where it is also pointless and perhaps dangerous to block
waiting for the rpc to complete.  One example is when processing the
cmdebug requests.  If we know that we are not going to use the volume
object to contact a server, then we can now set the CM_GETVOL_FLAG_NO_RESET
flag.

16 years agowindows-symlink-dot-dot-20080124
Jeffrey Altman [Thu, 24 Jan 2008 15:17:57 +0000]
windows-symlink-dot-dot-20080124

LICENSE MIT

when moving up in the directory tree we search the recorded fid list to
find a matching fid that we have already crossed.  we must also reset
the fid count based upon what we discover.

16 years agoredhat-spec-more-arches-20080123
Derrick Brashear [Wed, 23 Jan 2008 21:37:01 +0000]
redhat-spec-more-arches-20080123

LICENSE IPL10

support sprc, sparc64, ppc, ppc64, s390, s390x. we should be able to cope with
all these. if not, fix it.

16 years agolinux-key-type-detection-once-20080123
Derrick Brashear [Wed, 23 Jan 2008 13:47:23 +0000]
linux-key-type-detection-once-20080123

LICENSE IPL10

doubled configure test from 2 sources.

16 years agoredhat-kmodtool-20080122
Simon Wilkinson [Wed, 23 Jan 2008 05:29:03 +0000]
redhat-kmodtool-20080122

LICENSE IPL10

install simon's modified kmodtool

16 years agorxkad-v5-dot-check-20080122
Simon Wilkinson [Wed, 23 Jan 2008 04:13:55 +0000]
rxkad-v5-dot-check-20080122

LICENSE IPL10
FIXES 75101

give an option to not enforce the dotted principal check. document it.

16 years agoviced-fsync-glock-creation-20080122
Derrick Brashear [Wed, 23 Jan 2008 03:20:13 +0000]
viced-fsync-glock-creation-20080122

LICENSE IPL10

create fsync glock and cond before we initialize volume package. oops?

16 years agoredhat-packaging-keep-up-with-the-joneses-20080122
Derrick Brashear [Tue, 22 Jan 2008 21:03:51 +0000]
redhat-packaging-keep-up-with-the-joneses-20080122

LICENSE IPL10

track new manpages

16 years agovos-volser-enhancements-20080121
Derrick Brashear [Tue, 22 Jan 2008 05:15:15 +0000]
vos-volser-enhancements-20080121

LICENSE IPL10

add option to addsite to allow adding a site where there is already a release-
equivalent volume resident, where thus we don't want to mark unreleased

(possible by dumping an existing RO and restoring with -readonly at the
 new site)

add ability to vos clone to a readonly or backup with the correct ID and name

add ability when restoring a RW to a new site to leave the volume at the old
site intact

all changes are internal to vos and can be used with any OpenAFS from 2006
or later (supporting changes in namei to not create volumes with bad parent
id went in in December 2005)

16 years agotests-update-20080121
Mike Meffie [Mon, 21 Jan 2008 21:04:35 +0000]
tests-update-20080121

LICENSE IPL10

update test scripting

16 years agomacos-packaging-using-afs-conf-when-possible-20080121
Evan Broder [Mon, 21 Jan 2008 21:03:48 +0000]
macos-packaging-using-afs-conf-when-possible-20080121

LICENSE IPL10
FIXES 81825

switch to afs.conf as other ports use instead of afsd.options,
when possible

16 years agomake-avoid-double-slash-20080121
Derrick Brashear [Mon, 21 Jan 2008 18:36:02 +0000]
make-avoid-double-slash-20080121

LICENSE IPL10

avoid having double / in make commands

16 years agosolaris-vfsroot-refcount-issue-20080121
Jeffrey Hutzelman [Mon, 21 Jan 2008 17:34:00 +0000]
solaris-vfsroot-refcount-issue-20080121

LICENSE IPL10

fix issue with afs root vnode refcount dropping to 0

16 years agoredhat-spec-update-20080121
Simon Wilkinson [Mon, 21 Jan 2008 17:08:22 +0000]
redhat-spec-update-20080121

LICENSE IPL10

update specfile to default to fedorakmod

16 years agolibafs-linux-dest-right-things-20080121
Derrick Brashear [Mon, 21 Jan 2008 14:18:11 +0000]
libafs-linux-dest-right-things-20080121

LICENSE IPL10

"duh"

make it like the install rules

16 years agovos-restore-incrementals-no-orphans-really-20080121
Derrick Brashear [Mon, 21 Jan 2008 14:04:34 +0000]
vos-restore-incrementals-no-orphans-really-20080121

LICENSE IPL10
FIXES 46937

based on comments from jhutz@cmu.edu; runnign thread in the ticket

16 years agoman-page-fileserver-limits-20080119
Jason Edgecombe [Sun, 20 Jan 2008 00:06:49 +0000]
man-page-fileserver-limits-20080119

LICENSE BSD

Document the 2TB volume and partition limits and the -abortthreshold flag
to the AFS fileserver.

16 years agowindows-cm_ioctl_query_opts-20080115
Jeffrey Altman [Wed, 16 Jan 2008 03:16:19 +0000]
windows-cm_ioctl_query_opts-20080115

LICENSE MIT

The path ioctl operations have several issues:

(1) the specified path for "fs examine, whereis, whichcell, flush" and so
    always has the follow symlinks and mount points semantics.  This makes
    it impossible to determine what the FID of a symlink or mount point is.

(2) "fs examine" out is not the result of a single pioctl operation but is
    actually the combined output of half a dozen operations.  Path evaluation
    is an expensive operation.  It would be faster if the caller could
    evaluate the FID first and then perform all of the rest of the operations
    by specifying the FID instead of the path.

(3) fs output reports all objects as files.  By adding a GetFileType
    pioctl more informative output can be provided that indicates what
    type of object the path evaluates to.

(4) the Windows fs command includes a number of commands that do nothing
    but exist only because the Unix cache manager supports them.

This delta adds a new extendible data structure cm_ioctl_query_opts_t which
can be optionally specified with pioctls that do not already require
input data.  The first two fields of this structure are 'literal' and
'fid'.  The literal field is used to indicate whether the last component
of the path should be evaluated following symlinks and mount points.
The fid field permits a fid to be specified.

A new GetFileType pioctl has been added. The type of objects are now
output.

A new "-literal" option is available for "fs examine, flush, whereis, and
whichcell.

Unimplemented fs commands have been removed.

16 years agoredhat-makesrpm-deal-with-cellservdb-20080115
Derrick Brashear [Tue, 15 Jan 2008 23:42:08 +0000]
redhat-makesrpm-deal-with-cellservdb-20080115

LICENSE IPL10

autofetch the CellServDB based on the spec or let one be provided

16 years agofbsd-70-updates-20080115
Matt Benjamin [Tue, 15 Jan 2008 06:04:49 +0000]
fbsd-70-updates-20080115

LICENSE IPL10
FIXES 82847

updates to make us build on freebsd 7.0

16 years agoarm-linux-20080115
Derrick Brashear [Tue, 15 Jan 2008 05:20:49 +0000]
arm-linux-20080115

LICENSE IPL10

make an arm linux port.

16 years agoman-page-cmdebug-updates-20080113
Jason Edgecombe [Mon, 14 Jan 2008 04:55:21 +0000]
man-page-cmdebug-updates-20080113

LICENSE BSD

Add -ctime and -cellservdb options to the cmdebug man page and improve
example host names and SEE ALSO references.

16 years agocmd-nname-20080113
Jeffrey Altman [Sun, 13 Jan 2008 15:32:24 +0000]
cmd-nname-20080113

LICENSE MIT

Nname() is used to concatenate two strings and is frequently used with
the first string being the name of the executable perhaps with a full
path.  The static buffer specified is too small for a full path and
there was no protection against writing beyond the end of it.

16 years agowindows-pioctl-parse-path-20080113
Jeffrey Altman [Sun, 13 Jan 2008 14:37:04 +0000]
windows-pioctl-parse-path-20080113

LICENSE MIT

Apply the desired "follow symlinks/mountpoints" semantics to the single
component non-UNC case.

16 years agowindows-explorer-shell-symlinks-show-20080112
Jeffrey Altman [Sat, 12 Jan 2008 23:29:59 +0000]
windows-explorer-shell-symlinks-show-20080112

LICENSE MIT

Add AFS->Symlnks->Show dialog to the explorer shell menu

16 years agocmdebug-cellservdb-20080112
Jeffrey Altman [Sat, 12 Jan 2008 15:43:37 +0000]
cmdebug-cellservdb-20080112

LICENSE MIT

Add -cellservdb option to the cmdebug command.

This option will retrieve the volume location database information
for all cells known to the cache manager and output the data in the
format required by the CellServDB file.

This functionality is supported by the UNIX cache managers and
Windows cache managers 1.5.31 and later.

16 years agoconfig-cvsignore-update-20080111
Derrick Brashear [Fri, 11 Jan 2008 22:38:48 +0000]
config-cvsignore-update-20080111

LICENSE IPL10

ignore generated Makefile.SYSNAME.in

16 years agowindows-callback-getcellservdb-20080111
Jeffrey Altman [Fri, 11 Jan 2008 19:09:20 +0000]
windows-callback-getcellservdb-20080111

LICENSE MIT

Add support for RXAFS_GetCellServDB.  Implemented by generalizing
RXAFS_GetCellByNum and special casing the index values to do the
right thing.

Conditionalize grabbing the callp->lock in the callback functions.
The race conditions in rx have long since been fixed and the potential
for deadlocks are too great.

Add a new flag CM_FLAG_NOPROBE for use in calls to cm_GetCell.  When
set the newly discovered servers will not be immediately probed.  Useful
when setting tokens, setting server preferences, or responding to cmdebug
callbacks.

16 years agowindows-smb-synchronization-20080110
Jeffrey Altman [Thu, 10 Jan 2008 23:48:02 +0000]
windows-smb-synchronization-20080110

LICENSE MIT

1. prevent stopping the smb_Listeners due to an ip addr change when the
LANA is determined either by registry assignment or loopback detection

2. add synchronization logic to prevent smb_Listener restarts prior to
   smb_Listener thread stoppage

3. no longer permit panics from smb_Listener threads

4. move the probe logic from cm_IPAddrDaemon thread to the cm_Daemon
   thread in order to avoid the loss of ip addr change events.  If an
   adapter stops and restarts fast enough there might not be anything
   for us to do.

16 years agolinux-2624-rc5-updates-20080110
Matt Benjamin [Thu, 10 Jan 2008 16:58:30 +0000]
linux-2624-rc5-updates-20080110

LICENSE IPL10
FIXES 80463

Include linux/key-type.h in osi_groups.c, if it exists. Fix
do_sync_read test for recent kbuild (maybe break it for [some older 2.6]).

16 years agoredhat-make-srpm-script-20080109
Simon Wilkinson [Wed, 9 Jan 2008 19:36:59 +0000]
redhat-make-srpm-script-20080109

LICENSE IPL10

srpm builder script

16 years agowindows-smb-name-deleted-20080109
Jeffrey Altman [Wed, 9 Jan 2008 15:25:07 +0000]
windows-smb-name-deleted-20080109

LICENSE MIT

if the smb_Listener receives NRC_NAMERR (name deleted) it must be because
an smb shutdown has occurred.  do not panic.

16 years agowindows-pioctl-follow-mountpoints-registry-20080108
Jeffrey Altman [Wed, 9 Jan 2008 06:03:10 +0000]
windows-pioctl-follow-mountpoints-registry-20080108

LICENSE MIT

Add a registry value "PioctlFollowMountPoint" to permit the use of the
old pioctl path evaluation behavior that always followed mountpoints
and symlinks.

16 years agosmb-even-less-chatty-20080108
Jeffrey Altman [Tue, 8 Jan 2008 22:28:39 +0000]
smb-even-less-chatty-20080108

LICENSE MIT

remove the smb_RestartListeners message entirely

16 years agowindows-daemon-20080108
Jeffrey Altman [Tue, 8 Jan 2008 22:03:12 +0000]
windows-daemon-20080108

LICENSE MIT

sleep 10 seconds between cycles.  should make this configurable.

16 years agowindows-smb-logging-20080108
Jeffrey Altman [Tue, 8 Jan 2008 21:59:28 +0000]
windows-smb-logging-20080108

LICENSE MIT

Be less chatty

16 years agowindows-callback-missing-bang-20080108
Jeffrey Altman [Tue, 8 Jan 2008 21:26:46 +0000]
windows-callback-missing-bang-20080108

LICENSE MIT

Insert a missing bang that results in a null pointer dereference
when processing a callback from an unrecognized server.

16 years agoobsd-more-stack-20080108
Jim Rees [Tue, 8 Jan 2008 17:18:57 +0000]
obsd-more-stack-20080108

make stack bigger in volserver and fileserver
eliminates overflow in k5 library

16 years agoobsd-lock-no-interlock-20080108
Jim Rees [Tue, 8 Jan 2008 17:04:30 +0000]
obsd-lock-no-interlock-20080108

restore lock vnode op, but without vnode interlock for obsd 4.2

16 years agowindows-nim-afscred-identity-initialization-20080108
Asanka Herath [Tue, 8 Jan 2008 17:04:19 +0000]
windows-nim-afscred-identity-initialization-20080108

LICENSE MIT

One of the challenges to deploying NIM has been the configuration of
AFS token acquisition.  This patch adds a new registry key hierarchy

  HKLM\SOFTWARE\OpenAFS\Client\Realms

which is used to configure the AFS Provider for a new identity based
upon the realm of the identity.  The Realms key contains subkeys for
each realm for which configuration data is being provided

  HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"

"RealmName" contains one optional value, "AFSEnabled", and subkeys for
each Cell that is to be added to the configuration.  "AFSEnabled" defaults
to 0x01.

   HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"\"CellName"

In "CellName", there are two optional values, "Realm" and "MethodName".
If the values are not specified, the automatic realm and method determination
algorithms are used.

These values can be added to an MSI transform or deployed via Group Policy.

16 years agowindows-smb-started-synchronization-20080108
Jeffrey Altman [Tue, 8 Jan 2008 07:04:51 +0000]
windows-smb-started-synchronization-20080108

LICENSE MIT

Add a new mutex "smb_StartedMutex" which is used to protect the
transitions between the various smb_ListenerState values.

16 years agowindows-printf-format-string-protection-20080108
Jeffrey Altman [Tue, 8 Jan 2008 06:27:36 +0000]
windows-printf-format-string-protection-20080108

LICENSE MIT

Do not pass strings generated from incoming network data to ??printf
as the format string.  Instead use a format string of "%s".  This protects
against %? expansions being inserted in the string.

16 years agoviced-hpr-error-handling-20080107
Derrick Brashear [Mon, 7 Jan 2008 20:22:10 +0000]
viced-hpr-error-handling-20080107

LICENSE IPL10

fix ubik reinit issue reported by jhutz@cs

16 years agosys-syscall-object-dependency-20080107
Derrick Brashear [Mon, 7 Jan 2008 20:10:27 +0000]
sys-syscall-object-dependency-20080107

LICENSE IPL10

make syscall.o always be created, some makes don't deal with the implicit requirement

16 years agolinux-probe-warning-case-20080107
Russ Allbery [Mon, 7 Jan 2008 18:14:54 +0000]
linux-probe-warning-case-20080107

LICENSE MIT

Some older Linux kernels prefix warnings with "Warning:" rather than
"WARNING:", so do the grep case-insensitively when finding missing symbols.