openafs.git
12 years agoDEVEL15-kill-ubik-pthread-env-20080718
Russ Allbery [Sat, 19 Jul 2008 07:15:01 +0000]
DEVEL15-kill-ubik-pthread-env-20080718

LICENSE BSD

Everywhere AFS_PTHREAD_ENV was defined, UBIK_PTHREAD_ENV was defined as
well, so don't make them separate.  Building pthreaded Ubik is controlled
by deciding whether to build the t* versions of various directories, not
by the preprocessor directives.  AFS_PTHREAD_ENV is only defined when
building in those directories.

This change eliminates UBIK_PTHREAD_ENV and uses AFS_PTHREAD_ENV to mean
the same thing.

As a side effect, fixes compiles on arm with --enable-pthreaded-ubik, since
arm never defined UBIK_PTHREAD_ENV.

(cherry picked from commit 9682d4c1073846b13ae0825c8d6b020e5b31559c)

12 years agoDEVEL15-windows-volume-vlgetaddrs-deadlock-20080718
Jeffrey Altman [Sat, 19 Jul 2008 06:59:23 +0000]
DEVEL15-windows-volume-vlgetaddrs-deadlock-20080718

LICENSE MIT

If during volume location updating, the VL_GetAddrsU call fails for any
of the identified servers, return an error but do so without leaking
memory or deadlocking other threads that might be waiting.

(cherry picked from commit c797e0844328f2ee437e3c659eab52fc590388b3)

12 years agoDEVEL15-suppress-cellconfig-warnings-20080718
Russ Allbery [Sat, 19 Jul 2008 06:47:17 +0000]
DEVEL15-suppress-cellconfig-warnings-20080718

LICENSE BSD

Add a forward declaration for struct ktc_encryptionKey to suppress warnings
from cellconfig.h about declaring a struct in a prototype.

(cherry picked from commit d3900e4f357cbd8a475ee3e8a786e646bdb43a01)

12 years agoDEVEL15-more-no-unconditional-pthreaded-ubik-20080718
Russ Allbery [Sat, 19 Jul 2008 06:44:16 +0000]
DEVEL15-more-no-unconditional-pthreaded-ubik-20080718

LICENSE BSD

More directories should be conditional on pthreaded ubik.

(cherry picked from commit 227f7e8eda70fbd62d0747a4334149fcd43deaf8)

12 years agoDEVEL15-no-unconditional-pthreaded-ubik-20080718
Russ Allbery [Sat, 19 Jul 2008 04:31:17 +0000]
DEVEL15-no-unconditional-pthreaded-ubik-20080718

LICENSE BSD

Don't compile pthreaded Ubik by default and instead actually require the
--enable-pthreaded-ubik flag.

(cherry picked from commit d811361ce9b64938c0eeb4ab4ca7ad77f6502c60)

12 years agoDEVEL15-discon-prototype-correction-20080718 openafs-devel-1_5_50a
Simon Wilkinson [Fri, 18 Jul 2008 15:54:34 +0000]
DEVEL15-discon-prototype-correction-20080718

LICENSE IPL10

correct prototype for disconnected afs

(cherry picked from commit 5bbdc3fb6904825f75ebdb1f2a17ed0ee6aefcfe)

12 years agoDEVEL15-man-page-fileserver-long-line-20080717
Russ Allbery [Fri, 18 Jul 2008 07:19:33 +0000]
DEVEL15-man-page-fileserver-long-line-20080717

LICENSE BSD

Fix long line in the SYNOPSIS for the fileserver man page.

(cherry picked from commit 8009b045aa5d20c527f1fa1fec0642f9ca0f9cd5)

12 years agoDEVEL15-demand-attach-vos-install-location-20080717
Russ Allbery [Fri, 18 Jul 2008 01:24:13 +0000]
DEVEL15-demand-attach-vos-install-location-20080717

LICENSE IPL10

