openafs.git
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.

15 years agowindows-vlserver-makefile-20080626
Jeffrey Altman [Thu, 26 Jun 2008 18:04:04 +0000]
windows-vlserver-makefile-20080626

LICENSE MIT

more consistency changes to get the make rules for headers right

15 years agowindows-nls-includes-20080626
Jeffrey Altman [Thu, 26 Jun 2008 17:46:35 +0000]
windows-nls-includes-20080626

LICENSE MIT

Add include for cm_nls.h

15 years agowindows-unicode-20080626
Asanka Herath [Thu, 26 Jun 2008 06:43:49 +0000]
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.

15 years agowindows-osilog-safestring-unicode-20080624
Asanka Herath [Tue, 24 Jun 2008 14:41:13 +0000]
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.

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

LICENSE IPL10

add missing build dependencies

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

LICENSE IPL10

add missing build dependencies

15 years agodoc-nfs-translator-instructions-20080622
Derrick Brashear [Mon, 23 Jun 2008 04:40:56 +0000]
doc-nfs-translator-instructions-20080622

LICENSE IPL10
FIXES 103459

clarify instructions for the translator

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

LICENSE IPL10
FIXES 102821

fixes which went into 1.4.x already

15 years agocvsignore-updates-20080612
Marc Dionne [Thu, 12 Jun 2008 21:00:12 +0000]
cvsignore-updates-20080612

LICENSE IPL10
FIXES 102819

add missing things to cvsignore files

15 years agotubik-no-pinstall-on-head-20080612
Marc Dionne [Thu, 12 Jun 2008 20:58:23 +0000]
tubik-no-pinstall-on-head-20080612

LICENSE IPL10
FIXES 102819

no more pinstall on the head

15 years agodafs-updates-20080612
Tom Keiser [Thu, 12 Jun 2008 20:12:06 +0000]
dafs-updates-20080612

LICENSE IPL10

pending changes from tom to avoid a deadlock issue

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

LICENSE IPL10

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

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

LICENSE IPL10

allow more volume lookups to be cached

15 years agowindows-buf-clean-access-denied-20080612
Jeffrey Altman [Thu, 12 Jun 2008 17:04:38 +0000]
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.

15 years agowindows-pioctl-refactoring-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:54:23 +0000]
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.

15 years agowindows-scache-deletion-and-lock-verification-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:20:46 +0000]
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().

15 years agowindows-vnodeops-wrong-logfile-20080612
Jeffrey Altman [Thu, 12 Jun 2008 15:00:08 +0000]
windows-vnodeops-wrong-logfile-20080612

LICENSE MIT

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

15 years agowindows-scache-hash-tables-20080612
Jeffrey Altman [Thu, 12 Jun 2008 14:33:36 +0000]
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.

15 years agolinux-2626-support-20080608
Marc Dionne [Mon, 9 Jun 2008 04:38:58 +0000]
linux-2626-support-20080608

LICENSE IPL10
FIXES 101091

add 2.6.26 support

15 years agolimit-mountpoint-symlink-abuse-20080608
Rainer Toebbicke [Mon, 9 Jun 2008 04:30:11 +0000]
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

15 years agowindows-check-server-memleak-20080606
Jeffrey Altman [Fri, 6 Jun 2008 14:36:16 +0000]
windows-check-server-memleak-20080606

LICENSE MIT

Found a memleak in the cm_CheckServers routine.  Plug it.

15 years agowindows-bpluss-memleak-20080605
Jeffrey Altman [Fri, 6 Jun 2008 00:22:03 +0000]
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.

15 years agoman-page-readme-fileserver-20080605
Russ Allbery [Thu, 5 Jun 2008 21:19:10 +0000]
man-page-readme-fileserver-20080605

LICENSE BSD

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

15 years agoman-page-pts-updates-20080605
Jason Edgecombe [Thu, 5 Jun 2008 20:31:13 +0000]
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.

15 years agowindows-btree-short-name-20080604
Jeffrey Altman [Wed, 4 Jun 2008 09:02:21 +0000]
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.

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

LICENSE IPL10

make the hlist_unhashed test actually work

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

LICENSE MIT

remove extraneous make targets

15 years agorx-init-more-packets-20080529
Jeffrey Altman [Thu, 29 May 2008 14:31:41 +0000]
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.

15 years agostrftime-portability-20080528
Jeffrey Altman [Thu, 29 May 2008 05:02:36 +0000]
strftime-portability-20080528

LICENSE MIT

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

15 years agorx-out-of-memory-20080528
Jeffrey Altman [Thu, 29 May 2008 04:35:19 +0000]
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.

15 years agowindows-vlserver-headers-20080528
Jeffrey Altman [Wed, 28 May 2008 19:37:09 +0000]
windows-vlserver-headers-20080528

LICENSE MIT

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

15 years agowindows-buf-redirector-20080528
Jeffrey Altman [Wed, 28 May 2008 18:40:06 +0000]
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.

15 years agowindows-cpluscplus-compat-20080528
Jeffrey Altman [Wed, 28 May 2008 18:33:17 +0000]
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.

15 years agowindows-unused-var-20080528
Jeffrey Altman [Wed, 28 May 2008 18:27:32 +0000]
windows-unused-var-20080528

LICENSE MIT

remove unused var cm_CachePathLen

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

LICENSE MIT

add cm_btree.h to afsd.h include list

15 years agowindows-unicode-20080527
Asanka Herath [Tue, 27 May 2008 21:33:14 +0000]
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.

15 years agorx-client-keep-keepalives-20080523
Jeffrey Hutzelman [Fri, 23 May 2008 15:55:29 +0000]
rx-client-keep-keepalives-20080523

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.

15 years agodisconnected-20080523
Simon Wilkinson [Fri, 23 May 2008 15:57:18 +0000]
disconnected-20080523

LICENSE IPL10

add readonly disconnected support

15 years agodarwin-rc-common-does-set-minus-u-20080522
Derrick Brashear [Thu, 22 May 2008 22:03:16 +0000]
darwin-rc-common-does-set-minus-u-20080522

LICENSE IPL10

we need to cope with an unset variable

15 years agorx-client-keep-keepalives-20080522
Jeffrey Hutzelman [Thu, 22 May 2008 19:28:37 +0000]
rx-client-keep-keepalives-20080522

LICENSE IPL10
FIXES 20727

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