openafs.git
15 years agowindows-ioctl-prefix-data-20080726
Jeffrey Altman [Sun, 27 Jul 2008 03:43:14 +0000]
windows-ioctl-prefix-data-20080726

LICENSE MIT

The ioctl-prefix-data can be accessed either via a char_t or a wchar_t.
Copy the data buffer with memcpy() and not strcpy() because we need to
copy the entire string if it happens to be Unicode.

15 years agowindows-build-20080725
Jeffrey Altman [Fri, 25 Jul 2008 21:25:55 +0000]
windows-build-20080725

LICENSE MIT

update README-NT and src/ntbuild.bat build instructions.

15 years agowindows-nsis-vc-runtime-install-20080725
Jeffrey Altman [Fri, 25 Jul 2008 20:43:36 +0000]
windows-nsis-vc-runtime-install-20080725

LICENSE MIT

The NSIS installer was building a msi for the vc runtime that included
the Debug merge modules when the Retail merge modules should have been
used instead.

15 years agowindows-buf-setdirty-20080724
Jeffrey Altman [Thu, 24 Jul 2008 20:32:58 +0000]
windows-buf-setdirty-20080724

LICENSE MIT

Everytime the CM_BUF_DIRTY flag is set on a cm_buf_t, the userp field
on the cm_buf_t must also be set.  Add a cm_user_t parameter to buf_SetDirty()
so that each function that calls it doesn't have to manually set the
last write user.  This improves code readability and the abstraction layering.

15 years agowindows-cm-makedir-20080724
Jeffrey Altman [Thu, 24 Jul 2008 18:54:53 +0000]
windows-cm-makedir-20080724

LICENSE MIT

Extend the cm_MakeDir() function signature to permit the (optional)
return of the cm_scache_t object that was created by the operation
in the same way that cm_Create() does.

Make the return of the cm_scache_t by cm_Create() optional although
it is never used that way.

In both cm_Create() and cm_MakeDir() avoid releasing the cm_scache_t
object until we are actually finished with it.

15 years agowindows-cm-req-smb-20080723
Jeffrey Altman [Wed, 23 Jul 2008 22:40:34 +0000]
windows-cm-req-smb-20080723

LICENSE MIT

Add smb_InitReq() calls cm_InitReq() and then sets the new
CM_REQ_SOURCE_SMB flag.  When this flag is set, the source of the
request is known to be the SMB interface.  This flag will not be
set on requests generated by the various background daemons.

15 years agowindows-cm-rename-debugging-20080723
Jeffrey Altman [Wed, 23 Jul 2008 22:24:51 +0000]
windows-cm-rename-debugging-20080723

LICENSE MIT

Add some trace log statements to cm_Rename() that can be used for
debugging.

15 years agowindows-btree-enum-20080723
Jeffrey Altman [Wed, 23 Jul 2008 22:19:19 +0000]
windows-btree-enum-20080723

LICENSE MIT

Fix next enum to return an invalid param error when beyond the end
of the list.

15 years agowindows-volume-deadlock-20080722
Jeffrey Altman [Wed, 23 Jul 2008 05:55:36 +0000]
windows-volume-deadlock-20080722

LICENSE MIT

When updating the volume location information, if a new server must
be allocated and the server is down, then it is possible for a deadlock
to occur on the cm_volume_t rw lock.  Prevent that from happening.

15 years agowindows-build-system-20080722
Jeffrey Altman [Tue, 22 Jul 2008 16:01:22 +0000]
windows-build-system-20080722

LICENSE MIT

Move the man-pages build out of the 'install' step.

15 years agowindows-volume-vlgetaddrs-deadlock-20080721
Jeffrey Altman [Tue, 22 Jul 2008 07:42:20 +0000]
windows-volume-vlgetaddrs-deadlock-20080721

LICENSE MIT

A missing tilde makes a huge difference.

15 years agowindows-more-rxconnp-20080721
Jeffrey Altman [Mon, 21 Jul 2008 21:55:06 +0000]
windows-more-rxconnp-20080721

LICENSE MIT

convert additional 'connp' instances to 'rxconnp'

in cm_volume.c, make sure that we hold a reference to the rxconnp
whenever we use it to perform an RPC.

15 years agowindows-cm_conn-20080721
Jeffrey Altman [Mon, 21 Jul 2008 19:34:05 +0000]
windows-cm_conn-20080721

LICENSE MIT

callp -> rxconnp

15 years agowindows-callp-to-rxcallp-20080721
Jeffrey Altman [Mon, 21 Jul 2008 17:18:41 +0000]
windows-callp-to-rxcallp-20080721

