openafs.git
17 years agolinux-2620-rc1-update-20061228
Marc Dionne [Thu, 28 Dec 2006 21:28:31 +0000]
linux-2620-rc1-update-20061228

FIXES 49890

updates for linux 2.6.20-rc1

17 years agoafsdb-resolver-reinit-20061228
Derrick Brashear [Thu, 28 Dec 2006 20:36:26 +0000]
afsdb-resolver-reinit-20061228

as reported by Adam Megacz, but my own version of the fix

17 years agomacos-installer-fix-20061227
Derrick Brashear [Wed, 27 Dec 2006 15:46:26 +0000]
macos-installer-fix-20061227

make the installer build correctly again

17 years agowindows-server-config-20061226
Jeffrey Altman [Tue, 26 Dec 2006 20:21:16 +0000]
windows-server-config-20061226

Reformat the entire directory.

Add Freelance mode awareness.

Map the root.afs volume starting from Z: and work down.

17 years agowindows-optimize-smb-dir-search-if-no-wildcard-20061226
Jeffrey Altman [Tue, 26 Dec 2006 20:17:25 +0000]
windows-optimize-smb-dir-search-if-no-wildcard-20061226

fix the computation of the ShortName.  Take into account the network
byte order of the cm_dirFid_t fields.

send error packets from within the function as needed.  do not return
the error to the caller.

17 years agobosserver-avoid-bosconfig-truncation-20061221
Derrick Brashear [Fri, 22 Dec 2006 06:45:40 +0000]
bosserver-avoid-bosconfig-truncation-20061221

why the heck would it be a good idea to rewrite the BosConfig while we are starting, exactly?

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

why the heck would it be a good idea to rewrite the BosConfig while we are start
ing, exactly?

17 years agosplit-cache-update-20061220
Derrick Brashear [Wed, 20 Dec 2006 21:17:12 +0000]
split-cache-update-20061220

move closer to 1.4 implementation esp when split cache is turned off

17 years agosolaris10-avoid-direct-cred-access-20061220
Dale Ghent [Wed, 20 Dec 2006 20:07:02 +0000]
solaris10-avoid-direct-cred-access-20061220

avoid a panic after we muck with groups by being less evil

17 years agostrl-20061220
Jim Rees [Wed, 20 Dec 2006 17:03:59 +0000]
strl-20061220

convert sys_errlist -> strerror, strcat ->strlcat, strcpy -> strlcpy

17 years agowindows-afslogon-20061219
Jeffrey Altman [Tue, 19 Dec 2006 17:55:44 +0000]
windows-afslogon-20061219

Initialize Winsock from within afslogon.c so that ka_UserAuth will
work again.

17 years agovolser-dumpstuff-20061218
Hartmut Reuter [Tue, 19 Dec 2006 04:50:16 +0000]
volser-dumpstuff-20061218

FIXES 46937

"vos release" per default does an incremental dump.
volser-dump-validate-input-20060417 ends up with keeping dead vnodes and
data in the remote RO-volume.  This patch corrects the behavior for
RO-volumes.

See ticket for extensive discussion.

17 years agorx-mtu-fixes-20061218
Chas Williams [Tue, 19 Dec 2006 04:35:29 +0000]
rx-mtu-fixes-20061218

http://www.openafs.org/pipermail/openafs-devel/2006-November/014487.html

17 years agokernel-endianness-test-fix-20061218
Derrick Brashear [Tue, 19 Dec 2006 04:29:13 +0000]
kernel-endianness-test-fix-20061218

FIXES 47893

ok, so, when we're in the kernel, do something

17 years agoopenafs-kernel-src-fix-20061218
Derrick Brashear [Tue, 19 Dec 2006 04:18:48 +0000]
openafs-kernel-src-fix-20061218

FIXES 44573

ok, so, we need to emit Makefile.version when we build openafs-kernel

