LICENSE IPL10
remove space before "KEEP". older versions of nmake.exe do not like it.
(cherry picked from commit 20460e1391d87bdedbf1b84e233ffd5b926b5df8)
LICENSE MIT
FIXES 124787
A flush operation on a directory will result in the btree being destroyed.
This can race with on-going operations. Make sure that the dirlock is held
if the btree is destroyed. Otherwise, just invalidate the btree version
number.
====================
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.
====================
LICENSE MIT
FIXES 124787
correct sandbox leakage
(cherry picked from commit a31fd7f70f0049a180e5b02202941d3b1266c1f8)
LICENSE IPL10
FIXES 124359
avoid either reopening closed vnodes and leaving cached descriptors around,
or discarding a reference we're not holding; instead, sync changes when the
fd is closed, and note such has been done; otherwise, no changes from older
code.
(cherry picked from commit 12e85227c5dbfdb1258718ee3360bffacc4f96ac)
LICENSE MIT
replace static html documentation with auto-generated
html help files from doc/xml/... when building en_US
locale.
(cherry picked from commit 32ddb143388bb5d6bbcc1f3afc5860f0566de81c)
LICENSE MIT
Replace version info in the DocBook files with a new ENTITY "version"
associated with a local "version.xml" file which contain a <revision>
tag for the current release.
The version.xml file should be autogenerated by the Makefile system.
(cherry picked from commit e4b36071ef35b73fb68db6c054e811ba7e6b65e0)
LICENSE IPL10
Add a -x option to mkvers.c to permit generation of XML entities containing
a revision tag and <revremark> tags for each delta
Add autogeneration of version.xml to Windows Makefiles
(cherry picked from commit da5794d9caa47e96679c197610bd8ea2a682c338)
LICENSE MIT
Remove old documentation and start menu links before installing
new versions.
No longer install versions from src/WINNT/doc/install/... tree
Install versions from doc/xml/... Use CHM files when available.
Construct new Start Menu/Program/OpenAFS/Documentation/ menu with
links to individual documents instead of using an index.html
top level link.
(cherry picked from commit 278f8a18305b376e1c764bb38dc0e69ba5b246e5)
LICENSE MIT
Unless NOCYGWIN is defined create cygwin .a import libraries
for each OpenAFS DLL that is constructed.
(cherry picked from commit 4e9bd3bd0ec5977609fd75d681fcc6dbd24a8c6f)
LICENSE MIT
Standardize the UNIX Makefiles for all of the DocBook guides. Remove the
rest of the generated files and switch to xsltproc and dblatex for the
document generation in all cases. Fix a few DocBook errors by removing
the contents of the <index> tag and removing the unknown <pubsnumber> tag
in the <revision> field.
(cherry picked from commit 7b56f2ebfc8c2e1695e007798833ad2053e08113)
LICENSE MIT
Use dblatex to build PDF documentation instead of docbook2html and xsltproc
to build HTML instead of docbook2html. Remove all the index generation
logic, since dblatex and xsltproc handle that automatically. Remove the
contents of the <index> tag in the source, since neither program requires
there be anything in there.
Remove the style sheets and configuration that were used for docbook2*.
(cherry picked from commit 74585aa5003cfb42103ac8d6059137eebd2005e0)
LICENSE BSD
Fix some man page syntax errors that snuck into the recent round of
updates.
(cherry picked from commit 9ad6c37ccfec016df9e845972ae626a1da19dfbf)
FIXES 124799
LICENSE IPL10
Install symlinks for the *.krb versions of klog, pagsh, and tokens to the
non-krb versions and add information about the *.krb versions to the
non-krb man pages.
(cherry picked from commit 798ffe54af1f5798bf07947439fc62946bc2f07e)
FIXES 124794
LICENSE IPL10
Note in CellServDB man page that it's also used to populate root.afs for
a -dynroot client. Also document the dynamic lookup of database servers
with -afsdb and provide some more information about when CellServDB has to
contain the cell and when it doesn't.
Mark the backup server as optional, and indicate that the authentication
server is deprecated and CellServDB isn't required for authentication if
Kerberos v5 and aklog are used.
(cherry picked from commit 6df60468130977744fea0499fba2351ef74175d8)
LICENSE IPL10
FIXES 109189
Add new man pages for fs rxstatproc, fs setcbaddr, and fs trace. Also
updates the links from fs to its subsidiary man pages and fixes the
fs rxstatpeer man page a bit to mirror fs rxstatproc.
(cherry picked from commit faf518ace7c8c0ec9c3269afd267afd276d69cd4)
LICENSE IPL10
FIXES 124756
Add man pages for fs cscpolicy, fs getfid, and fs memdump.
(cherry picked from commit 32c93cf55210809de92e81428bff784b07a58d44)
LICENSE IPL10
FIXES 124776
The Windows format macro for AFS_INT64_FMT was wrong.
It is "I64" not "l64".
Also added macros for AFS_SIZET_FMT. Although not currently
in use. size_t varies in size on Windows just like pointers.
(cherry picked from commit b41d124409589e2890dea60963db4dc158f4d19c)
LICENSE IPL10
nearinode hint makes no sense when you're not using inode fileserver
(cherry picked from commit 1f07c903055c54fb7f0a584e88cfc1c289a161c6)
LICENSE MIT
Initial take at converting the OpenAFS for Windows Release Notes
to DocBook.
Website style HTML and HtmlHelp (.chm) output is generated.
Formatting of Registry Value descriptions could be improved.
There is no indexing at present.
(cherry picked from commit fb985eefcea791ae16610c210f1ca5408b8ed62f)
LICENSE IPL10
make disconnected work again. also, use static_inline macro consistently
(cherry picked from commit 8a2fcaa8f45c36a80c574a7e903e71041bbd53cc)
LICENSE IPL10
FIXES 124760
Remove generated HTML from the respository
Update XML to support autogeneration of Index files via XSLT
Add graphics referenced by generated HTML output
Add top level index.html used by the docs.openafs.org web site.
Add NTMakefile for AdminGuide, QuickStartUnix, and UserGuide
that utilizes XSLT to generate Windows HTMLHelp (.CHM) and
website appropriate HTML output.
In AdminGuide and UserGuide, relabel the documentation as OpenAFS
instead of IBM AFS. Create a new revision entry for the OpenAFS
docs.
Incorporate updates to QuickStartUnix Appendix A
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/a3632.html,v
Working file: doc/xml/UserGuide/a3632.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/a3812.html,v
Working file: doc/xml/UserGuide/a3812.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/book1.html,v
Working file: doc/xml/UserGuide/book1.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c1095.html,v
Working file: doc/xml/UserGuide/c1095.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c113.html,v
Working file: doc/xml/UserGuide/c113.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c1444.html,v
Working file: doc/xml/UserGuide/c1444.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c2454.html,v
Working file: doc/xml/UserGuide/c2454.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c3402.html,v
Working file: doc/xml/UserGuide/c3402.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/c569.html,v
Working file: doc/xml/UserGuide/c569.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/f24.html,v
Working file: doc/xml/UserGuide/f24.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/g4153.html,v
Working file: doc/xml/UserGuide/g4153.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
RCS file: /cvs/openafs/doc/xml/UserGuide/Attic/i4608.html,v
Working file: doc/xml/UserGuide/i4608.html
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 6; selected revisions: 0
description:
====================
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.
====================
LICENSE IPL10
FIXES 124760
Remove generated HTML from the respository
Update XML to support autogeneration of Index files via XSLT
Add graphics referenced by generated HTML output
Add top level index.html used by the docs.openafs.org web site.
Add NTMakefile for AdminGuide, QuickStartUnix, and UserGuide
that utilizes XSLT to generate Windows HTMLHelp (.CHM) and
website appropriate HTML output.
In AdminGuide and UserGuide, relabel the documentation as OpenAFS
instead of IBM AFS. Create a new revision entry for the OpenAFS
docs.
Incorporate updates to QuickStartUnix Appendix A
(cherry picked from commit 9e8e080a5c1281dfa6109700cacd13cd1c44f5ef)
LICENSE IPL10
FIXES 124681
blkcnt_t doesn't exist on fbsd, macos 10.3, and isn't really the right type.
this is the right type, but also can be missing. test appropriately.
(cherry picked from commit 070f02923cfa4e01ccb754928cdd4d02bec48720)
LICENSE IPL10
FIXES 124770
deal correctly with the structure reorg which took place
(cherry picked from commit 2c0bf1c881f34554472982df2b74c50c4eeb7dcd)
LICENSE IPL10
FIXES 124681
add -encrypt flag to pts generic options, allowing the wire to be
encrypted if desired and the user's authenticated. document same.
(cherry picked from commit 6ba44802ea6cf722c22a4784cbbad70ed6f5d60a)
LICENSE IPL10
FIXES 124627
fix the mmap anti-recursion protection to set and mask CPageWrite appropriately
and with the correct lock protection. this leaves us with an issue to handle
when the mmap'd file is larger (possibly considerably larger) than the
cache
(cherry picked from commit 5e0e1ea2540d0cb7d7274350eb1fadfd41733ea4)
LICENSE IPL10
FIXES 124569
define the old signal type as sig_t on freebsd (e.g. everywhere we prototype as
sig_t)
(cherry picked from commit 3b6bf1a05730b6383d1cef4516b94a63e802521b)
LICENSE IPL10
FIXES 124671
write back dirty pages on last store for memcache, lest we end up
unintentionally discarding the changes.
(cherry picked from commit 214ce7c8b488e90301e9f604b6ecc625b7000e62)
LICENSE IPL10
FIXES 124715
fix rmcell to not have hardcoded paths; instead, generate a dirpath shell
script from makefile and use that
(cherry picked from commit c6adb0d2f32f8e8f3974b8ea3049601bf01d6877)
LICENSE MIT
The windows dcache module synchronizes store data operations in
order to prevent multiple simultaneous store data operations against
the same file at the same time by multiple threads. This is performed
using cm_SyncOp(CM_SCACHESYNC_STOREDATA_EXCL). However, cm_SetupStoreBIOD()
was being processed prior to the synchronization. As a result a dirty
buffer could be added to two BIOD lists resulting in the same buffer
contents being written to the file server twice.
This patch moves the cm_SetupStoreBIOD() into the synchronization region.
It also adds a new 'locked' parameter to cm_ReleaseBIOD() that indicates
whether or not the cm_scache_t object is locked when called. This
permits fewer lock state changes to be used in several cases.
(cherry picked from commit 947213da0ee6a0d805f0fc5eaeec0202d0bbffa4)
LICENSE IPL10
FIXES 124737
Newer Linux kernels differentiate between the real and effective
credentials of a process, and prevent a process's credentials from being
change when the effective credentials have been set to a different value.
When AFS notices a keyring PAG exists but no group-based PAG does, the
attempt to rectify this, if done in a VFS call (which changes effective creds)
triggers this issue. We defer the change to the groups to avoid it.
(cherry picked from commit 7d530b9080f6dd4d7f7e4555ed6ce855ff81bcaa)
LICENSE MIT
Fix conditional test that assigns value to idleDeadTimeout
Modify event log message to indicate timeout could be either a
hard or an idle timeout.
As described in the source comments, do not retry on a hard or
idle timeout.
(cherry picked from commit f5a97a145e09a16a9b2d3ab485f33f520235b7e9)
LICENSE MIT
Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".
(cherry picked from commit 5520747790b599bc10013dc78efb81b5d50a3f52)
LICENSE IPL10
FIXES 123620
rework previous fh-based cache support. now allows use of
arbitrarily large file handles, and build correctly for UKERNEL.
we now just use this if there's no iget, instead of providing a configure
switch.
because this relies on the somewhat invasive patch from 124184 it is not
currently pulled up to 1.4.x
(cherry picked from commit 326ffcc108e1db32fa2071b66ac9dbf2321ae71d)
LICENSE IPL10
FIXES 124184
previous versions had abstract functions for linux (use_fh) and osx/solaris
(cache_vnode_path) cache file access, which was contributing to code bloat
switch to a union for disk/memory cache objects, and provide functions to
convert these into something appropriate for each system
(cherry picked from commit 8747236d54742c1c2fb8788c1f6aee4e657b3e89)