openafs.git
14 years agolinux-byte-range-locks-sensibility-20090526
Simon Wilkinson [Wed, 27 May 2009 01:47:40 +0000]
linux-byte-range-locks-sensibility-20090526

LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing

14 years agojava-errno-header-20090526
fabrizio.manfredi@gmail.com [Wed, 27 May 2009 01:13:38 +0000]
java-errno-header-20090526

LICENSE IPL10
FIXES 124810

use the errno header instead of assuming extern int

14 years agolinux-mmap-antirecursion-avoid-spurious-eio-20090526
Russ Allbery [Wed, 27 May 2009 00:44:29 +0000]
linux-mmap-antirecursion-avoid-spurious-eio-20090526

LICENSE IPL10

fix error code checking

14 years agodoc-xml-windows-release-notes-20090526
Jeffrey Altman [Tue, 26 May 2009 16:29:16 +0000]
doc-xml-windows-release-notes-20090526

LICENSE MIT

Add notes describing registry support for CellServDB info and
conversion of docs to HtmlHelp format.

14 years agowindows-xml-release-notes-version-20090525
Jeffrey Altman [Tue, 26 May 2009 03:20:06 +0000]
windows-xml-release-notes-version-20090525

LICENSE MIT

autogenerate version info.

fix chapter title.

14 years agowindows-top-makefile-20090525
Jeffrey Altman [Tue, 26 May 2009 01:54:15 +0000]
windows-top-makefile-20090525

LICENSE MIT

add rules for building documentation sources

add option for including cygwin libs in wix installer

14 years agowindows-doc-man-dependency-20090525
Jeffrey Altman [Tue, 26 May 2009 00:53:53 +0000]
windows-doc-man-dependency-20090525

LICENSE IPL10

html\index.html not index.html

14 years agowindows-cellservdb-lookup-20090525
Jeffrey Altman [Mon, 25 May 2009 23:06:16 +0000]
windows-cellservdb-lookup-20090525

LICENSE MIT

Add a new Registry distribution method for CellServDB info.

The CellServDB registry schema is as follows:

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\
   "LinkedCell"    REG_SZ "[cellname]"
   "Description"   REG_SZ "[comment]"
   "ForceDNS"      DWORD  {0,1}

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\[servername]\
   "HostName"      REG_SZ "[hostname]"
   "IPv4Address"   REG_SZ "[address]"
   "IPv6Address"   REG_SZ "[address]"   <future>
   "Comment"       REG_SZ "[comment]"
   "Rank"          DWORD  "0..65535"
   "Clone"         DWORD  "{0,1}"       <future - server only>
   "vlserver"      DWORD  "7003"        <future>
   "ptserver"      DWORD  ...           <future>

 ForceDNS is implied non-zero if there are no [servername]
 keys under the [cellname] key.  Otherwise, ForceDNS is zero.
 If [servername] keys are specified and none of them evaluate
 to a valid server configuration, the return code is success.
 This prevents failover to the CellServDB file or DNS.

Registry distributed info takes precedence over the CellServDB file.

Registry support has been added to both the Windows specific cm_config
interface and the auth/cellconfig interface utilized by aklog, the
services, and the vast majority of support commands.

Enhance the DNS lookup for Cell vlserver info to support ranking info
which is used with _vlserver._udp SRV record lookups when AFSDB records
are not present.  Priorities become ranks.

14 years agowindows-libafsconf-20090525
Jeffrey Altman [Mon, 25 May 2009 22:30:24 +0000]
windows-libafsconf-20090525

LICENSE MIT

libafsconf.dll has been present since OpenAFS 1.0.  However,
for some unknown reason the components that it consists of
(cm_dns.obj, cm_config.obj, cm_nls.obj) have been staticly
linked into exes and dlls all over the code base.  This commit
removes all of the static references and replaces them with
libafsconf.lib.

libafsconf.dll is also moved from Client\Program to Common
because it is now linked to by server and utility components.

14 years agowindows-doc-man-makefile-20090525
Jeffrey Altman [Mon, 25 May 2009 21:00:18 +0000]
windows-doc-man-makefile-20090525

LICENSE IPL10

Add a proper dependency list so that the man-pages are not
rebuilt when no changes have occurred.