17 years agovolser-undo-cleanup-20061218
Jeffrey Altman [Tue, 19 Dec 2006 03:37:34 +0000]
volser-undo-cleanup-20061218

uncommit an inappropriate commit

  DELTA volser-cleanup-xx-20061128

17 years agorx-globals-avoid-INIT-reuse-20061218
Derrick Brashear [Tue, 19 Dec 2006 03:17:57 +0000]
rx-globals-avoid-INIT-reuse-20061218

FIXES 45515

avoid calling our macro INIT

17 years agovolume-dont-artificially-untimeout-vlservers-20061218
Jeffrey Hutzelman [Tue, 19 Dec 2006 02:32:55 +0000]
volume-dont-artificially-untimeout-vlservers-20061218

FIXES 48959

remove synthetic event to undo timeouts of vlservers we "haven't talked to yet"

17 years agolinux-osi-cred-pool-byebye-20061218
Chas Williams [Tue, 19 Dec 2006 02:28:19 +0000]
linux-osi-cred-pool-byebye-20061218

ok, unneeded abstraction removed.

17 years agowindows-afslogon-20061218
Jeffrey Altman [Mon, 18 Dec 2006 23:56:19 +0000]
windows-afslogon-20061218

test for the existence of the mutex and not the bInit flag
during the DLL attach

17 years agowindows-install-wix-20061218
Asanka Herath [Mon, 18 Dec 2006 22:33:15 +0000]
windows-install-wix-20061218

remove the AFS Server wizard shortcut

add AFS Server dependencies (tcpip and PNP_TDI)

17 years agowindows-nsis-20061218
Jeffrey Altman [Mon, 18 Dec 2006 21:44:11 +0000]
windows-nsis-20061218

remove the autorun for the AFS Server Wizard

remove the shortcut to the AFS Server Wizard

update the service dependencies for the bosctlsvc (tcpip and PNP_TDI)

17 years agowindows-optimize-smb-dir-search-if-no-wildcard-20061217
Asanka Herath [Sun, 17 Dec 2006 21:05:28 +0000]
windows-optimize-smb-dir-search-if-no-wildcard-20061217

When performing a SMB FindFirst/FindNext/FindClose operation if there
are no wildcards involved, we can optimize the case and turn it from
O(n) to O(1) where 'n' is the number of entries in the directory.
This can be done by performing a cm_Lookup() and if it succeeds,
constructing the appropriate response instead of parsing the contents
of each buffer associated with the directory looking for matches.

Without this optimization, FindFirst operations on directories containing
thousands of entries can take a large number of seconds to complete.

17 years agorx-fix-lock-init-20061216
Jeffrey Altman [Sun, 17 Dec 2006 01:21:52 +0000]
rx-fix-lock-init-20061216

When rxBind was added it made an assumption that rx_GetIFInfo could be
called before rx_InitXYZ.  This is true on non-Windows platforms, but
on Windows rxGetIFInfo relies on an initialized mutex.  This patch adds
a DllMain for Windows in order to initialize the mutex object upon DLL
load.

17 years agovldb-repair-tool-20061216
Derrick Brashear [Sat, 16 Dec 2006 06:25:24 +0000]
vldb-repair-tool-20061216

make vldb_check able to repair at least some kinds of damage

run it on a vldb which does not have a server operating live on it
verify the result with vldb_check before using.

17 years agoubik-better-debug-logging-in-remote-20061215
Derrick Brashear [Fri, 15 Dec 2006 16:37:03 +0000]
ubik-better-debug-logging-in-remote-20061215

log when we get errors doing remote sync what it was, rather than covering it up

17 years agowindows-custom-control-subclassing-bis-20061212
Jeffrey Altman [Wed, 13 Dec 2006 00:25:23 +0000]
windows-custom-control-subclassing-bis-20061212

Do not link to both talocale.lib and taafsapplib.lib.

If you do, then there are duplicate functions in both the .EXE and
the TaAfsAppLib.DLL.

