openafs.git
15 years agoDEVEL15-threaded-ubik-cvsignore-20080713
Russ Allbery [Mon, 14 Jul 2008 05:15:28 +0000]
DEVEL15-threaded-ubik-cvsignore-20080713

LICENSE BSD

Add .cvsignore patterns for threaded ubik builds.

(cherry picked from commit db9f59e9be12f791c122c4b8c6a8b8ecca8ce239)

15 years agoDEVEL15-autoconf-help-text-20080713
Russ Allbery [Mon, 14 Jul 2008 05:06:08 +0000]
DEVEL15-autoconf-help-text-20080713

LICENSE IPL10

Use AS_HELP_STRING for every AC_ARG_WITH invokation and add proper quoting
to all of them.  Based heavily on a patch by Simon Wilkinson, but with
less indentation and more quoting.

(cherry picked from commit 2b7d9ab5d7c7947b1a45974d9a3252ce7e203a3b)

15 years agoDEVEL15-man-page-html-index-underscores-20080713
Russ Allbery [Mon, 14 Jul 2008 03:28:00 +0000]
DEVEL15-man-page-html-index-underscores-20080713

LICENSE BSD

Remove underscores from the anchor in the index for all section 5 manual
pages.

(cherry picked from commit 6a322e4eb7e79896e3322e0ace16a6ed99668162)

15 years agoDEVEL15-html-man-index-links-20060802
Russ Allbery [Mon, 14 Jul 2008 02:59:09 +0000]
DEVEL15-html-man-index-links-20060802

Add links back to the index at the top and bottom of each generated page.

(cherry picked from commit b57f675bc3364c17fccc58ed56307f91213d3b3d)

15 years agoDEVEL15-man-page-html-generation-hack-20080713
Russ Allbery [Mon, 14 Jul 2008 02:54:18 +0000]
DEVEL15-man-page-html-generation-hack-20080713

LICENSE BSD

Pod::Simple::Search ignores every POD file that doesn't "look right," which
means it skips files containing a period (like krb.conf.pod) unless you set
a search option.  Pod::Simple::HTMLBatch has no way to set search options.

Apply a truly horrible hack to get around this.

(cherry picked from commit 2a92f43987cd08dc0134b775e0d118894d22d3e5)

15 years agoDEVEL15-docs-ticket-104110-20080713
Jason Edgecombe [Mon, 14 Jul 2008 00:53:50 +0000]
DEVEL15-docs-ticket-104110-20080713

LICENSE BSD
FIXES 104110

add krb.conf

update CellServDB to discuss AFSDB DNS records

(cherry picked from commit 298fb5ce52f3f5296c24ed1300287b5fa5870a3c)

15 years agoDEVEL15-docs-max-part-size-20080713
Jason Edgecombe [Mon, 14 Jul 2008 00:37:37 +0000]
DEVEL15-docs-max-part-size-20080713

LICENSE BSD
FIXES 86677

update discussion of max partition size.

(cherry picked from commit c766e74fd63a58e714d7b15ef1abfbc48b2a5a85)

15 years agoDEVEL15-man-page-fs-read-not-list-20080711
Jeffrey Altman [Sat, 12 Jul 2008 06:57:59 +0000]
DEVEL15-man-page-fs-read-not-list-20080711

LICENSE MIT

 - fs diskfree
 - fs examine
 - fs listquota
 - fs quota

require read permission not list for the root directory
of the volume and list permission for the preceding path.

(cherry picked from commit df9f2455fbe34ac105179797f85aacc63a8b8da8)

15 years agoDEVEL15-windows-cm_req-layer-purity-20080711
Jeffrey Altman [Fri, 11 Jul 2008 23:27:01 +0000]
DEVEL15-windows-cm_req-layer-purity-20080711

LICENSE MIT

Ensure that the cm_req_t object is allocated and initialized at the
SMB layer for all incoming requests.  This is done for two reasons:

1. ensure that request start time is consistent across the lifetime
   of the request

2. permit the request object to be used to carry a flag indicating
   the source of the request.  This will permit different timeout
   algorithms to be used for SMB vs RDR in the future.

(cherry picked from commit 30ba65bc5c216f73f89acf2aa97a4287a4de1f1f)

15 years agoDEVEL15-butc-xbsa-update-20080711
Todd DeSantis [Fri, 11 Jul 2008 10:50:37 +0000]
DEVEL15-butc-xbsa-update-20080711

LICENSE IPL10

update xbsa support for current tsm

(cherry picked from commit 5baf817a31e72d85415222af5c3dee70ed1f6bd3)

15 years agoDEVEL15-windows-install-loopback-ddk-20080710
Jeffrey Altman [Thu, 10 Jul 2008 19:28:26 +0000]
DEVEL15-windows-install-loopback-ddk-20080710

LICENSE MIT

Add support for dynamically determining which ddk include
path should be used.  The NTDDKDIR variable used to be set
to the specific directory in which netcfgx.h was located.
Now it is set to the top-level of the DDK install tree.
The specific directory that contains netcfgx.h varies based
upon whether the DDK is 3790.1830 or 6000.  Test for file
existence and specify the one that works.

(cherry picked from commit 4f5b808414c958e7629c83f93d610b57c54274ac)

15 years agoDEVEL15-dafs-update-exclusive-states-20080710
Tom Keiser [Thu, 10 Jul 2008 19:14:54 +0000]
DEVEL15-dafs-update-exclusive-states-20080710

LICENSE IPL10

VOL_STATE_SALVSYNC_REQ is a mutally exclusive state. don't allow other things
to attempt to trigger that state when an exclusive state is already present

(cherry picked from commit f52f1522367819712ea678b4e3cdf4644571fc57)

15 years agoDEVEL15-solaris-nevada-vfsdev-type-20080707
Dale Ghent [Mon, 7 Jul 2008 18:15:58 +0000]
DEVEL15-solaris-nevada-vfsdev-type-20080707