LICENSE MIT

There has been long time confusion in the windows cache manager because
there are cm_conn object ptrs call connp and rx_connection object ptrs
call connp and rx_call object ptrs called callp and rx_connection object
ptrs called callp.

From now on, rxconnp is a ptr to an rx_connection object;
rxcallp is a ptr to an rx_call object; and connp is a ptr to an
cm_conn object.

15 years agowindows-smb-ioctl-setacl-20080721
Jeffrey Altman [Mon, 21 Jul 2008 10:19:26 +0000]
windows-smb-ioctl-setacl-20080721

LICENSE MIT

setacl does not support the options structure.  just call parse ioctl path.
bug introduced during ioctl refactoring.

15 years agowindows-volume-vlgetaddrs-deadlock-20080719
Jeffrey Altman [Sat, 19 Jul 2008 15:47:40 +0000]
windows-volume-vlgetaddrs-deadlock-20080719

LICENSE MIT

During cm_InitVolume() clear CM_VOLUMEFLAG_UPDATING_VL if we are reusing
the cache data just in case.

In cm_UpdateVolumeLocation() add trace logging to the sleeping, waking,
and awaking states; move the destruction of the old server list into
the region protected by the CM_VOLUMEFLAG_UPDATING_VL flag.

15 years agoalways-wrap-vos-ctime-20080718
Russ Allbery [Sat, 19 Jul 2008 07:41:06 +0000]
always-wrap-vos-ctime-20080718

LICENSE MIT

When calling ctime on an afs_int32, always use a wrapper that assigns the
variable to a time_t before passing it in rather than conditionally doing
so on hosts with a large time_t.  This eliminates a configure test,
removes a bunch of warnings in vos.c on platforms with 32-bit time_t, and
will make no difference in generated code with any decent compiler.

15 years agokill-ubik-pthread-env-20080718
Russ Allbery [Sat, 19 Jul 2008 07:11:05 +0000]
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.

15 years agowindows-volume-vlgetaddrs-deadlock-20080718
Jeffrey Altman [Sat, 19 Jul 2008 06:58:02 +0000]
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.

15 years agosuppress-cellconfig-warnings-20080718
Russ Allbery [Sat, 19 Jul 2008 06:44:49 +0000]
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.

15 years agomore-no-unconditional-pthreaded-ubik-20080718
Russ Allbery [Sat, 19 Jul 2008 06:42:23 +0000]
more-no-unconditional-pthreaded-ubik-20080718

LICENSE BSD

More directories should be conditional on pthreaded ubik.

15 years agono-unconditional-pthreaded-ubik-20080718
Russ Allbery [Sat, 19 Jul 2008 04:27:33 +0000]
no-unconditional-pthreaded-ubik-20080718

LICENSE BSD

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

15 years agodiscon-prototype-correction-20080718
Simon Wilkinson [Fri, 18 Jul 2008 15:54:22 +0000]
discon-prototype-correction-20080718

LICENSE IPL10

correct prototype for disconnected afs

15 years agoman-page-fileserver-long-line-20080717
Russ Allbery [Fri, 18 Jul 2008 07:14:12 +0000]
man-page-fileserver-long-line-20080717

LICENSE BSD

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

15 years agodemand-attach-vos-install-location-20080717
Russ Allbery [Fri, 18 Jul 2008 01:21:44 +0000]
demand-attach-vos-install-location-20080717

LICENSE IPL10

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

15 years agowindows-nls-zero-length-input-20080716
Asanka Herath [Wed, 16 Jul 2008 16:22:31 +0000]
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.

15 years agowindows-set-rx-dead-time-20080715
Jeffrey Altman [Wed, 16 Jul 2008 05:43:06 +0000]
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.

15 years agosoftsig-structure-handling-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:25:09 +0000]
softsig-structure-handling-20080716

LICENSE IPL10

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

15 years agovolser-reclone-bring-online-before-giveback-20080716
Derrick Brashear [Wed, 16 Jul 2008 05:15:44 +0000]
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

15 years agowindows-nsis-vs2008-runtime-20080715
Asanka Herath [Wed, 16 Jul 2008 00:58:28 +0000]
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

15 years agowindows-wix-html-cmdref-20080715
Jeffrey Altman [Tue, 15 Jul 2008 22:17:37 +0000]
windows-wix-html-cmdref-20080715

LICENSE MIT

Add new files to the installer.

