Commit Graph

5331 Commits

Author SHA1 Message Date
Jeffrey Altman
70fda445bd windows-linked-cells-20081103
LICENSE MIT
FIXES 123571

The Windows code base was implemented ignorant of linked cells as
defined in the src/auth/cellconfig.h struct afsconf_cell.  The code
that made use of the afsconf_cell objects would leak the memory from
the linkedCell field if is non-NULL.

Add cm_SearchCellFileEx which is an extended version of cm_SearchCellFile
capable of returning a linked cell obtained from the CellServDB file.

Update GetCellConfig to populate the linkedCell field of the afsconf_cell
structure.

Modify cm_cell_t to support a linked cell name.

Modify cm_GetCell_Gen() to populate the cm_cell_t linked cell and enforce
that two cells are linked to each other.

Modify cm_GetVolumeByID() and cm_GetVolumeByName() to perform fallback
to the linked cell if the response is CM_ERROR_NOSUCHVOLUME.
2008-11-03 19:55:38 +00:00
Jeffrey Altman
303c70efd4 windows-prevent-wow64-execution-20081031
LICENSE MIT

prevent the 32-bit build from being executed in the wow64 environment
2008-11-01 03:37:56 +00:00
Jeffrey Altman
1d18280f20 windows-release-notes-missing-files-20081029
LICENSE MIT

pulled down from 1.5
2008-10-29 20:06:54 +00:00
Simon Wilkinson
50e1e59a92 aklog-attempt-order-comments-20081029
LICENSE IPL10

to clarify what gets tried when and why.
2008-10-29 19:43:42 +00:00
Max Cohan
ef70f73141 windows-setup-utils-20081028
LICENSE IPL10

correct file name to match the file.
committed broken in windows-file-versioning-20030619
2008-10-28 17:55:19 +00:00
Simon Wilkinson
fc78255c1d initialize-variables-to-avoid-logic-issues-20081027
LICENSE IPL10