17 years agowindows-custom-control-subclassing-20061212
Jeffrey Altman [Tue, 12 Dec 2006 20:37:44 +0000]
windows-custom-control-subclassing-20061212

While investigating the reasons behind the Drive Mapping listbox
failing to permit entries 2 or above to be edited or removed and
the text string being truncated to two characters (on some systems)
I discovered that the subclasses were being recompiled into each
application instead of linking against the DLL that contains the
controls.

The custom controls have been renamed to address name space issues.

The "Drive X:" label changed to "X:" to permit single character item
selection within the listbox.

Still have no idea what is really going on.  Spy++ shows the Windows
messages being sent to the correct Windows.  However, the getcount
message never obtains a value other than 0 or 1.  This is probably
why the selection code is broken.  Still working on it.

17 years agowindows-sleep-when-out-of-buffers-20061212
Jeffrey Altman [Tue, 12 Dec 2006 17:02:37 +0000]
windows-sleep-when-out-of-buffers-20061212

When there are no free buffers, don't loop continuously.
Sleep so that the other threads that are holding the buffers
can grab the global buffer lock and release them.

17 years agowindows-afsd-20061211
Jeffrey Altman [Tue, 12 Dec 2006 04:00:40 +0000]
windows-afsd-20061211

(1) Power Management improvements.  Maintain a global flag that
    specifies whether or not the service is in a suspend state.
    Do not panic if Netbios() returns NRC_BRIDGE meaning that the
    lana is no longer valid.  Instead, stop the listener threads
    and if all listener threads are stopped, reset the lana_list.
    Allow the cm_Daemon() thread to periodically check the state
    of the smb listeners.  If they are all stopped and the service
    is not suspended, attempt to restart them.  If there are no valid
    lanas, return to the stopped state.

(2) CreateX and NTCreateX use cm_CheckNTOpen() to test whether or not
    the user is permitted to obtain read or write locks.  This function
    would obtain the lock and then drop it returning whether or not
    the lock could be obtained.  If the lock was in fact required,
    CreateX/NTCreateX would then obtain it with cm_Lock().  The problem
    of course being that this pattern results in three RPCs to the
    file server (lock, unlock, lock).  This is reduced to one RPC by
    implementing cm_CheckNTOpenDone() which frees the allocated byte
    range lock from cm_CheckNTOpen() after the cm_Lock() call is
    performed.

(3) Remove unused code.

(4) Add debugging to SMB Directory Search functions.

(5) Increase the SMB Ioctl MaxData size

17 years agokaserver-log-tgtreq-20061206
Russ Allbery [Wed, 6 Dec 2006 20:00:48 +0000]
kaserver-log-tgtreq-20061206

Separately log TGT requests in addition to logging the authentication so
that one can distinguish in the logs between Kerberos v4 clients and uses
of klog.

17 years agorx-preparesendpacket-avoid-double-free-20061205
Derrick Brashear [Tue, 5 Dec 2006 19:38:44 +0000]
rx-preparesendpacket-avoid-double-free-20061205

wow, this is special

existed forever but only when we stopped leaking packets did it become a problem

anyway, don't free packets and forget to reduce the number of packets in play

17 years agodocbook-quickguide-cleanup-20061201
Russ Allbery [Sat, 2 Dec 2006 03:56:17 +0000]
docbook-quickguide-cleanup-20061201

Remove generated files from CVS.

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

Some initial obvious cleanup.  Removed all the sections on Digital UNIX,
changed IBM AFS to OpenAFS throughout, and reformatted and cleaned up the
front matter and some of the first few pages.

17 years agodocbook-quickguide-makefile-20061201
Russ Allbery [Sat, 2 Dec 2006 02:22:34 +0000]
docbook-quickguide-makefile-20061201

Add some comments to the makefile, set up dependencies to build the index
automatically, remove a bunch of unnecessary @-signs in front of commands,
and add a clean target.