LICENSE IPL10
FIXES 105495

in nevada, struct vfsdev_v4 -> vfsdev_t. cope.

(cherry picked from commit acf76ac85f55e268e9a99d12dc89bad4b763038b)

15 years agoDEVEL15-solaris-udp-modname-20080707
Derrick Brashear [Mon, 7 Jul 2008 18:15:10 +0000]
DEVEL15-solaris-udp-modname-20080707

LICENSE IPL10

older solaris 10 lacked this

(cherry picked from commit 078f966e6293504dc7fd0a7c6b49997b6739be71)

15 years agoDEVEL15-linux-revalidate-renames-correctly-20080707
Chas Williams [Mon, 7 Jul 2008 17:53:59 +0000]
DEVEL15-linux-revalidate-renames-correctly-20080707

LICENSE IPL10
FIXES 74672

when renaming causes a dentry to be newer than its parent we handled it
incorrectly. zero the d_time to force correct evaluation to happen.

(cherry picked from commit 9f3629b018f9d25b205f911464789ed0a14103b4)

15 years agoDEVEL15-rhel3-disable-fedorakmod-20080707
Simon Wilkinson [Mon, 7 Jul 2008 17:42:29 +0000]
DEVEL15-rhel3-disable-fedorakmod-20080707

LICENSE IPL10
FIXES 102673

if we're building for 2.4.x we need to disable fedorakmod. do so here in our
packaging.

(cherry picked from commit 9946c027a33b89cdf128748b9fd3000b31bee48f)

15 years agoDEVEL15-windows-pioctl-debugging-20080705
Jeffrey Altman [Sat, 5 Jul 2008 16:51:22 +0000]
DEVEL15-windows-pioctl-debugging-20080705

LICENSE MIT
FIXES 105867

Replace multiple calls to IoctlDebug() within the same function
with a variable.

Save/restore more errno values.

(cherry picked from commit e5e9463568bcbf9aa574e15cf47d231fef44685b)

15 years agoDEVEL15-windows-pioctl-debugging-20080704
Jeffrey Altman [Sat, 5 Jul 2008 07:35:35 +0000]
DEVEL15-windows-pioctl-debugging-20080704

LICENSE MIT
FIXES 105867

David Botsch reports that when IoctlDebug is active, failures of
fprintf overwrite 'errno'.  Save and restore 'errno' around the
fprintf calls.

(cherry picked from commit 44cd9c4e4cf6ef468e7e5880c8cb71ed277085c7)

15 years agoDEVEL15-windows-afskfw-20080704
Jeffrey Altman [Sat, 5 Jul 2008 07:27:46 +0000]
DEVEL15-windows-afskfw-20080704

LICENSE MIT

if ktc_GetToken() fails, do not switch to krb524, just fail

(cherry picked from commit 99471963b3a035898419ace7bfafb24de464714c)

15 years agoDEVEL15-linux-probe-syscall-table-again-20080703
Benjamin Bennett [Thu, 3 Jul 2008 21:33:12 +0000]
DEVEL15-linux-probe-syscall-table-again-20080703

LICENSE IPL10
FIXES 105457

move the init_mm ifdef down far enough that it's effective and we actually
probe to be able to hook syscall table

(cherry picked from commit a4e3fb21f0fd8f02ffd2c01b4d39ac55cd3474b1)

15 years agoDEVEL15-windows-dead-vc-cleanup-take-two-20080703
Jeffrey Altman [Thu, 3 Jul 2008 06:54:47 +0000]
DEVEL15-windows-dead-vc-cleanup-take-two-20080703

LICENSE MIT

Prevent an infinite recursion when attempting to cleanup a previously
dead vc.

(cherry picked from commit be32aef3831529f30f59088be5ea2060b55a95f6)

15 years agoDEVEL15-windows-config-ntmakefile-i386_w2k-codesign-20080702
Jeffrey Altman [Thu, 3 Jul 2008 02:25:45 +0000]
DEVEL15-windows-config-ntmakefile-i386_w2k-codesign-20080702

LICENSE MIT

no underscore prepending CODESIGN_USERLAND macro

(cherry picked from commit 08974551cb5257caea7315bcf726e0dba1a4d052)

15 years agoDEVEL15-windows-config-version-20080702
Jeffrey Altman [Thu, 3 Jul 2008 00:01:50 +0000]
DEVEL15-windows-config-version-20080702

LICENSE MIT

Add AFSPRODUCT_VERSION to the AFS_component_version_number.h files

Update copyright info and add underscores to version strings in rc files

(cherry picked from commit 41927c3cbf068f71c2ef5f880f21a459477c62a0)

15 years agoDEVEL15-windows-code-signing-20080702
Jeffrey Altman [Wed, 2 Jul 2008 13:48:01 +0000]
DEVEL15-windows-code-signing-20080702

LICENSE MIT

Add code signing with signtool.exe to the build process.
If all three of the required CODESIGN_xxxx environment
variables are defined, signtool will be used to sign each
exe, dll, and installer as they are built.

The three environment variables are:

  CODESIGN_DESC = <description of application>
  CODESIGN_TIMESTAMP = <url of certificate authority timestamp server>
  CODESIGN_URL = <end user help URL>

The default signing certificate is the one that will be used by
signtool.  If these environment variables are not defined, code
signing will be skipped.

(cherry picked from commit 65bf7cdb6d20a1ff4e71c79347782aa3b5f1e3f8)

15 years agoDEVEL15-linux-packaging-module-build-20080701
Simon Wilkinson [Tue, 1 Jul 2008 23:51:51 +0000]
DEVEL15-linux-packaging-module-build-20080701

LICENSE IPL10

Add --with-linux-kernel-packaging configure flag which disables building
multiple kernels for different MP flavors, sets the kernel module name to
openafs.ko with no version, and installs the modules into the standard
Linux location.