15 years agodafs-avoid-assert-while-moving-volumes-20080714
Tom Keiser [Mon, 14 Jul 2008 14:37:58 +0000]
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().

15 years agowindows-smb-misc-two-20080714
Jeffrey Altman [Mon, 14 Jul 2008 14:36:44 +0000]
windows-smb-misc-two-20080714

LICENSE MIT

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

15 years agowindows-smb-misc-20080714
Jeffrey Altman [Mon, 14 Jul 2008 14:10:19 +0000]
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".

15 years agowindows-btree-enum-bulk-stat-20080714
Jeffrey Altman [Mon, 14 Jul 2008 13:59:48 +0000]
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.

15 years agoreadme-devel-doxygen-20080713
Russ Allbery [Mon, 14 Jul 2008 06:53:14 +0000]
readme-devel-doxygen-20080713

LICENSE IPL10

Document the preferred Doxygen comment style.

15 years agoreadme-fix-demand-attach-spelling-20080713
Russ Allbery [Mon, 14 Jul 2008 06:46:27 +0000]
readme-fix-demand-attach-spelling-20080713

LICENSE IPL10

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

15 years agoreadme-improvements-20080713
Russ Allbery [Mon, 14 Jul 2008 06:35:04 +0000]
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.

15 years agothreaded-ubik-cvsignore-20080713
Russ Allbery [Mon, 14 Jul 2008 05:12:46 +0000]
threaded-ubik-cvsignore-20080713

LICENSE BSD

Add .cvsignore patterns for threaded ubik builds.

15 years agoautoconf-help-text-20080713
Russ Allbery [Mon, 14 Jul 2008 05:05:46 +0000]
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.

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

LICENSE BSD

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

15 years agoman-page-html-generation-hack-20080713
Russ Allbery [Mon, 14 Jul 2008 02:45:14 +0000]
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.

15 years agodocs-ticket-104110-20080713
Jason Edgecombe [Mon, 14 Jul 2008 00:51:35 +0000]
docs-ticket-104110-20080713

LICENSE BSD
FIXES 104110

add vos clone and vos shadow to overall list

====================
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 BSD
FIXES 104110

add krb.conf

update CellServDB to discuss AFSDB DNS records

15 years agodocs-max-part-size-20080713
Jason Edgecombe [Mon, 14 Jul 2008 00:33:59 +0000]
docs-max-part-size-20080713

LICENSE BSD
FIXES 86677

remove discussion of max partition size now that 1.5 has a limit of 2^64 KB.

add discussion of techinical nature of fs minidump on windows.

====================
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 BSD
FIXES 86677

update discussion of max partition size.

15 years agoman-page-fs-read-not-list-20080711
Jeffrey Altman [Sat, 12 Jul 2008 06:54:58 +0000]
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.

15 years agowindows-cm_req-layer-purity-20080711
Jeffrey Altman [Fri, 11 Jul 2008 23:25:21 +0000]
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.

15 years agobutc-xbsa-update-20080711
Todd DeSantis [Fri, 11 Jul 2008 10:49:33 +0000]
butc-xbsa-update-20080711

LICENSE IPL10

update xbsa support for current tsm

15 years agowindows-install-loopback-ddk-20080710
Jeffrey Altman [Thu, 10 Jul 2008 19:17:44 +0000]
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.

15 years agodafs-update-exclusive-states-20080710
Tom Keiser [Thu, 10 Jul 2008 19:14:40 +0000]
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

15 years agosolaris-udp-modname-20080707
Derrick Brashear [Mon, 7 Jul 2008 18:14:58 +0000]
solaris-udp-modname-20080707

LICENSE IPL10

older solaris 10 lacked this

15 years agosolaris-nevada-vfsdev-type-20080707
Dale Ghent [Mon, 7 Jul 2008 18:14:26 +0000]
solaris-nevada-vfsdev-type-20080707

LICENSE IPL10
FIXES 105495

in nevada, struct vfsdev_v4 -> vfsdev_t. cope.

15 years agolinux-revalidate-renames-correctly-20080707
Chas Williams [Mon, 7 Jul 2008 17:53:48 +0000]
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.

15 years agorhel3-disable-fedorakmod-20080707
Simon Wilkinson [Mon, 7 Jul 2008 17:42:14 +0000]
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.

15 years agowindows-pioctl-debugging-20080705
Jeffrey Altman [Sat, 5 Jul 2008 16:48:36 +0000]
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.

15 years agowindows-pioctl-debugging-20080704
Jeffrey Altman [Sat, 5 Jul 2008 07:33:38 +0000]
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.