17 years agopam-aklog-now-external-20061201
Russ Allbery [Sat, 2 Dec 2006 01:44:50 +0000]
pam-aklog-now-external-20061201

Remove pam_aklog.  pam_afs_session will be developed and distributed as an
external project instead.

17 years agogive-s390x-syscall-table-the-big-hammer-20061201
Derrick Brashear [Fri, 1 Dec 2006 18:48:26 +0000]
give-s390x-syscall-table-the-big-hammer-20061201

Neale Ferguson contributed the assembler.

The false illusion of security some people want to play under is usually good for wasting a few hours; it was here. making the sys_call_table read nly for real of course fixes it, let's just hope keyrings come along before then on such platforms.

17 years agoredhat-packaging-updates-20061201
Derrick Brashear [Fri, 1 Dec 2006 18:32:49 +0000]
redhat-packaging-updates-20061201

updates from derek

updates for s390x

updates to handle suse

17 years agoredhat-initscripts-update-for-suse-20061201
Derrick Brashear [Fri, 1 Dec 2006 12:52:38 +0000]
redhat-initscripts-update-for-suse-20061201

suse lacks /etc/init.d/functions

17 years agocprivate-ticketlen-is-32-not-16-20061129
Derrick Brashear [Wed, 29 Nov 2006 21:22:38 +0000]
cprivate-ticketlen-is-32-not-16-20061129

everyone else thinks ticketLen is 32 bits. contrary to what arby's says, different is not necessarily better.

17 years agowindows-dirty-buffer-optimization-20061128
Jeffrey Altman [Wed, 29 Nov 2006 06:23:00 +0000]
windows-dirty-buffer-optimization-20061128

The old dirty buffer synchronization algorithm had a buf_IncrSyncer
thread walking the all buffer list periodically searching for dirty
buffers to write to the file server.  This had several negative
results.  The alogirithm ate up ever increasing amounts of CPU time
even when AFS is idle as the size of the cache increases.  Also,
buffers were written to the file server in an order based upon the
original buffer allocation which has nothing to do with the order
in which the buffers became dirty.

The new algorithm maintains a dirty buffer list.  Items are added
when the buffer is originally marked dirty.  A buffer is only
removed from the list by the buf_IncrSyncer when the buffer is no
longer dirty.  If the list is empty the thread goes back to thread
immediately without additional processing requirements.

17 years agovolser-cleanup-xx-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:30:58 +0000]
volser-cleanup-xx-20061128

cleanup the return code handling from

  DELTA volser-dump-validate-input-20060417

17 years agowindows-smb-dont-crash-vista-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:16:36 +0000]
windows-smb-dont-crash-vista-20061128

Unlike previous versions of the OS, Vista performs a shutdown on
the Microsoft Loopback adapter just like it would on a real adapter.
This causes the smb_Listener threads to trigger a panic during a
suspend/hibernate power event.

The fix is to unbind from the network adapters in response to a
suspend/hibernate power event and then rebind to the adapters
when a resume power event is received.  Note that the resume events
are not reliably delivered so it is possible the afs service will
not be accessible.  However, this is the best we can do.

17 years agowindows-conn-analyze-20061128
Jeffrey Altman [Tue, 28 Nov 2006 09:05:10 +0000]
windows-conn-analyze-20061128

force an rx connection reset if VICECONNBAD or VICETOKENDEAD are
received

17 years agowindows-afslogon-dont-modify-environment-20061128
Jeffrey Altman [Tue, 28 Nov 2006 08:59:43 +0000]
windows-afslogon-dont-modify-environment-20061128

don't allow environment variables we set to be inherited by child
processes

17 years agothiscell-whitespace-20061120
Russ Allbery [Tue, 21 Nov 2006 00:56:14 +0000]
thiscell-whitespace-20061120

Be more liberal when parsing ThisCell.  Accept and ignore leading and
trailing whitespace and anything after the first whitespace character on
the first line.  Return an error for a read error or for an empty cell
name.

