Derrick Brashear [Thu, 25 Oct 2007 04:42:07 +0000]
macos-installer-crap-
20071025
put it back the way it was
Simon Wilkinson [Wed, 24 Oct 2007 16:44:26 +0000]
linux-nfstrans-
20071024
FIXES 75233
better track changes so we can build an nfstranslator module for new linux kernels
Dan Hyde [Wed, 24 Oct 2007 16:33:31 +0000]
cblater-bitmask-bug-
20071024
FIXES 75304
add missing ()
Derrick Brashear [Wed, 24 Oct 2007 06:40:12 +0000]
darwin-allow-finder-to-unlink-rsrc-files-
20071024
finder tries hard to clean up resource fork files it creates when you drop something in a dropbox that don't then get updates.
let it think it won
Chaskiel M Grundman [Wed, 24 Oct 2007 06:25:46 +0000]
finder-and-tiger-cp-deal-with-dropboxes-
20071024
FIXES 69363
this way copying finishes
Jeffrey Altman [Wed, 24 Oct 2007 04:49:07 +0000]
windows-wix-nsis-uninstall-
20071023
At somepoint windows installer broke the use of the 'file' RegistrySearch
type. Instead of returning the full file name path we are only getting
the directory. Switch to using the 'raw' type since we know we aren't
prefixing the file name with a hash.
Mike Meffie [Tue, 23 Oct 2007 23:36:06 +0000]
afs-shutdown-free-resources-
20071023
try hard to free resources
Derrick Brashear [Tue, 23 Oct 2007 18:37:58 +0000]
darwin-uio-64-
20071023
use the 64 bit awareness in the KPI
Jason Edgecombe [Tue, 23 Oct 2007 17:59:16 +0000]
pod-man-fs-uuid-
20071023
FIXES 75175
add man page for fs uuid
Derrick Brashear [Tue, 23 Oct 2007 15:28:22 +0000]
darwin-afsd-cleanup-power-notification-nicely-
20071023
don't drop a core on shutdown
Derrick Brashear [Tue, 23 Oct 2007 15:19:07 +0000]
vos-restore-check-doesnt-apply-to-pipes-
20071023
as pointed out by hung pham
Derrick Brashear [Tue, 23 Oct 2007 01:30:03 +0000]
darwin-modify-cp-workaround-
20071022
more work will be needed to fool finder into just copying the d**n file, since
it's checking too hard.
Derrick Brashear [Tue, 23 Oct 2007 01:02:39 +0000]
change-default-probeint-for-rfc4787-
20071022
an RFC compliant port mapping device guarantees less time than we previously probed.
Simon Wilkinson [Mon, 22 Oct 2007 18:29:28 +0000]
fssync-poll-interface-
20071022
FIXES 74708
support a poll interface
otherwise, the fd setsize can screw with us
Simon Wilkinson [Mon, 22 Oct 2007 14:21:26 +0000]
cpp-avoid-cc-E-
20071022
finding the right cpp is good. having it not be cc -E is better
Jeffrey Altman [Mon, 22 Oct 2007 04:32:09 +0000]
windows-ntstatus-warnings-
20071021
suppress warnings caused by multiple definitions of NTSTATUS values
Jeffrey Altman [Mon, 22 Oct 2007 04:27:14 +0000]
windows-del-symlink-
20071021
The cmd.exe "del" command operates by opening a file and then setting
the file disposition to delete on close followed by closing the file.
When the filename is a symlink, the smb_fid_t scp refers to the final
destination object and not the symlink. In smb_CloseFid() the correct
object would be removed from the directory by name, but the wrong cm_scache_t
would be marked deleted. This would result in subsequent references to
the target file being considered invalid.
Fix it by looking up the cm_scache_t of the symlink prior to performing
the deletion.
Jeffrey Altman [Sat, 20 Oct 2007 04:58:40 +0000]
windows-registry-OfflineReadOnlyIsValid-
20071019
Add registry value "OfflineReadOnlyIsValid" option. When set to non-zero
value, an offline or down read only volume will be treated as if it has
a valid callback even if it doesn't.
Arno Schuring [Sat, 20 Oct 2007 01:20:51 +0000]
cpp-autoconf-located-
20071019
let autoconf find cpp
Derrick Brashear [Fri, 19 Oct 2007 21:37:15 +0000]
darwin80-dnlc-dont-return-deadvnodes-
20071019
FIXES 41550
obvious. if we are going to be like GetVCache, we should
Jeffrey Altman [Fri, 19 Oct 2007 05:25:39 +0000]
windows-pioctl-parse-path-
20071018
cm_ParseIoctlPath() moves the ioctlp->inDatap past the ioctl path
to the next data value if there is one. Make sure we move the pointer
before we alter the contents of the buffer. Otherwise, the caller
uses the wrong string for its next data blob.
Jeffrey Altman [Thu, 18 Oct 2007 23:06:35 +0000]
windows-pioctl-error-codes-
20071018
add knowledge of new cm error codes
Jeffrey Altman [Thu, 18 Oct 2007 06:27:40 +0000]
windows-freelance-symlink-
20071018
More tweaking of the IoctlPathParsing code.
Add special handling for many more pioctl operations performed on
the Freelance root.afs volume.
Add informative error values for symlink freelance operations.
Jeffrey Altman [Thu, 18 Oct 2007 06:24:39 +0000]
windows-smb-
20071018
refactoring, suppression of duplicate status value definition warnings,
and removal of old pattern matching code
Jeffrey Altman [Thu, 18 Oct 2007 06:20:08 +0000]
windows-afskfw-
20071018
Add SOFTWARE\OpenAFS\Client AcceptDottedPrincipalNames registry
value to control whether the use of Kerberos v5 principal names
with dots in the first component are permitted.
Derrick Brashear [Thu, 18 Oct 2007 05:11:16 +0000]
redhat-spec-require-bison-flex-
20071018
require everything we need to build
Derrick Brashear [Thu, 18 Oct 2007 05:02:42 +0000]
redhat-packaging-updates-
20071018
make the buildall script know centos and new fedora; make the spec file include it
Derrick Brashear [Wed, 17 Oct 2007 21:32:38 +0000]
darwin-fsref-other-races-
20071017
FIXES 41550
not clear this is exactly correct but testing seems to vet it.
Chaskiel M Grundman [Wed, 17 Oct 2007 18:16:19 +0000]
darwin-finalizevnode-get-vnode-inside-lock-
20071017
FIXES 41550
the ovp initialization should happen while we have the vnode locked, regardless.
Derrick Brashear [Wed, 17 Oct 2007 15:32:50 +0000]
afs-shutdown-free-resources-
20071017
try hard to free resources
Derrick Brashear [Wed, 17 Oct 2007 04:46:19 +0000]
darwin90-disk-cache-
20071016
FIXES 43303
don't break memcache, also
Douglas Engert [Tue, 16 Oct 2007 22:55:38 +0000]
translator-sysnamelist-bugfix-
20071016
FIXES 74478
fix sysname list support bug when the list is empty
Jeffrey Altman [Tue, 16 Oct 2007 18:24:31 +0000]
windows-fs-uuid-
20071016
do not require afs client administrator access to display the current
Uuid value.
Jason Edgecombe [Tue, 16 Oct 2007 18:18:28 +0000]
fs-uuid-
20071016
FIXES 74473
Change "fs uuid" to "fs uuid -generate" where "-generate" is a
required parameter.
This command requires root access to execute it.
Unlike the Windows variant, the UNIX version does not yet support displaying
the current UUID to the user. When this functionality is added, "-generate"
should become an optional parameter.
Jeffrey Altman [Tue, 16 Oct 2007 17:55:10 +0000]
restore-
20071016
FIXES 74531
afs_com_err() was called without specifying the error code.
Derrick Brashear [Mon, 15 Oct 2007 20:19:03 +0000]
darwin-access-avoid-confusing-cp-
20071015
FIXES 69363
it wants EPERM; EACCES, and it just retries forever.
"no means no. now go away"
Derrick Brashear [Mon, 15 Oct 2007 18:23:54 +0000]
darwin-install-fstrace-catalog-
20071015
fstrace needs the message catalog to be useful. install it.
Derrick Brashear [Mon, 15 Oct 2007 18:00:58 +0000]
redhat-spec-no-kdump-really-
20071015
make really, really sure it's not there
Rainer Toebbicke [Mon, 15 Oct 2007 15:13:42 +0000]
volser-return-extended-stats-to-callers-
20071015
FIXES 74398
make sure when we roll over stats we return the new values
Jeffrey Altman [Mon, 15 Oct 2007 04:18:30 +0000]
windows-clean-eventlog-
20071014
delete AFS_component_version_number.h in the lang subdirectory
Jeffrey Altman [Mon, 15 Oct 2007 03:32:12 +0000]
windows-pioctl-two-
20071014
Two more locations where an intermediary path of length zero should
be ignored.
Jeffrey Altman [Sun, 14 Oct 2007 06:54:06 +0000]
windows-pioctl-
20071014
do not parse an intermediary path if the path length is 0
Derek Atkins [Fri, 12 Oct 2007 05:28:55 +0000]
rpm-kmodule-patch-
20071012
install the openafs module in the kernel module area, in rpms
Marc Dionne [Thu, 11 Oct 2007 18:44:53 +0000]
gcc42-integer-overflow-fix-
20071007
fix issue where gcc 4.2 compiled kernel modules were breaking on linux
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
with fix from Hans-Werner Pulsen
====================
with fix from Hans-Werner Pulsen
Derrick Brashear [Thu, 11 Oct 2007 17:51:56 +0000]
macos-version-generation-
20071011
make release time simpler
Simon Wilkinson [Thu, 11 Oct 2007 17:38:56 +0000]
rpm-files-update-
20071011
updates for the specfile and rpm generation
Jeffrey Altman [Wed, 10 Oct 2007 19:50:25 +0000]
windows-freelance-pioctl-two-
20071010
explicitly process the last component of the path separately and do not
follow symlinks or chase mountpoints on the last component.
Derrick Brashear [Wed, 10 Oct 2007 18:38:45 +0000]
darwin90-disk-cache-
20071010
FIXES 43303
support disk cache in darwin90
Jeffrey Altman [Wed, 10 Oct 2007 17:05:47 +0000]
windows-build-xstat-
20071010
build xstat directory
Jeffrey Altman [Wed, 10 Oct 2007 16:43:30 +0000]
windows-clean-eventlog-
20071010
clean eventlog/lang/AFS_component_version_number.h
Jeffrey Altman [Wed, 10 Oct 2007 16:37:25 +0000]
windows-installer-wix-
20071010
Later versions of the wix toolset require that all variables be defined
with a value.
Jeffrey Altman [Wed, 10 Oct 2007 16:20:29 +0000]
windows-freelance-pioctl-
20071010
pioctl commands were failing with CM_ERROR_NOSUCHCELL because the
Freelance cell object was not being added to the Cell Name and ID
hash tables.
ParseIoctlPath was not consistently returning the FID of the specified
symlink or mount point object. The was still one more case in which
CM_FLAG_FOLLOW was being specified left over from
windows-parse-ioctl-path-
20070629. Changed the use of CM_FLAG_FOLLOW
into a 'follow' variable to ease testing and permit easy migration to
adding a 'follow' parameter to the function.
RXAFS_GetVolumeStatus is always going to fail for Freelance volumes.
Fake the response data.
UpdateVolume() was performing the wrong test for Freelance volumes.
Freelance volumes should not be marked offline even though they have
no servers.
Derrick Brashear [Tue, 9 Oct 2007 22:28:18 +0000]
darwin90-debug-harder-
20071009
stab the stabs
Derrick Brashear [Tue, 9 Oct 2007 22:26:24 +0000]
taking-rx-back-into-the-20th-century-
20061228
ken's patch is now on the ipv6 branch
Derrick Brashear [Tue, 9 Oct 2007 16:58:47 +0000]
darwin90-dsym-and-ppc-cputype-support-
20071009
build for all ppc cputypes. also, support dsym debug info instead of stabs, when appropriate
Derrick Brashear [Fri, 5 Oct 2007 23:16:36 +0000]
sol10-abstraction-
20071005
abstract things as needed
Tom Keiser [Fri, 5 Oct 2007 04:30:19 +0000]
dafs-listen-after-restoring-state-
20071004
don't start rx server until the previous state has been loaded
Derrick Brashear [Fri, 5 Oct 2007 04:22:27 +0000]
vol-salvager-avoid-logging-to-nothing-
20071004
check for logFile before using
Marc Dionne [Fri, 5 Oct 2007 04:07:27 +0000]
linux-2623-support-
20071004
FIXES 70773
update for support for 2.6.23
Dale Ghent [Fri, 5 Oct 2007 03:22:11 +0000]
solaris10-network-updates-
20071004
FIXES 72759
This patch removes use of the non-Public ILL structures by OpenAFS to
gather network interface information in order to make RX packet size
and server locality decisions.
Jeffrey Altman [Thu, 4 Oct 2007 15:11:07 +0000]
windows-btree-rename-case-only-
20071004
Attempts to rename by case only would fail when there are more than
one ambiguous matches. The list of data nodes would be corrupted
and future tree manipulations could result in a crash.
Jeffrey Altman [Wed, 3 Oct 2007 16:27:53 +0000]
libadmin-minimize-dns-lookups-
20071003
Some cells have a large number of servers listed in the vldb that
no longer exist and/or do not have PTR records in DNS. The algorithm
used to obtain the "server names" from IP addresses involves opening
a cell handle, creating an iterator of all servers, and then iterating
over them until a match is found for the IP address. This is done for
every server reference. Each time the iterator was constructed the
vldb would be queried and gethostbyaddr() would be called on every listed
ip address.
This patch stores a copy of the server list in the cell handle along with
an expiration time generated from a 10 minute TTL. This significant
reduces but does not eliminate the number of times that the caller is
blocked on reverse dns lookups.
Jeffrey Altman [Wed, 3 Oct 2007 16:17:43 +0000]
windows-tviced-resfile-
20071003
Add explicit build rules for TVICEDRES since we do not
build the non-threaded file server on Windows
Tom Keiser [Tue, 2 Oct 2007 01:14:08 +0000]
dafs-cbstate-tracking-fix-
20071001
fix this the rest of the places it happens
Jeffrey Altman [Mon, 1 Oct 2007 21:02:03 +0000]
windows-lanahelper-
20071001
uninitialized variable in lana_IsLoopback
Dan Hyde [Fri, 28 Sep 2007 00:15:30 +0000]
vollistpart-init-error-
20070927
FIXES 72144
correct an initialization failure in VolListPartitions
Tom Keiser [Thu, 27 Sep 2007 17:30:32 +0000]
dafs-avoid-volhdr-leak-
20070927
when there's an error don't leak the loaded header; release it
Jeffrey Altman [Thu, 20 Sep 2007 12:56:54 +0000]
readme-nt-
20070920
update wix and nsis instructions
Jeffrey Altman [Thu, 20 Sep 2007 12:44:23 +0000]
windows-version-info-
20070920
add version info to the threaded version of butc.exe that we ship
Derrick Brashear [Thu, 20 Sep 2007 05:52:23 +0000]
krb5-aklog-kimpersonate-conditionalize-
20070920
make kimpersonate conitional
Derrick Brashear [Thu, 20 Sep 2007 05:01:44 +0000]
dafs-loadvolumeheader-before-we-need-it-
20070920
make sure we have a header instead of potentially dereffing null
Jeffrey Altman [Thu, 20 Sep 2007 04:54:14 +0000]
windows-fs-memdump-
20070919
add directory lookup stats to "fs memdump" output
Jeffrey Altman [Wed, 19 Sep 2007 22:27:53 +0000]
windows-hex-dump-
20070919
remove the broken percent quoting from OutputDebugHexDump as it is
not required. We never use the resulting string as a print format string.
Jeffrey Altman [Wed, 19 Sep 2007 18:55:55 +0000]
windows-version-info-
20070919
FIXES 71397
Many of the OpenAFS binaries that are installed on end user machines
did not have version information. This is problematic as it is impossible
to determine which version of a binary the crash report was filed against
when a report is received by Microsoft Windows Error Reporting service.
Jeffrey Altman [Tue, 18 Sep 2007 17:57:31 +0000]
windows-vnovnode-while-file-in-use-
20070918
Discovered another case where VNOVNODE errors were not being handled.
If there are dirty buffers and a VNOVNODE error is received while
writing the buffer, the buffer would be left in the dirty buffers queue.
This caused a couple problems:
(1) any attempt to flush the file, volume, or cache would fail because
there were unflushed dirty buffers that could not be flushed.
(2) shutdown of the service would hang because the buffers could not
be flushed.
In addition, while a VNOVNODE error would result in the cm_scache_t
being marked CM_SCACHEFLAG_DELETED, this state was not being checked
at the SMB layer. As a result, if a smb_fid_t was allocated and it
referenced the deleted cm_scache_t, the SMB operations would continue
to be processed and report success even if the actual file or directory
no longer existed.
We now clear the dirty state on buffers which cannot be written due to
VNOVNODE errors. We also check the cm_scache_t for deletion prior to
use whenever a smb_fid_t is looked up. If the cm_scache_t is deleted,
the smb_fid_t is closed and the error CM_ERROR_NOSUCHFILE is returned
for files or CM_ERROR_NOSUCHPATH for directories.
Jeffrey Altman [Tue, 18 Sep 2007 07:36:04 +0000]
windows-afs-config-vista-uac-vs2005-
20070918
merge the manifests for vs 2005
Jeffrey Altman [Tue, 18 Sep 2007 07:13:08 +0000]
windows-afs-config-vista-uac-
20070918
Mark afs_config.exe via a manifest with
requestedExecutionLevel = HighestAvailable
This will ensure that when Vista UAC is active, that a member of the
Administrators group must run the AFS Control Panel with Administrators
privileges.
Jeffrey Altman [Tue, 18 Sep 2007 07:07:16 +0000]
windows-cl1310-manifests-
20070918
add support for manifests to .NET 2003 builds
Jeffrey Altman [Tue, 18 Sep 2007 07:04:02 +0000]
windows-nsis-
20070918
fix error in NTMakefile that used the CL_1310 configuration for the
VS 2005 compiler
force RequestExecutionLevel to admin for Vista
Jeffrey Altman [Thu, 13 Sep 2007 18:58:00 +0000]
windows-down-servers-
20070913
Do not assign a new downTime to a server that is already down.
Doing so breaks the logic to preserve callback validity until the
server comes back up.
Jeffrey Altman [Thu, 13 Sep 2007 02:41:07 +0000]
windows-afsmaxpath-
20070912
ensure that all path stack buffers are of size AFSMAXPATH
Jeffrey Hutzelman [Wed, 12 Sep 2007 19:25:53 +0000]
dafs-shutdown-state-fix-
20070912
clean up the dafs shutdown code to not read bogus info into the id
Derrick Brashear [Wed, 12 Sep 2007 19:09:42 +0000]
aklog-kimpersonate-
20070912
inline kimpersonate support, to make testing easier.
Jeffrey Altman [Wed, 12 Sep 2007 18:28:00 +0000]
windows-dir-bplus-shortnames-
20070912
When a file name does not conform to 8.3 notation, an 8.3 notation
alias is generated for it. This short name form must be searchable
in the B+ tree.
This commit adds a longname field to the data node which is used both
to identify the real name associated with the short name as well as
whether or not the short name is in fact an alias. Being able to
determine whether or not a data node is an alias will be important
when we support using the B+ tree for directory enumeration.
For insertion, if the name does not conform to 8.3 notation, a second
entry is inserted into the B+ tree using the shortname as the key and
the longname stored in the data.
For deletion, we lookup the data node for the provided key. If there
is a longname we remove the longname entry first and then the shortname
entry. If the key is a longname, we lookup the data node so we can
acquire the FID and then use that to compute the shortname. We then
remove both the shortname and longname entries from the B+ tree.
Jeffrey Altman [Tue, 11 Sep 2007 17:11:54 +0000]
windows-getcell-deadlock-
20070911
don't hold the cm_scache_t mutex across calls to cm_GetCell() since
cm_GetCell() can block in an RPC call. If that cm_scache_t must be
accessed to revoke a callback, it can result in a deadlock.
Chaskiel M Grundman [Tue, 11 Sep 2007 16:37:01 +0000]
namei-protect-against-extra-files-
20070911
if someone is monkeying in the filesystem, sometimes they shoot themselves. save them if they renamed foo to foo.bak (where foo is a full 64 bits)
Jeffrey Altman [Tue, 11 Sep 2007 06:02:42 +0000]
windows-prefetch-executables-
20070911
avoid prefetch race condition in CreateX functions
do not permit reference underflow when ending background prefetch ops
Derrick Brashear [Mon, 10 Sep 2007 22:54:25 +0000]
namei-fsync-less-
20070910
remove sync() call from Windows build
Jeffrey Altman [Mon, 10 Sep 2007 20:06:58 +0000]
windows-prefetch-executables-
20070910
This code defines a new service parameter "PrefetchExecutableExtensions"
of type REG_MULTI_SZ. By default it is undefined and does nothing. If
it is defined, files that match the extensions will be prefetched in
their entirety.
All of the prefetch functions now pay attention to the length parameters.
Previously, length parameters were specified on some functions in the
chain but they were ignored. The reality was that the chunksize was
used regardless of what was indicated.
Prefetching is still optional. If the prefetch fails during the initial
attempt you lose. Otherwise, as many buffers as are required to satisfy
the requested prefetch length will be requested from the file server in
chunksize units. If buffers have already been acquired, they are skipped
during the prefetch operation.
Jeffrey Altman [Mon, 10 Sep 2007 20:00:55 +0000]
windows-largeinteger-
20070910
Fix the function type so that assignment of return values are
properly applied.
Add missing comparison routines.
Jeffrey Altman [Mon, 10 Sep 2007 05:53:48 +0000]
windows-callbacks-
20070909
when suspending only clear callbacks for servers that are in an up state.
if they were in a down state, then we couldn't send the clear callbacks
message but more importantly, we need to leave the callback info current
because the callbacks should not be cleared until the server is once again
reachable.
Jeffrey Altman [Mon, 10 Sep 2007 05:12:10 +0000]
windows-readme-nt-
20070909
update NSIS version to 2.30
Jeffrey Altman [Mon, 10 Sep 2007 04:33:44 +0000]
windows-wix-
20070909
make the service display name consistent with the NSIS installer.
Jeffrey Altman [Mon, 10 Sep 2007 04:30:34 +0000]
windows-nsis-
20070909
do not link object files twice
Rainer Toebbicke [Fri, 7 Sep 2007 05:02:09 +0000]
namei-fsync-less-
20070907
FIXES 30632
we call fsync() too much. call it less, and fsync in the background
Derrick Brashear [Wed, 5 Sep 2007 22:49:30 +0000]
consolidate-cellservdb-
20070905
step 1. one place.
step 2 is coming: fix the scripts to update it when we do a release
Jeffrey Hutzelman [Mon, 3 Sep 2007 04:58:40 +0000]
dafs-savestatefe-avoid-overflow-
20070902
The problem is that cb_stateSaveFE() overflows an iovec array
on its stack. When it returns, the PC is loaded with garbage and the
process crashes.
Jeffrey Altman [Sun, 2 Sep 2007 17:36:23 +0000]
windows-64bit-ms2mit-
20070902
add ms2mit support for 64-bit windows
Jeffrey Altman [Sun, 2 Sep 2007 17:21:25 +0000]
windows-win64-kfw-
20070902
leashw32.dll has been ported to win64 as leashw64.dll
Jim Rees [Fri, 31 Aug 2007 18:22:11 +0000]
obsd-rm-pinstall-
20070831
skip pinstall