(cherry picked from commit 1c96127e37c0ec41c7a30ea3e4aa68f3cc8a24f6)

15 years agoDEVEL15-libuafs-fixes-20080701
Andrew Deason [Tue, 1 Jul 2008 23:28:35 +0000]
DEVEL15-libuafs-fixes-20080701

LICENSE IPL10
FIXES 104698, 104699, 104305

make cellname get init'd right. correct startup argument order to match
what afsd does. call lookupname correctly (when did this break?)

at the same time, move the lookupname define out of afs_osi.h and into each
osi_machdep.h

(cherry picked from commit c61a8f37c9957034961aed8abc2a1adb046247d3)

15 years agoDEVEL15-redhat-build-updates-20080701
Andrew Deason [Tue, 1 Jul 2008 20:41:25 +0000]
DEVEL15-redhat-build-updates-20080701

LICENSE IPL10
FIXES 105231

update specfile for new manpages.
update patch for 1.5.x/head
update makesrpm to quote some arguments to system so perl doesn't eat them

some rewriting from shadow@dementia.org including the patch update

(cherry picked from commit 0d343077ac1ca8bd35921de2a2b19cac4eb75496)

15 years agoDEVEL15-volutil-partitionname2-r-return-value-20080701
Derrick Brashear [Tue, 1 Jul 2008 19:33:38 +0000]
DEVEL15-volutil-partitionname2-r-return-value-20080701

LICENSE IPL10

return 0 and not tbuffer on success since tbuffer is already returned via
a pointer

(cherry picked from commit 19551ae3a541644013f6e9e92d9354ec14cbc00e)

15 years agoDEVEL15-more-cpp-fixes-20080701
Russ Allbery [Tue, 1 Jul 2008 19:15:14 +0000]
DEVEL15-more-cpp-fixes-20080701

LICENSE BSD

Use PATH_CPP instead of CPP everywhere and always redirect the output
instead of assuming that it will write to a file.  Hopefully this is the
least common denominator across all systems, although it still isn't
fully correct for systems that have no separate cpp binary.

(cherry picked from commit c733e2e07aeb0cc981d53d843a1ffb787f43ed64)

15 years agoDEVEL15-linux-nfstrans-updates-20080701
Derrick Brashear [Tue, 1 Jul 2008 18:45:13 +0000]
DEVEL15-linux-nfstrans-updates-20080701

LICENSE IPL10
FIXES 105019

make libuafs also include afs_warn.c

(cherry picked from commit fb3490cdea7e45dbac4a8aa820f35bf1723af764)

15 years agoDEVEL15-pt_util-database-path-20080630
Russ Allbery [Tue, 1 Jul 2008 06:57:35 +0000]
DEVEL15-pt_util-database-path-20080630

LICENSE BSD

Use the dirpath functions to find the prdb database path in pt_util instead
of hard-coding the default Transarc path.

(cherry picked from commit 5e1459f431fc046dfd3b25aca87709193ccca211)

15 years agoDEVEL15-linux-nfstrans-updates-20080630
Marc Dionne [Tue, 1 Jul 2008 04:35:18 +0000]
DEVEL15-linux-nfstrans-updates-20080630

LICENSE IPL10
FIXES 105109

exportfs - NFS translator:

- The exportfs code is updated for the new export ops. The changes are made
conditional on a new configure test that detects the new ops. fh_to_dentry()
basically replaces decode_fh and uses our own get_dentry function instead of the
now defunct find_exported_dentry.
- A check for fh_len=4 is removed - in testing this value is always 6, possibly
because of changes in the kernel code.
- The check for authtab in osi_nfssrv.c assumes that an undefined weak symbol is
0. On my system, an unresolved weak symbol in a loaded module gets the value
0xfffffffe (-2 or -ENOENT) - again, probably a change on the kernel side. Check
that the pointer is not an error constant using IS_ERR().
- In osi_vfsops.c, only use the export_ops bits if building the translator

afspag: the problem here was dealing with unresolved symbols

- afs_showflags is redefined in afs_pag_call.c so it's available for the afspag
module
- A new source file afs_warn.c gets the afs_warn* functions from afs_util.c.
This allows the afspag module to get the afs_warnuser function without dragging
in too many symbols. The new file is attached separately.

other:

- d_path() now takes a struct path argument - includes a new configure test
- osi_vfsmnt -> osi_vfsmount in osi_misc.c Looked like a typo?
- reorder the remove_proc_entry() calls - we need to remove the children before
the parent (introduced with my earlier patch)

(cherry picked from commit daf6b1cf282c895bb7cd3cb090e5bee06648cd16)

15 years agoDEVEL15-ubik-lwp-createprocess-64-bit-20080630
Thomas Galliano [Tue, 1 Jul 2008 04:06:20 +0000]
DEVEL15-ubik-lwp-createprocess-64-bit-20080630

LICENSE IPL10
FIXES 104732

use NULL and not (void *)0 to avoid issues on 64 bit platforms

(cherry picked from commit e22a5cc8afe889d5d76ecf44a63860e12f1effbf)

15 years agoDEVEL15-cpp-fixes-20080630
Russ Allbery [Tue, 1 Jul 2008 00:37:31 +0000]
DEVEL15-cpp-fixes-20080630

LICENSE BSD

When probing in configure for cpp, use the user's PATH first and then
the /lib and /usr/ccs/lib directories.  Set PATH_CPP instead of CPP,
since the latter is just overwritten by Autoconf.  Use PATH_CPP by
preference in rxgen and when pre-processing assembly, since otherwise
newer gcc will treat the input file as linker input and not do anything
with it.  Don't assume that cpp writes to the second argument; gcc
apparently doesn't always do this.  Instead, redirect standard output.

(cherry picked from commit 1ec104280d4a4b0a7544a99a7366f59cd3a2cc5f)