15 years agowindows-afskfw-20080704
Jeffrey Altman [Sat, 5 Jul 2008 07:26:22 +0000]
windows-afskfw-20080704

LICENSE MIT

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

15 years agolinux-probe-syscall-table-again-20080703
Benjamin Bennett [Thu, 3 Jul 2008 21:32:49 +0000]
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

15 years agowindows-dead-vc-cleanup-take-two-20080703
Jeffrey Altman [Thu, 3 Jul 2008 06:53:10 +0000]
windows-dead-vc-cleanup-take-two-20080703

LICENSE MIT

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

15 years agowindows-config-ntmakefile-i386_w2k-codesign-20080702
Jeffrey Altman [Thu, 3 Jul 2008 02:24:54 +0000]
windows-config-ntmakefile-i386_w2k-codesign-20080702

LICENSE MIT

no underscore prepending CODESIGN_USERLAND macro

15 years agowindows-config-version-20080702
Jeffrey Altman [Thu, 3 Jul 2008 00:00:37 +0000]
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

15 years agowindows-code-signing-20080702
Jeffrey Altman [Wed, 2 Jul 2008 13:41:07 +0000]
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.

15 years agolinux-packaging-module-build-20080701
Simon Wilkinson [Tue, 1 Jul 2008 23:44:14 +0000]
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.

15 years agolibuafs-fixes-20080701
Andrew Deason [Tue, 1 Jul 2008 23:28:26 +0000]
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

15 years agoredhat-build-updates-20080701
Andrew Deason [Tue, 1 Jul 2008 20:41:13 +0000]
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

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

LICENSE IPL10

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

15 years agomore-cpp-fixes-20080701
Russ Allbery [Tue, 1 Jul 2008 19:06:41 +0000]
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.

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

LICENSE IPL10
FIXES 105019

make libuafs also include afs_warn.c

15 years agopt_util-database-path-20080630
Russ Allbery [Tue, 1 Jul 2008 06:47:27 +0000]
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.

15 years agopinstall-collateral-damage-use-install-sh-usefully-20080701
Derrick Brashear [Tue, 1 Jul 2008 05:58:38 +0000]
pinstall-collateral-damage-use-install-sh-usefully-20080701

LICENSE IPL10

this is gross. but ac_INSTALL wants things to begin with / and @ is not /.

so we cheat and use /@abs_top_srcdir@/install-sh -c if INSTALL began with ./

15 years agolinux-nfstrans-updates-20080630
Marc Dionne [Tue, 1 Jul 2008 04:33:38 +0000]
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)

15 years agoubik-lwp-createprocess-64-bit-20080630
Thomas Galliano [Tue, 1 Jul 2008 04:05:58 +0000]
ubik-lwp-createprocess-64-bit-20080630

LICENSE IPL10
FIXES 104732

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

15 years agorevert-pinstall-collateral-damage-20080630
Derrick Brashear [Tue, 1 Jul 2008 03:38:03 +0000]
revert-pinstall-collateral-damage-20080630

LICENSE IPL10

we'll fix this another way (with install-sh)

15 years agocpp-fixes-20080630
Russ Allbery [Tue, 1 Jul 2008 00:00:40 +0000]
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.

15 years agodisconnected-merge-conflict-20080630
Russ Allbery [Mon, 30 Jun 2008 23:53:22 +0000]
disconnected-merge-conflict-20080630

LICENSE BSD

Fix a disconnected-mode merge conflict with an older import of disconnected
to HEAD that caused a duplicate definition of PDiscon.  I believe this
problem was only on HEAD.

15 years agoman-page-html-index-20080630
Russ Allbery [Mon, 30 Jun 2008 23:35:18 +0000]
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.

15 years agolinux-ucontext-fixes-20080630
Russ Allbery [Mon, 30 Jun 2008 21:50:23 +0000]
linux-ucontext-fixes-20080630

LICENSE BSD

Use undef in the arch-specific param file to override UCONTEXT rather
than adding a conditional in a generic file, making arm work the same
as 32-bit SPARC.  Disable UCONTEXT on parisc as well; glibc doesn't
provide the ucontext functions on that architecture.

15 years agobozo-find-linux-core-files-20080630
Russ Allbery [Mon, 30 Jun 2008 20:55:40 +0000]
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.

15 years agoman-page-vos-convertROtoRW-inode-20080630
Russ Allbery [Mon, 30 Jun 2008 20:49:19 +0000]
man-page-vos-convertROtoRW-inode-20080630

LICENSE BSD

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

