Jeffrey Altman [Thu, 7 May 2009 15:53:14 +0000]
windows-shellext-path-in-afs-
20090507
LICENSE MIT
FIXES 124742
Change the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME.
VIOCGETFID permits a literal test of the specified object. This is needed
for testing the validity of a symlink to a msdfs: or non-existent path.
Otherwise, the AFS Shell Extension context menu will not be displayed.
Derrick Brashear [Tue, 5 May 2009 13:30:24 +0000]
man-pages-allow-dots-consistent-
20090505
LICENSE IPL10
make all server man pages list -allow-dotted-principals (rather than
-allow-dotted-principal)
Mike Meffie [Tue, 28 Apr 2009 15:37:39 +0000]
dafs-vol-offline-
20090428
LICENSE IPL10
FIXES 124582
fix a logic error in the dafs vos offline support
Jeffrey Altman [Tue, 28 Apr 2009 00:37:16 +0000]
windows-smb-disable-loopback-check-
20090427
LICENSE MIT
Now that BackConnectionHostNames can be set each time the smb listener
threads are stopped and restarted, we need to make sure that we do not
clear the DisableLoopbackCheck value if it was set during the same
service session because BackConnectionHostName value changes only take
effect on a reboot.
Steven Jenkins [Tue, 28 Apr 2009 00:03:35 +0000]
rename-residency-from-mrafs-to-osd-
20090427
LICENSE IPL10
FIXES 124130
rename mrafs commands into their equivalent osd versions; structures etc are the
same.
Jeffrey Altman [Mon, 27 Apr 2009 21:17:59 +0000]
vos-reveal-hidden-cmds-
20090427
LICENSE IPL10
vos hides "online", "offline", "delentry -noexecute", and "addsite -valid".
All of these are currently documented in the man pages without warning.
Reveal them.
Simon Wilkinson [Mon, 27 Apr 2009 20:17:12 +0000]
dprintf-rename-
20090427
LICENSE IPL10
FIXES 124657
make dprintf be afs_dprintf to fix for fedora 11 and probably others
Jason Edgecombe [Mon, 27 Apr 2009 19:37:25 +0000]
netinfo-fake-address-text-
20090427
LICENSE IPL10
FIXES 124699
explain fake address support for NetInfo files
Matt Benjamin [Mon, 27 Apr 2009 19:29:09 +0000]
dragonfly-bsd-userland-
20090427
LICENSE IPL10
FIXES 124702
add support for dragonflyBSD's userland
Marc Dionne [Tue, 7 Apr 2009 17:16:43 +0000]
linux-2-6-30-support-for-head-
20090407
LICENSE IPL10
FIXES 124592
make proc dir entry owner field only be initialized when it exists
Jeffrey Altman [Tue, 7 Apr 2009 15:05:30 +0000]
windows-smb-registry-config-
20090407
LICENSE MIT
Move configureBackConnectionHostNames() to smb_StartListeners()
so that when the NetbiosName changes while the service is running
the new values can be set.
Add configureExtendedSMBSessionTimeouts() which configures new
SMB functionality added in a Win2003 post-SP2 hot fix.
Derrick Brashear [Tue, 7 Apr 2009 14:00:56 +0000]
rx-internal-use-static-inline-macro-
20090407
LICENSE IPL10
some platforms can't use "static inline"
Simon Wilkinson [Mon, 6 Apr 2009 23:52:52 +0000]
avoid-buffer-overflow-on-rx-fixed-size-array-return-
20090402
LICENSE IPL10
FIXES 124579
avoid potentially writing beyond allocated memory if a return is larger than expected
Simon Wilkinson [Mon, 6 Apr 2009 23:50:15 +0000]
linux-avoid-returning-invalid-pointers-on-error-
20090402
LICENSE IPL10
FIXES 124580
avoid returning a positive error as it will look like a pointer.
Jeffrey Altman [Mon, 6 Apr 2009 22:47:49 +0000]
windows-pioctl-subst-unc-
20090407
LICENSE MIT
Add code to support determining if a drive substitution refers to
a UNC path.
Jeffrey Altman [Mon, 6 Apr 2009 18:24:48 +0000]
windows-smb-trace-
20090406
LICENSE MIT
include the correct function name in a
trace message
Jeffrey Altman [Sun, 5 Apr 2009 13:54:04 +0000]
windows-test-torture-stack-overflow-
20090405
LICENSE MIT
avoid stack overflow.
Jeffrey Altman [Sun, 5 Apr 2009 06:25:08 +0000]
windows-tests-torture-
20090405
LICENSE MIT
replace the VOLSTAT online test with the PATH_AVAILABILITY
online test. We do not care of the volume is offline on the file
server if the cache manager has current data to serve.
Jeffrey Altman [Sat, 4 Apr 2009 21:16:27 +0000]
windows-smb-error-map-
20090404
LICENSE MIT
For CM_ERROR_BADSHARENAME return BAD_NETWORK_PATH instead
of BAD_NETWORK_NAME. The latter refers to the server name
and the former to the share name. Returning BAD_NETWORK_NAME
will causes the smb redirector to break its connection to \\AFS.
For CM_ERROR_ALLOFFLINE and CM_ERROR_ALLDOWN return PATH_NOT_FOUND
instead of BAD_NETWORK_PATH. We don't want the smb redirector
to tear down all open files just because some volume in the path
is inaccessible at the moment.
Simon Wilkinson [Sat, 4 Apr 2009 17:43:42 +0000]
linux-key-alloc-no-pointer-arith-
20090404
LICENSE IPL10
make the key_alloc configure test work
Jeffrey Altman [Fri, 3 Apr 2009 03:56:36 +0000]
windows-afsd-no-more-ods-
20090402
LICENSE MIT
Any use of OutputDebugString() in production can result in serious
delays in the execution of the thread that issues the call. Remove
the last of the unprotected calls within afsd_service.
Jeffrey Altman [Thu, 2 Apr 2009 08:44:51 +0000]
windows-rx-xmit-
20090402
LICENSE IPL10
permit compilation with Windows SDK v6.0/6.1 which hides
previously exposed XP symbols unless _WINNT_WIN32 is at
least 0x0501
Jeffrey Altman [Thu, 2 Apr 2009 08:40:06 +0000]
windows-src-makefile-two-
20090402
LICENSE MIT
get the i386 case right
====================
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.
====================
LICENSE MIT
fixup the @echo again
Jeffrey Altman [Thu, 2 Apr 2009 06:06:44 +0000]
windows-src-makefile-
20090402
LICENSE MIT
remove extraneous echo command output
do not attempt to build NSIS target on non-x86 platforms
since support is not implemented
Jeffrey Altman [Thu, 2 Apr 2009 06:04:48 +0000]
windows-config-clean-
20090402
LICENSE MIT
permit "nmake -f ntmakefile clean" to complete on a
clean source tree.
Asanka Herath [Wed, 1 Apr 2009 23:56:16 +0000]
windows-install-loopback-
20090401
LICENSE MIT
Define INCLUDE variable and reorder binary link order
to ensure compatibility with latest WDK/SDK combinations.
Jeffrey Altman [Wed, 1 Apr 2009 18:36:29 +0000]
windows-talocale-
20090401
LICENSE MIT
perform proper casting to avoid a warning
Jeffrey Altman [Wed, 1 Apr 2009 18:30:29 +0000]
windows-afsd-smb-logging-
20090401
LICENSE MIT
Add more info about the smb request to the log entry
that is written to afsd_init.log if the request took
longer than 45 seconds to complete.
Jeffrey Altman [Wed, 1 Apr 2009 18:29:15 +0000]
windows-afsd-priority-class-
20090401
LICENSE MIT
Change the default priority class for afsd_service.exe to High.
This matches the priority class assigned to other system processes
that generate requests to afsd_service.exe.
Permit the ..\TransarcAFSDaemon\Parameters "PriorityClass"
registry value to be used to change the default.
Jeffrey Altman [Wed, 1 Apr 2009 17:37:50 +0000]
xdr-free-
20090401
LICENSE MIT
add xdr_free() and export it from afsrpc.dll. This permits applications
to free memory allocated within the xdr routines with the same run time
library memory management routines as was used to allocate it.
This is necessary on Windows to prevent memory corruption.
VL_GetAddrsU() is an example where a xdr array is allocated in the
library and must be freed by the application.
Jeffrey Altman [Wed, 1 Apr 2009 17:35:29 +0000]
windows-afsd-xdr-free-
20090401
LICENSE MIT
make use of xdr_free() to release memory allocated within afsrpc.dll.
this prevents crashes when the library is built with a different
runtime library version than the application.
fix signed/unsigned warnings in the same code snippet
Derrick Brashear [Tue, 31 Mar 2009 13:41:25 +0000]
dynamic-vcache-no-printf-
20090331
LICENSE IPL10
no printf in releases
Marc Dionne [Tue, 31 Mar 2009 13:16:17 +0000]
linux-2630-maybe-
20090331
LICENSE IPL10
FIXES 124560
hopefully support 2.6.30 when it's released
Jeffrey Altman [Sat, 28 Mar 2009 23:25:16 +0000]
windows-afsd-log-smb-mid-
20090328
LICENSE MIT
For each SMB transation log the 'mid' field of the smb packet.
The 'mid' field can be used as a reference against the mrxsmb request
logging for debugging purposes.
Jeffrey Altman [Sat, 28 Mar 2009 23:17:29 +0000]
windows-remove-reset-all-vcs-event-
20090328
LICENSE MIT
remove the smb reset all VCs message. duplicates the
reportSessionStartups functionality.
Jeffrey Altman [Fri, 27 Mar 2009 17:58:02 +0000]
windows-afsd-symlink-
20090327
LICENSE MIT
Increase max symlink limit to 64 and remove the repeated fid
recursion test. Breaks too many things.
Jeffrey Altman [Wed, 25 Mar 2009 01:15:20 +0000]
volser-new-is-special-
20090324
LICENSE IPL10
Do not permit the word "new" to be used for a field name as it is
special. Our headers get pulled into C++ compilations.
Mike Meffie [Fri, 27 Mar 2009 15:47:23 +0000]
uss-kvno-warning-fix-
20090327
LICENSE IPL10
FIXES 124220
suppress bogus kvno warning in uss
Chaskiel M Grundman [Fri, 27 Mar 2009 15:45:27 +0000]
linux-flushpages-call-truncate-inode-pages-after-all-
20090327
LICENSE IPL10
in this case we're discarding just the data in case it's stale, so this is
correct
Garry Zacheiss [Fri, 27 Mar 2009 13:45:49 +0000]
bucoord-update-kvno-check-
20090327
LICENSE IPL10
update kvno check in bucoord to match what it is elsewhere
Simon Wilkinson [Thu, 26 Mar 2009 23:42:03 +0000]
vol-proto-do-not-break-dafs-
20090326
LICENSE IPL10
FIXES 12540
Reenable prototype of VolumeExternalName_r for dafs
Andrew Deason [Thu, 26 Mar 2009 21:33:50 +0000]
state-analyzer-usage-
20090326
LICENSE IPL10
FIXES 124539
fix usage for state-analyzer
Derrick Brashear [Thu, 26 Mar 2009 14:30:13 +0000]
return-values-missing-fix-
20090326
LICENSE IPL10
FIXES 124194
add return values for functions missing them
Chaskiel M Grundman [Wed, 25 Mar 2009 19:34:38 +0000]
cbr-free-what-you-alloc-
20090325
LICENSE IPL10
FIXES 124531
dequeue and free items as alloc'd
Derrick Brashear [Tue, 24 Mar 2009 22:40:05 +0000]
shutdown-vcache-avoid-null-deref-
20090324
LICENSE IPL10
avoid potential null pointer deref at shutdown
Simon Wilkinson [Wed, 25 Mar 2009 18:42:17 +0000]
redhat-spec-update-
20090325
LICENSE IPL10
FIXES 123650
install afszcm.cat, update CellServDB
Rainer Toebbicke [Wed, 25 Mar 2009 14:34:38 +0000]
copyonwrite-optimization-fix-
20090325
LICENSE IPL10
update to do tail case
Jeffrey Altman [Tue, 24 Mar 2009 22:36:09 +0000]
vol-split-warnings-no-win-
20090324
LICENSE IPL10
remove many warnings
disable on Windows since there are missing dependencies in ntops.c
Derrick Brashear [Tue, 24 Mar 2009 18:20:23 +0000]
volser-split-namei-only-
20090324
LICENSE IPL10
make vos split be namei-only
Derrick Brashear [Tue, 24 Mar 2009 17:55:48 +0000]
vol-split-nearino-
20090324
LICENSE IPL10
add nearInode hint
Derrick Brashear [Tue, 24 Mar 2009 14:23:58 +0000]
vfsck-needs-fd-t-defn-
20090324
LICENSE IPL10
make vfsck build again
Derrick Brashear [Tue, 24 Mar 2009 14:21:56 +0000]
volser-prototype-cleanup-
20090324
LICENSE IPL10
make prototypes and return values etc match
Hartmut Reuter [Tue, 24 Mar 2009 13:36:23 +0000]
volserver-split-volume-functionality-
20090324
LICENSE IPL10
FIXES 124520
implement the server side of vos split
Derrick Brashear [Tue, 24 Mar 2009 12:43:05 +0000]
fssync-enum-syntax-
20090324
LICENSE IPL10
no trailing comma
Derrick Brashear [Tue, 24 Mar 2009 04:31:13 +0000]
fd-t-definition-fun-
20090323
LICENSE IPL10
make FD_t be defined everywhere we need it
Derrick Brashear [Tue, 24 Mar 2009 03:43:59 +0000]
viced-threadnum-return-cast-
20090323
LICENSE IPL10
cast return type from threadNum
Jeffrey Altman [Mon, 23 Mar 2009 22:47:36 +0000]
vol-lock-fd-type-
20090323
LICENSE IPL10
the lock_fd field of DiskPartition[64] is a file descriptor.
On Windows this is a HANDLE and on *nix platforms an int.
OpenAFS uses the FD_t type to provide platform specific type
info for file descriptors. Use it for the lock_fd field and
the salvageLock in ObtainsSalvageLock().
Finally, the on the wire diskPartition[64] struct in volser/volint.xg
also contains a lock_fd field. This is an on the wire field and
must be left at a fixed width of 32-bits. Since a file descriptor
is not portable across machines we truncate the 64-bit HANDLE value
to fit in the 32-bit lock_fd field when necessary.
Jeffrey Altman [Mon, 23 Mar 2009 22:42:48 +0000]
vol-fssync-server-socket-
20090323
LICENSE IPL10
GetHandler() sets up a fdset and returns the max socket fd
which is used with select(). Windows ignores the numfd param
(first param) of select() and therefore computing the max fd
value is meaningless. We can avoid a number of casts by
not attempting to treat this value as osi_socket.
Jeffrey Altman [Mon, 23 Mar 2009 22:38:16 +0000]
libadmin-vos-ihandle-
20090323
LICENSE IPL10
include afs/ihandle.h in order to gain access to the FD_t definition
Derrick Brashear [Mon, 23 Mar 2009 19:53:46 +0000]
volser-fcn-return-types-
20090323
LICENSE IPL10
make internal functions have correct return types
Derrick Brashear [Mon, 23 Mar 2009 19:39:59 +0000]
printf-sanity-args-
20090323
LICENSE IPL10
fix type specifier for correct arg
Simon Wilkinson [Mon, 23 Mar 2009 19:11:16 +0000]
disconnected-put-back-vcaches-we-held-
20090323
LICENSE IPL10
if we hold a vcache for shadow, we need to release the ref when we give it up
Simon Wilkinson [Mon, 23 Mar 2009 18:59:53 +0000]
disconnected-dont-double-dequeue-shadow-removal-
20090323
LICENSE IPL10
FIXES 124496
queue_Remove twice tends to cause things like panics
Derrick Brashear [Mon, 23 Mar 2009 18:46:40 +0000]
viced-type-fixups-
20090323
LICENSE IPL10
SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*
Jeffrey Altman [Mon, 23 Mar 2009 18:18:44 +0000]
volid-unsigned-int32-
20090323
LICENSE IPL10
FIXES 124510
assume volume ids are always unsigned 32 bit values
Derrick Brashear [Mon, 23 Mar 2009 15:16:30 +0000]
linux-task-becomes-task-struct-
20090323
LICENSE IPL10
struct task->struct task_struct. configure needs to cope
Derrick Brashear [Sat, 21 Mar 2009 16:29:46 +0000]
krb5-run-configure-tests-
20090321
LICENSE IPL10
FIXES 124522
--with-krb5=/path caused us to not run configure tests. fix that
Derrick Brashear [Sat, 21 Mar 2009 15:49:07 +0000]
aix-no-aklog-tsm-without-krb5-
20090320
LICENSE IPL10
FIXES 124522
don't build aklog_dynamic_auth without krb5
Derrick Brashear [Sat, 21 Mar 2009 15:45:41 +0000]
rx-prototypes-alloc-free-ifdefs-
20090321
LICENSE IPL10
don't prototype osi_Alloc/osi_Free if they're just #defines
Derrick Brashear [Sat, 21 Mar 2009 15:39:05 +0000]
sig-t-exclude-multiple-
20090321
LICENSE IPL10
disallow multiple typedefs of sig_t
Derrick Brashear [Sat, 21 Mar 2009 15:07:41 +0000]
update-config-guess-
20090321
LICENSE IPL10
update from upstream
Derrick Brashear [Fri, 20 Mar 2009 22:44:54 +0000]
aix51-pag-header-
20090320
LICENSE IPL10
FIXES 124522
no sys/pag.h until 5.2
Jeffrey Altman [Fri, 20 Mar 2009 17:25:21 +0000]
vol-fssync-server-socket-
20090320
LICENSE IPL10
another location where we need osi_socket
Jeffrey Altman [Fri, 20 Mar 2009 17:21:51 +0000]
libadmin-client-prototype-
20090320
LICENSE IPL10
correct the prototype for afsclient_RXDebugOpenPort
Jeffrey Altman [Fri, 20 Mar 2009 17:10:06 +0000]
xstat-printf-ptr-format-
20090320
LICENSE IPL10
make use of AFS_PTR_FMT to avoid warnings on Windows.
Jeffrey Altman [Fri, 20 Mar 2009 17:09:01 +0000]
config-afs-ptr-format-
20090320
LICENSE IPL10
Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.
Chaskiel M Grundman [Fri, 20 Mar 2009 15:55:38 +0000]
linux-osi-vm-flushpages-use-remote-invalidate-
20090320
LICENSE IPL10
use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages
Derrick Brashear [Fri, 20 Mar 2009 15:04:08 +0000]
dyn-vcache-shake-needs-exporting-
20090320
LICENSE IPL10
update to export shakeloosevcaches
Jeffrey Altman [Fri, 20 Mar 2009 12:15:01 +0000]
vol-fssync-socket-
20090320
LICENSE IPL10
the argument to the function parameter is a socket. fix the type
to be osi_socket.
Jeffrey Altman [Fri, 20 Mar 2009 11:51:55 +0000]
libadmin-vos-windows-exports-
20090320
LICENSE IPL10
do not export function name arrays that are already
exported by other libraries.
Jeffrey Altman [Fri, 20 Mar 2009 11:49:27 +0000]
libadmin-client-prototypes-
20090320
LICENSE IPL10
fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort
Jeffrey Altman [Fri, 20 Mar 2009 11:47:00 +0000]
libadmin-windows-socket-
20090320
LICENSE IPL10
a socket on Windows is type SOCKET not HANDLE
Jeffrey Altman [Fri, 20 Mar 2009 11:44:29 +0000]
windows-osistatl-
20090320
LICENSE MIT
Add lock level to osistatl
Jeffrey Altman [Fri, 20 Mar 2009 05:30:12 +0000]
static-inline-macros-
20090320
LICENSE IPL10
FIXES 124515
add back support for AFS_64BIT_ENV
Derrick Brashear [Fri, 20 Mar 2009 03:48:52 +0000]
ubik-recovery-use-file-number-not-hardcoded-zero-
20090319
LICENSE IPL10
don't hardcode DB0, use the file number which is being recovered
Derrick Brashear [Fri, 20 Mar 2009 03:12:11 +0000]
param-file-64-bit-scalar-updates-
20090319
LICENSE IPL10
64 bit scalar type availability
Derrick Brashear [Fri, 20 Mar 2009 02:30:49 +0000]
dynamic-vcache-allocation-
20090319
LICENSE IPL10
FIXES 124334
add dynamic allocation of vcaches when possible (currently just for linux)
Derrick Brashear [Thu, 19 Mar 2009 20:12:53 +0000]
cbd-new-magic-version-with-fixed-time-size-and-dump-switch-
20090319
LICENSE IPL10
FIXES 124451
make cbd able to select whether time is 32 or 64 bit; when time size is
known, have a new magic number so it's obvious
Derrick Brashear [Thu, 19 Mar 2009 18:03:41 +0000]
bozo-fs-create-unused-ptr-
20090319
LICENSE IPL10
add an "unused" field so we match the prototype for create in the bnodeops
struct
Derrick Brashear [Thu, 19 Mar 2009 17:44:39 +0000]
static-inline-macros-
20090319
LICENSE IPL10
rework the static inline macros to work with headers, with userspace code,
and to have just one copy
Derrick Brashear [Thu, 19 Mar 2009 14:58:22 +0000]
viced-type-errors-
20090319
LICENSE IPL10
use ktc_encryptionKey instead of a char array to avoid prototype issues
threadNum should return int, not char
Derrick Brashear [Thu, 19 Mar 2009 14:42:39 +0000]
linux-put-back-warnings-
20090319
LICENSE IPL10
need to verify this for all platforms at the same time; since the function
is portable. should be const anyway; we don't want to change it.
Marc Dionne [Thu, 19 Mar 2009 04:02:18 +0000]
linux-key-alloc-changes-
20090318
LICENSE IPL10
FIXES 124507
Fix the old configure test for key_alloc for the task argument - we
can't just rely on the number of arguments anymore. Wish this could be
done without using -Werror.
Add an additional test for the struct cred argument
Marc Dionne [Thu, 19 Mar 2009 03:57:42 +0000]
mypidxx-not-always-int-
20090318
LICENSE IPL10
FIXES 124505
don't assume MyPidxx will be an int; on linux it's current, for instance, a
task_struct
Marc Dionne [Thu, 19 Mar 2009 03:53:31 +0000]
discon-ifdef-cleanup-
20090318
LICENSE IPL10
FIXES 124508
fix the disconnected ifdefs
Jeffrey Altman [Wed, 18 Mar 2009 22:46:21 +0000]
printf-sanity-
20090318
LICENSE IPL10
make it work for Windows
Marc Dionne [Wed, 18 Mar 2009 13:41:07 +0000]
linux-warning-reduction-
20090318
LICENSE IPL10
FIXES 119434
cleanup warnings in linux kernel builds
Jeffrey Altman [Wed, 18 Mar 2009 03:56:12 +0000]
windows-afsd-badsharename-
20090317
LICENSE MIT
When Dfs support is enabled in the smb server do not return
CM_ERROR_BADSHARENAME unless the component that is not found
is in fact a share name. Return CM_ERROR_NOSUCHPATH instead.
Derrick Brashear [Tue, 17 Mar 2009 15:44:15 +0000]
configure-cpp-fallback-to-cc-E-
20090317
LICENSE IPL10
if we don't find any cpp whatsoever, fall back to $CC -E, or cc -E
Derrick Brashear [Tue, 17 Mar 2009 15:10:23 +0000]
prototyping-fallout-
20090317
LICENSE IPL10
clean up to make prototyping code build everywhere