Commit Graph

5189 Commits

Author SHA1 Message Date
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
Russ Allbery
99c1e0beb1 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.
2008-06-30 23:53:22 +00:00
Russ Allbery
9b61f58fa7 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.
2008-06-30 23:35:18 +00:00
Russ Allbery
9f94f89a7a 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.
2008-06-30 21:50:23 +00:00
Russ Allbery
d82169c51c 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.
2008-06-30 20:55:40 +00:00
Russ Allbery
6331d37125 man-page-vos-convertROtoRW-inode-20080630
LICENSE BSD

vos convertROtoRW can now be used with an inode file server.  Adjust the
man page accordingly.
2008-06-30 20:49:19 +00:00
Jeffrey Altman
2b48a4c67a windows-wix-cmdref-subdirs-20080630
LICENSE MIT

Construct the directory hierarchy correctly.  CmdRef/{1,5,8}
2008-06-30 20:48:32 +00:00
Russ Allbery
cf816d535a 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.
2008-06-30 20:47:30 +00:00
Tom Keiser
db13ad4de7 dafs-state-analyzer-setup-cursor-20080630
LICENSE IPL10

avoid an uninitialized cursor
2008-06-30 18:28:35 +00:00
Jeffrey Altman
1b98b43127 windows-nsis-cmdref-subdirs-20080630
LICENSE MIT

install and remove the subdirectories of the CmdRef
2008-06-30 14:59:30 +00:00
Asanka Herath
7460987e75 windows-wix-install-idn-redist-20080630
LICENSE MIT

Only install IDN redistributables on XP and 2003
2008-06-30 14:38:17 +00:00
Jeffrey Altman
fed6593bf3 windows-nsis-install-idn-redist-20080629
LICENSE MIT

Install IDN on XP and 2003 only
2008-06-30 03:55:36 +00:00
Jeffrey Altman
5da4137cbe 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.
2008-06-29 06:08:00 +00:00
Chaskiel M Grundman
dff0d834a7 afs-blacklist-initialize-volume-ptr-always-20080628
LICENSE IPL10

always initialize this
2008-06-29 04:38:59 +00:00
Jeffrey Altman
618a180164 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
2008-06-29 02:48:18 +00:00
Jeffrey Altman
ee8a5d7019 windows-cmdref-20080628
LICENSE MIT

Reference cmdref/index.html from the en_US documentation
2008-06-29 02:27:14 +00:00
Jeffrey Altman
4af6e48bdb windows-install-new-cmdref-20080628
LICENSE MIT

Install the new man pages as the OpenAFS Command Reference.
Update both the nsis and wix installers.
2008-06-29 02:21:10 +00:00
Jeffrey Altman
6a34c5c4f6 windows-build-doc-manpages-20080628
LICENSE MIT

build the manpages for windows
2008-06-29 00:41:00 +00:00
Jeffrey Altman
da989e5d95 windows-generate-html-cmdref-makefile-correct-20080628
LICENSE MIT

commit the correct version of the NTMakefile
2008-06-29 00:30:43 +00:00
Jeffrey Altman
d600d661ad 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.
2008-06-29 00:23:48 +00:00
Russ Allbery
62ffbc2a46 remove-administration-reference-20080627
LICENSE IPL10

Purge the old AFS Administration Reference documentation.  This has now
been completely replaced by the manual pages.
2008-06-28 07:32:45 +00:00
Russ Allbery
3b273dd552 install-and-document-klog-krb5-20080627
LICENSE IPL10

Install the Kerberos v5 klog as klog.krb5 and install a man page for it.
2008-06-28 06:19:22 +00:00
Jeffrey Altman
49db6afe0a 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.
2008-06-27 20:42:57 +00:00
Jason Edgecombe
e381e1d078 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.
2008-06-27 04:49:45 +00:00
Jason Edgecombe
d9dc7e28fe man-page-vldb_convert-20080626
FIXES 104192
LICENSE BSD

New man page for vldb_convert.
2008-06-27 04:29:12 +00:00
Jason Edgecombe
fbe10c8086 man-page-vos-clone-20080626
FIXES 104110
LICENSE BSD