15 years agowindows-wix-cmdref-subdirs-20080630
Jeffrey Altman [Mon, 30 Jun 2008 20:48:32 +0000]
windows-wix-cmdref-subdirs-20080630

LICENSE MIT

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

15 years agoman-page-readme-update-20080630
Russ Allbery [Mon, 30 Jun 2008 20:47:30 +0000]
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.

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

LICENSE IPL10

avoid an uninitialized cursor

15 years agowindows-nsis-cmdref-subdirs-20080630
Jeffrey Altman [Mon, 30 Jun 2008 14:59:30 +0000]
windows-nsis-cmdref-subdirs-20080630

LICENSE MIT

install and remove the subdirectories of the CmdRef

15 years agowindows-wix-install-idn-redist-20080630
Asanka Herath [Mon, 30 Jun 2008 14:38:17 +0000]
windows-wix-install-idn-redist-20080630

LICENSE MIT

Only install IDN redistributables on XP and 2003

15 years agowindows-nsis-install-idn-redist-20080629
Jeffrey Altman [Mon, 30 Jun 2008 03:55:36 +0000]
windows-nsis-install-idn-redist-20080629

LICENSE MIT

Install IDN on XP and 2003 only

15 years agowindows-remove-ibm-docs-20080628
Jeffrey Altman [Sun, 29 Jun 2008 06:08:00 +0000]
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.

15 years agoafs-blacklist-initialize-volume-ptr-always-20080628
Chaskiel M Grundman [Sun, 29 Jun 2008 04:38:59 +0000]
afs-blacklist-initialize-volume-ptr-always-20080628

LICENSE IPL10

always initialize this

15 years agowindows-generate-html-cmdref-makefile-argh-20080628
Jeffrey Altman [Sun, 29 Jun 2008 02:48:18 +0000]
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

15 years agowindows-cmdref-20080628
Jeffrey Altman [Sun, 29 Jun 2008 02:27:14 +0000]
windows-cmdref-20080628

LICENSE MIT

Reference cmdref/index.html from the en_US documentation

15 years agowindows-install-new-cmdref-20080628
Jeffrey Altman [Sun, 29 Jun 2008 02:21:10 +0000]
windows-install-new-cmdref-20080628

LICENSE MIT

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

15 years agowindows-build-doc-manpages-20080628
Jeffrey Altman [Sun, 29 Jun 2008 00:41:00 +0000]
windows-build-doc-manpages-20080628

LICENSE MIT

build the manpages for windows

15 years agowindows-generate-html-cmdref-makefile-correct-20080628
Jeffrey Altman [Sun, 29 Jun 2008 00:30:43 +0000]
windows-generate-html-cmdref-makefile-correct-20080628

LICENSE MIT

commit the correct version of the NTMakefile

15 years agowindows-generate-html-cmdref-makefile-20080628
Jeffrey Altman [Sun, 29 Jun 2008 00:23:48 +0000]
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.

15 years agoremove-administration-reference-20080627
Russ Allbery [Sat, 28 Jun 2008 07:32:45 +0000]
remove-administration-reference-20080627

LICENSE IPL10

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

15 years agoinstall-and-document-klog-krb5-20080627
Russ Allbery [Sat, 28 Jun 2008 06:19:22 +0000]
install-and-document-klog-krb5-20080627

LICENSE IPL10

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

15 years agowindows-smb-dead-vc-gc-20080627
Jeffrey Altman [Fri, 27 Jun 2008 20:42:57 +0000]
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.

15 years agoman-page-afs-fixes-20080626
Jason Edgecombe [Fri, 27 Jun 2008 04:49:45 +0000]
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.

15 years agoman-page-vldb_convert-20080626
Jason Edgecombe [Fri, 27 Jun 2008 04:29:12 +0000]
man-page-vldb_convert-20080626

FIXES 104192
LICENSE BSD

New man page for vldb_convert.

15 years agoman-page-vos-clone-20080626
Jason Edgecombe [Fri, 27 Jun 2008 04:19:07 +0000]
man-page-vos-clone-20080626

FIXES 104110
LICENSE BSD

Add man page for vos clone.

15 years agowindows-wix-install-idn-redist-20080626
Asanka Herath [Fri, 27 Jun 2008 03:04:12 +0000]
windows-wix-install-idn-redist-20080626

LICENSE MIT

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

15 years agowindows-nsis-install-idn-redist-20080626
Asanka Herath [Fri, 27 Jun 2008 02:58:36 +0000]
windows-nsis-install-idn-redist-20080626

LICENSE MIT

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