15 years agoDEVEL15-man-page-html-index-20080630
Russ Allbery [Tue, 1 Jul 2008 00:10:40 +0000]
DEVEL15-man-page-html-index-20080630

LICENSE BSD

Use the correct subcommand name (fs getacl instead of fs_getacl) on the
HTML index page, even though we have to use the underscore in the NAME
section of the actual POD documentation.

(cherry picked from commit 9b61f58fa78259eb092350599a0a26d75ac14fa8)

15 years agoDEVEL15-linux-ucontext-fixes-20080630
Russ Allbery [Mon, 30 Jun 2008 21:51:38 +0000]
DEVEL15-linux-ucontext-fixes-20080630

LICENSE BSD

Enable UCONTEXT on alpha, s390, and s390x for glibc > 2.3.  This is the
semantic backport of linux-ucontext-fixes-20080630 adjusted for the
param file reorganization.

(cherry picked from commit 9f94f89a7a894651f18947ec7ac20959f9326478)

15 years agoDEVEL15-bozo-find-linux-core-files-20080630
Russ Allbery [Mon, 30 Jun 2008 21:29:29 +0000]
DEVEL15-bozo-find-linux-core-files-20080630

LICENSE BSD

Current Linux kernels always append a period and the PID to "core" when
creating core files for multithreaded processes.  Teach bosserver to scan
the directory into which core files are deposited looking for such core
files and treat them like any other core file if the PID matches the
process that just died.

This patch has been in the Debian OpenAFS packages for some time without
problems.

(cherry picked from commit d82169c51cc1d4db5de1c51dabeb1d6fe712fb79)

15 years agoDEVEL15-man-page-vos-convertROtoRW-inode-20080630
Russ Allbery [Mon, 30 Jun 2008 21:20:27 +0000]
DEVEL15-man-page-vos-convertROtoRW-inode-20080630

LICENSE BSD

vos convertROtoRW can now be used with an inode file server.  Adjust the
man page accordingly.

(cherry picked from commit 6331d37125428956586610b8e514e1b304a16022)

15 years agoDEVEL15-man-page-readme-update-20080630
Russ Allbery [Mon, 30 Jun 2008 21:08:03 +0000]
DEVEL15-man-page-readme-update-20080630

LICENSE BSD

Add additional missing commands to the to-do list.  Add a section on man
page section numbers and their rationale.  Document that embedding a
license in the man page isn't required if it's one of the licenses in our
LICENSE file.

(cherry picked from commit cf816d535a60a7a5f7efa5564b647ee87e33b7d7)

15 years agoDEVEL15-windows-wix-cmdref-subdirs-20080630
Jeffrey Altman [Mon, 30 Jun 2008 20:52:11 +0000]
DEVEL15-windows-wix-cmdref-subdirs-20080630

LICENSE MIT

Construct the directory hierarchy correctly.  CmdRef/{1,5,8}

(cherry picked from commit 2b48a4c67acee5c25128d5f2fc9371fe0a89dd1f)

15 years agoDEVEL15-dafs-state-analyzer-setup-cursor-20080630
Tom Keiser [Mon, 30 Jun 2008 18:28:47 +0000]
DEVEL15-dafs-state-analyzer-setup-cursor-20080630

LICENSE IPL10

avoid an uninitialized cursor

(cherry picked from commit db13ad4de73814e90b108faa0d1246e224836ece)

15 years agoDEVEL15-windows-nsis-cmdref-subdirs-20080630
Jeffrey Altman [Mon, 30 Jun 2008 15:00:52 +0000]
DEVEL15-windows-nsis-cmdref-subdirs-20080630

LICENSE MIT

install and remove the subdirectories of the CmdRef

(cherry picked from commit 1b98b43127e3286b7842de4c59ea50f5a7de4424)

15 years agoDEVEL15-windows-wix-install-idn-redist-20080630
Asanka Herath [Mon, 30 Jun 2008 14:40:22 +0000]
DEVEL15-windows-wix-install-idn-redist-20080630

LICENSE MIT

Only install IDN redistributables on XP and 2003

(cherry picked from commit 7460987e758fa299849d877633053c05cb431977)

15 years agoDEVEL15-windows-nsis-install-idn-redist-20080629
Jeffrey Altman [Mon, 30 Jun 2008 03:57:18 +0000]
DEVEL15-windows-nsis-install-idn-redist-20080629

LICENSE MIT

Install IDN on XP and 2003 only

(cherry picked from commit fed6593bf343425807f425aeb8315886feeb8670)

15 years agoDEVEL15-windows-remove-ibm-docs-20080628
Jeffrey Altman [Sun, 29 Jun 2008 06:07:12 +0000]
DEVEL15-windows-remove-ibm-docs-20080628

LICENSE MIT

Remove (from the en_US distributions) the IBM Quick Guide and IBM
Release Notes.  Update references and installers.

(cherry picked from commit 5da4137cbe2574fc8602bd7ffaeaf8d85bd9e010)

15 years agoDEVEL15-afs-blacklist-initialize-volume-ptr-always-20080628
Chaskiel M Grundman [Sun, 29 Jun 2008 04:39:12 +0000]
DEVEL15-afs-blacklist-initialize-volume-ptr-always-20080628

LICENSE IPL10

always initialize this

(cherry picked from commit dff0d834a7c03d19d572d74849599ac89c2a058e)

15 years agoDEVEL15-windows-generate-html-cmdref-makefile-argh-20080628
Jeffrey Altman [Sun, 29 Jun 2008 02:51:53 +0000]
DEVEL15-windows-generate-html-cmdref-makefile-argh-20080628

LICENSE MIT

It would be nice if we added the file to the correct directory.

Add Windows makefile to build the html cmdref files from the pod man-pages

(cherry picked from commit 618a180164c7f1f2772f722f40191e3d99028e90)

15 years agoDEVEL15-windows-cmdref-20080628
Jeffrey Altman [Sun, 29 Jun 2008 02:28:44 +0000]
DEVEL15-windows-cmdref-20080628

