Make remove-vnop-denies-unlink-on-mtpt-20040325 more likely to work,
and don't forget to afs_PutFakeStat() while we're at it. After we
call afs_EvalFakeStat(), there's no way that mvstat can be 1 -- either
the object wasn't a mountpoint and it'll be mvstat 0, or EvalFakeStat
will evaluate it and it'll be mvstat 2.
====================
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.
====================
Fix doug's patch. remote extraneous colons
Move (once again) the DependsOnXXX values to the right place.
(how did these end up back in NetworkProvider?)
Remove Rob's new way of installing services as it does not appear
to work properly.
Add in code to test the legitimacy of the upgrade to ensure we don't
try to upgrade an old IBM AFS version that isn't supported
Make sure that the only AFS in the PATH is ours and that we are only
in once.
Add the TransarcAFSDaemon entry into the Control\NetworkProviders::Order value
to support Integrated Login
Build service.exe and killer.exe with static libraries to avoid
run-time dependencies at install and uninstall time
====================
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.
====================
Check both Client and Server for unsupported previous installation
The variable 'm_unique' is an afs_uint32 where the desired parameter
must be of type struct VLCallBack when attempting to call VL_GetAddrs.
I do not know how this code ever worked on any platform as the stack
was being overwritten.
This produced binary, vos.exe on windows, also generates massive
memory leaks. I do not think we care all that much because the
utility does not stay around all that long. However, the fact that
the API makes it so easy to lose memory is scary.
In Mount_ReadSubmount() cache the first response to GetNetbiosName()
since the result won't change and the work necessary to get the result
is considerable. We don't want to be calling it loops over and over
again.
The Power Management Exit routine was instructing the thread to
terminate but was not waiting for the conclusion of the operation
before returning control to the caller. This allows the service
to pass control to the Service Manager before cleanup was properly
completed.
Rodney Dyer (UNCC) reported that the "fs setserverprefs" command if
issued multiple times would result in the AFSD server becoming unresponsive.
This appears to have been caused by improper use of writeLocks, a failure
to use writeLocks when necessary, and improper reference counting on the
cm_server_t data structures placed into the cm_allServersp list.
Improve error checking in GetNumOfIpAddrs to prevent potential
invalid memory access if the IP Address Table cannot be accessed.
(win2000 with no privs)
NotifyAddrChange() on Win2000 without privs fails. Detect the failure
and terminate the IPChangeMonitor thread to prevent an infinite loop
eating up system resources.
first pass at routine to detect kernel mem* routines
====================
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.
====================
FIXES 3651
second try
====================
FIXES 3651
third try
====================
FIXES 3651
this time for sure.
includes the definitions too, this way we can not have macros conflict with
headers we don't need
====================
FIXES 3651
this time for sure.
includes the definitions too, this way we can not have macros conflict with
headers we don't need
====================
FIXES 3651
this time for sure.
includes the definitions too, this way we can not have macros conflict with
headers we don't need
Move the README files to the top directory where they belong.
====================
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.
====================
As of 1.3.60 move the Windows Readme files from src to top directory
grab current version from http://grand.central.org/dl/cellservdb/CellServDB
====================
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.
====================
grab latest version from http://grand.central.org/dl/cellservdb/CellServDB
For UNCC, allow old style netbios name to be the default for this
release to give them time to convert their scripts to use \\AFS\...
instead of \\%MACHINENAME%-AFS\...
Change the NetbiosName registry value from REG_SZ to REG_EXPAND_SZ
and add the necessary code to expand the strings. This will allow
the use of %COMPUTERNAME%-AFS in case people want to explicitly use
a non-portable name.
====================
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.
====================
Fix the DependsOnGroup NetworkProvider key to ensure it is placed in
the correct location
Change the location of the ShowTrayIcon key so that we no longer store
user data in the HKLM Transarc tree
====================
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.
====================
Move the locations of the ShowTrayIcon and cell name based expiration
reminder keys out of the HKLM\SOFTWARE\Transarc... key and into the
{HKCU,HKLM}\SOFTWARE\OpenAFS\... tree. This is safe to do because these
keys are transient in nature (created by afscreds.exe) and really do
belong to the user and not to the machine.
Fix the location of the registy values to be used for specifying
the service dependencies of the AFS Network Provider. AFS is
dependent on PNP_TDI (tcpip, netbt, etc); RpcSs; and NetBios.
Upgrades were failing to read the Cell name from the proper location
so that it could be restored.
This is an initial crack at one of the big problems with the existing
AFS client. Multiple processes in a single session or in multiple
sessions (terminal server) can step on each others toes. This is
because the dual use of RPC and SMB calls to perform operations.
Since nothing is done in a single synchronized step, there are plenty
of opportunities for data overwrites to occur.
The change was to add a Global Mutex within all of the ktc_XXXToken
calls. The use of "Global\" prefixed kernel objects are only supported
on Win2000 and above. This is fine because this is all we claim to
support. But if someone was to decide to run this code on NT4 or Win95
anyway bad things will now happen. This should probably be cleaned up
if someone has time.
openbsd:
use vrele instead of AFS_RELE in unmount to avert panic
acquire GLOCK in mount (not really needed but oh well)
other finnicky and needless tweaks
Support for FreeBSD 5.x client.
Both 4.x and 5.x now use vnodes from the system pool instead of attaching
a private vnode to the vcache.
Most of this is from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
I just did some integration and made it work again on 4.x.