Commit Graph

5087 Commits

Author SHA1 Message Date
Russ Allbery
8009b045aa man-page-fileserver-long-line-20080717
LICENSE BSD

Fix long line in the SYNOPSIS for the fileserver man page.
2008-07-18 07:14:12 +00:00
Russ Allbery
a8e8287b75 demand-attach-vos-install-location-20080717
LICENSE IPL10

In the tvolser case, install vos in ${afssrvsbindir}/vos, not
${afssrvlibexecdir}/vos.
2008-07-18 01:21:44 +00:00
Asanka Herath
24ac19c606 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.
2008-07-16 16:22:31 +00:00
Jeffrey Altman
6a749b71f7 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.
2008-07-16 05:43:06 +00:00
Derrick Brashear
4d7cfa1293 softsig-structure-handling-20080716
LICENSE IPL10

this is sort of a dumb ifdef. harmless, but fix it to be what it's supposed to
2008-07-16 05:25:09 +00:00
Derrick Brashear
b4ce530d36 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
2008-07-16 05:15:44 +00:00
Asanka Herath
447915ce6a 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
2008-07-16 00:58:28 +00:00
Jeffrey Altman
66754898d9 windows-wix-html-cmdref-20080715
LICENSE MIT

Add new files to the installer.
2008-07-15 22:17:37 +00:00
Tom Keiser
5c762d3b76 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().
2008-07-14 14:37:58 +00:00
Jeffrey Altman
03fb36bd53 windows-smb-misc-two-20080714
LICENSE MIT

Fix the assignment of SMB_ATTR_DIRECTORY.  Apply it to the correct field
name.
2008-07-14 14:36:44 +00:00
Jeffrey Altman
077c788275 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".
2008-07-14 14:10:19 +00:00
Jeffrey Altman
33429756c1 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.
2008-07-14 13:59:48 +00:00
Russ Allbery
faeb953142 readme-devel-doxygen-20080713
LICENSE IPL10

Document the preferred Doxygen comment style.
2008-07-14 06:53:14 +00:00
Russ Allbery
f49395a30a readme-fix-demand-attach-spelling-20080713
LICENSE IPL10

Fix the punctuation of the --enable-demand-attach-fs option.
2008-07-14 06:46:27 +00:00
Russ Allbery
1ed9e36ffc 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.
2008-07-14 06:35:04 +00:00
Russ Allbery
db9f59e9be threaded-ubik-cvsignore-20080713
LICENSE BSD

Add .cvsignore patterns for threaded ubik builds.
2008-07-14 05:12:46 +00:00
Russ Allbery
2b7d9ab5d7 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.
2008-07-14 05:05:46 +00:00
Russ Allbery
6a322e4eb7 man-page-html-index-underscores-20080713
LICENSE BSD

Remove underscores from the anchor in the index for all section 5 manual
pages.
2008-07-14 03:27:00 +00:00
Russ Allbery
2a92f43987 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.
2008-07-14 02:45:14 +00:00
Jason Edgecombe
298fb5ce52 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
2008-07-14 00:51:35 +00:00
Jason Edgecombe
c766e74fd6 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.
2008-07-14 00:33:59 +00:00
Jeffrey Altman
df9f2455fb 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.
2008-07-12 06:54:58 +00:00
Jeffrey Altman
30ba65bc5c 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.
2008-07-11 23:25:21 +00:00
Todd DeSantis
5baf817a31 butc-xbsa-update-20080711
LICENSE IPL10

update xbsa support for current tsm
2008-07-11 10:49:33 +00:00
Jeffrey Altman
4f5b808414 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.
2008-07-10 19:17:44 +00:00
Tom Keiser
f52f152236 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
2008-07-10 19:14:40 +00:00
Derrick Brashear
078f966e62 solaris-udp-modname-20080707
LICENSE IPL10

older solaris 10 lacked this
2008-07-07 18:14:58 +00:00
Dale Ghent
acf76ac85f solaris-nevada-vfsdev-type-20080707
LICENSE IPL10
FIXES 105495

in nevada, struct vfsdev_v4 -> vfsdev_t. cope.
2008-07-07 18:14:26 +00:00
Chas Williams
9f3629b018 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.
2008-07-07 17:53:48 +00:00
Simon Wilkinson
9946c027a3 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.
2008-07-07 17:42:14 +00:00
Jeffrey Altman
e5e9463568 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.
2008-07-05 16:48:36 +00:00
Jeffrey Altman
44cd9c4e4c 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.
2008-07-05 07:33:38 +00:00
Jeffrey Altman
99471963b3 windows-afskfw-20080704
LICENSE MIT

if ktc_GetToken() fails, do not switch to krb524, just fail
2008-07-05 07:26:22 +00:00
Benjamin Bennett
a4e3fb21f0 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
2008-07-03 21:32:49 +00:00
Jeffrey Altman
be32aef383 windows-dead-vc-cleanup-take-two-20080703
LICENSE MIT

Prevent an infinite recursion when attempting to cleanup a previously
dead vc.
2008-07-03 06:53:10 +00:00
Jeffrey Altman
08974551cb windows-config-ntmakefile-i386_w2k-codesign-20080702
LICENSE MIT

no underscore prepending CODESIGN_USERLAND macro
2008-07-03 02:24:54 +00:00
Jeffrey Altman
41927c3cbf 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
2008-07-03 00:00:37 +00:00
Jeffrey Altman
65bf7cdb6d 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.
2008-07-02 13:41:07 +00:00
Simon Wilkinson
1c96127e37 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.
2008-07-01 23:44:14 +00:00
Andrew Deason
c61a8f37c9 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
2008-07-01 23:28:26 +00:00
Andrew Deason
0d343077ac 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
2008-07-01 20:41:13 +00:00
Derrick Brashear
19551ae3a5 volutil-partitionname2-r-return-value-20080701
LICENSE IPL10

return 0 and not tbuffer on success since tbuffer is already returned via
a pointer
2008-07-01 19:33:26 +00:00
Russ Allbery
c733e2e07a 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.
2008-07-01 19:06:41 +00:00
Derrick Brashear
fb3490cdea linux-nfstrans-updates-20080701
LICENSE IPL10
FIXES 105019

make libuafs also include afs_warn.c
2008-07-01 18:45:01 +00:00
Russ Allbery
5e1459f431 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.
2008-07-01 06:47:27 +00:00
Derrick Brashear
7b3967db16 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 ./
2008-07-01 05:58:38 +00:00
Marc Dionne
daf6b1cf28 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)
2008-07-01 04:33:38 +00:00
Thomas Galliano
e22a5cc8af ubik-lwp-createprocess-64-bit-20080630
LICENSE IPL10
FIXES 104732

use NULL and not (void *)0 to avoid issues on 64 bit platforms
2008-07-01 04:05:58 +00:00
Derrick Brashear
c0124d5179 revert-pinstall-collateral-damage-20080630
LICENSE IPL10

we'll fix this another way (with install-sh)
2008-07-01 03:38:03 +00:00
Russ Allbery
1ec104280d 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.
2008-07-01 00:00:40 +00:00