LICENSE MIT

Reference cmdref/index.html from the en_US documentation

(cherry picked from commit ee8a5d7019ca88114455412e58dab83b1bd1736b)

15 years agoDEVEL15-windows-install-new-cmdref-20080628
Jeffrey Altman [Sun, 29 Jun 2008 02:22:30 +0000]
DEVEL15-windows-install-new-cmdref-20080628

LICENSE MIT

Install the new man pages as the OpenAFS Command Reference.
Update both the nsis and wix installers.

(cherry picked from commit 4af6e48bdb69ceb8de8f2da7fd8a98944632ede9)

15 years agoDEVEL15-windows-build-doc-manpages-20080628
Jeffrey Altman [Sun, 29 Jun 2008 00:42:54 +0000]
DEVEL15-windows-build-doc-manpages-20080628

LICENSE MIT

build the manpages for windows

(cherry picked from commit 6a34c5c4f6a77be71043fa3f4aecccf5f7051d93)

15 years agoDEVEL15-windows-generate-html-cmdref-makefile-correct-20080628
Jeffrey Altman [Sun, 29 Jun 2008 00:32:04 +0000]
DEVEL15-windows-generate-html-cmdref-makefile-correct-20080628

LICENSE MIT

commit the correct version of the NTMakefile

(cherry picked from commit da989e5d95f1cfee9b0823b184b9aa6f86ed5a0c)

15 years agoDEVEL15-windows-generate-html-cmdref-makefile-20080628
Jeffrey Altman [Sun, 29 Jun 2008 00:25:21 +0000]
DEVEL15-windows-generate-html-cmdref-makefile-20080628

LICENSE MIT

Add a windows makefile to generate the html cmdref from the pod
files.  Requires perl on the build system.

(cherry picked from commit d600d661ad495678423fd56a7fc2d5ee340a65ae)

15 years agoDEVEL15-install-and-document-klog-krb5-20080627
Russ Allbery [Sat, 28 Jun 2008 08:18:15 +0000]
DEVEL15-install-and-document-klog-krb5-20080627

LICENSE IPL10

Install the Kerberos v5 klog as klog.krb5 and install a man page for it.

(cherry picked from commit 3b273dd55291b28c698990001370a97c413c2673)

15 years agoDEVEL15-remove-administration-reference-20080627
Russ Allbery [Sat, 28 Jun 2008 07:38:00 +0000]
DEVEL15-remove-administration-reference-20080627

LICENSE IPL10

Purge the old AFS Administration Reference documentation.  This has now
been completely replaced by the manual pages.

(cherry picked from commit 62ffbc2a464521eeee4c244d2555c316dfae180f)

15 years agoDEVEL15-windows-smb-dead-vc-gc-20080627
Jeffrey Altman [Fri, 27 Jun 2008 20:45:11 +0000]
DEVEL15-windows-smb-dead-vc-gc-20080627

LICENSE MIT

When an SMB virtual circuit is prematurely closed due to an error
condition by one thread it is possible that there are still several
other threads still using the VC which will determine that the VC
is dead shortly.  As a result we maintain a dead vc list to ensure
that dead vcs are not destroyed while still in use.

With the addition of locking though this causes a problem because the
locks allocated to the virtual circuit are not freed until the vc is
destroyed.

This patch reworks the cleanup routine to make the freeing of resources
the responsibility of the release routine when the refcount hits 0
and the VC is marked dead.

(cherry picked from commit 49db6afe0aeb646d712a5319a7ea1a511f66f298)

15 years agoDEVEL15-man-page-afs-fixes-20080626
Jason Edgecombe [Fri, 27 Jun 2008 05:11:31 +0000]
DEVEL15-man-page-afs-fixes-20080626

FIXES 104745
LICENSE BSD

Fix several issues with the afs(1) man page.  Based on the patch by Jason,
but I also documented /vicepiv as the maximum, and /vicepiu as the
maximum recommended, partition.

(cherry picked from commit e381e1d07822639ba4ce00c96ff483034104afb5)

15 years agoDEVEL15-man-page-vldb_convert-20080626
Jason Edgecombe [Fri, 27 Jun 2008 05:05:33 +0000]
DEVEL15-man-page-vldb_convert-20080626

FIXES 104192
LICENSE BSD

New man page for vldb_convert.

(cherry picked from commit d9dc7e28fe73b1e3ac2773fb1efd44e67de5e21d)

15 years agoDEVEL15-man-page-vos-clone-20080626
Jason Edgecombe [Fri, 27 Jun 2008 05:03:54 +0000]
DEVEL15-man-page-vos-clone-20080626

FIXES 104110
LICENSE BSD

Add man page for vos clone.

(cherry picked from commit fbe10c80860ce9f456a056e0d397a10411f22369)

15 years agoDEVEL15-windows-wix-install-idn-redist-20080626
Asanka Herath [Fri, 27 Jun 2008 03:06:21 +0000]
DEVEL15-windows-wix-install-idn-redist-20080626

LICENSE MIT

Install the Microsoft IDN Redistributables which are required for
Unicode Normalization on XP and 2003.

(cherry picked from commit 0e04d01891eb2269653a84f86b066ebe10eb8a54)

15 years agoDEVEL15-windows-nsis-install-idn-redist-20080626
Asanka Herath [Fri, 27 Jun 2008 03:00:32 +0000]
DEVEL15-windows-nsis-install-idn-redist-20080626

LICENSE MIT

Install the Microsoft IDN Redistributables which are required for
Unicode Normalization on XP and 2003.

(cherry picked from commit 149fd85b205911c2393a570eac6d5a811c9ffd72)

15 years agoDEVEL15-windows-vlserver-makefile-20080626
Jeffrey Altman [Thu, 26 Jun 2008 18:05:21 +0000]
DEVEL15-windows-vlserver-makefile-20080626

LICENSE MIT

