5858 Commits

Author SHA1 Message Date
Steven Jenkins
add2160a6e DEVEL15-man-page-fs-monitor-20090518
LICENSE IPL10
FIXES 124790

Add man page for fs monitor.


(cherry picked from commit 01ba5ab1ed24d14c1068d5dac951cbea1befba10)
2009-05-19 00:33:43 +00:00
Steven Jenkins
0559fd6754 DEVEL15-man-page-copyauth-20090518
FIXES 124789
LICENSE IPL10

Add man page for copyauth.


(cherry picked from commit a7a80efd577d9f2a9573fe35c12ca30b59e2f375)
2009-05-19 00:33:25 +00:00
Steven Jenkins
87d6d5eae0 DEVEL15-man-page-compile-et-20090518
LICENSE IPL10
FIXES 124788

Add man page for compile_et.


(cherry picked from commit 16ec87e0b382bc8bca14ec6a70987f54899eea7f)
2009-05-19 00:33:01 +00:00
Mike Robinson
7af367605e DEVEL15-man-page-yet-more-fs-commands-20090517
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)
2009-05-18 04:40:54 +00:00
Steven Jenkins
43473c8c0e DEVEL15-man-page-more-fs-commands-20090517
LICENSE IPL10
FIXES 124756

Add man pages for fs cscpolicy, fs getfid, and fs memdump.


(cherry picked from commit 32c93cf55210809de92e81428bff784b07a58d44)
2009-05-18 04:40:26 +00:00
Simon Wilkinson
67e8e1c45a DEVEL15-man-pod-fileserver-20090515
LICENSE IPL10
FIXES 124778

-L sets the max number of threads


(cherry picked from commit d5c2efa499fdef6811e40e79a041a43761b3d208)
2009-05-15 14:30:18 +00:00
Jeffrey Altman
bec8721b20 DEVEL15-printf-format-macros-20090515
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)
2009-05-15 13:30:18 +00:00
Derrick Brashear
fe8c1d0064 DEVEL15-vol-split-no-nearinode-hint-for-namei-20090514
LICENSE IPL10

nearinode hint makes no sense when you're not using inode fileserver


(cherry picked from commit 1f07c903055c54fb7f0a584e88cfc1c289a161c6)
2009-05-14 21:50:53 +00:00
Jeffrey Altman
5a5ce4513f DEVEL15-doc-xml-release-notes-windows-20090514
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)
2009-05-14 18:49:25 +00:00
Derrick Brashear
ec383a0dd7 DEVEL15-cfileopen-cleanup-20090514
LICENSE IPL10

make disconnected work again. also, use static_inline macro consistently


(cherry picked from commit 8a2fcaa8f45c36a80c574a7e903e71041bbd53cc)
2009-05-14 05:05:42 +00:00
Jeffrey Altman
409f760862 DEVEL15-doc-xml-20090513
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)
2009-05-14 03:29:07 +00:00
Derrick Brashear
864dd3b2ed DEVEL15-ukernel-use-fsblkcnt-20090513
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)
2009-05-13 22:35:08 +00:00
Marc Dionne
f50a0c535b DEVEL15-mmap-antirecursion-port-to-head-20090513
LICENSE IPL10
FIXES 124770

deal correctly with the structure reorg which took place


(cherry picked from commit 2c0bf1c881f34554472982df2b74c50c4eeb7dcd)
2009-05-13 21:41:36 +00:00
Derrick Brashear
69a102388c DEVEL15-pts-encrypt-option-20090512
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)
2009-05-12 20:40:32 +00:00
Felix Frank
ef526f5c02 DEVEL15-linux-mmap-antirecursion-fix-20090512
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)
2009-05-12 18:56:40 +00:00
Matt Benjamin
277f8a1f14 DEVEL15-freebsd-kauth-sig-t-20090512
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)
2009-05-12 18:19:09 +00:00
Rainer Toebbicke
379acc69dd DEVEL15-rxdebug-print-values-unsigned-20090512
LICENSE IPL10
FIXES 124563

for the values which are unsigned, use %u, not %d


(cherry picked from commit b967654434f4d24b50dbc96e0296d2c632f76ea3)
2009-05-12 18:12:30 +00:00
Anders Kaseorg
cfc2a55753 DEVEL15-redhat-use-postinit-in-initscript-20090512
LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it