14 years agowindows-make-version-20090525
Jeffrey Altman [Mon, 25 May 2009 20:57:39 +0000]
windows-make-version-20090525

LICENSE IPL10

remove space before "KEEP".  older versions of nmake.exe do not like it.

14 years agowindows-btree-flush-race-20090522
Jeffrey Altman [Fri, 22 May 2009 17:00:33 +0000]
windows-btree-flush-race-20090522

LICENSE MIT
FIXES 124787

A flush operation on a directory will result in the btree being destroyed.
This can race with on-going operations.  Make sure that the dirlock is held
if the btree is destroyed.  Otherwise, just invalidate the btree version
number.

====================
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 MIT
FIXES 124787

correct sandbox leakage

14 years agobackground-fsync-consistency-issues-20090522
Derrick Brashear [Fri, 22 May 2009 17:00:26 +0000]
background-fsync-consistency-issues-20090522

LICENSE IPL10
FIXES 124359

avoid either reopening closed vnodes and leaving cached descriptors around,
or discarding a reference we're not holding; instead, sync changes when the
fd is closed, and note such has been done; otherwise, no changes from older
code.

14 years agowindows-install-wix-vs2008-20090521
Asanka Herath [Thu, 21 May 2009 19:08:23 +0000]
windows-install-wix-vs2008-20090521

LICENSE MIT

add merge modules for VS2008 RunTime Libraries

14 years agowindows-install-wix-doc-xml-20090521
Jeffrey Altman [Thu, 21 May 2009 19:06:08 +0000]
windows-install-wix-doc-xml-20090521

LICENSE MIT

replace static html documentation with auto-generated
html help files from doc/xml/... when building en_US
locale.

14 years agodoc-xml-version-generation-20090521
Jeffrey Altman [Thu, 21 May 2009 18:51:42 +0000]
doc-xml-version-generation-20090521

LICENSE MIT

Replace version info in the DocBook files with a new ENTITY "version"
associated with a local "version.xml" file which contain a <revision>
tag for the current release.

The version.xml file should be autogenerated by the Makefile system.

14 years agoconfig-mkvers-xml-20090521
Jeffrey Altman [Thu, 21 May 2009 18:25:50 +0000]
config-mkvers-xml-20090521

LICENSE IPL10

Add a -x option to mkvers.c to permit generation of XML entities containing
a revision tag and <revremark> tags for each delta

Add autogeneration of version.xml to Windows Makefiles

14 years agowindows-install-nsis-20090521
Jeffrey Altman [Thu, 21 May 2009 14:33:47 +0000]
windows-install-nsis-20090521

LICENSE MIT

Remove old documentation and start menu links before installing
new versions.

No longer install versions from src/WINNT/doc/install/... tree

Install versions from doc/xml/...  Use CHM files when available.

Construct new Start Menu/Program/OpenAFS/Documentation/ menu with
links to individual documents instead of using an index.html
top level link.

14 years agowindows-make-cygwin-libs-20090520
Asanka Herath [Thu, 21 May 2009 04:25:46 +0000]
windows-make-cygwin-libs-20090520

LICENSE MIT

added libosi.a and libafsconf.a

14 years agowindows-make-cygwin-libs-20090519
Asanka Herath [Wed, 20 May 2009 06:03:09 +0000]
windows-make-cygwin-libs-20090519

LICENSE MIT

Unless NOCYGWIN is defined create cygwin .a import libraries
for each OpenAFS DLL that is constructed.

14 years agodoc-xml-windows-20090519
Jeffrey Altman [Wed, 20 May 2009 05:53:57 +0000]
doc-xml-windows-20090519

LICENSE IPL10

remove references to xml files no longer in the repository

14 years agokrb-conf-manpage-path-fix-20090519
Derrick Brashear [Tue, 19 May 2009 19:40:09 +0000]
krb-conf-manpage-path-fix-20090519

LICENSE IPL10

fix path to krb.conf, per IRC discussion

14 years agodoc-xml-build-20090518
Russ Allbery [Tue, 19 May 2009 04:58:53 +0000]
doc-xml-build-20090518

LICENSE MIT

Standardize the UNIX Makefiles for all of the DocBook guides.  Remove the
rest of the generated files and switch to xsltproc and dblatex for the
document generation in all cases.  Fix a few DocBook errors by removing
the contents of the <index> tag and removing the unknown <pubsnumber> tag
in the <revision> field.