more consistency changes to get the make rules for headers right

(cherry picked from commit c051bf547636be32372d5eb01afc0b1c55f25c43)

15 years agoDEVEL15-windows-nls-includes-20080626
Jeffrey Altman [Thu, 26 Jun 2008 17:48:29 +0000]
DEVEL15-windows-nls-includes-20080626

LICENSE MIT

Add include for cm_nls.h

(cherry picked from commit bc2836058afd44d237e602c1746d1d71c95951c5)

15 years agoDEVEL15-windows-unicode-20080626
Asanka Herath [Thu, 26 Jun 2008 17:38:29 +0000]
DEVEL15-windows-unicode-20080626

LICENSE MIT

This patch is the second stage of the Unicode conversion.  In this stage
the cache manager has been converted from using 8-bit UTF8 C strings to
16-bit UTF16 C strings in the SMB, the DNLC, the B+ tree, and other
directly related modules.  The cm_cell, cm_volume, cm_scache, cm_buf,
cm_dcache, and cm_dir modules are left 8-bit because their data is all
8-bit UTF8 since they work only on file server strings.

The SMB layer accepts 16-bit UTF16, the B+ tree and DNLC use normalized
strings as the key, and everything uses UTF8.  Efforts have been made
to minimize the number of transitions from UTF8 to UTF16 and back.

For the most part strings are tagged with clientchar_t and normchar_t
and fschar_t types in order to distinguish between the various types of
strings that are in use.

other changes include addition prototyping.

(cherry picked from commit 3b41209be7a1470e186a87764621c9980ae7448a)

15 years agoDEVEL15-windows-osilog-safestring-unicode-20080624
Asanka Herath [Thu, 26 Jun 2008 17:00:53 +0000]
DEVEL15-windows-osilog-safestring-unicode-20080624

LICENSE MIT

convert to using microsoft safe string functions.

add Unicode version of osi_LogSaveStringW.  This is safe to use export
even in none Unicode builds.

Some reformatting.

(cherry picked from commit ef58ff2ea67323e5260484597abe6bdfa63d8c72)

15 years agoDEVEL15-windows-pioctl-refactoring-20080612
Jeffrey Altman [Thu, 26 Jun 2008 15:58:05 +0000]
DEVEL15-windows-pioctl-refactoring-20080612

LICENSE MIT

Refactor the pioctl handling to provide a layer of abstraction
between the smb server and the actual pioctl data processing.
This will permit a redirector pioctl layer to be implemented
on top of the core cm_ioctl interfaces.

The general approach is that there is a new cm_ioctl_t object
which is embedded withing a higher level abstraction object.
This object maintains all of the pioctl state processing and
removes any notion of file descriptors or other communication
channel parameters.

The cm_ioctl module maintains just about all of the core
functional processing except for SetToken which needs further
abstraction.  Path processing is now performed at the higher
layer and cm_ioctl functions accept cm_user_t, cm_scache_t,
and cm_req_t objects from the higher layer.

The smb_ioctl module performs all of the path translation
using smb server knowledge and passes the necessary objects
to the cm_ioctl module for processing.

(cherry picked from commit d8c3a598184df6066c330769e49fb1e301464e52)

15 years agoDEVEL15-windows-no-more-djgpp-20080626
Jeffrey Altman [Thu, 26 Jun 2008 15:38:23 +0000]
DEVEL15-windows-no-more-djgpp-20080626

LICENSE MIT

This patch is only for the 1.5 branch and just for the afsd
directory.  Remove all references to DJGPP preprocessor
symbol in order to make application of commits from head easier.

15 years agoDEVEL15-windows-unicode-20080527
Asanka Herath [Thu, 26 Jun 2008 14:00:08 +0000]
DEVEL15-windows-unicode-20080527

LICENSE MIT

An incremental commit.  This patch adds support for normalization of Unicode
but we have concluded that the normalization rules are incorrect.  Normalized
strings should not be written to the file server or returned to the application.

(cherry picked from commit c5911d25f8772aa1bb9b28a6cd58b8b781b479c1)

15 years agoDEVEL15-windows-btree-short-name-20080604
Jeffrey Altman [Thu, 26 Jun 2008 13:31:50 +0000]
DEVEL15-windows-btree-short-name-20080604

LICENSE MIT

When constructing the shortname keyed entry in the tree, make
sure that the original long name is preserved.

(cherry picked from commit b5d888ed404840e5a25a26880daaf47ab415b282)

15 years agoDEVEL15-tubik-build-fix-20080624
Matt Benjamin [Tue, 24 Jun 2008 13:58:57 +0000]
DEVEL15-tubik-build-fix-20080624

LICENSE IPL10

add missing build dependencies

(cherry picked from commit 9d1863dae7ee6675c77c7ecf398c6c4c4cc811c1)

15 years agoDEVEL15-tubik-build-fix-20080623
Matt Benjamin [Mon, 23 Jun 2008 18:50:18 +0000]
DEVEL15-tubik-build-fix-20080623

LICENSE IPL10

add missing build dependencies

(cherry picked from commit 98b87a2ac1ce5673142b26ae5aad2ef640efe51f)

15 years agoDEVEL15-windows-release-notes-20080622
Jeffrey Altman [Mon, 23 Jun 2008 05:05:54 +0000]
DEVEL15-windows-release-notes-20080622

LICENSE MIT

1.5.39

15 years agoDEVEL15-windows-notes-20080622
Jeffrey Altman [Mon, 23 Jun 2008 04:53:55 +0000]
DEVEL15-windows-notes-20080622

LICENSE MIT

1.5.39

15 years agoDEVEL15-doc-nfs-translator-instructions-20080622
Derrick Brashear [Mon, 23 Jun 2008 04:41:16 +0000]
DEVEL15-doc-nfs-translator-instructions-20080622

LICENSE IPL10
FIXES 103459

clarify instructions for the translator

