Commit Graph

5694 Commits

Author SHA1 Message Date
Jason Edgecombe
758366c26a netinfo-fake-address-text-20090427
LICENSE IPL10
FIXES 124699

explain fake address support for NetInfo files
2009-04-27 19:37:25 +00:00
Matt Benjamin
25f13f3806 dragonfly-bsd-userland-20090427
LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland
2009-04-27 19:29:09 +00:00
Marc Dionne
aea52af634 linux-2-6-30-support-for-head-20090407
LICENSE IPL10
FIXES 124592

make proc dir entry owner field only be initialized when it exists
2009-04-07 17:16:43 +00:00
Jeffrey Altman
b4b6182108 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.
2009-04-07 15:05:30 +00:00
Derrick Brashear
473149653e rx-internal-use-static-inline-macro-20090407
LICENSE IPL10

some platforms can't use "static inline"
2009-04-07 14:00:56 +00:00
Simon Wilkinson
62bca1123f 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
2009-04-06 23:52:52 +00:00
Simon Wilkinson
160619505d linux-avoid-returning-invalid-pointers-on-error-20090402
LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.
2009-04-06 23:50:15 +00:00
Jeffrey Altman
9a0b3da255 windows-pioctl-subst-unc-20090407
LICENSE MIT

Add code to support determining if a drive substitution refers to
a UNC path.
2009-04-06 22:47:49 +00:00
Jeffrey Altman
aad7a2c585 windows-smb-trace-20090406
LICENSE MIT

include the correct function name in a
trace message
2009-04-06 18:24:48 +00:00
Jeffrey Altman
ac199c845e windows-test-torture-stack-overflow-20090405
LICENSE MIT

avoid stack overflow.
2009-04-05 13:54:04 +00:00
Jeffrey Altman
59945d1cb5 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.
2009-04-05 06:25:08 +00:00
Jeffrey Altman
ffe04f710b 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.
2009-04-04 21:16:27 +00:00
Simon Wilkinson
4ecaeaac97 linux-key-alloc-no-pointer-arith-20090404
LICENSE IPL10

make the key_alloc configure test work
2009-04-04 17:43:42 +00:00
Jeffrey Altman
f6b4902dae 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.
2009-04-03 03:56:36 +00:00
Jeffrey Altman
fc408da993 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
2009-04-02 08:44:51 +00:00
Jeffrey Altman
0700567eef 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
2009-04-02 08:40:06 +00:00
Jeffrey Altman
27aedf7a2c 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
2009-04-02 06:06:44 +00:00
Jeffrey Altman
8673c0de48 windows-config-clean-20090402
LICENSE MIT

permit "nmake -f ntmakefile clean" to complete on a
clean source tree.
2009-04-02 06:04:48 +00:00
Asanka Herath
d862476191 windows-install-loopback-20090401
LICENSE MIT

Define INCLUDE variable and reorder binary link order
to ensure compatibility with latest WDK/SDK combinations.
2009-04-01 23:56:16 +00:00
Jeffrey Altman
d8a8bfb5c3 windows-talocale-20090401
LICENSE MIT

perform proper casting to avoid a warning
2009-04-01 18:36:29 +00:00
Jeffrey Altman
520fef4278 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.
2009-04-01 18:30:29 +00:00
Jeffrey Altman
37f582326c 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.
2009-04-01 18:29:15 +00:00
Jeffrey Altman
d7749751df 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.
2009-04-01 17:37:50 +00:00
Jeffrey Altman
3d81394f91 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
2009-04-01 17:35:29 +00:00
Derrick Brashear
84871adb4b dynamic-vcache-no-printf-20090331
LICENSE IPL10

no printf in releases
2009-03-31 13:41:25 +00:00
Marc Dionne
d0a166bdff linux-2630-maybe-20090331
LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released
2009-03-31 13:16:17 +00:00
Jeffrey Altman
07c187c843 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.
2009-03-28 23:25:16 +00:00
Jeffrey Altman
4bc36a697f windows-remove-reset-all-vcs-event-20090328
LICENSE MIT