14 years agodoc-quick-start-unix-build-20090518
Russ Allbery [Tue, 19 May 2009 04:27:36 +0000]
doc-quick-start-unix-build-20090518

LICENSE MIT

Use dblatex to build PDF documentation instead of docbook2html and xsltproc
to build HTML instead of docbook2html.  Remove all the index generation
logic, since dblatex and xsltproc handle that automatically.  Remove the
contents of the <index> tag in the source, since neither program requires
there be anything in there.

Remove the style sheets and configuration that were used for docbook2*.

14 years agowindows-wix-new-man-pages-20090518
Jeffrey Altman [Tue, 19 May 2009 03:36:21 +0000]
windows-wix-new-man-pages-20090518

LICENSE MIT
FIXES 124800

pod1/compile_et.pod
pod1/copyauth.pod
pod1/fs_cscpolicy.pod
pod1/fs_getfid.pod
pod1/fs_memdump.pod
pod1/fs_monitor.pod
pod1/fs_rxstatproc.pod
pod1/fs_setcbaddr.pod
pod1/fs_trace.pod
pod8/rmtsysd.pod
pod8/vsys.pod

14 years agoman-page-syntax-errors-20090518
Russ Allbery [Tue, 19 May 2009 00:53:26 +0000]
man-page-syntax-errors-20090518

LICENSE BSD

Fix some man page syntax errors that snuck into the recent round of
updates.

14 years agoman-page-krb-varients-20090518
Steven Jenkins [Mon, 18 May 2009 23:22:29 +0000]
man-page-krb-varients-20090518

FIXES 124799
LICENSE IPL10

Install symlinks for the *.krb versions of klog, pagsh, and tokens to the
non-krb versions and add information about the *.krb versions to the
non-krb man pages.

14 years agoman-page-cellservdb-updates-20090518
Steven Jenkins [Mon, 18 May 2009 21:42:26 +0000]
man-page-cellservdb-updates-20090518

FIXES 124794
LICENSE IPL10

Note in CellServDB man page that it's also used to populate root.afs for
a -dynroot client.  Also document the dynamic lookup of database servers
with -afsdb and provide some more information about when CellServDB has to
contain the cell and when it doesn't.

Mark the backup server as optional, and indicate that the authentication
server is deprecated and CellServDB isn't required for authentication if
Kerberos v5 and aklog are used.

14 years agoman-page-vsys-20090518
Steven Jenkins [Mon, 18 May 2009 21:28:26 +0000]
man-page-vsys-20090518

LICENSE BSD
FIXES 124793

Add man page for vsys.

14 years agoman-page-rmtsysd-20090518
Steven Jenkins [Mon, 18 May 2009 21:22:04 +0000]
man-page-rmtsysd-20090518

LICENSE IPL10
FIXES 124792

New man page for rmtsysd.

14 years agoman-page-restorevol-20090518
Steven Jenkins [Mon, 18 May 2009 19:46:33 +0000]
man-page-restorevol-20090518

LICENSE IPL10
FIXES 124791

Add man page for restorevol.

14 years agoman-page-fs-monitor-20090518
Steven Jenkins [Mon, 18 May 2009 19:35:31 +0000]
man-page-fs-monitor-20090518

LICENSE IPL10
FIXES 124790

Add man page for fs monitor.

14 years agoman-page-copyauth-20090518
Steven Jenkins [Mon, 18 May 2009 19:32:06 +0000]
man-page-copyauth-20090518

FIXES 124789
LICENSE IPL10

Add man page for copyauth.

14 years agoman-page-compile-et-20090518
Steven Jenkins [Mon, 18 May 2009 19:28:05 +0000]
man-page-compile-et-20090518

LICENSE IPL10
FIXES 124788

Add man page for compile_et.

14 years agoman-page-yet-more-fs-commands-20090517
Mike Robinson [Mon, 18 May 2009 04:34:38 +0000]
man-page-yet-more-fs-commands-20090517

LICENSE IPL10
FIXES 109189

Add new man pages for fs rxstatproc, fs setcbaddr, and fs trace.  Also
updates the links from fs to its subsidiary man pages and fixes the
fs rxstatpeer man page a bit to mirror fs rxstatproc.