(cherry picked from commit e5f9eba38634c2b07da1d7b20fb45cfdd772a27c)

15 years agoDEVEL15-linux-2626-updates-20080612
Marc Dionne [Thu, 12 Jun 2008 21:08:33 +0000]
DEVEL15-linux-2626-updates-20080612

LICENSE IPL10
FIXES 102821

fixes which went into 1.4.x already

(cherry picked from commit 583b267eb0025bd78e7dd325775428557e3934ad)

15 years agoDEVEL15-cvsignore-updates-20080612
Marc Dionne [Thu, 12 Jun 2008 21:01:35 +0000]
DEVEL15-cvsignore-updates-20080612

LICENSE IPL10
FIXES 102819

add missing things to cvsignore files

(cherry picked from commit bb617c649cd18c30db40f7e1976eeddf0ae1545b)

15 years agoDEVEL15-dafs-updates-20080612
Tom Keiser [Thu, 12 Jun 2008 20:18:47 +0000]
DEVEL15-dafs-updates-20080612

LICENSE IPL10

pending changes from tom to avoid a deadlock issue

(cherry picked from commit a7b33b55bb34027262fb5deb686a86fba1d2f832)

15 years agoDEVEL15-ptserver-simple-corrupt-protection-20080612
Derrick Brashear [Thu, 12 Jun 2008 19:36:49 +0000]
DEVEL15-ptserver-simple-corrupt-protection-20080612

LICENSE IPL10

protects against direct loops, which we have seen in the wild, but not more (yet)

(cherry picked from commit e2ce8710efc93f7172b9d4daaf685c6f2669f7c3)

15 years agoDEVEL15-volume-limit-higher-20080612
Derrick Brashear [Thu, 12 Jun 2008 18:24:38 +0000]
DEVEL15-volume-limit-higher-20080612

LICENSE IPL10

allow more volume lookups to be cached

(cherry picked from commit bc47951c9ec0845eafe0d1634f56b761cbf8b06f)

15 years agoDEVEL15-windows-buf-clean-access-denied-20080612
Jeffrey Altman [Thu, 12 Jun 2008 17:06:04 +0000]
DEVEL15-windows-buf-clean-access-denied-20080612

LICENSE MIT

If the attempt to write the buffer returns access denied, store that
in the cm_buf_t object so that the error can be propagated.

(cherry picked from commit 15ff831e4dfa8d2942536d002b86579f6128a5df)

15 years agoDEVEL15-windows-scache-deletion-and-lock-verification-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:22:22 +0000]
DEVEL15-windows-scache-deletion-and-lock-verification-20080612

LICENSE MIT

Add lock assertions to various functions.

Obtain a missing lock around a call to cm_RemoveSCacheFromHashTable().

Correct an abstraction layer violation.  cm_scache_t objects should
be marked deleted in cm_Unlink() and cm_RemoveDir() and not in
smb_CloseFID().  Cleanup of deleted cm_scache_t objects should be
performed in cm_ReleaseSCache() when the reference count hits zero.

Prototype cm_AdjustScacheLRU() and re-implement it using osi_QAddH().

(cherry picked from commit 52490d7968c2008912ab0887bdcde7fbba43b837)

15 years agoDEVEL15-windows-vnodeops-wrong-logfile-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:01:51 +0000]
DEVEL15-windows-vnodeops-wrong-logfile-20080612

LICENSE MIT

Use afsd_logp instead of smb_logp in osi_LogX() calls.
Do not violate layer abstraction.

(cherry picked from commit 3306c0887b62ca940808174906c2579b3b7d939a)

15 years agoDEVEL15-windows-scache-hash-tables-20080612
Jeffrey Altman [Thu, 12 Jun 2008 14:35:06 +0000]
DEVEL15-windows-scache-hash-tables-20080612

LICENSE MIT

Prevent corruption of the cm_data.scacheHashTablep lists when removing
and then re-adding entries to the hash table.  The cm_scache_t nextp
fields were not being reset to NULL which permitted loops to be created.

(cherry picked from commit ef48d6343d9ac929a4a2ae88184f7801ace1e3d1)

15 years agoDEVEL15-linux-2626-support-20080608
Marc Dionne [Mon, 9 Jun 2008 04:39:14 +0000]
DEVEL15-linux-2626-support-20080608

LICENSE IPL10
FIXES 101091

add 2.6.26 support

(cherry picked from commit bed3e31ca4da711649d6c6b9ab828515cd3418fc)

15 years agoDEVEL15-limit-mountpoint-symlink-abuse-20080608
Rainer Toebbicke [Mon, 9 Jun 2008 04:30:30 +0000]
DEVEL15-limit-mountpoint-symlink-abuse-20080608

LICENSE IPL10
FIXES 100836

official mountpoints end in a .; treat others as symlinks to avoid creating
files which can't be removed

(cherry picked from commit 0da0a9d4d2e5b2d39495e57b9840ce0acdd961e2)

15 years agoDEVEL15-windows-check-server-memleak-20080606
Jeffrey Altman [Fri, 6 Jun 2008 14:43:13 +0000]
DEVEL15-windows-check-server-memleak-20080606

LICENSE MIT

Found a memleak in the cm_CheckServers routine. Plug it.

(cherry picked from commit ad05cdf649044dcc0b1db39aed8652338fb8c945)

15 years agoDEVEL15-windows-bpluss-memleak-20080605
Jeffrey Altman [Fri, 6 Jun 2008 00:23:41 +0000]
DEVEL15-windows-bpluss-memleak-20080605

LICENSE MIT

when deleting entries from a directory for items with non-8.3 names
memory for the longname field would be leaked.  don't do that.

(cherry picked from commit 39d2ac1438c5708dc64098e5de10cd55efd6e93b)

15 years agoDEVEL15-STABLE14-man-page-readme-fileserver-20080605
Russ Allbery [Thu, 5 Jun 2008 21:41:37 +0000]
DEVEL15-STABLE14-man-page-readme-fileserver-20080605

