Commit Graph

3303 Commits

Author SHA1 Message Date
Jim Rees
a02c04684d regen-doc-20060117
slightly better documentation of regen.sh
2006-01-17 22:25:51 +00:00
Jeffrey Altman
d921ee381a windows-truncate-after-lock-check-20060116
In smb_ReceiveNTCreateX the lock check, cm_CheckNTOpen(), must take place
before we allow the file to be truncated.
2006-01-17 21:43:25 +00:00
Chaskiel M Grundman
47d2ab2285 darwin-use-kthreads-20060117
FIXES 25542

use kernel threads for afsd processes instead of forked pids
2006-01-17 17:08:34 +00:00
Chaskiel M Grundman
b81d0cf8af macos-locking-behavior-20060117
FIXES 25543

F_UNLCK is send as a command, remap to F_SETLK like everyone else
2006-01-17 17:05:31 +00:00
Chaskiel M Grundman
ebf35c3f88 tiger-sysctl-20060117
FIXES 25327

implementation of sysctl for tiger
2006-01-17 16:06:56 +00:00
Peter Somogyi
c19324c857 newvcache-can-fail-now-20060116
FIXES 22260

allow newvcache to fail without ooping

sort of nasty, if you want more vcaches, say so.
2006-01-17 04:59:11 +00:00
Jeffrey Altman
4bb334ef6e windows-afsmap-20060116
strcpy -> strncpy
2006-01-17 03:57:19 +00:00
Chaskiel M Grundman
8d158c1b61 remove-dead-prototype-20060116
remove dead prototype for osi_iput()
2006-01-17 03:32:44 +00:00
Chaskiel M Grundman
93e1cee704 h-enumerate-r-fix-for-real-20060116
FIXES 24196

make this not simply wrong
2006-01-16 21:15:21 +00:00
Jeffrey Altman
f7b9cd54e5 windows-rx-ehostunreach-20060116
another location where EHOSTUNREACH can be returned
such that we can timeout the request immediately
2006-01-16 16:22:27 +00:00
Jeffrey Altman
880a6b66a5 windows-vc-locks-and-more-20060115
This patch fixes several issues:

 * the smb virtual circuits can be active and/or dead.   this patch
   improves the handling of vc's making the transition from active
   to dead

 * correct the refcounts on the smb_user_t and smb_vc_t objects

 * replace the deprecated GetCurrentTime() with GetTickCounts() which
   is the new name.  This function needs to be replaced with something
   else because its return value wraps after 49.7 days

 * hold the correct locks when adjusting the scp->fileLocksH queue

 * add new event log entries for unexpected session closures and
   send packet failures
2006-01-16 02:05:27 +00:00
Jeffrey Altman
9435d0e973 windows-ncb-error-strings-20060114
consolidate the use of NCB error strings in one place
2006-01-15 08:10:00 +00:00
Asanka Herath
36fd6d30cb windows-afsifs-20060114
minor style change
2006-01-15 08:04:59 +00:00
Jeffrey Altman
0a7b86c2bf windows-eventlog-20051219
More messages for the event log
2006-01-15 08:01:49 +00:00
Russ Allbery
ad207ee113 sparc64-linux-typo-20060114
XLDFLAGS64, not XLDFLAG64.
2006-01-14 08:19:19 +00:00
Troy Benjegerdes
0b24f2d91a sparc64-linux-20060113
Hopefully fix sparc64 Linux support with 2.6 kernels.
2006-01-14 08:00:01 +00:00
Asanka Herath
6cf662ca52 windows-lock-data-versions-20060112
Add a lockDataVersion field to cm_scache_t.  This data version is
compared to the cm_scache_t dataVersion field in the following
circumstances:

 * lock upgrades from read to write in which the lock must be released
   given current file server rpcs

 * lock downgrades from write to read in which the lock must be released
   given current file server rpcs

 * lost locks due to network disconnect.  if the data version has not
   changed then re-obtaining the lock is safe to do
2006-01-12 18:45:16 +00:00
Jeffrey Altman
af202cac55 windows-cmfinduserbyname-20060112
FIXES 25347

Fix invalid access after freeing newly allocated data structure
2006-01-12 05:54:23 +00:00
Chas Williams
3e8b96cfc4 linux-clean-up-stupidity-20060111
get some of an inadvertant misapplied patch, and get rid of a redundant check
2006-01-11 21:37:06 +00:00
Jeffrey Altman
fb6d1dacfc afs-sysnames-20060110
move allocations for SYS_NAME_ID_amd64_w2k and  SYS_NAME_ID_i64_w2k to avoid
conflicts
2006-01-11 04:44:49 +00:00
Chaskiel M Grundman
29924c8302 macos-reclaim-20060110
FIXES 25165