remove the smb reset all VCs message.  duplicates the
reportSessionStartups functionality.
2009-03-28 23:17:29 +00:00
Jeffrey Altman
27609fe288 windows-afsd-symlink-20090327
LICENSE MIT

Increase max symlink limit to 64 and remove the repeated fid
recursion test.  Breaks too many things.
2009-03-27 17:58:02 +00:00
Jeffrey Altman
977674dfb0 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.
2009-03-25 01:15:20 +00:00
Mike Meffie
a523710780 uss-kvno-warning-fix-20090327
LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss
2009-03-27 15:47:23 +00:00
Chaskiel M Grundman
9243308990 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
2009-03-27 15:45:27 +00:00
Garry Zacheiss
3fcbdab188 bucoord-update-kvno-check-20090327
LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere
2009-03-27 13:45:49 +00:00
Simon Wilkinson
4ced67ca98 vol-proto-do-not-break-dafs-20090326
LICENSE IPL10
FIXES 12540

Reenable prototype of VolumeExternalName_r for dafs
2009-03-26 23:42:03 +00:00
Andrew Deason
8cc60f4931 state-analyzer-usage-20090326
LICENSE IPL10
FIXES 124539

fix usage for state-analyzer
2009-03-26 21:33:50 +00:00
Derrick Brashear
d4359ad72a return-values-missing-fix-20090326
LICENSE IPL10
FIXES 124194

add return values for functions missing them
2009-03-26 14:30:13 +00:00
Chaskiel M Grundman
80494f5096 cbr-free-what-you-alloc-20090325
LICENSE IPL10
FIXES 124531

dequeue and free items as alloc'd
2009-03-25 19:34:38 +00:00
Derrick Brashear
4162ff9d4d shutdown-vcache-avoid-null-deref-20090324
LICENSE IPL10

avoid potential null pointer deref at shutdown
2009-03-24 22:40:05 +00:00
Simon Wilkinson
cc0922c26f redhat-spec-update-20090325
LICENSE IPL10
FIXES 123650

install afszcm.cat, update CellServDB
2009-03-25 18:42:17 +00:00
Rainer Toebbicke
78e29484eb copyonwrite-optimization-fix-20090325
LICENSE IPL10

update to do tail case
2009-03-25 14:34:38 +00:00
Jeffrey Altman
db844c4584 vol-split-warnings-no-win-20090324
LICENSE IPL10

remove many warnings

disable on Windows since there are missing dependencies in ntops.c
2009-03-24 22:36:09 +00:00
Derrick Brashear
5e770d6d18 volser-split-namei-only-20090324
LICENSE IPL10

make vos split be namei-only
2009-03-24 18:20:23 +00:00
Derrick Brashear
1f83528147 vol-split-nearino-20090324
LICENSE IPL10

add nearInode hint
2009-03-24 17:55:48 +00:00
Derrick Brashear
9a697699b4 vfsck-needs-fd-t-defn-20090324
LICENSE IPL10

make vfsck build again
2009-03-24 14:23:58 +00:00
Derrick Brashear
4df81d17bf volser-prototype-cleanup-20090324
LICENSE IPL10

make prototypes and return values etc match
2009-03-24 14:21:56 +00:00
Hartmut Reuter
ba742892e2 volserver-split-volume-functionality-20090324
LICENSE IPL10
FIXES 124520

implement the server side of vos split
2009-03-24 13:36:23 +00:00
Derrick Brashear
71a73608b1 fssync-enum-syntax-20090324
LICENSE IPL10

no trailing comma
2009-03-24 12:43:05 +00:00
Derrick Brashear
63b0d495cf fd-t-definition-fun-20090323
LICENSE IPL10

make FD_t be defined everywhere we need it
2009-03-24 04:31:13 +00:00
Derrick Brashear
ede1c215d1 viced-threadnum-return-cast-20090323
LICENSE IPL10

cast return type from threadNum
2009-03-24 03:43:59 +00:00
Jeffrey Altman
a209012f1a 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.
2009-03-23 22:47:36 +00:00