17 years agoparam-common-fix-20061120
Russ Allbery [Mon, 20 Nov 2006 23:50:42 +0000]
param-common-fix-20061120

Rather than setting AFS_PARAM_COMMON as part of the sysname guessing code,
guess the sysname first and then sent AFS_PARAM_COMMON in a separate case
statement based on the results.  Otherwise, it isn't set when
--with-afs-sysname is used explicitly, resulting in a broken Linux build.

17 years agorelative-path-canonicalization-20061120
Russ Allbery [Mon, 20 Nov 2006 23:33:33 +0000]
relative-path-canonicalization-20061120

Path canonicalization for commands such as bos getlog was only applied for
absolute paths; relative paths were still constructed relative to the
canonical directory.  Modify the path canonicalization routines to also
canonicalize the base directory for relative paths.

17 years agowindows-netidmgr-plugin-vista-vs2005-20061120
Jeffrey Altman [Mon, 20 Nov 2006 18:53:28 +0000]
windows-netidmgr-plugin-vista-vs2005-20061120

Define _USE_32BIT_TIME_T since that is what tokens contain.

Use cflagsdll instead of cflagsmt to avoid multiply defined entry points

17 years agowindows-remove-unused-libs-20061120
Jeffrey Altman [Mon, 20 Nov 2006 18:03:03 +0000]
windows-remove-unused-libs-20061120

rpcndr.lib and largeint.lib are no longer used.
rpcndr.lib no longer exists in the Vista SDK.

17 years agowindows-smb-rename-offline-folders-20061111
Jeffrey Altman [Sat, 11 Nov 2006 07:12:10 +0000]
windows-smb-rename-offline-folders-20061111

FIXES 45692

when offline folders are enabled, the old file name sent in a rename
operation is sent in all uppercase even when the file name is not.
this patch attempts a case insensitive match after the case sensitive
match fails.

17 years agorevert-inactivevcache-hold-lock-20061109
Derrick Brashear [Fri, 10 Nov 2006 04:33:59 +0000]
revert-inactivevcache-hold-lock-20061109

fails verification. come back to it

17 years agomacos-preupgrade-script-20061109
Derrick Brashear [Fri, 10 Nov 2006 04:09:16 +0000]
macos-preupgrade-script-20061109

update the preupgrade script

17 years agokill-stat-blksize-20061109
Chas Williams [Fri, 10 Nov 2006 04:02:01 +0000]
kill-stat-blksize-20061109

FIXES 42663

don't provide a bogus hint

17 years agoleopard-updates-20061109
Derrick Brashear [Fri, 10 Nov 2006 00:14:16 +0000]
leopard-updates-20061109

make things work with current seeds

17 years agolinux-blkbits-20061109
Chas Williams [Fri, 10 Nov 2006 00:06:44 +0000]
linux-blkbits-20061109

FIXES 42671

set blkbits if we have it

17 years agolinux-statfs-dentry-20061109
Marc Dionne [Thu, 9 Nov 2006 23:40:20 +0000]
linux-statfs-dentry-20061109

FIXES 42788

statfs changed in recent linux kernels. cope.

17 years agolinux-config-h-died-20061109
Chas Williams [Thu, 9 Nov 2006 23:10:51 +0000]
linux-config-h-died-20061109

FIXES 42662

config.h vanished. deal.

17 years agoinactivevcache-hold-lock-20061109
Chas Williams [Thu, 9 Nov 2006 23:02:32 +0000]
inactivevcache-hold-lock-20061109

FIXES 42798

hold a lock while we are in InactiveVCache

17 years agolinux26-disable-backing-readahead-20061109
Chas Williams [Thu, 9 Nov 2006 22:53:46 +0000]
linux26-disable-backing-readahead-20061109

FIXES 42797

disable vm readahead, we don't want it