14 years agoman-page-more-fs-commands-20090517
Steven Jenkins [Mon, 18 May 2009 03:50:00 +0000]
man-page-more-fs-commands-20090517

LICENSE IPL10
FIXES 124756

Add man pages for fs cscpolicy, fs getfid, and fs memdump.

14 years agoman-pod-fileserver-20090515
Simon Wilkinson [Fri, 15 May 2009 14:30:07 +0000]
man-pod-fileserver-20090515

LICENSE IPL10
FIXES 124778

-L sets the max number of threads

14 years agoprintf-format-macros-20090515
Jeffrey Altman [Fri, 15 May 2009 13:30:06 +0000]
printf-format-macros-20090515

LICENSE IPL10
FIXES 124776

The Windows format macro for AFS_INT64_FMT was wrong.
It is "I64" not "l64".

Also added macros for AFS_SIZET_FMT.  Although not currently
in use.  size_t varies in size on Windows just like pointers.

14 years agovol-split-no-nearinode-hint-for-namei-20090514
Derrick Brashear [Thu, 14 May 2009 21:50:44 +0000]
vol-split-no-nearinode-hint-for-namei-20090514

LICENSE IPL10

nearinode hint makes no sense when you're not using inode fileserver

14 years agodoc-xml-release-notes-windows-20090514
Jeffrey Altman [Thu, 14 May 2009 18:47:44 +0000]
doc-xml-release-notes-windows-20090514

LICENSE MIT

Initial take at converting the OpenAFS for Windows Release Notes
to DocBook.

Website style HTML and HtmlHelp (.chm) output is generated.

Formatting of Registry Value descriptions could be improved.

There is no indexing at present.

14 years agocfileopen-cleanup-20090514
Derrick Brashear [Thu, 14 May 2009 05:05:29 +0000]
cfileopen-cleanup-20090514

LICENSE IPL10

make disconnected work again. also, use static_inline macro consistently

14 years agodoc-xml-20090513
Jeffrey Altman [Thu, 14 May 2009 03:25:35 +0000]
doc-xml-20090513

LICENSE IPL10
FIXES 124760

Remove generated HTML from the respository

Update XML to support autogeneration of Index files via XSLT

Add graphics referenced by generated HTML output

Add top level index.html used by the docs.openafs.org web site.

Add NTMakefile for AdminGuide, QuickStartUnix, and UserGuide
that utilizes XSLT to generate Windows HTMLHelp (.CHM) and
website appropriate HTML output.

In AdminGuide and UserGuide, relabel the documentation as OpenAFS
instead of IBM AFS.  Create a new revision entry for the OpenAFS
docs.

Incorporate updates to QuickStartUnix Appendix A

14 years agoukernel-use-fsblkcnt-20090513
Derrick Brashear [Wed, 13 May 2009 22:34:56 +0000]
ukernel-use-fsblkcnt-20090513

LICENSE IPL10
FIXES 124681

blkcnt_t doesn't exist on fbsd, macos 10.3, and isn't really the right type.
this is the right type, but also can be missing. test appropriately.

14 years agommap-antirecursion-port-to-head-20090513
Marc Dionne [Wed, 13 May 2009 21:40:56 +0000]
mmap-antirecursion-port-to-head-20090513

LICENSE IPL10
FIXES 124770

deal correctly with the structure reorg which took place

14 years agopts-encrypt-option-20090512
Derrick Brashear [Tue, 12 May 2009 20:40:20 +0000]
pts-encrypt-option-20090512

LICENSE IPL10
FIXES 124681

add -encrypt flag to pts generic options, allowing the wire to be
encrypted if desired and the user's authenticated. document same.

14 years agolinux-mmap-antirecursion-fix-20090512
Felix Frank [Tue, 12 May 2009 18:56:30 +0000]
linux-mmap-antirecursion-fix-20090512

LICENSE IPL10
FIXES 124627

fix the mmap anti-recursion protection to set and mask CPageWrite appropriately
and with the correct lock protection. this leaves us with an issue to handle
when the mmap'd file is larger (possibly considerably larger) than the
cache

14 years agofreebsd-kauth-sig-t-20090512
Matt Benjamin [Tue, 12 May 2009 18:18:37 +0000]
freebsd-kauth-sig-t-20090512

LICENSE IPL10
FIXES 124569