LICENSE BSD

Remove the note about missing file server options.  We think we got them
all.

15 years agoDEVEL15-man-page-pts-updates-20080605
Jason Edgecombe [Thu, 5 Jun 2008 21:10:04 +0000]
DEVEL15-man-page-pts-updates-20080605

LICENSE BSD

Add documentation of foreign realm user registration and cross-realm PTS
groups.  Add documentation of missing ptserver flags.  Add some additional
to-do entries for the man pages.

(cherry picked from commit 1fdfac7065b85feafcfa3f9fc382cfd90680d67f)

15 years agoDEVEL15-linux24-hlist-unhashed-configure-test-fix-20080602
Derrick Brashear [Tue, 3 Jun 2008 03:54:05 +0000]
DEVEL15-linux24-hlist-unhashed-configure-test-fix-20080602

LICENSE IPL10

make the hlist_unhashed test actually work

(cherry picked from commit 79b7b4eaded831a33d85f580e9e4155528fbd35f)

15 years agoDEVEL15-windows-vlserver-remove-extraneous-make-targets-20080529
Jeffrey Altman [Thu, 29 May 2008 18:21:11 +0000]
DEVEL15-windows-vlserver-remove-extraneous-make-targets-20080529

LICENSE MIT

remove extraneous make targets

(cherry picked from commit 2b937b867f3420972b3f617710b44184df7bacc2)

15 years agoDEVEL15-rx-init-more-packets-20080529
Jeffrey Altman [Thu, 29 May 2008 14:33:29 +0000]
DEVEL15-rx-init-more-packets-20080529

LICENSE MIT

It is frequently the case that rx_getAllAddr() is called before
rx_Init() or rx_InitHost().  rx_getAllAddr() obtains the list of
interfaces by using rx_GetIFInfo() which in turn computes and
allocates the number of addition rx packets.  Unfortunately,
rxi_MorePackets() relies on the existence of an initialized mutex
and the mutex is not initialized (on Windows) until the rx_InitHost()
call.  Therefore, we must delay the rxi_MorePackets() call until
after rx_InitHost() if rx_getAllAddr() is called previously.

Failure to do so results in a panic.

(cherry picked from commit 749ae65481ebc70f310fdd79d2cb0139a636f27e)

15 years agoDEVEL15-strftime-portability-20080528
Jeffrey Altman [Thu, 29 May 2008 05:04:25 +0000]
DEVEL15-strftime-portability-20080528

LICENSE MIT

%T is not portable to Windows.  Replace it with the equivalent %H:%M:%S
format string.

(cherry picked from commit 11350e8024c8413dab5f91cfcd2155d26356329f)

15 years agoDEVEL15-rx-out-of-memory-20080528
Jeffrey Altman [Thu, 29 May 2008 04:38:06 +0000]
DEVEL15-rx-out-of-memory-20080528

LICENSE MIT

in rxi_MorePackets() if osi_Alloc() fails to return the requested memory
call osi_Assert() instead of permitting subsequent null pointer dereferences
to corrupt the stack.

(cherry picked from commit c5bce0f87dc11cfaf5a7fabe16fe7efd24a4d200)

15 years agoDEVEL15-windows-vlserver-headers-20080528
Jeffrey Altman [Wed, 28 May 2008 19:38:39 +0000]
DEVEL15-windows-vlserver-headers-20080528

LICENSE MIT

make sure the headers are copied to the correct location by providing
explicit rules

(cherry picked from commit 5ad08dc1662c9c7eeea10dadd39f7a1f793f761b)

15 years agoDEVEL15-windows-buf-redirector-20080528
Jeffrey Altman [Wed, 28 May 2008 18:44:24 +0000]
DEVEL15-windows-buf-redirector-20080528

LICENSE MIT

Define new flag CM_BUF_REDIR for use with the redirector.
When set, the flag indicates that the buffer is being held by the redirector
and it should be left untouched by the cache manager.

(cherry picked from commit dc835c2d5397cc2b310dea374b043032b779ee3a)

15 years agoDEVEL15-windows-cpluscplus-compat-20080528
Jeffrey Altman [Wed, 28 May 2008 18:34:52 +0000]
DEVEL15-windows-cpluscplus-compat-20080528

LICENSE MIT

Do not use reserved keywords 'new' and 'delete'.  Permit headers to
be included by files compiled in cplusplus mode.

(cherry picked from commit 5930abcbe169db3a8e676ebe558249af9ccdfa0f)

15 years agoDEVEL15-windows-unused-var-20080528
Jeffrey Altman [Wed, 28 May 2008 18:29:28 +0000]
DEVEL15-windows-unused-var-20080528

LICENSE MIT

remove unused var cm_CachePathLen

(cherry picked from commit 54c0f2f8370c129a01b99233c98a758ba0eb2f17)

15 years agoDEVEL15-windows-btree-20080528
Jeffrey Altman [Wed, 28 May 2008 18:23:21 +0000]
DEVEL15-windows-btree-20080528

LICENSE MIT

add cm_btree.h to afsd.h include list

(cherry picked from commit 7b8c8a48a354a45ec34ed672aef1ea0255e4b4f1)

15 years agoDEVEL15-disconnected-20080523
Simon Wilkinson [Fri, 23 May 2008 15:57:31 +0000]
DEVEL15-disconnected-20080523

LICENSE IPL10

add readonly disconnected support

(cherry picked from commit 18a36a3f624755fbcaee776102177f47e26711b7)

15 years agoDEVEL15-rx-client-keep-keepalives-20080522
Jeffrey Hutzelman [Fri, 23 May 2008 15:55:47 +0000]
DEVEL15-rx-client-keep-keepalives-20080522

LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in cli
ent rx connections while they are turned around.

(cherry picked from commit c34822d6105cef7f68423e4ebbf485b2d11b9635)