17 years agowindows-buf-flush-20061109
Jeffrey Altman [Thu, 9 Nov 2006 21:25:28 +0000]
windows-buf-flush-20061109

FIXES 44330

The return value of buf_CleanAsync is not an error value but a flag
indicating whether or not the buffer was in fact dirty.  Do not treat
it as an error.  The error state is stored in the buffer itself.

17 years agobozo-avoid-garbage-in-allprocs-20061108
Jeffrey Hutzelman [Thu, 9 Nov 2006 02:13:13 +0000]
bozo-avoid-garbage-in-allprocs-20061108

if we error, don't put garbage in allProcs

17 years agoamd64-better-range-checking-20061108
Jeffrey Hutzelman [Wed, 8 Nov 2006 18:56:08 +0000]
amd64-better-range-checking-20061108

FIXES 44198

check entire mapped space

17 years agoaklog-doc-improvements-20061105
Russ Allbery [Mon, 6 Nov 2006 04:24:42 +0000]
aklog-doc-improvements-20061105

Document (at least partially) AFS's mapping of Kerberos v5 principal names
to Kerberos v4 format in the aklog man page.  Also document that -setpag
may not always work.

17 years agoafsd-shutdown-doc-improvement-20061105
Russ Allbery [Mon, 6 Nov 2006 04:16:09 +0000]
afsd-shutdown-doc-improvement-20061105

Change the CAUTIONS about afsd -shutdown to be less dire and more accurate,
as this now mostly works on Linux.

17 years agorxkad-server-bad-ticket-part-two-20061103
Jeffrey Altman [Sat, 4 Nov 2006 23:49:45 +0000]
rxkad-server-bad-ticket-part-two-20061103

FIXES 43862

Ensure that tkt_DecodeTicket and rxkad_CheckResponse return the right
RXKAD errors for ticket expiration or invalidity.  Avoid calling
tkt_CheckTimes twice in rxkad_CheckResponse

17 years agorxkad-server-bad-ticket-20061103
Jeffrey Altman [Sat, 4 Nov 2006 15:34:58 +0000]
rxkad-server-bad-ticket-20061103

FIXES 43862

The file server has been returning RXKADNOAUTH when the time between
the client and server is out of sync.  tkt_CheckTimes returns -1 for
recently expired tickets and -2 for tickets that have been expired for
a while.  In the -2 case we must return RXKADBADTICKET not RXKADNOAUTH.

17 years agowindows-afs-config-stat-entries-20061103
Jeffrey Altman [Fri, 3 Nov 2006 07:54:22 +0000]
windows-afs-config-stat-entries-20061103

raise max stat entries in the control from 10000
to 262144

17 years agofix-help-msg-20061031
Jim Rees [Tue, 31 Oct 2006 17:03:51 +0000]
fix-help-msg-20061031

Fix -help message, which was chopping off the "Usage: fileserver " part.
Get rid of silly private buffer and use stdio while we're at it.

17 years agok5-klog-20061026
Marcus Watts [Fri, 27 Oct 2006 00:39:15 +0000]
k5-klog-20061026

k5 version of klog

17 years agoaklog-lib-order-20061026
Marcus Watts [Thu, 26 Oct 2006 17:49:38 +0000]
aklog-lib-order-20061026

fix lib ordering

17 years agouse-strdup-20061026
Jim Rees [Thu, 26 Oct 2006 17:34:31 +0000]
use-strdup-20061026

use strdup instead of rolling our own

17 years agomore-small-obsd-tweaks-20061026
Jim Rees [Thu, 26 Oct 2006 17:13:32 +0000]
more-small-obsd-tweaks-20061026

Mention how to build aklog.
Don't even try to build kdump for [ofn]bsd.

17 years agoobsd-20061026
Jim Rees [Thu, 26 Oct 2006 16:06:57 +0000]
obsd-20061026

OpenBSD:
deprecate --with-krb5
warn about AUTOCONF_VERSION
package builder is now just a tarball builder