define the old signal type as sig_t on freebsd (e.g. everywhere we prototype as
sig_t)

14 years agorxdebug-print-values-unsigned-20090512
Rainer Toebbicke [Tue, 12 May 2009 18:12:20 +0000]
rxdebug-print-values-unsigned-20090512

LICENSE IPL10
FIXES 124563

for the values which are unsigned, use %u, not %d

14 years agoredhat-use-postinit-in-initscript-20090512
Anders Kaseorg [Tue, 12 May 2009 17:58:27 +0000]
redhat-use-postinit-in-initscript-20090512

LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it

14 years agomemcache-write-on-laststore-20090512
Felix Frank [Tue, 12 May 2009 17:42:24 +0000]
memcache-write-on-laststore-20090512

LICENSE IPL10
FIXES 124671

write back dirty pages on last store for memcache, lest we end up
unintentionally discarding the changes.

14 years agotests-generate-dirpath-in-makefile-20090512
Steven Jenkins [Tue, 12 May 2009 17:22:49 +0000]
tests-generate-dirpath-in-makefile-20090512

LICENSE IPL10
FIXES 124715

fix rmcell to not have hardcoded paths; instead, generate a dirpath shell
script from makefile and use that

14 years agotests-no-dirpath-infile-20090512
Steven Jenkins [Tue, 12 May 2009 14:06:14 +0000]
tests-no-dirpath-infile-20090512

LICENSE IPL10
FIXES 124716

Dirpath.pm.in is no longer needed

14 years agoopenbsd-44-45-20090512
Matt Benjamin [Tue, 12 May 2009 14:02:38 +0000]
openbsd-44-45-20090512

LICENSE IPL10
FIXES 124719

add missing osi_free backend, missing param file, modify soreceive for 4.5

14 years agowindows-dcache-store-data-20090511
Jeffrey Altman [Mon, 11 May 2009 17:22:24 +0000]
windows-dcache-store-data-20090511

LICENSE MIT

The windows dcache module synchronizes store data operations in
order to prevent multiple simultaneous store data operations against
the same file at the same time by multiple threads.  This is performed
using cm_SyncOp(CM_SCACHESYNC_STOREDATA_EXCL).  However, cm_SetupStoreBIOD()
was being processed prior to the synchronization.  As a result a dirty
buffer could be added to two BIOD lists resulting in the same buffer
contents being written to the file server twice.

This patch moves the cm_SetupStoreBIOD() into the synchronization region.
It also adds a new 'locked' parameter to cm_ReleaseBIOD() that indicates
whether or not the cm_scache_t object is locked when called.  This
permits fewer lock state changes to be used in several cases.

14 years agolinux26-defer-cred-changing-20090511
Simon Wilkinson [Mon, 11 May 2009 15:54:50 +0000]
linux26-defer-cred-changing-20090511

LICENSE IPL10
FIXES 124737

Newer Linux kernels differentiate between the real and effective
credentials of a process, and prevent a process's credentials from being
change when the effective credentials have been set to a different value.
When AFS notices a keyring PAG exists but no group-based PAG does, the
attempt to rectify this, if done in a VFS call (which changes effective creds)
triggers this issue. We defer the change to the groups to avoid it.

14 years agowindows-hard-and-idle-dead-timeouts-20090511
Jeffrey Altman [Mon, 11 May 2009 15:15:35 +0000]
windows-hard-and-idle-dead-timeouts-20090511

LICENSE MIT

Fix conditional test that assigns value to idleDeadTimeout

Modify event log message to indicate timeout could be either a
hard or an idle timeout.

As described in the source comments, do not retry on a hard or
idle timeout.

14 years agowindows-fs-getfid-20090511
Jeffrey Altman [Mon, 11 May 2009 15:04:43 +0000]
windows-fs-getfid-20090511

LICENSE MIT

Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".

14 years agolinux-fh-based-cache-20090511
Marc Dionne [Mon, 11 May 2009 14:39:58 +0000]
linux-fh-based-cache-20090511

LICENSE IPL10
FIXES 123620

rework previous fh-based cache support. now allows use of
arbitrarily large file handles, and build correctly for UKERNEL.

we now just use this if there's no iget, instead of providing a configure
switch.

because this relies on the somewhat invasive patch from 124184 it is not
currently pulled up to 1.4.x