(cherry picked from commit eb9fff14c7be1b15369c6d1a44426c1c7c82c92e)
2009-05-12 17:58:37 +00:00
Felix Frank
f9115cc3eb DEVEL15-memcache-write-on-laststore-20090512
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)
2009-05-12 17:42:37 +00:00
Steven Jenkins
d1907a2908 DEVEL15-tests-generate-dirpath-in-makefile-20090512
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)
2009-05-12 17:23:04 +00:00
Steven Jenkins
41e50b05ac DEVEL15-tests-no-dirpath-infile-20090512
LICENSE IPL10
FIXES 124716

Dirpath.pm.in is no longer needed


(cherry picked from commit c39f38d8c6703a9d1b9967a1bf0901db35e19267)
2009-05-12 14:06:24 +00:00
Matt Benjamin
c85ea5dd7d DEVEL15-openbsd-44-45-20090512
LICENSE IPL10
FIXES 124719

add missing osi_free backend, missing param file, modify soreceive for 4.5


(cherry picked from commit 4b9283a30db0c3aee943c94573b412f24894d366)
2009-05-12 14:02:58 +00:00
Jeffrey Altman
6d90d92c8b DEVEL15-windows-dcache-store-data-20090511
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)
2009-05-11 17:22:35 +00:00
Chas Williams
dd76e75b7c DEVEL15-xml-docbook-documentation-first-pass-20060915
needs more massaging to make it fit the tree, but, get it here first


(cherry picked from commit 52557c982e1ed65c694c5c1387ac2b385356438d)
2009-05-11 16:12:58 +00:00
Simon Wilkinson
3b21ae6002 DEVEL15-linux26-defer-cred-changing-20090511
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)
2009-05-11 15:55:02 +00:00
Jeffrey Altman
1c7cc29971 DEVEL15-windows-hard-and-idle-dead-timeouts-20090511
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)
2009-05-11 15:16:32 +00:00
Jeffrey Altman
62d40b40c9 DEVEL15-windows-fs-getfid-20090511
LICENSE MIT

Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".


(cherry picked from commit 5520747790b599bc10013dc78efb81b5d50a3f52)
2009-05-11 15:04:52 +00:00
Marc Dionne
7f5b86916d DEVEL15-linux-fh-based-cache-20090511
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)
2009-05-11 14:40:23 +00:00
Simon Wilkinson
fa73954d8b DEVEL15-abstract-cache-inode-ops-20090511
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)
2009-05-11 14:28:04 +00:00
Jeffrey Altman
cabac6deaa DEVEL15-windows-fs-path-in-afs-20090507
LICENSE MIT

Switch the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME
so that the literal option can be used.


(cherry picked from commit fd0f1f49f27b5f92547a0d15e23efd3b2e46376d)
2009-05-07 16:03:07 +00:00
Jeffrey Altman
0960de1c58 DEVEL15-windows-shellext-path-in-afs-20090507
LICENSE MIT
FIXES 124742

Change the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME.
VIOCGETFID permits a literal test of the specified object.   This is needed
for testing the validity of a symlink to a msdfs: or non-existent path.
Otherwise, the AFS Shell Extension context menu will not be displayed.


(cherry picked from commit 621719905806a5883be5a17ca1af0d1929b874e3)
2009-05-07 15:53:25 +00:00
Derrick Brashear
8f6f2e1525 DEVEL15-man-pages-allow-dots-consistent-20090505
LICENSE IPL10

make all server man pages list -allow-dotted-principals (rather than
-allow-dotted-principal)


(cherry picked from commit c8ac7d1c499150b3f82a6566e9bbdb7478ddd469)
2009-05-05 13:30:34 +00:00
Mike Meffie
3653ba4349 DEVEL15-dafs-vol-offline-20090428
LICENSE IPL10
FIXES 124582

fix a logic error in the dafs vos offline support


(cherry picked from commit 5958aa0c4b0a9279a918cda1f37cb7e6c5666d44)
2009-04-28 15:37:51 +00:00
Jeffrey Altman
82058ac32b DEVEL15-windows-smb-disable-loopback-check-20090427
LICENSE MIT

Now that BackConnectionHostNames can be set each time the smb listener
threads are stopped and restarted, we need to make sure that we do not
clear the DisableLoopbackCheck value if it was set during the same
service session because BackConnectionHostName value changes only take
effect on a reboot.


(cherry picked from commit c4006edf4022e4f80cda5afd427d43997299c890)
2009-04-28 00:37:26 +00:00
Steven Jenkins
8fb1f48cfa DEVEL15-rename-residency-from-mrafs-to-osd-20090427
LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.