17 years agoproto-20061026
Jim Rees [Thu, 26 Oct 2006 15:54:12 +0000]
proto-20061026

prototypes for dbread/dbwrite

17 years agostrcpy-is-bad-20061023
Jim Rees [Mon, 23 Oct 2006 20:42:00 +0000]
strcpy-is-bad-20061023

eliminate strcpy

17 years agowindows-readme-20061023
Jeffrey Altman [Mon, 23 Oct 2006 05:07:38 +0000]
windows-readme-20061023

17 years agowindows-smb_fid_t-deadlock-20061022
Jeffrey Altman [Sun, 22 Oct 2006 13:23:59 +0000]
windows-smb_fid_t-deadlock-20061022

smb_ReleaseFID cannot be called while a cm_scache_t->mx is held

shuffle the order of the smb_ReleaseFID calls so they are always after
cm_XXXRelease calls for performance.

17 years agowindows-delonclose-20061021
Jeffrey Altman [Sun, 22 Oct 2006 03:29:05 +0000]
windows-delonclose-20061021

set delonclose after obtaining the smb_fid_t

17 years agoparallel-attaching-20061021
Tom Keiser [Sun, 22 Oct 2006 02:58:37 +0000]
parallel-attaching-20061021

FIXES 43332

Some sites expect single-threaded volume attaches to happen in a specific
order. The parallel attach patch also changed the attach order for sites
not specifying -vattachpar.

17 years agokreltime-20061021
Jeffrey Hutzelman [Sun, 22 Oct 2006 02:48:35 +0000]
kreltime-20061021

FIXES 43551

kreltime-guard-against-null-tm-20060731 was apparently an
attempt to deal with the possibility of localtime() returning NULL by
using localtime_r instead, and zeroing the tm structure first. This has
two problems. First, localtime_r is not guaranteed to leave its output
buffer untouched or in a sane state in the event it is given invalid
input. More importantly, the second half of this delta fixed the build
on Windows (which apparently lacks localtime_r) at the expense of using
the wrong level of indirection on other platforms.

Simple is nice, but correct is important too. There is nothing wrong
with switching to localtime_r to avoid thread safety issues. However,
the correct fix for the anticipated problem was and is to check the
return value of localtime (or localtime_r), and if it is NULL, fill in
the ktime_date with suitable default values.

The attached patch does not implement the correct fix, but does fix the
double-indirection problem, so butc will again perform correctly instead
of crashing.

17 years agowindows-misc-20061021
Jeffrey Altman [Sat, 21 Oct 2006 21:46:17 +0000]
windows-misc-20061021

* don't DebugBreak unless a debugger is attached

* replace afsdcell.ini with CellServDB in error message

* do not NetBIOS Reset adapters when checking to see if only the loopback
  is in use because doing so breaks the existing LANA bind

* remove a deadlock in smb3.c

* do not retry dirty buffer writes when flushing in response to a suspend

* do not flush in response to a suspend when only the loopback is present

17 years agowindows-dbg-refcount-20061016
Jeffrey Altman [Tue, 17 Oct 2006 01:32:06 +0000]
windows-dbg-refcount-20061016

more code to assist in debugging scache refcount leaks

17 years agowindows-scache-ref-leak-20061016
Jeffrey Altman [Tue, 17 Oct 2006 01:20:33 +0000]
windows-scache-ref-leak-20061016

more reference count leaks

17 years agowindows-netidmgr-plugin-20061016
Jeffrey Altman [Mon, 16 Oct 2006 14:54:32 +0000]
windows-netidmgr-plugin-20061016

fixup build dependencies for afsp_version.h

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

fixup copyrights

17 years agokeyring-pag-more-needed-defines-20061014
Derrick Brashear [Sat, 14 Oct 2006 15:57:37 +0000]
keyring-pag-more-needed-defines-20061014

some kernel don't have this. for post-1.4.2