14 years agoabstract-cache-inode-ops-20090511
Simon Wilkinson [Mon, 11 May 2009 14:27:42 +0000]
abstract-cache-inode-ops-20090511

LICENSE IPL10
FIXES 124184

previous versions had abstract functions for linux (use_fh) and osx/solaris
(cache_vnode_path) cache file access, which was contributing to code bloat

switch to a union for disk/memory cache objects, and provide functions to
convert these into something appropriate for each system

14 years agowindows-fs-path-in-afs-20090507
Jeffrey Altman [Thu, 7 May 2009 16:02:53 +0000]
windows-fs-path-in-afs-20090507

LICENSE MIT

Switch the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME
so that the literal option can be used.

14 years agowindows-shellext-path-in-afs-20090507
Jeffrey Altman [Thu, 7 May 2009 15:53:14 +0000]
windows-shellext-path-in-afs-20090507

LICENSE MIT
FIXES 124742

Change the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME.
VIOCGETFID permits a literal test of the specified object.   This is needed
for testing the validity of a symlink to a msdfs: or non-existent path.
Otherwise, the AFS Shell Extension context menu will not be displayed.

14 years agoman-pages-allow-dots-consistent-20090505
Derrick Brashear [Tue, 5 May 2009 13:30:24 +0000]
man-pages-allow-dots-consistent-20090505

LICENSE IPL10

make all server man pages list -allow-dotted-principals (rather than
-allow-dotted-principal)

14 years agodafs-vol-offline-20090428
Mike Meffie [Tue, 28 Apr 2009 15:37:39 +0000]
dafs-vol-offline-20090428

LICENSE IPL10
FIXES 124582

fix a logic error in the dafs vos offline support

14 years agowindows-smb-disable-loopback-check-20090427
Jeffrey Altman [Tue, 28 Apr 2009 00:37:16 +0000]
windows-smb-disable-loopback-check-20090427

LICENSE MIT

Now that BackConnectionHostNames can be set each time the smb listener
threads are stopped and restarted, we need to make sure that we do not
clear the DisableLoopbackCheck value if it was set during the same
service session because BackConnectionHostName value changes only take
effect on a reboot.

14 years agorename-residency-from-mrafs-to-osd-20090427
Steven Jenkins [Tue, 28 Apr 2009 00:03:35 +0000]
rename-residency-from-mrafs-to-osd-20090427

LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.

14 years agovos-reveal-hidden-cmds-20090427
Jeffrey Altman [Mon, 27 Apr 2009 21:17:59 +0000]
vos-reveal-hidden-cmds-20090427

LICENSE IPL10

vos hides "online", "offline", "delentry -noexecute", and "addsite -valid".
All of these are currently documented in the man pages without warning.
Reveal them.

14 years agodprintf-rename-20090427
Simon Wilkinson [Mon, 27 Apr 2009 20:17:12 +0000]
dprintf-rename-20090427

LICENSE IPL10
FIXES 124657

make dprintf be afs_dprintf to fix for fedora 11 and probably others

14 years agonetinfo-fake-address-text-20090427
Jason Edgecombe [Mon, 27 Apr 2009 19:37:25 +0000]
netinfo-fake-address-text-20090427

LICENSE IPL10
FIXES 124699

explain fake address support for NetInfo files

14 years agodragonfly-bsd-userland-20090427
Matt Benjamin [Mon, 27 Apr 2009 19:29:09 +0000]
dragonfly-bsd-userland-20090427

LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland

15 years agolinux-2-6-30-support-for-head-20090407
Marc Dionne [Tue, 7 Apr 2009 17:16:43 +0000]
linux-2-6-30-support-for-head-20090407

LICENSE IPL10
FIXES 124592

make proc dir entry owner field only be initialized when it exists

15 years agowindows-smb-registry-config-20090407
Jeffrey Altman [Tue, 7 Apr 2009 15:05:30 +0000]
windows-smb-registry-config-20090407

LICENSE MIT

Move configureBackConnectionHostNames() to smb_StartListeners()
so that when the NetbiosName changes while the service is running
the new values can be set.

Add configureExtendedSMBSessionTimeouts() which configures new
SMB functionality added in a Win2003 post-SP2 hot fix.

