Derrick Brashear [Sun, 3 Apr 2005 20:37:29 +0000]
license-update-
20050403
FIXES 18131
collect all licenses here
====================
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 18131
install LICENSE into destdir builds
Derrick Brashear [Sun, 3 Apr 2005 20:21:19 +0000]
hpux-license-update-
20050403
FIXES 18129
update hpux psf file copyright info
Derrick Brashear [Sun, 3 Apr 2005 20:13:11 +0000]
macos-update-packaging-
20050403
FIXES 18127
add apsl 2.0 license. note it in ReadMe.rtf. update buildpkg to provide afsd options sample. update post_install to use sample ThisCell and options if none provided.
Sven Oehme [Sun, 3 Apr 2005 20:02:28 +0000]
linux-ppc64-26-
20050403
FIXES 18114
add support for ppc64 linux26
Derrick Brashear [Sun, 3 Apr 2005 19:48:16 +0000]
new-gcc-cleanup-
20050403
more picky about some of this stuff, and it's right, so let's clean it up
Derrick Brashear [Sun, 3 Apr 2005 19:32:20 +0000]
remove-insecure-and-ntp-
20050403
rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now.
Sven Oehme [Sun, 3 Apr 2005 19:17:58 +0000]
s390x-linux26-flavor-check-
20050403
FIXES 18112
add missing flavor bit check for s390x
Niklas Edmundsson [Sun, 3 Apr 2005 19:13:30 +0000]
aix5-allocator-cleanup-
20050403
* Removed memory allocation functions only used on AIX and ancient
HPUX. If the performance penalty is noticeable, implement a wrapper
at the osi-level in the same manner as LINUX/FBSD (ie not sprayed
throughout the code).
* Removed all remnants of splnet()-style locking, it was not
sufficient for MP anyway which the real locks are. Affects only AIX
and HPUX.
* Drop the global locking in rxi_Alloc since the real locks do their
jobs, affects only AIX41 and up (ie. MP capable OS).
* Fix the non-kernel wrapper for osi_Alloc/Free on AIX to take void *
in the same manner as the rest of the functions. IMO this wrapper
shouldn't be necessary since you should never ever malloc() 0 bytes,
but since it's there I'd guess someone made stupid assumptions
somewhere...
* Restores MAXKTCTICKETLEN to 12000 on AIX
* Restores AFS_LWP_MINSTACKSIZE to 48k on AIX (might affect
server-stuff)
Derrick Brashear [Sun, 3 Apr 2005 19:09:05 +0000]
openafs-kill-dead-code-
20050403
Code ifdef'd any of AFS_MACH_ENV, AFS_GFS_ENV, AFS_DEC_ENV dies
Code ifdef'd AFS_SUN_ENV either becomes AFS_SUN5_ENV or dies as appropriate,
in the kernel only. The database servers etc are probably still buildable,
and I still have a SunOS 4.1.4 machine. ;-) But the Solaris vnops get all
SunOS 4 code nuked.
Uses of AFS_ALPHA_ENV which secretly meant OSF/1,D/UX,Tru64 become
AFS_OSF_ENV.
Bozon lock use gets its own ifdef. OSF and Solaris define it. Darwin and any
BSDs have bozon lock usage removed: note that only OSF and Solaris were
bothering to *init* the bozon lock during NewVCache. Bozon locks are for
platforms where basically we could end up deadlocking ourselves because of
how locks are handled.
Some nonsensical ifdefs removed.
Some if 0'd code removed.
Some obsolete code (hpux pre-10, for instance) removed.
Jeffrey Altman [Sun, 3 Apr 2005 06:32:35 +0000]
rxdebug-unsigned-
20040403
use unsigned types when displaying stat data via printf
Jeffrey Altman [Sat, 2 Apr 2005 10:06:44 +0000]
windows-notes-
20050402
updates for version 1.3.81
Jeffrey Altman [Sat, 2 Apr 2005 09:23:50 +0000]
windows-deadlock-
20050402
One final deadlock was found in cm_TryBulkStat(). Do not hold the scp->mx
through the RXAFS call.
Jeffrey Altman [Fri, 1 Apr 2005 00:36:04 +0000]
windows-time-
20050331
Replace the time translation hack based on smb_NowTZ with a purely
mathematical conversion from UTC based unixTime (time_t) to UTC
based FILETIME
Jeffrey Altman [Thu, 31 Mar 2005 07:05:21 +0000]
windows-afsd-minor-
20050330
Add bounds checking to the comparison of fid->vnode and cm_localMountPoints
when Freelance mode is used.
Fix typo in DJGPP section of smb.c
Use rx_connection * instead of rx_call * in previous fix to cm_dcache.c
Jeffrey Altman [Wed, 30 Mar 2005 21:49:35 +0000]
windows-stress-test-fixes-
20050330
Ran more stress tests against 1.3.80b on a dual processor machine and
found a number of additional errors which could be fixed.
cm_callback.c: correct the refCount handling of server lists when
processing registering callbacks on the scache entry
cm_conn.c: cm_Analyze was not handling the CM_ERROR_NOSUCHVOLUME case.
In this case force a retry and Force Update the Volume info
cm_dcache.c; do not hold mx locks around calls to rx_NewCall(). That is
why we have reference counting on the rx_connection objects.
cm_ioctl.c: replace references to afsdcell.ini with CellServDB
cm_utils.c: formatting
cm_vnodeops.c: improve the logging and add a missing call to
cm_EndCallbackGrantingCall()
cm_volume.c: allows cm_volume_t objects to be reused if their
ref count is 0 and we have hit the maximum number allowed.
smb.c: improve the logging and the handling of dead_vcp references.
If all of the SMB sessions and NCBs are in use, return BUSY to the
CIFS client.
smb3.c: convert constants to preprocessor symbols
Derrick Brashear [Sat, 26 Mar 2005 07:10:39 +0000]
linux-vnode-macros-
20050326
here's a place where we passed a vcache instead of a vnode for linux. doesn't
matter today, might as well fix it now.
Chaskiel M Grundman [Sun, 27 Mar 2005 21:19:45 +0000]
lwp-deal-with-unaligned-memory-
20050326
FIXES 18050
don't double-free lwp stack space
Derrick Brashear [Sat, 26 Mar 2005 06:53:44 +0000]
rx-getaddrs-skip-loopback-addr-on-bsd-too-
20050326
as reported by Tracy Demarco-White
Derrick Brashear [Sat, 26 Mar 2005 05:37:42 +0000]
darwin-vnode-macros-
20050325
use vnode to vcache conversion macros
Derrick Brashear [Sat, 26 Mar 2005 00:44:39 +0000]
darwin-fstrace-
20050325
holy crap, it just worked.
Jeffrey Altman [Fri, 25 Mar 2005 17:58:47 +0000]
acl-maxentry-comment-
20050325
correct the comment related to the maximum number of entries in
an ACL. the number of ACEs must be less than or equal to ACL_MAXENTRIES
not less than ACL_MAXENTRIES.
Derrick Brashear [Thu, 24 Mar 2005 01:53:46 +0000]
sb-list-fix-
20050323
fix gaffe from my attempt at this
Jeffrey Altman [Wed, 23 Mar 2005 22:31:13 +0000]
windows-logon-
20050323
Fix initialization error when getting domain parameters
Jeffrey Altman [Wed, 23 Mar 2005 22:30:09 +0000]
windows-version-8002-
20050323
1.3.8002
Jeffrey Hutzelman [Tue, 22 Mar 2005 23:52:59 +0000]
kbuild-one-more-try-
20050322
and shortly i will confirm it works for all cases
Jeffrey Altman [Tue, 22 Mar 2005 19:39:44 +0000]
windows-toplevel-makefile-
20050322
fix build dependencies for vl headers
Jeffrey Altman [Tue, 22 Mar 2005 05:42:29 +0000]
windows-smb-fix-
20050322
the use logon cache hack only works on xp and above. do not give up
use of smb auth simply because it fails
fix the smb_vc_t refCount fix to smb_CopyPacket. Only hold a smb_vc_t
if there is one.
Jeffrey Altman [Tue, 22 Mar 2005 05:40:13 +0000]
windows-version-
20050322
1.3.8001
Jeffrey Altman [Mon, 21 Mar 2005 16:27:59 +0000]
windows-smb_vc_t-refcounts-
20050321
conditionalize the assertions on smb_vc_t refcounts as they are only
for debugging. We know there is a problem but don't want to deal with
it for the 1.3.80 release.
added logging info for each hold and release. perhaps that will provide
a clue in the future
====================
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.
====================
When copying a packet we must increment the vcp refcounts
Ervin Fenyak [Mon, 21 Mar 2005 02:54:11 +0000]
vos-extended-format-
20050320
FIXES 17961
vos listvol -extended
with -format option (vos listvol -extended -format) had no effect.
After applying the patch,
vos listvol -extended -format
outputs tab delimited output.
====================
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 17961
move variable declaration to the beginning of the block
Derrick Brashear [Sun, 20 Mar 2005 20:37:39 +0000]
linux-inotify-
20050320
yay more inode fields.
Michael Niksch [Sun, 20 Mar 2005 20:26:19 +0000]
install-cfgafs-
20050320
FIXES 17712
cfgafs shoudl be installed regardless of AIX64
Chas Williams [Sun, 20 Mar 2005 20:18:08 +0000]
linux-crref-held-longer-
20050320
FIXES 17917
hold the cr ref longer
we were putting it too soon
Chaskiel M Grundman [Sun, 20 Mar 2005 20:12:05 +0000]
linux-rx-spinlocks-for-preempt-
20050320
FIXES 17966
force linux spinlocks on when CONFIG_PREEMPT is involved
Chaskiel M Grundman [Sun, 20 Mar 2005 20:08:06 +0000]
afs-lock-init-
20050320
FIXES 17939
add missing afs lock initialization
Vitaly Chernookiy [Sun, 20 Mar 2005 19:38:44 +0000]
linux-libafs-makefileproto-call-kbuild-correctly-
20050320
FIXES 17972
call the script directly out of srcdir instead of looking elsewhere
Chaskiel M Grundman [Sun, 20 Mar 2005 19:23:19 +0000]
amd64-linux-rx-clock-fix-
20050320
FIXES 17950
avoid initial delay in rx on amd64 linux due to interval timer issue
Tom Keiser [Sun, 20 Mar 2005 15:11:54 +0000]
vos-partinfo-summary-mode-
20050320
FIXES 17868
add a summary mode to vos partinfo
Jeffrey Hutzelman [Sun, 20 Mar 2005 15:07:19 +0000]
linux-find-kernel-build-link-path-to-kernel-headers-
20050320
look in /lib/modules for a path to the kernel build instead of just in /usr/src
Jason McCormick [Sun, 20 Mar 2005 15:00:43 +0000]
linux-afsd-rc-better-defaulting-
20050320
FIXES 17630
default to a small cache rather than breaking if the client is ill-configured
Ervin Fenyak [Sun, 20 Mar 2005 14:32:06 +0000]
afsd-rxpck-switch-
20050320
FIXES 17837
add rxpck switch to afsd to allow overrding maxpackets
Derrick Brashear [Sat, 19 Mar 2005 20:42:04 +0000]
revert-salvager-verbosity-entirely-
20050319
simply remove the verbosity added to salvager
Jeffrey Altman [Thu, 17 Mar 2005 17:50:22 +0000]
windows-notes-
20050317
final notes for 1.3.80
Jeffrey Hutzelman [Thu, 17 Mar 2005 17:42:26 +0000]
CellServDB-update-
20050317
Public CellServDB 16 Mar 2005
Harald Barth [Thu, 17 Mar 2005 15:52:54 +0000]
nosettime-
20050317
Make -nosettime default for afsd. Use -settime to get old behavior.
Jeffrey Altman [Wed, 16 Mar 2005 21:37:07 +0000]
windows-dns-crypt-
20050516
Found another case in which the windows client could break connections
which should not be broken if cryptall is on. If the connection is
unauthenticated because there are no tokens, the connections will be
broken.
If a site relies on AFSDB records and the client machine is configured
to append a domain suffix to all queries it is possible for "foo" and
"foo.bar" to appear to be separate cells. fixed by appending a trailing
'.' to all AFSDB queries if there is not already one.
Jeffrey Altman [Wed, 16 Mar 2005 04:49:02 +0000]
rollback-
20050315
Rollback changes to 1.68
Jeffrey Altman [Tue, 15 Mar 2005 00:55:56 +0000]
windows-notes-
20050314
Update notes to describe fix for cross realm trusts to Windows
multi-domain forests
Jeffrey Altman [Tue, 15 Mar 2005 00:43:21 +0000]
windows-comments-
20050314
Update the comments to indicate how we force authentication to be
performed against the Windows logon cache instead of a domain controller
and how BackConnectionsHostNames will work in Longhorn Beta 1.
Jeffrey Altman [Fri, 11 Mar 2005 18:16:47 +0000]
windows-mumble-
20050311
Add new registry setting to force a lana to be treated as a loopback
Move hack to force use of MSV1_0 cache
Jeffrey Altman [Fri, 11 Mar 2005 07:30:00 +0000]
windows-1380-
20050310
updates for 1.3.80
====================
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.
====================
update issues list
Jeffrey Altman [Fri, 11 Mar 2005 05:33:12 +0000]
windows-pcache-
20050310
This patch applies all of the work done to add persistent cache support,
cache manager debugging, and a variety of bug fixes. A full description
will be committed within doc/txt/winnotes as part of a later commit.
Derrick Brashear [Fri, 11 Mar 2005 04:35:39 +0000]
fix-linux22-
20050310
fix accumulated linux 2.2 damage
Derrick Brashear [Fri, 11 Mar 2005 02:54:49 +0000]
volinfo-dont-bomb-on-attach-failure-
20050310
let volinfo keep going in the face of failure
Tom Keiser [Tue, 8 Mar 2005 22:14:50 +0000]
vos-listaddrs-dont-infinite-loop-
20050308
FIXES 17814
avoid possible infinite loop in vos when checking a non-existant uuid
Johan Danielsson [Tue, 8 Mar 2005 22:09:29 +0000]
linux-osi-gettime-avoid-collision-
20050308
FIXES 17802
don't reuse tv as a variable name in osi_GetTime macro
Chaskiel M Grundman [Tue, 8 Mar 2005 22:05:45 +0000]
linux-writepage-sync-
20050308
FIXES 17792
"The attached patch
1) makes afs_linux_writepage_sync do the required lock_kernel and
AFS_GLOCK()'s instead of making the caller do it.
2) removes the 2.4+ afs_linux_updatepage wrapper function which just calls
afs_linux_writepage_sync and is only called by afs_linux_commit_write
3) removes the kmap/kunmap in afs_linux_{prepare,commit}_write on 2.6
since the caller of afs_linux_{prepare,commit}_write
(do_generic_file_write) does the kmap/kunmap itself, and has since before
2.4.19 (early 2.4's do require it, and it doesn't break anything to do it
twice, so !defined(AFS_LINUX26_ENV) is appropriate)"
Chaskiel M Grundman [Tue, 8 Mar 2005 21:57:41 +0000]
osi-lookupname-nuke-dirvpp-
20050308
FIXES 17791
osi_lookupname doesn't need dirvpp anymore
Chas Williams [Thu, 3 Mar 2005 16:56:48 +0000]
osi-syscall-fix-
20050302
FIXES 17666
fix typo _nr should __nr
Love Hörnquist-Åstrand [Mon, 28 Feb 2005 20:18:11 +0000]
fake-admin-on-create-file-
20050228
pass back admin in status bits for create file
Karl Ramm [Sun, 27 Feb 2005 18:31:42 +0000]
salvager-less-verbose-
20050227
make the salvager less verbose
Derrick Brashear [Sun, 27 Feb 2005 04:26:41 +0000]
fix-uae-
20050226
sometimes the proeprocessor is cranky. bah.
Jeffrey Hutzelman [Fri, 25 Feb 2005 19:51:51 +0000]
osi-probe-update-
20050225
update osi_probe for machines with no mmap2
Derrick Brashear [Fri, 25 Feb 2005 19:49:10 +0000]
cblater-protection-and-paranoia-
20050225
with additional fix from jaltman for case where we need to get a fresh fe.
don't reuse FE_LATER file entries.
Derrick Brashear [Fri, 25 Feb 2005 18:02:35 +0000]
unified-afs-cleanup-
20050225
use EIO as base error
Jeffrey Altman [Fri, 25 Feb 2005 17:42:17 +0000]
fe-clear-status-on-reuse-
20050225
jeff pointed this out yesterday, it may fix more than he guessed.
Derrick Brashear [Thu, 24 Feb 2005 15:21:28 +0000]
tviced-log-thread-at-high-loglevel-
20050224
if loglevel > 999, log thread id as part of logging
Sam Hartman [Thu, 24 Feb 2005 05:04:50 +0000]
ppc64-linux26-param-
20050224
FIXES 15581
missed before
Derrick Brashear [Thu, 24 Feb 2005 04:44:59 +0000]
fix-uae-
20050223
make uae flag not secretly overflow hostFlags
Chaskiel M Grundman [Wed, 23 Feb 2005 23:07:31 +0000]
ioctl32-linux26-
20050223
FIXES 17669
add ioctl32 support for linux 2.6
Chas Williams [Sun, 20 Feb 2005 05:42:47 +0000]
ia64-smp-definition-
20050220
FIXES 17640
change how smp is defined so we pick up a mutex
Jeffrey Hutzelman [Wed, 16 Feb 2005 22:47:35 +0000]
unified-osi-probe-2-
20050216
FIXES 17548
update osi_probe
Chas Williams [Wed, 16 Feb 2005 19:22:49 +0000]
solaris-x8664-support-
20050216
FIXES 17628
add amd64 support for solaris 10
Tom Keiser [Wed, 16 Feb 2005 19:13:01 +0000]
fix-multirx-checkservers-
20050216
FIXES 17549
put results in an array.
Harald Barth [Sun, 13 Feb 2005 00:23:52 +0000]
fbsd-amd64-
20050212
initial fbsd support for amd64
Derrick Brashear [Sat, 12 Feb 2005 19:52:19 +0000]
solais10-declares-mem-funcs-
20050212
mem* funcs now declared in sys/systm.h with a different prototype so there's a conflict. (but delcared means they exist, so this is fine)
Chaskiel M Grundman [Sat, 12 Feb 2005 19:47:03 +0000]
store64-cleanup-
20050212
fix several deficiencies in 64 bit file size handling
Chaskiel M Grundman [Fri, 11 Feb 2005 22:37:31 +0000]
linux-avoid-leaking-refs-
20050211
FIXES 17451
hopefully this fixes all the not-able-to-unmount leaks
Chaskiel M Grundman [Fri, 11 Feb 2005 22:27:22 +0000]
linux-sysincludes-needs-slab-
20050211
add linux/slab.h to includes
Chas Williams [Thu, 10 Feb 2005 16:30:41 +0000]
linux26-inode-got-i-sb-list-
20050204
another thing to do at inode initialization
Chas Williams [Thu, 10 Feb 2005 04:49:10 +0000]
linux-flush-release-rewrite-
20050209
FIXES 17509
rewrite afs_linux_release and afs_linux_flush
Derrick Brashear [Thu, 10 Feb 2005 03:57:27 +0000]
client-conndeadtime-tunable-
20050209
make the fs and not just the vldb interface dead time tunable
Derrick Brashear [Thu, 10 Feb 2005 03:02:46 +0000]
linux-lwp-work-around-signal-lossage-
20050209
some versions of linux seem to lose signals sometimes. very annoying.
Jeffrey Altman [Mon, 7 Feb 2005 19:27:35 +0000]
windows-misc-
20050207
smb3.c: another fix for pattern matching. Patterns can include '<' and '>'
instead of '*' and '?'. Treat any pattern with angle bracket as
star patterns
afslogon.c: instead of retrying the username lowercased if it is all
uppercased. retry the username lowercased if it was not already
lowercased. this captures the mixedcase username case.
afskfw.c: If Leash is configured to not import tickets from the MSLSA,
neither should we.
cm_vnodeops.c: If the second to last component of a path is a symlink and
the last component cannot be found, return NOSUCHPATH instead of
FILE_NOT_FOUND.
Guillaume Rousse [Mon, 7 Feb 2005 15:31:31 +0000]
linux-libafs-fix-
20050207
create osi_vfs.h in the right place
Chas Williams [Fri, 4 Feb 2005 21:13:51 +0000]
linux26-inode-got-i-sb-list-
20050204
another thing to do at inode initialization
Jeffrey Hutzelman [Fri, 4 Feb 2005 21:09:58 +0000]
ubik-remote-ntoa-
20050204
afs_inet_ntoa needs a prototype for 64 bit systems
Jeffrey Altman [Fri, 4 Feb 2005 04:55:51 +0000]
windows-longfilename-matching-
20050203
retry pattern matching when ambiguous matches are found for long file
names
Derrick Brashear [Thu, 3 Feb 2005 17:02:54 +0000]
macos-dont-inactive-vnodes-were-still-referencing-
20050203
don't VOP_INACTIVE if we intend to keep using the inode, the refcount will go
bogus
Jeffrey Altman [Mon, 31 Jan 2005 18:52:30 +0000]
windows-misc-
20050131
afskfw.c: fix cross-realm token acquisition in ANDREW vs CS CMU case
cm_aclent.c: when ACL's timeout, remove them from the associated
cm_scache_t object's randomACL list and place them on the end
of the ACL LRU queue
correct tgtLifetime to be unsigned
smb3.c: fix case sensitive matching
Chaskiel M Grundman [Sat, 29 Jan 2005 05:46:42 +0000]
linux-tasklist-lock-weak-
20050129
FIXES 17424
weak binding to tasklist_lock
Jeffrey Hutzelman [Sat, 29 Jan 2005 05:41:59 +0000]
osi-probe-syscall-
20050129
FIXES 17405
add osi_probe
Jeffrey Altman [Thu, 27 Jan 2005 00:09:32 +0000]
createx-null-ptr-
20050126
Don't release null scps
Jeffrey Altman [Thu, 27 Jan 2005 00:00:10 +0000]
windows-aclent-
20050126
Undo the FreeACLEnt lock as it is an automatic deadlock
Chas Williams [Wed, 26 Jan 2005 22:07:33 +0000]
revert-afs-indextimes-in-dcache-
20050125
FIXES 17377
indexTimes needs to persist, revert for now
Chas Williams [Wed, 26 Jan 2005 21:09:08 +0000]
afs-indextimes-in-dcache-
20050125
FIXES 17377
move indextimes array into dcache struct
Jeffrey Altman [Wed, 26 Jan 2005 15:51:46 +0000]
winnotes-update-
20050126
add dr watson info to install notes.
update changes list
Jeffrey Altman [Wed, 26 Jan 2005 15:49:14 +0000]
windows-misc-
20050126
* The list of ACL entries was becoming corrupted because the function
which obtained a free entry was doing so without the appropriate lock
being held.
* Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40"
for 32-bit x86 systems. The default for itanium will be "ia64_win64"
and "amd64_win64" for amd 64-bit processors.
Jeffrey Altman [Tue, 25 Jan 2005 23:24:43 +0000]
windows-misc-
20050125
The list of ACL entries was being corrupted because the function
which obtains a free ACL entry was doing so without the appropriate
lock being held.
Returning Not A Directory is not the right thing to do when we are
attempting to resolve a path if the error is found on one of the
intermediary path components. Instead return No Such Path or
No Such File as appropriate.
Jim Rees [Tue, 25 Jan 2005 23:00:35 +0000]
obsd-vattrs-
20040125
compare vattrs against VNOVAL, not -1
fixes mode setting now that modes are 32 bits