avoid a vnode cleaning pnaic during recycle
2006-01-11 04:23:22 +00:00
Chaskiel M Grundman
ab7cfe62ec macos-avoid-ref-leak-20060110
FIXES 25302

fix for the earlier fix
2006-01-11 04:21:11 +00:00
Derrick Brashear
8a1d347b2e remove-vnop-mem-leak-20060110
avoid leaking mvid when we use .__afsXXXX renaming in remove
2006-01-10 15:09:55 +00:00
Derrick Brashear
39b23a0dc1 remove-vnop-lock-order-20060110
FIXES 25118

finegrained dcache lock order not obeyed
2006-01-10 15:03:26 +00:00
Jeffrey Altman
a9df3ca715 windows-smb-username-refcount-20060110
the smb_username_t objects are reference counted but they were never
released on their own accord.  Instead the smb_uid_t objects when
released were also cleaning up the smb_username_t.  Since the smb_username_t
is reused, now that smb_user_t objects are being cleaned up, this was
a problem.
2006-01-10 13:26:41 +00:00
Asanka Herath
5deb4e521b windows-tests-winflock-20060108
Updates to locking tests
2006-01-09 05:44:19 +00:00
Asanka Herath
78c40badbd windows-byte-range-locking-20060108
When SMB sessions are prematurely terminated as part of the tear down
of the virtual circuit we must clean up any remaining file handles,
tree connections, and user sessions.
2006-01-09 04:43:36 +00:00
Jeffrey Altman
36596b93e0 windows-byte-range-locks-fix-20060107
fix the SERVERLOCKS_ENABLED macro
2006-01-08 04:17:18 +00:00
Jeffrey Altman
7d912795aa windows-enable-byte-range-locking-20060107
re-enable byte range locking
2006-01-08 00:42:52 +00:00
Jeffrey Altman
f057d9515c windows-byte-range-locking-20060107
* Update architectural documentation

* Allow locks to be obtained as soon as it is possible instead of
  enforcing a requirement that locks be granted in order.

* Fix other bugs

* Disable byte range lock processing
2006-01-08 00:38:32 +00:00
Jeffrey Altman
57e5d7c2ae windows-eventlog-20051219
For afsd_service.exe, properly use the Event Log by constructing
message strings stored in a MESSAGETEXT resource.  This patch also
removes a large number of debugging related event messages that
should never have been seen by an end user.   That data is now
logged to the trace.log where it should have been logged initially.

Similar changes need to be implemented for afslogon.dll and afscreds.exe

The afsd_eventlog.[ch] files should be broken out into its own library
so that it can be reused efficiently.

The afsreg.h header was cleaned up to ensure name consistency and to
remove the last vestiges of "IBM AFS".

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

Do not change "AFS Client" to "OpenAFS Client" unless the installers
are also updated.

====================

remove temporary files upon clean
2006-01-08 00:30:40 +00:00
Derrick Brashear
e07a781b20 macos-104-change-access-enforcement-20060105
don't improperly enforce read attribute restriction on child instead of parent
when it's a directory

avoid screwing ourselves on mode 0 files, also
2006-01-06 02:54:40 +00:00
Chaskiel M Grundman
8b015a5e32 macos-vnode-get-fixes-20060105
The afs_pioctl.c change should fix a real crash (panic), but fs flushv isn't
that common an operation.
Other changes:
don't GUNLOCK() around vnode_get(). we weren't consistent about it, and it
doesn't appear to be strictly required.
handle vnode_get() failures in more cases
darwin_vn_hold will panic if vnode is terminating rather than mess up the
refcounts.
2006-01-05 05:31:34 +00:00
Horst Birthelmer
b361719072 fbsd-vnode-includes-20060103
Generate vnode_if_newproto.h and vnode_if_typedef.h in case they aren't in
the kernel build directory, for example if the kernel has been configed but
not built.
2006-01-03 21:26:40 +00:00
Asanka Herath
40f151f5c4 windows-vista-wix-install-20051230
Update the MSI to install the network provider without impersonation
2005-12-30 22:40:15 +00:00
Russ Allbery
8863143052 man-page-rxgen-cmdebug-20051227
Add man pages for rxgen and cmdebug.  The cmdebug man page was written from
scratch based on the source code.  The rxgen man page is a conversion of an
old TeX document to POD.
2005-12-27 23:30:22 +00:00
Jeffrey Altman
dc694b3360 windows-ptc-rc-20051227
for ptclient.exe
2005-12-27 20:00:10 +00:00
Jeffrey Altman
3875eec844 windows-process-detach-20051227
The procmgmt library replaces the C RunTime Library's signal handlers
but does not restore them on process detachment.  This leaves the
process with signal handlers pointing to invalid code that generates
an invalid access error during process termination if the library
was previously unloaded.
2005-12-27 16:17:11 +00:00
Chas Williams
5a23812553 solaris-uniqtime32-20051223
FIXES 24445