15 years agorx-internal-use-static-inline-macro-20090407
Derrick Brashear [Tue, 7 Apr 2009 14:00:56 +0000]
rx-internal-use-static-inline-macro-20090407

LICENSE IPL10

some platforms can't use "static inline"

15 years agoavoid-buffer-overflow-on-rx-fixed-size-array-return-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:52:52 +0000]
avoid-buffer-overflow-on-rx-fixed-size-array-return-20090402

LICENSE IPL10
FIXES 124579

avoid potentially writing beyond allocated memory if a return is larger than expected

15 years agolinux-avoid-returning-invalid-pointers-on-error-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:50:15 +0000]
linux-avoid-returning-invalid-pointers-on-error-20090402

LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.

15 years agowindows-pioctl-subst-unc-20090407
Jeffrey Altman [Mon, 6 Apr 2009 22:47:49 +0000]
windows-pioctl-subst-unc-20090407

LICENSE MIT

Add code to support determining if a drive substitution refers to
a UNC path.

15 years agowindows-smb-trace-20090406
Jeffrey Altman [Mon, 6 Apr 2009 18:24:48 +0000]
windows-smb-trace-20090406

LICENSE MIT

include the correct function name in a
trace message

15 years agowindows-test-torture-stack-overflow-20090405
Jeffrey Altman [Sun, 5 Apr 2009 13:54:04 +0000]
windows-test-torture-stack-overflow-20090405

LICENSE MIT

avoid stack overflow.

15 years agowindows-tests-torture-20090405
Jeffrey Altman [Sun, 5 Apr 2009 06:25:08 +0000]
windows-tests-torture-20090405

LICENSE MIT

replace the VOLSTAT online test with the PATH_AVAILABILITY
online test.  We do not care of the volume is offline on the file
server if the cache manager has current data to serve.

15 years agowindows-smb-error-map-20090404
Jeffrey Altman [Sat, 4 Apr 2009 21:16:27 +0000]
windows-smb-error-map-20090404

LICENSE MIT

For CM_ERROR_BADSHARENAME return BAD_NETWORK_PATH instead
of BAD_NETWORK_NAME.  The latter refers to the server name
and the former to the share name.   Returning BAD_NETWORK_NAME
will causes the smb redirector to break its connection to \\AFS.

For CM_ERROR_ALLOFFLINE and CM_ERROR_ALLDOWN return PATH_NOT_FOUND
instead of BAD_NETWORK_PATH.  We don't want the smb redirector
to tear down all open files just because some volume in the path
is inaccessible at the moment.

15 years agolinux-key-alloc-no-pointer-arith-20090404
Simon Wilkinson [Sat, 4 Apr 2009 17:43:42 +0000]
linux-key-alloc-no-pointer-arith-20090404

LICENSE IPL10

make the key_alloc configure test work

15 years agowindows-afsd-no-more-ods-20090402
Jeffrey Altman [Fri, 3 Apr 2009 03:56:36 +0000]
windows-afsd-no-more-ods-20090402

LICENSE MIT

Any use of OutputDebugString() in production can result in serious
delays in the execution of the thread that issues the call.  Remove
the last of the unprotected calls within afsd_service.

15 years agowindows-rx-xmit-20090402
Jeffrey Altman [Thu, 2 Apr 2009 08:44:51 +0000]
windows-rx-xmit-20090402

LICENSE IPL10

permit compilation with Windows SDK v6.0/6.1 which hides
previously exposed XP symbols unless _WINNT_WIN32 is at
least 0x0501

15 years agowindows-src-makefile-two-20090402
Jeffrey Altman [Thu, 2 Apr 2009 08:40:06 +0000]
windows-src-makefile-two-20090402

LICENSE MIT

get the i386 case right

====================
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 MIT

fixup the @echo again

15 years agowindows-src-makefile-20090402
Jeffrey Altman [Thu, 2 Apr 2009 06:06:44 +0000]
windows-src-makefile-20090402

LICENSE MIT

remove extraneous echo command output

do not attempt to build NSIS target on non-x86 platforms
since support is not implemented

15 years agowindows-config-clean-20090402
Jeffrey Altman [Thu, 2 Apr 2009 06:04:48 +0000]
windows-config-clean-20090402

LICENSE MIT

permit "nmake -f ntmakefile clean" to complete on a
clean source tree.