make sure any variable whose value is used will be initialized before that
value is used. (these aren't just warnings)
2008-10-27 23:53:23 +00:00
Simon Wilkinson
f27165f137 kill-uninitialized-variable-warnings-20081026
LICENSE IPL10

kill lots of compiler warnings
2008-10-27 23:41:02 +00:00
Jeffrey Altman
aa09aa2be1 windows-pioctl-drive-map-20081026
LICENSE MIT

a remote drive connection may not be mapped to a local drive letter.
2008-10-26 21:52:29 +00:00
Jeffrey Altman
a824cbda62 rx-rdwr-avoid-free-null-packet-20081026
LICENSE MIT

avoid a potential call to rxi_FreePacket with a NULL pointer as input
2008-10-26 21:16:57 +00:00
Jeffrey Altman
a614a8d954 ptutils-restricted-accessok-20081025
LICENSE MIT

Fix restricted mode test when 'any' is not set on AccessOK
2008-10-26 07:50:39 +00:00
Simon Wilkinson
8a33059215 exporter-call-gethost-method-correctly-20081025
LICENSE IPL10

actually call the correct method for EXP_GETHOST
2008-10-26 01:45:45 +00:00
Simon Wilkinson
3f08225c6b rx-rwlock-cleanup-20081025
LICENSE IPL10

make the rwlock patch actually build everywhere
2008-10-26 01:04:12 +00:00
Simon Wilkinson
f2014112bc aklog-chatty-20081025
LICENSE IPL10

make aklog not accidentally be chatty
2008-10-26 00:59:55 +00:00
Derrick Brashear
069cd726c0 darwin-kernel-rwlocks-20081023
LICENSE IPL10

convert to kernel rwlocks on darwin
2008-10-24 22:07:01 +00:00
Derrick Brashear
e73e2ff4b5 rx-atomics-for-solaris-and-darwin-20081023
LICENSE IPL10

support atomics on osx and solaris
2008-10-24 21:59:52 +00:00
Jeffrey Altman
23a511739b rx-rw-locking-20081024
LICENSE BSD

rename RWLOCK_INIT to AFS_RWLOCK_INIT in order to maintain naming
consistency and to distinguish them from the new RWLOCK_INIT macros
being used in rx.

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

add rx/rx_internal.h as a dependency

====================
LICENSE BSD

define RWLOCK_xxx operations

replace MUTEX_xxx operations with RWLOCK_xxx when it is appropriate
to do so.  This improves concurrency on multi-processor systems.

make additional use of atomic operations
2008-10-24 21:38:56 +00:00
Jeffrey Altman
f64ecbf721 windows-reformatting-20081021
LICENSE MIT

reformat some of the recent changes

cast away warnings on 64-bit windows
2008-10-22 02:25:25 +00:00
Derrick Brashear
a7a1846ab7 fd-setsize-test-20081021
LICENSE BSD

a test so we can deal with platforms which don't honor FD_SETSIZE
2008-10-21 19:36:35 +00:00
Derrick Brashear
9bca8ce22a linux24-writepage-antideadlock-20081021
LICENSE IPL10

also make this work for 2.4.x
2008-10-21 14:44:50 +00:00
Derrick Brashear
6d14b44b7c blacklist-move-init-checks-back-into-req-code-20081020
LICENSE IPL10

revise things so we don't need to check initd outside analyze.c/InitReq

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

since these end up being used, init them too
2008-10-20 20:29:26 +00:00
Derrick Brashear
4a587356a3 linux-mmap-antirecursion-20081020
LICENSE IPL10
FIXES 120491

avoid deadlocking ourselves due to recursion when flushing pages on an
mmap()ed file larger than the cache
2008-10-20 13:38:07 +00:00
Marc Dionne
bc9c0a1415 autoconf-262-support-20081020
LICENSE IPL10
FIXES 118058

fix the quoting and remove the tests we shouldn't need anymore
2008-10-20 13:34:58 +00:00
Derrick Brashear
3ad8fba85f blacklist-check-only-existing-servers-20081020
LICENSE IPL10

based on suggestion from haba@pdc.kth.se
2008-10-20 13:03:44 +00:00
Marc Dionne
7366eb3d46 blacklistonce-use-only-initd-vrequest-20081020
LICENSE IPL10

avoid using an un "initd" vrequest for server blacklisting
2008-10-20 13:01:34 +00:00
Asanka Herath
90e4242c2d windows-handle-invalid-utf16-names-20081019
LICENSE MIT
FIXES 116641

Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode
and cannot be converted to UTF8.  Return bad file name errors in those
cases.

Make sure all file server strings once converted to UTF16 can be converted
back.  If not, escape the invalid portions of the string so that the
file can be accessed.
2008-10-20 00:17:41 +00:00
Jeffrey Altman
0c7d7ce3b8 windows-smb-rdr-duration-logging-20081019
LICENSE MIT

if an smb request takes longer than 45 seconds, log info to afsd_init.log
that might be helpful in determining patterns in the smb client disconnects
2008-10-19 23:50:21 +00:00
Jeffrey Altman
622f9b0de8 windows-smb-bridge-nowild-error-handling-20081019
LICENSE MIT

add the error preprocessor symbol to the error string

if both an NRC_BRIDGE and NRC_NOWILD error are received within
the smb_Listener thread, try re-adding the NetbiosName to the lana
before giving up and quiting.
2008-10-19 23:44:20 +00:00
Jeffrey Hutzelman
2767cbf773 newtrans-lock-fix-fix-20081018
LICENSE IPL10

swap in the freshly allocated memory instead of throwing it away
2008-10-18 20:25:56 +00:00
Jeffrey Altman
f9191fdebc smb-symlink-to-vnovnode-attribute-20081017
LICENSE MIT

When reporting the attribute of a directory name which happens to be
a symlink object to a file that cannot be accessed or does not exist,
use the target name to guess the type of the object.  If it has an
extension, consider it a file, otherwise report it as a directory.
2008-10-18 18:01:07 +00:00
Jeffrey Altman
7e8c41d53f ubik-uninitialized-var-20081018
LICENSE MIT

'pass' must be initialized.  do so.
2008-10-18 16:24:35 +00:00
Jeffrey Altman
f69137625f restore-uninitialized-var-20081018
LICENSE MIT

'last' must be initialized.  do so.
2008-10-18 16:23:13 +00:00
Jeffrey Altman
1bdea5e470 fix-maxmtu-command-line-20081018
LICENSE MIT

fix the variable used for maxmtu command line processing
2008-10-18 16:08:50 +00:00
Jeffrey Altman
f5455f7498 windows-pioctl-wnet-connected-20081018
LICENSE MIT

refactor.  consolidate netbios name acquistion.
2008-10-18 14:12:19 +00:00
Jeffrey Altman
75f496df17 windows-pioctl-wnet-connected-20081017
LICENSE MIT

use WNetEnumXXX functions to list connected disk resources.
If the requested drive letter is an AFS resource, perform the pioctl
test.  If it is not, fail immediately.
2008-10-18 07:19:17 +00:00
Jeffrey Altman
edf7a40203 windows-reset-acl-list-20081017
LICENSE MIT

Move definition of cm_ResetACLCache from cm_ioctl.c to cm_aclent.c
2008-10-18 05:44:51 +00:00
Jeffrey Altman
4c79498bc3 windows-shell-extension-20081017
LICENSE MIT

windows-afsreg-20081017 wraps strings for wide char usage.
use the wide char versions of win32 apis to match.
2008-10-18 05:12:25 +00:00
Jeffrey Altman
81a9217595 windows-afsreg-20081017
LICENSE MIT

wrap all text strings with TEXT() to permit use with wide char functions
2008-10-18 05:09:44 +00:00
Jeffrey Altman
e4b6e4d4a6 windows-pthread-rwlock-20081017
LICENSE MIT

Adds pthread rwlock support to the library.
2008-10-17 21:24:19 +00:00
Jeffrey Altman
c3251a3b18 windows-install-nsis-20081016
LICENSE MIT

update copyright dates

remove old AFS IFS entries

delete afslogon* and afscpcc.* from $SYSDIR

correct install location of afslogon.dll in WinLogon\Notify registry key
2008-10-17 02:41:12 +00:00
Jeffrey Altman
bfd01550bd windows-netbios-name-logging-20081015
LICENSE MIT

log more data to afsd_init.log regarding events that
can cause the netbios name registration to become
invalid.
2008-10-16 02:38:35 +00:00
Jeffrey Altman
e0298d5f09 windows-dnlc-20081015
LICENSE MIT
FIXES 116641

Do not use the DNLC if the name when converted from Unicode is NULL.
2008-10-16 02:26:11 +00:00
Jeffrey Altman
1115e29dac windows-checkVCs-20081015
LICENSE MIT
FIXES 116641

Do not drop references to 'nextp' until we are done with the object.
Dropping the last reference can result in the object being destroyed.
2008-10-15 14:50:51 +00:00
Mike Meffie
9be6b92a17 linux-alt-builddir-fix-20081014
LICENSE IPL10
FIXES 121650

correct the if test to include missing x
2008-10-14 15:38:30 +00:00
Derrick Brashear
24ce8010cd linux-proc-walk-locking-20081012
LICENSE IPL10
FIXES 116603

sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely
2008-10-12 19:44:27 +00:00
Dragos Tatulea
0195d7c082 disconnected-rmdir-infinite-recursion-20081012
LICENSE IPL10
FIXES 121226

fix infinite recursion when replaying rmdir transaction
2008-10-12 19:10:05 +00:00
Simon Wilkinson
7c6fac305c disconnected-getvcache-avoid-duplicate-work-20081012
LICENSE IPL10
FIXES 121254

don't do duplicate work finding a vcache we already had
2008-10-12 19:06:27 +00:00
Stefaan De Roeck
726fc5b842 linux-alternate-kernel-builddir-20081012
LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.
2008-10-12 19:01:58 +00:00
Jeffrey Hutzelman
322f7e0e9f volser-newtrans-racy-20081012
LICENSE IPL10
FIXES 121263

avoid a race on creating new transactions in volserver
2008-10-12 18:53:06 +00:00
Dragos Tatulea
4b72f8765c doxygen-comments-20081010
LICENSE IPL10
FIXES 98819 99069

add doxygen comments for some parts of openafs cache manager

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

add doxygen comments for some parts of openafs cache manager
2008-10-11 00:26:47 +00:00
Derrick Brashear
523dd766ef cachemgr-blacklist-down-servers-20081010
LICENSE IPL10
FIXES 121035

fix to issue suggested by reuter@rzg.mpg.de
2008-10-10 17:25:29 +00:00