afs really wants the 32 bit timeval/uniqtime stuff
2005-12-24 01:07:43 +00:00
Chaskiel M Grundman
518bebb032 darwin-dnlc-cache-purge-20051223
FIXES 22644

cache_purge() to hint to darwin that we changed something instead of letting it cache invalid data
2005-12-24 00:28:10 +00:00
Chaskiel M Grundman
97ebc77671 tiger-fixes-20051215
potential reclaim in progress fix, and per Chaskiel,
"I don't remember why I put it there, but the fact that
it gets triggered means that we're leaking a vcache object lock. It looks
like the "rename to .__afsXXXX" codepath is responsible (as afsrename does
not use the fact that adp (or aodp) is locked by afs_remove, and locks it
again. I'm surprised it's not deadlocking)" so i coded up a fix

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

chaskiel says
The RHS shouldn't be a double negative...
       There's no bug (other than the assert itself)
2005-12-24 00:20:18 +00:00
Chaskiel M Grundman
856f5288e7 darwin-lost-wakeups-20051223
FIXES 24492

rewrite for tiger to avoid losing wakeups
2005-12-24 00:08:32 +00:00
Russ Allbery
90bc5c0092 man-page-misc-improvements-20051221
Add new man pages for livesys and voldump.  Fix the man page for sys to say
what it actually does, rather than implying that it works like livesys, and
to recommend livesys instead.  Fix a path error in the NetInfo
documentation.  Update the README for the current status, including
listing all installed commands that don't have man pages.  (There may still
be some subcommands that don't have man pages but aren't listed.)
2005-12-22 07:34:49 +00:00
Russ Allbery
5fde299434 man-page-installation-20051221
On installation, substitute the configured paths into the man pages,
replacing the Transarc paths.  Also fix a problem with the way that
pinstall was being used to install man pages.  (Silly me, I was assuming
it had the same behavior as install.)

This is just a quick first pass.  Longer term, it's probably better to
replace all paths in the man pages with unambiguous tokens and then
replace those tokens instead of assuming that the man pages use Transarc
paths and replacing those paths specifically.  The current method has a
few minor problems, such as not being able to distinguish between the
various paths that make up /usr/afs/bin.  Still, the results of this method
are good enough to start with.
2005-12-22 07:29:52 +00:00
Jim Rees
f874f6691b aklog-obsd-20051221
make aklog build on OpenBSD
2005-12-21 18:41:47 +00:00
Ken Hornstein
b2b051fab1 aklog-fix-install-Makefile-target-20051221
Fixed the install target so it installs asetkey instead of running it.
2005-12-21 18:22:08 +00:00
Russ Allbery
160854bd2b man-page-whitespace-20051220
Remove all trailing whitespace while we have the chance and there are no
merge issues yet.
2005-12-21 00:41:17 +00:00
Russ Allbery
0b21e24d0a man-page-generation-20051220
Move man page generation out into a separate script that's just invoked
from regen.sh, so that someone can run that separate script later if they
wish.  Make that script more robust against problems such as empty podN
directories.  Diagnose a missing pod2man and warn about old versions of
Pod::Man.

Also, remove the old programs used to do the initial conversion from HTML.
Enough post-conversion editing was done that they're no longer necessary
except for historical curiosity, and for that purpose they can be pulled
out of CVS.
2005-12-21 00:37:16 +00:00
Jeffrey Altman
2de17470f0 windows-bg-fcrypt-20051219
use the faster bg-fcrypt
2005-12-19 16:12:16 +00:00
Jeffrey Altman
1b73452ba8 windows-64-bit-type-safety-20051105
SIZE_MAX should be UINT_MAX if not defined

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

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler
2005-12-19 15:51:28 +00:00