15 years agowindows-install-loopback-20090401
Asanka Herath [Wed, 1 Apr 2009 23:56:16 +0000]
windows-install-loopback-20090401

LICENSE MIT

Define INCLUDE variable and reorder binary link order
to ensure compatibility with latest WDK/SDK combinations.

15 years agowindows-talocale-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:36:29 +0000]
windows-talocale-20090401

LICENSE MIT

perform proper casting to avoid a warning

15 years agowindows-afsd-smb-logging-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:30:29 +0000]
windows-afsd-smb-logging-20090401

LICENSE MIT

Add more info about the smb request to the log entry
that is written to afsd_init.log if the request took
longer than 45 seconds to complete.

15 years agowindows-afsd-priority-class-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:29:15 +0000]
windows-afsd-priority-class-20090401

LICENSE MIT

Change the default priority class for afsd_service.exe to High.
This matches the priority class assigned to other system processes
that generate requests to afsd_service.exe.

Permit the ..\TransarcAFSDaemon\Parameters "PriorityClass"
registry value to be used to change the default.

15 years agoxdr-free-20090401
Jeffrey Altman [Wed, 1 Apr 2009 17:37:50 +0000]
xdr-free-20090401

LICENSE MIT

add xdr_free() and export it from afsrpc.dll.  This permits applications
to free memory allocated within the xdr routines with the same run time
library memory management routines as was used to allocate it.

This is necessary on Windows to prevent memory corruption.

VL_GetAddrsU() is an example where a xdr array is allocated in the
library and must be freed by the application.

15 years agowindows-afsd-xdr-free-20090401
Jeffrey Altman [Wed, 1 Apr 2009 17:35:29 +0000]
windows-afsd-xdr-free-20090401

LICENSE MIT

make use of xdr_free() to release memory allocated within afsrpc.dll.
this prevents crashes when the library is built with a different
runtime library version than the application.

fix signed/unsigned warnings in the same code snippet

15 years agodynamic-vcache-no-printf-20090331
Derrick Brashear [Tue, 31 Mar 2009 13:41:25 +0000]
dynamic-vcache-no-printf-20090331

LICENSE IPL10

no printf in releases

15 years agolinux-2630-maybe-20090331
Marc Dionne [Tue, 31 Mar 2009 13:16:17 +0000]
linux-2630-maybe-20090331

LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released

15 years agowindows-afsd-log-smb-mid-20090328
Jeffrey Altman [Sat, 28 Mar 2009 23:25:16 +0000]
windows-afsd-log-smb-mid-20090328

LICENSE MIT

For each SMB transation log the 'mid' field of the smb packet.
The 'mid' field can be used as a reference against the mrxsmb request
logging for debugging purposes.

15 years agowindows-remove-reset-all-vcs-event-20090328
Jeffrey Altman [Sat, 28 Mar 2009 23:17:29 +0000]
windows-remove-reset-all-vcs-event-20090328

LICENSE MIT

remove the smb reset all VCs message.  duplicates the
reportSessionStartups functionality.

15 years agowindows-afsd-symlink-20090327
Jeffrey Altman [Fri, 27 Mar 2009 17:58:02 +0000]
windows-afsd-symlink-20090327

LICENSE MIT

Increase max symlink limit to 64 and remove the repeated fid
recursion test.  Breaks too many things.

15 years agovolser-new-is-special-20090324
Jeffrey Altman [Wed, 25 Mar 2009 01:15:20 +0000]
volser-new-is-special-20090324

LICENSE IPL10

Do not permit the word "new" to be used for a field name as it is
special.  Our headers get pulled into C++ compilations.

15 years agouss-kvno-warning-fix-20090327
Mike Meffie [Fri, 27 Mar 2009 15:47:23 +0000]
uss-kvno-warning-fix-20090327

LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss

15 years agolinux-flushpages-call-truncate-inode-pages-after-all-20090327
Chaskiel M Grundman [Fri, 27 Mar 2009 15:45:27 +0000]
linux-flushpages-call-truncate-inode-pages-after-all-20090327

LICENSE IPL10

in this case we're discarding just the data in case it's stale, so this is
correct

15 years agobucoord-update-kvno-check-20090327
Garry Zacheiss [Fri, 27 Mar 2009 13:45:49 +0000]
bucoord-update-kvno-check-20090327

LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere