Commit Graph

3266 Commits

Author SHA1 Message Date
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
Jeffrey Altman
065f9e1196 windows-uninit-20051219
initialize the variable containing the afs id in case the pts lookup
fails
2005-12-19 12:36:48 +00:00
Jeffrey Altman
02a6d180f3 windows-rx-debug-disable-20051219
Provide a method to enable/disable rx debugging along as a part
of "fs trace -on/-off"
2005-12-19 12:35:15 +00:00
Björn Torkelsson
37147a406e linux-writepage-rename-20051218
The ocfs2 patch renames WRITEPAGE_ACTIVE to AOP_WRITEPAGE_ACTIVE, and
Ubuntu has applied that patch to their version of the kernel.  Allow for
either.
2005-12-19 03:27:21 +00:00
Jeffrey Altman
376a5dd834 separate-capabilities-by-source-20051217
This patch separates the client and viced capabilties;
adds a viced capabilities for 64bit files;
and modifies the Windows client to probe the viced capabilities
the first time the client discovers the server and uses the capabilities
RPC instead of the GetTime RPC to probe for Up/Down status

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

define the capabilities constants
2005-12-18 05:41:19 +00:00
Jeffrey Altman
8c3cf4b894 windows-no-fds-20051217
when collecting rx statistics in response to an RPC query, the rx library
attempts to enumerate the number file descriptors in use.  This is fine
except that file descriptors are a C Run Time Library concept on Windows
and are not related to networking.  In Visual Studio 8, the run time library
will assert() if an invalid file descriptor is passed to fstat() which is
the test used to determine if a file descriptor is valid.

This patch simply returns 0 for the number of file descriptors in use
because that is what would have been returned anyway with the existing
code.  What we probably want to return is the number of open socket
handles.
2005-12-17 17:26:57 +00:00
Jeffrey Hutzelman
e5c8042e72 vos-restore-parent-id-patch-20051215
avoid making broken readonlies when when you restore them
2005-12-16 04:25:48 +00:00
Chas Williams
1fe17bc365 linux-dentry-multiple-mounts-20051215
avoid triggering BUG() when a volume is multiply mounted
2005-12-16 03:36:16 +00:00
Tom Keiser
914ac92048 freedatabufs-mark-free-20051215
avoid an error with marking data packets free
2005-12-16 03:31:18 +00:00
Tom Keiser
b34223345b multibreak-rework-avoiding-race-20051215
avoid a potential race finding the correct connection during
MultiBreakCallBack_r
2005-12-16 03:27:17 +00:00
Rainer Toebbicke
d00359b241 rx-osi_alloc-prototype-20051215
FIXES 24267

must provide prototype for osi_Alloc() on systems with 64-bit pointers
and 32-bit int
2005-12-15 15:15:30 +00:00
Rainer Toebbicke
f75b0075a7 rx-osi_alloc-prototype-20051214
FIXES 24267

include rx.h in order to safely include rx_prototypes.h in order
to obtain a prototype for osi_Alloc() in order to prevent pointer
truncation on systems with 64-bit pointers and 32-bit int.
2005-12-15 05:55:10 +00:00
Jeffrey Altman
544dedb6ed multiple-local-realms-20051208
This patch extends the krb.conf file allowing the specification of
multiple realms which should be treated as equivalents to the local
cell authentication domain.  Additional realms are specified on the
first line of the krb.conf file and are separated by white space.

In addition, the patch adds a new file stored in the same directory
as the krb.conf file called krb.excl.  This file contains a list of
principal names, one per line, that must not be treated as local
identities.

The purpose of this patch is to allow organizations that are supporting
multiple realms with synchronized user principal databases to allow
their users to login with any of the realms and treat the principal
names as equivalent to the local PTS identity.   The exclusion is
to allow certain names, such as those for administrative IDs, to be
restricted to a subset of the realms.

Further optimization of the afs_krb_exclusion() should be performed to
remove the need to re-read the file.  This patch should be considered
a temporary solution until a more permanent set of extensions to the
PT database and RPCs allow for the assignment of mechanism specific
aliases for PT IDs.

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

correction to exclusion list parsing
2005-12-15 05:51:24 +00:00
Jeffrey Altman
f9f9894a2c windows-ansification-20051214
use modern function declarations
2005-12-14 05:39:56 +00:00
Jeffrey Altman
8204b5968c windows-rpc-warning-20051214
If osi_InitDebug() fails due to RPC_S_NO_PROTSEQS, log to the afsd_init.log
file a warning indicating that the registry should be examined for a
misconfiguration of Windows.
2005-12-14 05:32:55 +00:00
Jeffrey Altman
b99bd38da6 windows-fs-setserverpref-vldb-20051214
prevent a panic condition if "fs setserverprefs -vlserver" is executed
more than once before the vlserver is associated with a cell.
2005-12-14 05:29:28 +00:00
Jeffrey Altman
aa2c784b59 windows-registry-20051214
Change all of the daemon check interval values so they can be set
via the registry.
2005-12-14 05:27:09 +00:00
Russ Allbery
5d2b5780c4 retire-cat-pages-20051213
These can go now that we have POD versions of, in most cases, newer
versions of the same documentation.
2005-12-14 01:36:05 +00:00
Russ Allbery
f64a78e701 man5-editing-pass-20051213
This completes the first editing pass of the man pages.  Very little
content editing has been done, but the server and client versions of
various man pages have been combined into a single man page for the
file (affects CellServDB, ThisCell, NetInfo, and NetRestrict), the
descriptions of the various AFS cache files have been combined into one
afs_cache man page, and the descriptions of the two butc log files have
been combined into one butc_logs man page.

For man pages for databases with two files, symlinks are now created on
installation for the secondary file name.

All of the man pages should now be ready for public review, additional
editing and cleanup, and content editing.
2005-12-14 01:30:20 +00:00
Rainer Toebbicke
68900af5e7 fix-cbd-20051213
The attached patch makes the cbd program (the stand-alone version of
the fileserver's callback.c) work again.

(Now I expect 99% "what's that?" and 0% "what a relief!" reactions. As
a reminder that's one of the things you might go hunting for after a
'kill -XCPU' to the fileserver - this program is probably used
infrequently but the older you get... )
2005-12-13 21:58:49 +00:00
Russ Allbery
ab4abf15fe man8-editing-pass-20051213
This completes the initial editing pass of the section eight man pages.
Only small amounts of content editing has been done.  Some known problems
have been noted in README, but there will doubtless be others, as well as
some lingering formatting problems.  However, the quality should now be
good enough for general public review.

Some of the section eight man pages were really supposed to be section one,
the package apropros and package help commands are too useless to document,
and a few of the difficult-to-name section five man pages have now acquired
names.
2005-12-13 19:21:13 +00:00
Tracy Di Marco White
cd6e2b9929 netbsd-statvfs-20051211
FIXES 22905

NetBSD 2.1 doesn't have statvfs, but the version numbering scheme changed
so the test was getting this wrong.
2005-12-11 18:57:15 +00:00
Russ Allbery
a6c0532569 multiple-local-realms-fix-20051210
The krb.excl paths need to be defined for Unix as well.
2005-12-10 18:47:40 +00:00
Chas Williams
77d0369d3b linux-srcdir-mapfile-20051210
FIXES 23317

Look for the shared library mapfile in ${srcdir} on Linux to allow for out
of srcdir builds.
2005-12-10 18:28:03 +00:00
Russ Allbery
d60224477f man-page-readme-20051209
Initial documentation for the man page project, including initial notes
on conversion, a start at a formatting guide, information on how to
contribute, and an initial issues list of things I happened to notice
while editing the section one pages.
2005-12-09 16:43:14 +00:00
Russ Allbery
7b5bfb1c17 man-page-reorg-20051209
Generate the man pages in man1, man5, and man8 subdirectories rather than
directly in the doc/man-pages directory to reduce clutter.  Add a
.cvsignore to reduce noise.
2005-12-09 14:50:02 +00:00
Russ Allbery
03b9fcc883 man1-editing-pass-20051209
Complete an initial editing and cleanup pass for all section one man pages.
Fix various conversion problems, formatting inconsistencies, and obvious
problems.  Please note that no editing for content has yet been done; this
is solely editing for formatting and correct conversion to POD.

Also, add some additional section five man pages that were omitted from the
first conversion run due to unusual file names, and globally replace
CAVEATS with CAUTIONS in the man pages to match the original section name.

The section one man pages should now be in reasonable shape and ready for
additional review and further updates, although there are probably still
remaining obvious problems.

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

This file got the wrong name when it was originally committed.  Fix.
2005-12-09 14:48:56 +00:00
Russ Allbery
e3dfba8e6c man-page-conversion-20051208
This is the initial conversion of the AFS Adminstrators Reference into POD
for use as man pages.  The man pages are now generated via pod2man from
regen.sh so that only those working from CVS have to have pod2man
available.  The Makefile only installs.  The pages have also been sorted
out into pod1, pod5, and pod8 directories, making conversion to the right
section of man page easier without maintaining a separate list and allowing
for names to be duplicated between pod5 and pod1 or pod8 (which will likely
be needed in a few cases).

This reconversion is done with a new script based on work by Chas Williams.
In some cases, the output is worse than the previous POD pages, but this is
a more comprehensive conversion.

This is only the first step, and this initial conversion has various
problems.  In addition, the file man pages that didn't have simple names
have not been converted in this pass and will be added later.  Some of the
man pages have syntax problems and all of them have formatting errors.  The
next editing pass, coming shortly, will clean up most of the remaining
mess.
2005-12-08 12:14:33 +00:00
Jeffrey Altman
71f9628a43 viced-multiple-ports-per-client-20051208
this patch replaces the single address in the Interface structure
with an AddrPort structure.  This enables the servers to send
messages to the correct port if the port on the Interface does not
match the port stored in the client itself.
2005-12-08 01:01:30 +00:00
Jeffrey Altman
151ac6c167 windows-afsd-service-20051121
add logic to process VNOVNODE in cm_Analyze.  Force re-evaluation of symlink
strings and flush the stat cache entry.

force the use of new rx_connections when the server is marked down.

prevent server objects from being freed if user preferences are set.

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

improvements to VNOVNODE fix
2005-12-07 12:01:32 +00:00
Derrick Brashear
78bc041fe6 linux-26-390x-update-20051201
add linux26 version for symlinks
2005-12-01 15:18:08 +00:00
Derrick Brashear
49f0f7bb0e macos-103-20051201
last fixes i swear
2005-12-01 07:36:35 +00:00
Derrick Brashear
3cccddb31f macos103-20051201
one more fix
2005-12-01 05:42:27 +00:00
Derrick Brashear
72e221c0c1 macos-103-packaging-20051201
fix packaging script for 10.3
2005-12-01 05:19:00 +00:00
Derrick Brashear
05db09ada1 volume-callback-fix-20051201
fix rainer toebbicke's callbacks vanishing issue. this was probably my fault merging
2005-12-01 05:09:32 +00:00
Derrick Brashear
8887021eee macos10-fstrace-catalog-20051130
package the fstrace catalog correctly for osx
2005-12-01 04:13:18 +00:00
Mike Garrison
9c3c242825 files-per-subdir-math-error-20051130
FIXES 23811

use a bitshift instead of xor(!)
2005-12-01 04:02:23 +00:00
Tom Keiser
421e063d9b freepackets-cbuf-leak-20051130
FIXES 23143

at least i'm guessing it fixes that one
fix memory leak for multilevel packet queue stuff
2005-12-01 03:57:49 +00:00