(cherry picked from commit 8655541d1eb6ea7d935f50d9256e12bf90db5045)
2009-04-28 00:04:29 +00:00
Jeffrey Altman
73fb33b19a DEVEL15-vos-reveal-hidden-cmds-20090427
LICENSE IPL10

vos hides "online", "offline", "delentry -noexecute", and "addsite -valid".
All of these are currently documented in the man pages without warning.
Reveal them.


(cherry picked from commit 4836fd1e374c30b5e3be72e73b3dbd21c0c98548)
2009-04-27 21:18:12 +00:00
Simon Wilkinson
3f46c3bef4 DEVEL15-dprintf-rename-20090427
LICENSE IPL10
FIXES 124657

make dprintf be afs_dprintf to fix for fedora 11 and probably others


(cherry picked from commit 2f5ac61b0a8775c58536ee954f2208ab88d0b225)
2009-04-27 20:17:25 +00:00
Jason Edgecombe
8e71ae4a4b DEVEL15-netinfo-fake-address-text-20090427
LICENSE IPL10
FIXES 124699

explain fake address support for NetInfo files


(cherry picked from commit 758366c26a0d1b2e97449ab858e15da8cc0d73f0)
2009-04-27 19:37:34 +00:00
Matt Benjamin
611868a378 DEVEL15-dragonfly-bsd-userland-20090427
LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland


(cherry picked from commit 25f13f38064bf38ed89332b38c53c740475db87d)
2009-04-27 19:31:52 +00:00
Marc Dionne
fff37d7334 DEVEL15-linux-2-6-30-support-for-head-20090407
LICENSE IPL10
FIXES 124592

make proc dir entry owner field only be initialized when it exists


(cherry picked from commit aea52af634dd20c1cff1a6347ac24770ae727328)
2009-04-07 17:16:59 +00:00
Jeffrey Altman
a3707d68dc DEVEL15-windows-smb-registry-config-20090407
LICENSE MIT

Move configureBackConnectionHostNames() to smb_StartListeners()
so that when the NetbiosName changes while the service is running
the new values can be set.

Add configureExtendedSMBSessionTimeouts() which configures new
SMB functionality added in a Win2003 post-SP2 hot fix.


(cherry picked from commit b4b61821081d809bb3a737f9e23964f4f99b3c58)
2009-04-07 15:05:44 +00:00
Simon Wilkinson
82feffaa95 DEVEL15-linux-avoid-returning-invalid-pointers-on-error-20090402
LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.
openafs-devel-1_5_59
2009-04-07 13:25:52 +00:00
Derrick Brashear
698eb2ef20 DEVEL15-openafs-1-5-59-20090406
LICENSE IPL10

make 1.5.59
2009-04-06 23:57:09 +00:00
Simon Wilkinson
c0ff1f2429 DEVEL15-avoid-buffer-overflow-on-rx-fixed-size-array-return-20090402
LICENSE IPL10
FIXES 124579

avoid potentially writing beyond allocated memory if a return is larger than expected


(cherry picked from commit 62bca1123fb471ca1eec58b448fd39f7f797638a)
2009-04-06 23:53:02 +00:00
Simon Wilkinson
b7ead91b2c DEVEL15-linux-avoid-returning-invalid-pointers-on-error-20090402
LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.
2009-04-06 23:50:32 +00:00
Jeffrey Altman
2cf8bc9e88 DEVEL15-windows-pioctl-subst-unc-20090407
LICENSE MIT

Add code to support determining if a drive substitution refers to
a UNC path.


(cherry picked from commit 9a0b3da255032f177dfedb650c7a0b65cff24fba)
2009-04-06 22:47:59 +00:00
Jeffrey Altman
8c862a64e2 DEVEL15-windows-smb-trace-20090406
LICENSE MIT

include the correct function name in a
trace message


(cherry picked from commit aad7a2c5858a94672db6c23f508e404e236e4142)
2009-04-06 18:25:16 +00:00
Jeffrey Altman
93700152af DEVEL15-windows-release-notes-20090406
LICENSE MIT

1.5.59
2009-04-06 18:20:52 +00:00
Jeffrey Altman
977c2702d5 DEVEL15-windows-version-20090406
LICENSE MIT

1.5.59 == 1.5.5900.0
2009-04-06 18:17:32 +00:00
Jeffrey Altman
9851c01a1a DEVEL15-windows-notes-20090406
LICENSE MIT

1.5.59
2009-04-06 18:15:12 +00:00