In the tvolser case, install vos in ${afssrvsbindir}/vos, not
${afssrvlibexecdir}/vos.

(cherry picked from commit a8e8287b755ab9cd8e6904f66334b8a5cd1bcb39)

12 years agoDEVEL15-windows-nls-zero-length-input-20080716 openafs-devel-1_5_50
Asanka Herath [Wed, 16 Jul 2008 16:23:46 +0000]
DEVEL15-windows-nls-zero-length-input-20080716

LICENSE MIT

If the input to the string conversion files is zero length
return nul string instead of NULL.

Pass in -1 instead of computing the strlen.

(cherry picked from commit 24ac19c606f28642d0ea5f339a7d0eb0a2526b96)

12 years agoDEVEL15-windows-notes-20080715
Jeffrey Altman [Wed, 16 Jul 2008 06:56:51 +0000]
DEVEL15-windows-notes-20080715

LICENSE MIT

1.5.50

12 years agoDEVEL15-windows-release-notes-20080715
Jeffrey Altman [Wed, 16 Jul 2008 06:34:53 +0000]
DEVEL15-windows-release-notes-20080715

LICENSE MIT

1.5.50.  Add description for Unicode support.

12 years agoDEVEL15-windows-set-rx-dead-time-20080715
Jeffrey Altman [Wed, 16 Jul 2008 05:44:27 +0000]
DEVEL15-windows-set-rx-dead-time-20080715

LICENSE MIT

No longer set the rx_SetConnDeadTime and rx_SetConnHardDeadTime to
the remaining request SMB RDR timeout within cm_ConnByMServers().
There are not per-call timeouts so simultaneous requests on the same
connection will race with each other either resulting in premature
timeouts or significantly extended timeouts.

(cherry picked from commit 6a749b71f7908129189ef10019372edc5b400c61)

12 years agoDEVEL15-openafs-1-5-50-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:29:41 +0000]
DEVEL15-openafs-1-5-50-20080716

LICENSE IPL10

make 1.5.50

12 years agoDEVEL15-softsig-structure-handling-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:25:25 +0000]
DEVEL15-softsig-structure-handling-20080716

LICENSE IPL10

this is sort of a dumb ifdef. harmless, but fix it to be what it's supposed to

(cherry picked from commit 4d7cfa129353001759c6224cc5c590be7e043fe9)

12 years agoDEVEL15-volser-reclone-bring-online-before-giveback-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:15:57 +0000]
DEVEL15-volser-reclone-bring-online-before-giveback-20080716

LICENSE IPL10
FIXES 107258

when giving back a volume after reclone, make it inService to avoid a race
between callers and the SetFlags RPC

(cherry picked from commit b4ce530d365e97342a92f4a8d59de12b0570c699)

12 years agoDEVEL15-windows-nsis-vs2008-runtime-20080715
Asanka Herath [Wed, 16 Jul 2008 00:59:33 +0000]
DEVEL15-windows-nsis-vs2008-runtime-20080715

LICENSE MIT

Add support for VS2008

Use MSI runtime installation package instead of EXE package

Cleanup runtime from the correct directory

(cherry picked from commit 447915ce6a6f07a84affc22611287fe00b057534)

12 years agoDEVEL15-windows-wix-html-cmdref-20080715
Jeffrey Altman [Tue, 15 Jul 2008 22:19:34 +0000]
DEVEL15-windows-wix-html-cmdref-20080715

LICENSE MIT

Add new files to the installer.

(cherry picked from commit 66754898d93c1b7c2862dd78801f8b14b5e74e72)

12 years agoDEVEL15-dafs-avoid-assert-while-moving-volumes-20080714
Tom Keiser [Mon, 14 Jul 2008 14:42:30 +0000]
DEVEL15-dafs-avoid-assert-while-moving-volumes-20080714

LICENSE IPL10