17 years agoaudit-one-more-thing-20061013
Derrick Brashear [Fri, 13 Oct 2006 20:40:49 +0000]
audit-one-more-thing-20061013

it never ends

17 years agoaudit-remove-nested-valists-20061013
Derrick Brashear [Fri, 13 Oct 2006 18:36:30 +0000]
audit-remove-nested-valists-20061013

last straw
make amd64, ppc happy for sure and for ever

17 years agoaix-cleanup-20061013
Tom Keiser [Fri, 13 Oct 2006 14:06:38 +0000]
aix-cleanup-20061013

fixes for aix pre 5.2 (statfs64), remove a c++ style comment (makes xlc sad) and
 make clean target clean

17 years agouae-translate-create-20061013
Derrick Brashear [Fri, 13 Oct 2006 06:12:17 +0000]
uae-translate-create-20061013

really the stubs should probably just translate the codes back. maybe for 1.6

17 years agowindows-netidmgr-plugin-20061012
Jeffrey Altman [Fri, 13 Oct 2006 00:28:05 +0000]
windows-netidmgr-plugin-20061012

afsp_version.h is auto-generated

====================
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 product version generation

17 years agowindows-scache-ref-leak-20061012
Jeffrey Altman [Thu, 12 Oct 2006 06:57:40 +0000]
windows-scache-ref-leak-20061012

make sure the scache mutex is held across calls to cm_SyncOpDone

17 years agoauditlog-sublist-fix-20061012
Derrick Brashear [Thu, 12 Oct 2006 05:20:59 +0000]
auditlog-sublist-fix-20061012

FIXES 35559

update so we don't botch the va_list child

17 years agolinux-aio-functions-improved-test-20061011
Derrick Brashear [Thu, 12 Oct 2006 13:22:28 +0000]
linux-aio-functions-improved-test-20061011

detect properly if we have nothing

17 years agoversion-string-generation-consistency-20061011
Chaskiel M Grundman [Wed, 11 Oct 2006 14:14:47 +0000]
version-string-generation-consistency-20061011

FIXES 42320

try harder to reflect actual version

17 years agoelif-missing-defined-20061011
Chaskiel M Grundman [Wed, 11 Oct 2006 13:25:47 +0000]
elif-missing-defined-20061011

FIXES 42321

add missing defined() to avoid warning on macro

17 years agorx-memset-param-swap-20061011
Peter Nelson [Wed, 11 Oct 2006 11:29:58 +0000]
rx-memset-param-swap-20061011

discovered via google codesearch

17 years agowindows-netidmgr-plugin-20061010
Asanka Herath [Wed, 11 Oct 2006 05:32:16 +0000]
windows-netidmgr-plugin-20061010

Secure Endpoints Inc. is contributing its AFS plug-in for KFW 3.1's
Network Identity Manager to OpenAFS under an MIT style license.

17 years agowindows-release-notes-20061010
Jeffrey Altman [Wed, 11 Oct 2006 05:27:21 +0000]
windows-release-notes-20061010

fixup the file names to match the 1.5 branch

17 years agoirix-compiler-hates-commas-20061010
Derrick Brashear [Tue, 10 Oct 2006 23:20:35 +0000]
irix-compiler-hates-commas-20061010

damn is irix fussy

17 years agowindows-no-more-win9x-20061010
Jeffrey Altman [Tue, 10 Oct 2006 23:07:56 +0000]
windows-no-more-win9x-20061010

don't install afsmsg95.h as it no longer exists

17 years agolinux-dont-lock-around-inactivevcache-20061010
Chas Williams [Tue, 10 Oct 2006 22:59:10 +0000]
linux-dont-lock-around-inactivevcache-20061010

FIXES 42312

iafs_InactiveVCache() calls afs_InvalidateAllSegments() which says
it should be called with the vnode locked. so the lock should
probably be moved to afs_InactiveVCache() so it can be droppped
before calling afs_remunlink().