Add man page for vos clone.
2008-06-27 04:19:07 +00:00
Asanka Herath
0e04d01891 windows-wix-install-idn-redist-20080626
LICENSE MIT

Install the Microsoft IDN Redistributables which are required for
Unicode Normalization on XP and 2003.
2008-06-27 03:04:12 +00:00
Asanka Herath
149fd85b20 windows-nsis-install-idn-redist-20080626
LICENSE MIT

Install the Microsoft IDN Redistributables which are required for
Unicode Normalization on XP and 2003.
2008-06-27 02:58:36 +00:00
Jeffrey Altman
c051bf5476 windows-vlserver-makefile-20080626
LICENSE MIT

more consistency changes to get the make rules for headers right
2008-06-26 18:04:04 +00:00
Jeffrey Altman
bc2836058a windows-nls-includes-20080626
LICENSE MIT

Add include for cm_nls.h
2008-06-26 17:46:35 +00:00
Asanka Herath
3b41209be7 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.
2008-06-26 06:43:49 +00:00
Asanka Herath
ef58ff2ea6 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.
2008-06-24 14:41:13 +00:00
Matt Benjamin
9d1863dae7 tubik-build-fix-20080624
LICENSE IPL10

add missing build dependencies
2008-06-24 13:58:10 +00:00
Matt Benjamin
98b87a2ac1 tubik-build-fix-20080623
LICENSE IPL10

add missing build dependencies
2008-06-23 18:50:06 +00:00
Derrick Brashear
e5f9eba386 doc-nfs-translator-instructions-20080622
LICENSE IPL10
FIXES 103459

clarify instructions for the translator
2008-06-23 04:40:56 +00:00
Marc Dionne
583b267eb0 linux-2626-updates-20080612
LICENSE IPL10
FIXES 102821

fixes which went into 1.4.x already
2008-06-12 21:08:18 +00:00
Marc Dionne
bb617c649c cvsignore-updates-20080612
LICENSE IPL10
FIXES 102819

add missing things to cvsignore files
2008-06-12 21:00:12 +00:00
Marc Dionne
a33cd20d1b tubik-no-pinstall-on-head-20080612
LICENSE IPL10
FIXES 102819

no more pinstall on the head
2008-06-12 20:58:23 +00:00
Tom Keiser
a7b33b55bb dafs-updates-20080612
LICENSE IPL10

pending changes from tom to avoid a deadlock issue
2008-06-12 20:12:06 +00:00
Derrick Brashear
e2ce8710ef ptserver-simple-corrupt-protection-20080612
LICENSE IPL10

protects against direct loops, which we have seen in the wild, but not more (yet)
2008-06-12 19:36:15 +00:00
Derrick Brashear
bc47951c9e volume-limit-higher-20080612
LICENSE IPL10

allow more volume lookups to be cached
2008-06-12 18:24:25 +00:00
Jeffrey Altman
15ff831e4d 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.
2008-06-12 17:04:38 +00:00
Jeffrey Altman
d8c3a59818 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.
2008-06-12 15:54:23 +00:00
Jeffrey Altman
52490d7968 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().
2008-06-12 15:20:46 +00:00
Jeffrey Altman
3306c0887b windows-vnodeops-wrong-logfile-20080612
LICENSE MIT

Use afsd_logp instead of smb_logp in osi_LogX() calls.
Do not violate layer abstraction.
2008-06-12 15:00:08 +00:00
Jeffrey Altman
ef48d6343d 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.
2008-06-12 14:33:36 +00:00
Marc Dionne
bed3e31ca4 linux-2626-support-20080608
LICENSE IPL10
FIXES 101091

add 2.6.26 support
2008-06-09 04:38:58 +00:00
Rainer Toebbicke
0da0a9d4d2 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
2008-06-09 04:30:11 +00:00
Jeffrey Altman
ad05cdf649 windows-check-server-memleak-20080606
LICENSE MIT

Found a memleak in the cm_CheckServers routine.  Plug it.
2008-06-06 14:36:16 +00:00