The volume state is perfectly consistent. FSYNC_NEEDVOLUME (and the
other state in the pending_vol_op object) is perfectly normal -- it
simply means the volser has exclusive access to the volume for the
purposes of cloning. The bug is that during the DAFS development, I
changed the semantics of the VGetVolume interface without updating the
control logic in afsfileprocs accordingly:

In 1_4_x:
vp->specialstatus != 0 results in returning vp with nUsers incremented
and *ec = vp->sepcialstatus

In DAFS:
V_AttachState(vp) == VOL_STATE_UNATTACHED results in returning a NULL
vp. Since (vp->specialstatus != 0), *ec = vp->specialstatus.

The net result is we need to modify the VBUSY logic in CheckVnode().

(cherry picked from commit 5c762d3b7672a88fcf4df85e919ac11be7946d4f)

12 years agoDEVEL15-windows-smb-misc-two-20080714
Jeffrey Altman [Mon, 14 Jul 2008 14:38:23 +0000]
DEVEL15-windows-smb-misc-two-20080714

LICENSE MIT

Fix the assignment of SMB_ATTR_DIRECTORY.  Apply it to the correct field
name.

(cherry picked from commit 03fb36bd534a1ff13340e8d322c1e13eeef8ef43)

12 years agoDEVEL15-windows-smb-misc-20080714
Jeffrey Altman [Mon, 14 Jul 2008 14:12:03 +0000]
DEVEL15-windows-smb-misc-20080714

LICENSE MIT

Fix declaration of smb_ParseStringBuf to be consistent with
the prototype.

If the fileType of a cm_scache_t is unknown and if the vnode is odd,
then set the SMB_ATTR_DIRECTORY flag when reporting the DOS Extended
Attributes.

Fix the log message in smb_FindCMUserByName() to indicate "found"
instead of "not found".

(cherry picked from commit 077c788275bff6b17e5ba44d487135f74dbedaee)

12 years agoDEVEL15-windows-btree-enum-bulk-stat-20080714
Jeffrey Altman [Mon, 14 Jul 2008 14:01:31 +0000]
DEVEL15-windows-btree-enum-bulk-stat-20080714

LICENSE MIT

Refactor cm_TryBulkStat() to permit BulkStat RPCs to be executed
for lists of entries obtained either from the cm_dir structures
or a btree enumeration.   Add cm_BPlusDirEnumBulkStat() which
takes an enumeration object and performs a bulk status rpc on
every entry in the enumeration without advancing the enumeration
state.

(cherry picked from commit 33429756c14ed006566d01ad4ee070a4c040b424)

12 years agoDEVEL15-readme-devel-doxygen-20080713
Russ Allbery [Mon, 14 Jul 2008 06:54:57 +0000]
DEVEL15-readme-devel-doxygen-20080713

LICENSE IPL10

Document the preferred Doxygen comment style.

(cherry picked from commit faeb953142a15866f0a35e908114a2443f0ac703)

12 years agoDEVEL15-readme-fix-demand-attach-spelling-20080713
Russ Allbery [Mon, 14 Jul 2008 06:51:01 +0000]
DEVEL15-readme-fix-demand-attach-spelling-20080713

LICENSE IPL10

Fix the punctuation of the --enable-demand-attach-fs option.

(cherry picked from commit f49395a30adef98cb0deaea128393448565d364f)

12 years agoDEVEL15-readme-improvements-20080713
Russ Allbery [Mon, 14 Jul 2008 06:40:19 +0000]
DEVEL15-readme-improvements-20080713

LICENSE IPL10

Significant improvements to README, including:

- Add documentation of (nearly) all of the configure options.
- Update the platform list to reflect current reality.
- Update the HP-UX header download instructions for the current web site.
- Fiddle with formatting and wording in a few places.

(cherry picked from commit 1ed9e36ffc34fa5ea41b72131a222d0ab8195b54)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

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

12 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)

12 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)

12 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)

12 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)

12 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

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

LICENSE MIT

1.5.39

12 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)

12 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)

12 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)

12 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)