commit b5c4dbf861a0be675e5dbe775059e3bf7628f127 Author: Jeffrey Altman Date: Wed Sep 30 21:43:45 2009 +0200 Windows version 1.5.65 Reviewed-on: http://gerrit.openafs.org/560 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 1937eadfdad6e7616f6db97d802c3b8c5000f5d6 Author: Derrick Brashear Date: Wed Sep 30 17:28:36 2009 -0400 openafs 1.5.65 make openafs 1.5.65 for unix Reviewed-on: http://gerrit.openafs.org/561 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 75dbaa82cd54bdbfc99a8c66a9d7a7327041863b Author: Jeffrey Altman Date: Wed Sep 30 21:42:16 2009 +0200 Windows: change log for 1.5.65 LICENSE: MIT Reviewed-on: http://gerrit.openafs.org/559 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit d5b40d99a9e8284c1ce8784a6b8fcc7fb7453532 Author: Simon Wilkinson Date: Wed Sep 30 11:44:51 2009 +0200 Add configure test for pagevec_lru_add_file pagevec_lru_add_file isn't available on all Linux kernels. Fallback to using pagevec_lru_add where necessary. Reviewed-on: http://gerrit.openafs.org/558 Tested-by: Marc Dionne Reviewed-by: Marc Dionne Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 2f270a3e9206344464f1414cb04895090d93590d Author: Tom Keiser Date: Tue Sep 29 10:25:55 2009 -0400 make VOL_STATE_VLRU_ADD exclusive VLRU_Add_r() places a volume into VOL_STATE_VLRU_ADD before calling VLRU_Wait_r(), which drops VOL_LOCK while waiting for the required VLRU queue to quiesce. Thus, it is essential that state VOL_STATE_VLRU_ADD be marked exclusive so that another thread cannot mutate state until the VLRU generation add transaction completes. Reviewed-on: http://gerrit.openafs.org/554 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 06520711cbbb731da57e34cf955e525140bef33a Author: Jeffrey Altman Date: Tue Sep 29 14:29:55 2009 +0200 Windows: short circuit background volume checks for shutdown If the service is shutting down or the machine is entering a suspend state, short circuit the background volume checks to permit faster shutdown. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/552 Reviewed-by: Derrick Brashear Reviewed-by: Asanka Herath Tested-by: Asanka Herath Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit af9c9d905a08f28dc672dda6e5a6b9437f1650a8 Author: Simon Wilkinson Date: Wed Jul 15 00:02:31 2009 +0100 Add support for background page copies LICENSE BSD This patch adds support for backgrounding the page copies which are caused by a call to readpages() In theory, this should improve the throughput of the AFS kernel module as it permits processes to start work whilst data is still being read into the page cache for later pages. Reviewed-on: http://gerrit.openafs.org/537 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f75d84c404761a03ebf24406db12bfaff4bc3e74 Author: Simon Wilkinson Date: Tue Jul 14 23:55:18 2009 +0100 Add support for blocking readahead This patchset adds support for the readpages() system call, and enables readahead on Linux. At the moment each page read causes readpages to block, so the client won't see much benefit from readahead, beyond the reduction in call overhead. Reviewed-on: http://gerrit.openafs.org/536 Reviewed-by: Matt Benjamin Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f5c55d23a2a745e848c6e013c8b42cf3292c4691 Author: Simon Wilkinson Date: Tue Sep 29 12:26:55 2009 +0200 Demand attach warning fixes Fix a whole host of warnings in the demand attach code. Make a broken tvolser build stop the build, rather than carrying on regardless. Reviewed-on: http://gerrit.openafs.org/551 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 36700b51b34bbab515e947ed60104ada5ba6f827 Author: Simon Wilkinson Date: Tue Sep 29 10:25:53 2009 +0200 Don't use volatile when it makes no sense The demand attach code defines volume pointers as volatile in a number of places, despite the fact that the values in question aren't being shared between multiple threads. It then also passes these volatile pointers into functions which don't treat them as volatile (and even to some which assign them to registers). This patch simply removes the use of volatile in this situation. Reviewed-on: http://gerrit.openafs.org/550 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit ca8890245b44cc3abf311797ae62d2f0aaca5429 Author: Derrick Brashear Date: Tue Sep 29 10:26:23 2009 -0400 intptr fallout some kernels don't have e.g. uintptr_t; revert this hunk for now. also, autoconf as recent as what's in rhel5 has no macros. provide some. Reviewed-on: http://gerrit.openafs.org/553 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 88a037585d65e31e9d832bea89bb1cc1f107ab0f Author: Simon Wilkinson Date: Tue Jul 14 23:39:44 2009 +0100 Use readpage, not read for fastpath access Modify the fast path case so that it uses readpage(), rather than read() to access data in the cache. This removes a lot of the hidden, uncessary work that the kernel was doing behind the scenes, and takes advantage of the fact that we know a page read will always result in a page read against the backing cache. Reviewed-on: http://gerrit.openafs.org/535 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit c4bffd7efbcf27f7a8c9c0f81c4b79d3251a5d3a Author: Derrick Brashear Date: Tue Sep 29 05:25:46 2009 -0400 irix compile fixes fix compilation for irix (and warning for solaris) for icreate as well as more stdint.h fixes Reviewed-on: http://gerrit.openafs.org/548 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit e0bbecf2693c2a7e3ec06fbb9335254f841c8e71 Author: Jeffrey Altman Date: Mon Sep 28 16:58:25 2009 +0200 Windows: Trace log smb_FindFID errors To assist with debugging, add consistent trace log messages for smb operations that generate an error because smb_FindFID failed. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/545 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit d9d3902894d1bde920feda7f5f1a798037b52cf8 Author: Claudio Bisegni Date: Tue Sep 29 09:57:52 2009 +0200 OS Preference pane clean for final version Has been removed from license file the reference to menucracker for hack NSMenuExtra, that is no more needed. Reviewed-on: http://gerrit.openafs.org/547 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 45e98a4455e1da7e79b70a4c42dccb07ab9102a6 Author: Jeffrey Altman Date: Mon Sep 28 16:22:31 2009 +0200 Windows: cm_GetBuffer does not need to contact file server when extended a file If cm_GetBuffer is being called in order to obtain a buffer to store data beyond the end of the existing file as known to the file server there is no reason to contact the file server. Instead use the cached status info in order to allocate a new buffer zero initialized. This logic avoids triggering the FetchData bug in all file servers older than 1.4.12 and 1.5.65 in which the file server returns a large negative number (filesize - requested_offset) when a FetchData is received where the requested_offset is larger than the filesize. It also avoids unnecessary work. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/542 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 50e98677ca5b62b3b82608c6da3e719956d3a03d Author: Jeffrey Altman Date: Mon Sep 28 16:52:45 2009 +0200 Windows: Directories do not have a default stream When enumerating streams for objects, do not offer a default stream for directory objects (including mount points). LICENSE MIT Reviewed-on: http://gerrit.openafs.org/544 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit fee0efedc12a90605f2c2e3e10d2492be5f42be3 Author: Andrew Deason Date: Mon Sep 28 10:14:23 2009 -0500 Formatting typo in vos_setfields manpage The POD formatting code for bold is B, not b. Reviewed-on: http://gerrit.openafs.org/546 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 158043416326d67708880ed801de53653d9453ad Author: Simon Wilkinson Date: Mon Sep 28 16:21:21 2009 +0200 Don't try to print the thread ID pthread_t is defined as being opaque - there's no way to portably print it on a way that makes sense on all platforms. Remove this output. Reviewed-on: http://gerrit.openafs.org/541 Reviewed-by: Tom Keiser Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 4f65bec3fc4d0c1157aa80323c8d7ecc8a53d3a1 Author: Simon Wilkinson Date: Mon Sep 28 16:50:20 2009 +0200 Fix warnings in new dumptag code 3f2dd80697959f5922032f4d4a7c9ef0cfadf35c contained a number of new warnings. This patch fixes them. It also adds the AFS_UNUSED_FUNCTION macro which can be used to portably mark functions as unused. Reviewed-on: http://gerrit.openafs.org/543 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 6d628bbb7c188e5644e27b3657d824c1481034b6 Author: Simon Wilkinson Date: Sat Sep 26 17:44:06 2009 +0100 Squash more viced warnings Get rid of more warnings in viced - Cast fids that we pass into the Dir package to avoid type warnings - Add ()s to a && b || c, to clarify its meaning - (a && b ) || c - Don't use %ld to print ints - Prototype another function from the host package Reviewed-on: http://gerrit.openafs.org/539 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit e287f72e4e4de82fd2ab5c4a4137aa58a5f45b55 Author: Derrick Brashear Date: Mon Sep 28 09:53:11 2009 -0400 irix UCRED is already a struct just like everywhere else. move the one last struct UCRED to UCRED like everywhere else Reviewed-on: http://gerrit.openafs.org/538 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 0ec76649b62919cff3244eb0a6390662f72d7950 Author: Simon Wilkinson Date: Tue Jul 14 23:33:16 2009 +0100 Minimise crref() and add a fastpath for cache hits Reduce the number of times we cref() unnecessarily, and add a fastpath at the beginning of readpage() to handle the cache hit case. Refactor the Linux implementation of afs_open to provide a directly callable version that bypasses the OSI layer. Add a non-blocking variant of ObtainReadLock() Reviewed-on: http://gerrit.openafs.org/534 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit be34175e0f089cbf8a90a0afc7362432be004e06 Author: Derrick Brashear Date: Mon Sep 28 09:21:59 2009 -0400 macos 10.6 warning fixes due to 32/64 and a newer compiler, macos 10.6 finds more warnings. these are fixes for some of them. Reviewed-on: http://gerrit.openafs.org/533 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit f63a8662a7b05c60e85f5e525b58ccf476bc1753 Author: Derrick Brashear Date: Mon Sep 28 08:05:15 2009 -0400 kauth should use static_inline for irix et al "static inline" doesn't work on various still-supported systems. use the workaround macro Reviewed-on: http://gerrit.openafs.org/532 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit efe8258a924903e3c9d7b339349f83861d6be0d1 Author: Simon Wilkinson Date: Mon Sep 28 12:01:54 2009 +0200 Use configured compiler for libuafs on Darwin There's no need to hardcode 'cc' for libuafs builds on Darwin. Let the user specify the compiler to use, in the same way as for the rest of the tree. Reviewed-on: http://gerrit.openafs.org/531 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 6d51ebd6c8d4d5d6ddc42b539be5814e7c468d9c Author: Simon Wilkinson Date: Mon Sep 28 12:07:58 2009 +0200 Add support for warning checked builds This patch adds a '--enable-checking' configuration option. When this option is supplied, and gcc is in use, the compiler will treat any warnings as errors. This will hopefully help stop new warnings from creeping into the tree. In order to still be able to build, all of the currently existing warnings are accepted (these are documented in README.WARNINGS). With this set of warning inhibitions, the tree is known to build on 32bit Leopard - other systems may vary. Warning inhibition may be disabled by supplying --enable-checking=all - in this case the tree will definitely not build! If --enabled-checking is not specified, the existing compilation behaviour is maintained, so there is no user-visible change. Gcc 4.2, or later, is required to use the pragma sets contained within this patch. Again, they are not visible unless --enable-checking is given. Reviewed-on: http://gerrit.openafs.org/526 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 5afd2c34699c60ba247b1de8ec42efbed1c09e39 Author: Derrick Brashear Date: Mon Sep 28 07:54:02 2009 -0400 conditionalize stdint.h inclusion in lwp Irix has no stdint.h; wrap in ifdefs so we don't include when we don't have it. Reviewed-on: http://gerrit.openafs.org/530 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5d3400f4e103a7c4d7027cb809c8a109bf003316 Author: Derrick Brashear Date: Mon Sep 28 07:46:48 2009 -0400 afsmonitor warnings fix again, add missing format strings to *printf to eliminate warnings Reviewed-on: http://gerrit.openafs.org/529 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 9ee76d8a8fe326c64a08aeb0e1785d009b9ffb36 Author: Derrick Brashear Date: Mon Sep 28 06:32:09 2009 -0400 kill cnvldb warnings previously we used fprintf without a format string in some cases. now we don't Reviewed-on: http://gerrit.openafs.org/528 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 3f2dd80697959f5922032f4d4a7c9ef0cfadf35c Author: Hartmut Reuter Date: Fri Sep 11 12:29:45 2009 +0200 Implementation of new dump tag and length standard The implementation follows the specification from October 2007. All old tags are accecpted as before. New tags 0x06-0x60 (capital letters) are followed by a 1 byte length field which may contain directly the length (up to 127) or the length of the then following length field (max 8) ored with 0x80. New tags 0x61-0x77a are directly followed by 4 bytes building a 32bit integer. 0x7b-0xf are single-byte tags, 0x7e meaning next tag is critical. On this basis unknown tags can be skipped unless they were marked critical. In this case the restore is aborted. in dump.h tags following the new standard are marked by an asterisk Last update: added parameter types for HandleUnknownTag. Reviewed-on: http://gerrit.openafs.org/191 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 9a82cdae42512dc6cd55dcc961eec6b1932e707f Author: Simon Wilkinson Date: Mon Sep 28 11:41:52 2009 +0200 Avoid redefinition errors for AFS_NONFSTRANS Some parts of the build provide -DAFS_NONFSTRANS on the command line. This causes an error when the 'param' file redefines it. Fix this by #undef ing the token before defining it. Reviewed-on: http://gerrit.openafs.org/510 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit d7b00d5f19e7dfd7d8ee3d600d0184e4364fa7be Author: Marc Dionne Date: Fri Aug 28 17:03:44 2009 -0400 Use intptr_t and uintptr_t for integer/pointer conversions Use intptr_t and uintptr_t casts to appease the compiler when values are converted between 32-bit integers and pointers. This generates many warnings (currently ~170 on linux amd64) when pointers are 64-bit. These types are normally defined in stdint.h, and get defined by autoconf if that's not the case. In a few places, NULL is simply replaced with 0 where compared with an integer. Reviewed-on: http://gerrit.openafs.org/474 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 01aa7055142936f73919c48468707ee90df73dbd Author: Simon Wilkinson Date: Mon Sep 28 10:43:24 2009 +0200 Make butc logging use va_args Change the logging functions in butc so that they use va_args. This means that we can prototype the logging functions, and kill a bunch more compiler warnings. Reviewed-on: http://gerrit.openafs.org/509 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit a53732ef5f425706abc1c5e511df23cecb2f6113 Author: Simon Wilkinson Date: Sat Sep 26 18:11:53 2009 +0100 Miscellaneous warning cleanup Assorted warning cleanup, that it didn't seem to make sense having one patch per file for. This patch - Adds some casting for syscall pointers - ANSIfies SRXAFSCB_GetDE in fsprobe - Loads sys/ioctl.h on some more platforms in usd - Includes some missing header files - Removes unused variables - Makes it clear that VIsSalvager does handle all enumerated types - Adds some more prototypes Reviewed-on: http://gerrit.openafs.org/508 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 6dcf37d8109a31ec1b95438a70e485a66fede848 Author: Simon Wilkinson Date: Sat Sep 26 18:04:06 2009 +0100 Remove some more warnings from rx The mtu variable in InitPeerParams is in the wrong place. It's only required when the (never used) AFS_USERSPACE_IP_ADDR code is enabled. Move the variable to the appropriate location, and indent the if and endif directives in this section to try to make it clearer what the control flow is (my brain hurt) Remove the unused rx_pthread_n_event_wakeups variable ANSIfy rxi_syscall - we can't prototype it yet, sadly. Reviewed-on: http://gerrit.openafs.org/503 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 9d42c45e6513ebfa405ecd1d5404f753a0b2045b Author: Simon Wilkinson Date: Sat Sep 26 22:12:11 2009 +0100 Warning fixes for afs_fetchstore The recent afs_fetchstore refactoring added a load of warnings. Remove them. Reviewed-on: http://gerrit.openafs.org/502 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 4c1c92c0bdd2b62845187c19a5f5821fe08cf47b Author: Simon Wilkinson Date: Sat Sep 26 17:34:48 2009 +0100 Fix signed/unsigned warnings in XDR Our xdr routines use the same native functions to read signed, and unsigned integers from the wire. This leads to compiler warnings when the unsigned versions of these functions are called. This patch always casts to (afs_int32 *) when calling PUT_INT32 and GET_INT32, to resolve these warnings Reviewed-on: http://gerrit.openafs.org/507 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 4bbc4a5a1dc3c07ac130e9afdfab03ac5a245a16 Author: Simon Wilkinson Date: Sat Sep 26 17:50:04 2009 +0100 Tidy up unlog Remove warnings from the unlog code - Prototype internal functions, and make them static - Define variables appropriately - Remove uneccesary local function defintions Reviewed-on: http://gerrit.openafs.org/505 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ace95ffa63f718c15a3ef362482c030e1f69186f Author: Simon Wilkinson Date: Sat Sep 26 17:52:57 2009 +0100 Remove warnings in the update client and server rx_Read and rx_Write take a datablock which is a char *, rather than a void *. Cast appropriately. Reviewed-on: http://gerrit.openafs.org/506 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit fabe41d6443586778cd992ad0aa8fad41b130114 Author: Simon Wilkinson Date: Sat Sep 26 17:56:48 2009 +0100 Squish some warnings in ubik/ Remove some more warnings from the ubik/ directory - Remove a dangling else case from an if statement - Prototype ubik_dprint_25 - Don't do (a || b()) - it's horrible, and causes warnings! Replace with if (!a) b(); Reviewed-on: http://gerrit.openafs.org/504 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e14e5aa0cfba456eee9252c47294d863e935f67b Author: Simon Wilkinson Date: Sat Sep 26 20:54:06 2009 +0100 Relax compiler specification on Darwin 9 and 10 Commit 1992b702f64f561c75cc74d4645bb0e1afeec6bd made it possible to relax the compiler choice on a per architecture basis. That commit allowed the user to specify their compiler of choice on all Linux systems, but hardcoded 'cc' everywhere else. This patch permits Darwin 9 and 10 users to also override the default compiler for user space builds. Reviewed-on: http://gerrit.openafs.org/501 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 291d31e55f64992d8d529522f3479e5ffe5fd607 Author: Marc Dionne Date: Sat Sep 26 09:32:46 2009 -0400 fetchOps: fix more() prototype Adjust the prototype in the fetchOps structure to match the recent change to rxfs_fetchMore(). Reviewed-on: http://gerrit.openafs.org/499 Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 529d487d65d8561f5d0a43a4dc71f72b86efd975 Author: Derrick Brashear Date: Fri Sep 25 03:15:40 2009 -0400 viced cap fetchdata len to avoid negative when trying to read from a short or zero length file, it's possible for sanity checking to knock the length below zero. set a floor at zero. Reviewed-on: http://gerrit.openafs.org/494 Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit bc6559d62c21ee046c4082aba282097a8c1de9ac Author: Simon Wilkinson Date: Sat Sep 26 10:06:27 2009 +0100 Attempt to fix CForeign moredata behaviour The fetchstore patches changed the behaviour of the multiple chunk handling that's used in FetchData when the vnode's CForeign bit is set. In the original code, the data would be read as (length, payload) chunks. The new code does (length, length, payload), which corrupts the incoming data. This patch restores the original control flow. Reviewed-on: http://gerrit.openafs.org/498 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5d765426e597c60228e66bddaa21bf2453c74a85 Author: Derrick Brashear Date: Fri Sep 25 05:19:33 2009 -0400 h_GetHost_r cleanup cases avoid potentially leaking a cb_in or a capabilities blob; use a common exit function and free when these were left set. Reviewed-on: http://gerrit.openafs.org/496 Tested-by: Alistair Ferguson Reviewed-by: Alistair Ferguson Reviewed-by: Jeffrey Altman commit ce9da0d76c53127e7f2f2142832602b52dd78f10 Author: Claudio Bisegni Date: Thu Sep 24 19:03:28 2009 +0200 AFSPreference Pane, has changed the content of launchd xml control file for AFSBackgrounder has been used Program instead of ProgramArgument Reviewed-on: http://gerrit.openafs.org/495 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f6f9ee5402f1718f330a00ec89fb34b05c3cd360 Author: Simon Wilkinson Date: Fri Sep 25 00:27:40 2009 +0100 Fix CacheFetchProc in cases where the fileserver hates us In some situations, the fileserver returns a large negative number as the length in an FetchData64 call. The old FetchProc code used an int32 to hold this number, and checked length > 0 before attempting to read more data. The new code uses a uint32, and does while (length), which causes the cache manage to loop until RX aborts the connection. This patch restores the old behaviour. length becomes a signed int once more (and the original 32 bit length from the wire is used, rather than truncating the 64 bit value), and the conditional checks for > 0. Reviewed-on: http://gerrit.openafs.org/493 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 29ee678f3ab051a27cae46b02a0d42e0958a6bc8 Author: Andrew Deason Date: Mon Sep 21 12:48:30 2009 -0500 Unlink correct files in salvager Fallout from 0ac956b3384842b3c60e72bde78a4baf58a5877f; a couple of unlink() calls were not updated to use the absolute path. Update them, and log errors from unlink(), since otherwise it is difficult to tell that anything is going wrong. Reviewed-on: http://gerrit.openafs.org/479 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 07b1dc861bee97c44507f437685d7f8c3d094807 Author: Andrew Deason Date: Tue Sep 22 16:59:34 2009 -0500 Solaris: Default to fs_pathconf in afs_pathconf Instead of returning EINVAL in afs_pathconf when we don't recognize the pathconf command, return the result of fs_pathconf. fs_pathconf provides sensible defaults or correctly represents a filesystem not implementing a particular pathconf cmd; all in-tree (Open)Solaris filesystems call fs_pathconf for unimplemented commands. Returning EINVAL allegedly represents that the fileystem does not support pathconf at all. Also, account for OpenSolaris adding another parameter to pathconf-related calls. Reviewed-on: http://gerrit.openafs.org/488 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b56a794f8d77987df07d2efcb8af5f9d63f6e678 Author: Simon Wilkinson Date: Wed Sep 23 18:18:34 2009 +0100 Refactor the cache bypass determination code The code which determines whether the cache can be bypassed occurs in multiple locations in this file. Make a single static inline function that can do this, and use it. Reviewed-on: http://gerrit.openafs.org/489 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 3567441f92349bb21bb42405ecf6ada4844551e5 Author: Andrew Deason Date: Tue Sep 22 17:36:38 2009 -0500 Remove one more AFS_UCRED struct After 8a8244dd351f865af2da3b5ebb746ba57723b6a9, AFS_UCRED is no longer assumed to be a struct. Fix one instance that still declares it as a struct. Reviewed-on: http://gerrit.openafs.org/487 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 7edc6694e7632c9736bd1516935604a638165313 Author: Simon Wilkinson Date: Tue Sep 22 17:18:34 2009 +0100 Whitespace cleanup (sorry) The cache bypass code changed the indentation of afs_linux_readpage so that pullups from 1.4 no longer works. This patch simply restores the original (correct) indentation. Sorry for a whitespace change, but this will make things much easier going forwards. Reviewed-on: http://gerrit.openafs.org/486 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f3c3e4da18519571ef3a8a868297510ed4e132a3 Author: Derrick Brashear Date: Tue Sep 22 04:51:15 2009 -0400 DAFS protocol state diagrams update DAFS protocol state diagrams FIXES 124990 Reviewed-on: http://gerrit.openafs.org/485 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 40b18318e4a04a323dbdd9e3c4a73d3b2e92104d Author: Andrew Deason Date: Mon Sep 21 16:57:01 2009 -0500 Implement _PC_FILESIZEBITS for solaris pathconf Using recent NFS clients and servers with the translator under Solaris causes AFS to be queried for the _PC_FILESIZEBITS pathconf value. Right now we don't implement it and return EINVAL, causing at least some modern NFS clients to be unable to mount AFS via the translator on at least some modern NFS servers. So, return _PC_FILESIZEBITS as either 32 or 64, depending on whether we are a 64-bit client or not. Reviewed-on: http://gerrit.openafs.org/481 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b7ae31a7484b609cd22d029fd753798001f72864 Author: Andrew Deason Date: Mon Sep 21 14:28:29 2009 -0500 Avoid salvager vol header read assert When we read the volume header in order to write it back with a modified inUse while salvaging, we were aborting if we couldn't read the header. Since we can fail to read the header data if the volume header file isn't associated with any data (and will be deleted by the salvager), don't abort. Do still abort if we can't write the data back, since if the data can be read but not written, other programs may think that the volume is not being salvaged. Reviewed-on: http://gerrit.openafs.org/480 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 759c756b0fa51b774e3894d5f9a5029955232612 Author: Andrew Deason Date: Mon Sep 21 11:09:56 2009 -0500 DAFS: Put back volumes we get in FSSYNC handlers fssync-server.c has a few issues with not properly VPutVolume_r'ing volumes that were VGetVolume_r'd. The most important of these was that the handler for FSYNC_VOL_MOVE can put back a volume it did not get, when DAFS is enabled. Fix that, and another erroneous edge case in the FSYNC_VOL_QUERY_HDR handler when DAFS is not enabled. Reviewed-on: http://gerrit.openafs.org/477 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 1542d943df24de94e4b61e0303db542f0e2c982d Author: Derrick Brashear Date: Mon Sep 21 12:33:37 2009 -0400 make 1.5.64 for unix update version strings to 1.5.64 Reviewed-on: http://gerrit.openafs.org/478 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e646a3e4dc62aaccebb81dada9d6d744ac19354f Author: Felix Frank Date: Sun Sep 20 14:43:34 2009 +0200 Use the padd op. When the padd operation was added, the change that makes actual use of it got lost somewhere along the line. Fixed now. Originally introduction of the padd op: 6220ede6a96d06c53eddd848435764cff96be1b4 Reviewed-on: http://gerrit.openafs.org/471 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 4fd7101577613bbafcf4488f3d82dd03642b01c0 Author: Jeffrey Altman Date: Mon Sep 21 17:11:25 2009 +0100 Windows version number 1.5.64 Reviewed-on: http://gerrit.openafs.org/476 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 91d9ca106def5cde2b75e2b03ad0111a44551868 Author: Jeffrey Altman Date: Mon Sep 21 17:07:23 2009 +0100 Windows: 1.5.64 updates for Windows Notes LICENSE MIT Reviewed-on: http://gerrit.openafs.org/475 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 10706d8208df865ac0bc89f6d83a5779b9794128 Author: Jeffrey Altman Date: Sun Sep 20 11:06:07 2009 -0400 Windows: uninitialized variable in cm_GetBuffer Initialize code and code1 to zero. Otherwise, a non-zero value on the stack can result in an incorrect error value being passed to cm_Analyze(). LICENSE MIT Reviewed-on: http://gerrit.openafs.org/473 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 65d1d94634c2d31aeecf1c512828a1bcbd93bbe5 Author: Jeffrey Altman Date: Sun Sep 20 11:04:07 2009 -0400 Windows: Protect against null serverp in cm_Analyze If cm_Analyze is called with both 'serverp' and 'connp' set to NULL and an RX error is provided, a null pointer dereference will occur. Test for non-NULL serverp before dereferencing LICENSE MIT Reviewed-on: http://gerrit.openafs.org/472 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 427b27a87fd34035f855ff8b1b9ec3ad618829c8 Author: Jeffrey Altman Date: Sat Sep 19 13:52:32 2009 -0400 Windows: Do not mark server down due to Store / Fetch Data protocol error When performing a StoreData or FetchData operation there are several data validation checks performed to ensure that the lengths of data obtained with rx_Write and rx_Read are consistent with the RXAFS_FetchData and RXAFS_StoreData protocol operations. When an inconsistency is detected the cache manager terminates the call and returns an error to the caller which is passed to cm_Analyze(). The cache manager was returning -1 as the error code which is equivalent to RX_CALL_DEAD which in turn will result in the server being marked down. This commit makes the following changes: . add trace logging to permit monitoring this case . instead of returning -1 return either RX_PROTOCOL_ERROR or RX_EOF depending on the situation . in cm_Analyze do not mark a server as down for rx errors other than RX_CALL_DEAD. Instead, force a new connection and retry until the request timeout limit is reached. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/470 Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 5b5dc4a85bde6e959a0943ac694833784a838164 Author: Jeffrey Altman Date: Mon Sep 14 07:59:54 2009 -0700 Windows: more pioctl output validation Add output validation checks to the Explorer Shell and the Client configuration control panel. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/458 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 72e8bac22201e194242e715a107f3b3cb8a480df Author: Jeffrey Altman Date: Sat Sep 19 04:55:09 2009 -0400 Windows: Use "Name not found" instead of "File not found" When a file cannot be opened because the name of the file or a directory in the path cannot be found, return "Name not found" instead of "File not found". "File not found" is the error returned by the smb redirector to the application when the file cannot be located in the search path. "Name not found" indicates that the entry is not present at the location requested. The use of "File not found" prevented execution of applications from the \\AFS name space on Windows 7. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/469 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 3be5d2ca5f2a1af97502f5fd0f5b25f382b123c4 Author: Jeffrey Altman Date: Fri Sep 18 10:46:07 2009 -0400 Windows: trace logging changes for smb_ReceiveTran2QPathInfo Add new trace log entries in smb_ReceiveTran2QPathInfo to help track down the reason for queries in which the path and tidPath are both the empty string. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/467 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 2c54ae82a49f6df7f7c76d333d3fe00a0b1cff28 Author: Jeffrey Altman Date: Fri Sep 18 10:41:14 2009 -0400 Windows: Improve WKSSRC and SRVSVC compatibility with Windows This commit includes several changes to improve compatibility with Windows (in particular Windows 2000). 1. Specify a Lan Workgroup name. We use "AFS". 2. Ensure that the server name returned does not include leading slash or backslash characters. The name provided might include them but they are not part of the name and cannot be returned. 3. The NetrWkstaGetInfo and NetrServerGetInfo responses must be consistent. Otherwise, the Explorer Shell will get confused and refuse to provide access to the server shares. This commit also includes some minor comment changes. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/466 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 211a23a06fd762478aa2f420b9cc638320857463 Author: Jeffrey Altman Date: Fri Sep 18 10:25:59 2009 -0400 Windows: Trace wkssvc and srvsvc rpc calls Add osi_Log statements identifying which RPCs are being called from the wkssvc and srvsvc modules LICENSE MIT Reviewed-on: http://gerrit.openafs.org/465 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit ccb02bf6eb7395bbb3d66c11b99a576c19d033d4 Author: Jeffrey Altman Date: Fri Sep 18 10:01:10 2009 -0400 Windows: No rand_s on Windows 2000 Even if the rand_s() function is supported by the compiler it is not supported on Windows 2000 because the kernel level functionality it requires does not exist on that platform. Calling rand_s() on Windows 2000 will throw an exception and terminate the service. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/464 Reviewed-by: Derrick Brashear Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 1ba9e95715a5c769580adbbda2ca19aae62eef75 Author: Andrew Deason Date: Fri Sep 18 13:23:46 2009 -0500 DAFS assert correction in GetVolume FSSYNC_VolOpRunningUnknown is a vol op state, not a pointer to a vol op itself. Reviewed-on: http://gerrit.openafs.org/468 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 48589b5d3957c27a5944e23fd770687adc078934 Author: Marc Dionne Date: Mon Sep 14 17:40:23 2009 -0400 Linux: Restore aklog -setpag functionality for kernel 2.6.32+ With kernel 2.6.32 it is now possible for a process to copy its session keyring to its parent through the use of the KEYCTL_SESSION_TO_PARENT function of the keyctl syscall. We can't use this easily from kernel space to cover all calls to VIOCSETTOK with the setpag flag - we'd need to make a syscall or have keyctl exported. Instead, a hook is added to ktc_SetToken to make it honour the AFS_SETTOK_SETPAG flag, which was ineffective with recent kernels. This should cover the most common cases (ex: aklog) where this is needed. The syscall is coded directly to avoid introducing a dependency on the keyutils library or header files which may not be installed everywhere. Reviewed-on: http://gerrit.openafs.org/463 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 1ea845ebc953bb49afc354afe036f7f01cd05db8 Author: Claudio Bisegni Date: Tue Sep 15 09:29:21 2009 +0200 Manage the login in the OSX Fast User Switch mode AFSBackgrounder has been update to get notification for switch in/off in the "Fast User Switch" mode, and in switch in it try to get tokens. Reviewed-on: http://gerrit.openafs.org/460 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 8af8af05f0a87af154f11bc8a7a7ec3f2505291e Author: Simon Wilkinson Date: Mon Sep 14 13:49:22 2009 +0100 Remove unecessary initialisation We already memset av to contain all 0s, therefore we don't need to initialise individual elements to 0 as well. Inspired by Rainer Toebbicke's patch for RT 125355 (which is 1.4.x only) Reviewed-on: http://gerrit.openafs.org/456 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 090b61e9d731d1cc55707fcb9ea6dbc7bc7b5018 Author: Brant Gurganus Date: Sun Sep 13 22:02:10 2009 -0400 Corrects file_CmdRef_1_fs_chgrp_html and file_CmdRef_1_fs_chown_html sharing short names. Reviewed-on: http://gerrit.openafs.org/455 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit bb4a5038d9f8d0585ed39ba3d82d459d7ca5d398 Author: Jeffrey Altman Date: Sun Sep 13 10:32:12 2009 -0400 Add indexing to Windows Release Notes An initial pass at adding indexing to the Windows release notes. The next pass should refine the index terms and add appropriate secondary index values. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/454 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit d190d2400eeef7f736338edea943ba8b93f64c69 Author: Jeffrey Altman Date: Sun Sep 13 01:45:48 2009 -0400 Windows Release Notes XML Reformat the Registry and Environment Values in Appendix A so that they are easier to identify in the table of contents. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/453 Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit a747e934c40040061386d8ca591eba09b9745287 Author: Derrick Brashear Date: Sun Sep 13 01:00:45 2009 -0400 cm fetchstore should dereference unset ops if rxfs_fetchInit fails, ops will not be set; calling the destroy op unconditionally thus leads to a panic. Reviewed-on: http://gerrit.openafs.org/452 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 4b6fafa440fa51652d12d6522769c8f156b7bda1 Author: Derrick Brashear Date: Fri Sep 11 13:26:01 2009 -0400 macos package updates make the readme correct; allow back reving (downgrades) Reviewed-on: http://gerrit.openafs.org/447 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 431b54f642c5c34e260a1b35ecfca17d5e3dcde5 Author: Jeffrey Altman Date: Fri Sep 11 11:44:41 2009 -0400 Windows: Version 1.5.63 Reviewed-on: http://gerrit.openafs.org/445 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit d15ca10da0074bd14a777a0590e7271fe28ecf01 Author: Derrick Brashear Date: Fri Sep 11 13:30:29 2009 -0400 unix 1.5.63 make 1.5.63 for unix Reviewed-on: http://gerrit.openafs.org/448 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 60c44cc6ddf101b8085f242f2c1bf85896563923 Author: Jeffrey Altman Date: Fri Sep 11 11:41:01 2009 -0400 Windows: changelog updates for 1.5.63 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/444 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5b6e5019453952f122523354d0001b04189271a7 Author: Derrick Brashear Date: Tue Sep 8 14:31:09 2009 -0400 make fileserver avoid salvage loop on init failure if the vlserver or prserver setup can't succeed, it doesn't indicate a condition which salvaging is required to fix; instead, come up and retry in the background. Reviewed-on: http://gerrit.openafs.org/428 Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 133fed07384aec910e22b4fd315f86440dff2fb2 Author: Felix Frank Date: Thu Jul 16 08:26:55 2009 +0200 Code beautifications. * get rid of register declarations * remove unused local var InStatus * comment prototypes properly (correct .c file) * save some linebreaks in function headers Reviewed-on: http://gerrit.openafs.org/135 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit bffbc55c220bd28c20856b5d00ed423f878319d8 Author: Felix Frank Date: Mon Jul 13 13:40:26 2009 +0200 More cosmetics. * FetchProc: length loop shorter condition * added fancyspace in FillStore call. * removed unused bsent variable * shortened some conditions * storeDestry: saved the code2 variable. Reviewed-on: http://gerrit.openafs.org/134 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit e99490ffd31edef1a349f06f975949b82707a0ee Author: Felix Frank Date: Mon Jul 13 13:28:41 2009 +0200 Cosmetics in CacheStoreDCaches, CacheStoreVCache and storeInit. * StoreProc: renamed alen to size. * StoreProc: Make connection before do {} * rename fP to tfile. * Declare nchunks later in StoreProc. * Fixed order of storeInit parameters. * storeInit: renamed tlen to length. Reviewed-on: http://gerrit.openafs.org/133 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit d47eb8f21b2782d9441c2ea4d0261c21cb423a19 Author: Felix Frank Date: Mon Jul 13 11:13:21 2009 +0200 Immediately abort call when not able to fetch length (fetchInit). Reviewed-on: http://gerrit.openafs.org/132 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 63abaf515c6f16907fdd9a226797bdc310dd704a Author: Felix Frank Date: Mon Jul 13 10:26:47 2009 +0200 Locking comment in FetchProc Reviewed-on: http://gerrit.openafs.org/131 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 46f7bbb19dbb697e626a20363ff23ad2fe0ee4c0 Author: Andrew Deason Date: Wed Sep 9 09:22:02 2009 -0500 Do not respond to SYNC_COM_CHANNEL_CLOSE requests SYNC clients, when closing a channel, send a SYNC_COM_CHANNEL_CLOSE command, and immediately disconnect before waiting for a response. So, don't send a SYNC response, since by the time we send it, the other end will most likely have already hung up, causing a lot of needless 'SYNC_putRes: write failed' messages whenever a SYNC channel is closed (e.g. when a demand-salvage finishes). Reviewed-on: http://gerrit.openafs.org/434 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit c1c8da78b680964b0259266207b2c07df54b5ef1 Author: Jeffrey Altman Date: Fri Sep 11 11:54:27 2009 -0400 Windows: Handle "(Default)" regsitry value in MountGlobalDrivesThread In MountGlobalDrivesThread(), if the "(Default)" registry value is defined that should be interpreted as a drive mapping to a device with no name. This is specified using NULL instead of the nul-string. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/446 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit bef42619ba3cf7f4b20783942c989e6d96185104 Author: Felix Frank Date: Mon Jul 13 10:08:37 2009 +0200 fetchDestroy can end calls now too. Reviewed-on: http://gerrit.openafs.org/130 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit b961dc1630baf9e6e1171c66430074fc1e7f9ef8 Author: Felix Frank Date: Mon Jul 13 10:06:50 2009 +0200 Included proper 64bit case in fetchClose() and storeClose(). Reviewed-on: http://gerrit.openafs.org/129 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 3898524693e7297e228ded03f34125558f225d58 Author: Derrick Brashear Date: Fri Sep 11 01:59:08 2009 -0400 darwin knet avoid rx socket during shutdown theoretically a user thread can race us during shutdown and end up panicing us if the soclose happens at the wrong time. if we're shutting down just return. using afs_shuttingdown would have the side effect that we'd lose the ability to add any graceful behavior. Reviewed-on: http://gerrit.openafs.org/443 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit cc7938e8ff2a56575122066a8750e881c4d280b0 Author: Felix Frank Date: Mon Jul 13 09:07:17 2009 +0200 Added guard against missing call and moved alength assignment in fetchInit. The returned value of rx_NewCall is important of course and must be taken into account before trying to start RPCs. Do assign the length output variable ASAP. Also fixes an overlong line and the type of the pos local var to unsigned. More style fixes: * Moved length64 to use proper scope, initialized code. * Generally make more tidy Reviewed-on: http://gerrit.openafs.org/128 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 98f9b6ae2bafe69440c090443efb2f71ec15309c Author: Derrick Brashear Date: Fri Sep 11 01:28:49 2009 -0400 des crypt cope with 64 bit longs we test for them in configure; instead of hardcoding it in yet another place, use the information we have Reviewed-on: http://gerrit.openafs.org/442 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e24d64f2a696eb85b44fb471326f6dbb525d60a0 Author: Jeffrey Altman Date: Fri Sep 11 00:35:04 2009 -0400 Windows: Add pioctl data output validation to fs and symlink command line tools pioctl data buffer output was not being validated to ensure that buffers were not overwritten or accessed beyond their limits. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/441 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit fdea6a3418315cd7b88219778118857fd32e9da6 Author: Russ Allbery Date: Thu Sep 10 11:02:46 2009 -0700 Windows: update build system for restorevol man page move restorevol moved from section 8 to section 1. The Windows build system needed corresponding changes. Reviewed-on: http://gerrit.openafs.org/440 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit d96ec9ec031d0d15d1cfe3b86e58c12c4c267c00 Author: Russ Allbery Date: Fri Aug 21 18:59:01 2009 -0700 Stop using sig_t acinclude.m4 was adding to afsconfig.h some code to define sig_t as the type of a signal handler. This definition was in terms of RETSIGTYPE, which is deprecated by Autoconf. It also adds an unnecessary abstraction for only two places in the AFS source code where it was used. Remove it and change those two spots to use the standard C declaration of the function pointer. Reviewed-on: http://gerrit.openafs.org/335 Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear commit d6df1a8cec39edf7c0d2598921c735ac6aca70d7 Author: Russ Allbery Date: Fri Aug 21 18:12:39 2009 -0700 Move restorevol to bin from sbin restorevol only requires access to a dump file and write access to the directory in which the dump is being unpacked. It doesn't require being a superuser, so it should be installed in bin instead of sbin. Also move the man page to section 1 and update references accordingly. Reviewed-on: http://gerrit.openafs.org/333 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit c46689c05ffd56299a12f9883645e8fcf50fa29a Author: Derrick Brashear Date: Tue Sep 1 11:18:19 2009 -0400 redhat spec dkms don't strip modules provide a debug module which is unstripped. this is necessary for debugging problems. Reviewed-on: http://gerrit.openafs.org/391 Reviewed-by: Russ Allbery Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 96a176ed5872f54402e1625f6e67ce2979e48875 Author: Derrick Brashear Date: Thu Aug 13 10:05:44 2009 -0400 make salvager able to cope with corrupt class index right now if a directory ends up in the small vnode index, the salvager will never fix it. unlinking from the index (and recovering an orphan later) beats crashing forever Reviewed-on: http://gerrit.openafs.org/309 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 754a4b628a14657db2e00931926311a1c703558b Author: Derrick Brashear Date: Wed Sep 9 18:49:29 2009 -0400 macos panic decoder should handle 64 bit kernel in 32 bit mode panic from 64 bit should be decodable in 32 bit mode. make it so. add -k switch to allow a path to a kernel to be specified. Reviewed-on: http://gerrit.openafs.org/438 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 392e3dab970c998af63ddb43665655e0f3815c45 Author: Marc Dionne Date: Wed Sep 9 19:00:49 2009 -0400 Avoid __USE_XOPEN redefinition Only define __USE_XOPEN if not already defined. This eliminates a few build warnings where __USE_XOPEN is already defined in system header files. Reviewed-on: http://gerrit.openafs.org/439 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 12a7afa6481e8e4a9c0ef8115eaf328dc7af3029 Author: Marc Dionne Date: Wed Sep 9 18:39:24 2009 -0400 Remove extraneous + character in src/volser/common.c Remove an unneeded extra + character at the end of line - probably from a typing accident. This generates a warning at compile time. Reviewed-on: http://gerrit.openafs.org/437 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f041bd25343f40986c035ed6c0a087709ed64bc4 Author: Felix Frank Date: Mon Jul 13 08:54:23 2009 +0200 Cosmetics: Rename some variables, fix types. * Replaced tsize by new local var llbytes in rxfs_storeInit. * Make int32 lengths unsigned in rxfs_storeInit. * Renamed lengthFound to length64. * renamed abase to base. Reviewed-on: http://gerrit.openafs.org/127 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 23143230e68516c89f3acf76999223dad4af612f Author: Christof Hanke Date: Wed Sep 9 16:21:44 2009 +0200 Moved CForeign check to rxfs_storeInit/storeMore. This is rxfs-specific, so move it out of CacheStoreProc. It must be done before entering the do { } while (moredata) loop proper now, as rxfs_fetchMore is never called during the first iteration (moredata is always 0), but the length may need fixing (note that this was done after what is now the fetchMore op originally). Thus it appears in rxfs_fetchInit. To prevent a bogus call during the first loop iteration, also check for length!=0. Finally, don't bother with fetchMore at all unless CForeign is set. In rxfs_fetchInit, we added an additional check for length_hi being zero. uploade patchset 8. Reviewed-on: http://gerrit.openafs.org/126 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 01fae602425b91647b54888c82450091d4c89714 Author: Jeffrey Altman Date: Tue Sep 8 16:36:32 2009 -0400 Windows: Use secure ctime and strncpy in afs_ctime Microsoft compilers version 1400 and above provide secure versions of ctime and strncpy. Use them in afs_ctime. Correction to sha1:359c64bb674ea0606e64b91fd8252297310a9862 Thanks to Andrew Deason for identifing the mistake. Reviewed-on: http://gerrit.openafs.org/429 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 5d1efd3cd86f12d6be073e9b8103f16bf33d8bab Author: Jeffrey Altman Date: Tue Sep 8 16:43:01 2009 -0400 Windows: secure rand() rand_s() is available on Visual Studio 2005 and above (aka 1400 and above) LICENSE MIT Reviewed-on: http://gerrit.openafs.org/430 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 0f7efd94fa12cf82efe6c31ee33d9b3ca51666e1 Author: Jeffrey Altman Date: Sun Sep 6 15:10:56 2009 -0400 Windows: Add data validation to ktc_xxxx functions that perform pioctls The ktc_GetToken and ktc_ListTokens functions perform a pioctl and then parse the response data. There is no validation that the data required is not longer than the pioctl output or that the data received fits into the data structures that are being written. As a result, random crashes have occurred when the wrong data has been received from the pioctl. This commit adds data validation to at least ensure that these functions cannot read beyond the data provided or write beyond the allocated memory. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/405 Reviewed-by: Derrick Brashear Reviewed-by: Asanka Herath Tested-by: Asanka Herath Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit f7085c38e15db15e2795ff33e9b54977e703a097 Author: Marc Dionne Date: Tue Sep 8 17:58:41 2009 -0400 build fix: ubik_client is a struct Fix a build failure - ubik_client is a struct and not a type Reviewed-on: http://gerrit.openafs.org/431 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 359c64bb674ea0606e64b91fd8252297310a9862 Author: Jeffrey Altman Date: Sun Sep 6 18:47:54 2009 -0400 Windows: Use secure ctime and strncpy in afs_ctime Microsoft compilers version 1500 and above provide secure versions of ctime and strncpy. Use them in afs_ctime. Reviewed-on: http://gerrit.openafs.org/408 Reviewed-by: Derrick Brashear Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Derrick Brashear Reviewed-by: Jeffrey Altman commit 1992b702f64f561c75cc74d4645bb0e1afeec6bd Author: Russ Allbery Date: Sat Aug 22 00:31:22 2009 -0700 Only force a specific compiler where necessary Rather than setting the compiler to cc on all platforms by default, use the Autoconf default unless the specific compiler might matter. Conservatively set the compiler to cc for all non-Linux, non-BSD operating systems that previously didn't explicitly set it. Fix a few places on Linux where the compiler was set to gcc explicitly rather than using the Autoconf result. Don't bother setting the Linux i386 compiler to gcc -pipe. The compile performance difference isn't enough to bother with the special exception, and we don't do this for other Linux systems. With this change, setting CC at Autoconf time will correctly set the compiler per the user's preferences unless they're on an operating system where we care about having a particular compiler for kernel purposes. This can be relaxed further in the future, particularly if the kernel compiler is broken out to a separate setting. Reviewed-on: http://gerrit.openafs.org/337 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 950b96f290d0874e5a8e6d8bc693d4d03a3e88f2 Author: Russ Allbery Date: Fri Aug 21 19:11:58 2009 -0700 Remove old disabled code to support truncated passwords ka_UserAuthenticateGeneral had code disabled with #ifdef OLDCRUFT to retry failed authentications by truncating the password to eight characters, with a comment that the truncating behavior of kpasswd was disabled in 1990. Nothing references this preprocessor define in the source tree. Delete the dead code. Reviewed-on: http://gerrit.openafs.org/336 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 7e91d071f007c3be74dce800c38b0ac980465df0 Author: Jeffrey Altman Date: Sun Sep 6 15:25:42 2009 -0400 Windows: Prevent pioctl races from crashing afsd_service The SMB redirector will permit two processes to open the pioctl file at the same time without giving SMB server an opportunity to say 'no'. As a result multiple reads and writes on the allocated smb_fid->ioctl can play havoc with the pioctl state. Since afsd_service doesn't know the writes and reads are coming from separate requests there is nothing it can do to prevent incorrect data going to the wrong process. However, it can (and should) protect itself when the state becomes invalid. Two prevention methods are applied: 1. add an additional state flag that explicitly indicates when the ioctl is in the dataout state 2. validate the length of data in the ioctl input or output buffers before copying it. If the length becomes negative, return a CM_ERROR_INVAL error. In addition, when the invalid state results in a failure to to find a matching pioctl function do not return CM_ERROR_BADOP. CM_ERROR_BADOP can only be returned if the SMB operation is not supported. Returning it in response to a ReadFile request will cause the SMB client to drop the connection. Finally, fix smb_FindFID to prevent the same 'fid' from being used for more than one open file. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/407 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 96ebb6df31ad300680d4a1dd7d04a714f54a22b5 Author: Jeffrey Altman Date: Sun Sep 6 15:20:58 2009 -0400 Windows: Fake scache not completely initialized The fake scache object used for pioctl operations was not fully initialized. The magic value, data version, and several locks were not initialized. Do so. Since the fid of the fake scache object is 0.0.0.0 remove the assert in cm_GetSCache for cell != 0. Instead simply return CM_ERROR_INVAL. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/406 Reviewed-by: Asanka Herath Tested-by: Asanka Herath Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 132268042d1992d39614e72d67957b2b10ebfba6 Author: Jeffrey Altman Date: Sun Sep 6 14:45:42 2009 -0400 Windows: Prevent simultaneous pioctls The Windows pioctl implementation makes an incorrect assumption. It is not true that every CreateFile() operation results in a SMB NTCreateX operation being delivered to SMB Server. The SMB client can combine open requests from multiple processes or threads onto a single SMB file descriptor and locally manage the operations. This is a problem for pioctls since the Transceive operation requires that a WriteFile/ReadFile combination must belong to the same request. Prior to this change simultaneous pioctl operations would be combined and the individual reads and writes could overlap resulting in responses going to the wrong requestor and end of file errors being received by the others. Due to lack of data validation in fs.c, ktc_nt.c, symlink.c, etc random crashes are produced. This change alters the sharing mode under which the pioctl file is opened. Instead of FILE_SHARE_READ | FILE_SHARE_WRITE, only FILE_SHARE_READ is specified to CreateFile(). This ensures that the CreateFile will fail with a sharing violation if the pioctl file was previously opened for writing. A sharing violation check is provided and the CreateFile is retried indefinitely until the open succeeds or the error is not a sharing violation. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/404 Reviewed-by: Derrick Brashear Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 60caadec3a7d6ef64744be8533205ecfa0ff4179 Author: Jeffrey Altman Date: Sat Sep 5 09:44:11 2009 -0400 Windows: smb_FindShareCSCPolicy uses invalid registry key smb_FindShareCSCPolicy() ignored the error state of RegCreateKeyEx() and would pass the uninitialized hkCSCPolicy to RegQueryValueEx() and RegCloseKey(). While this did not produce invalid results, it did result in unnecessary operations and exception handling within the Win32 registry apis. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/402 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 5aced2e8d68e109145893a508ff61437d31a6de9 Author: Jeffrey Altman Date: Sat Aug 29 14:16:45 2009 -0400 Correct nvldbentry and vldbentry misuse in uss/uss_vol.c The uss module relies on MapNetworkToHost / MapHostToNetwork from src/volser. These functions convert a struct nvldbentry and not a struct vldbentry. When src/volser was converted to struct nvldbentry src/uss must have been forgotten. In uss_vol.c convert GetServerAndPart() to accept a nvldbentry instead of a vldbentry. Add two static functions: * ovlentry_to_nvlentry() to convert from vldbentry to nvldbentry if required * uss_vol_GetEntryByID() which first attempts to use ubik_VL_GetEntryByIDN() and if that is not supported falls back to ubik_VL_GetEntryByID() and ovlentry_to_nvlentry(). LICENSE MIT FIXES 125101 Reviewed-on: http://gerrit.openafs.org/377 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 0ee69d5b9a64a96c5c217d523ba23371d41cb85d Author: Derrick Brashear Date: Mon Sep 7 22:29:54 2009 -0400 fetchstore nocall argument breaks non-64bit clients a label before the end of a loop breaks, which is the case when AFS_64BIT_CLIENT's not defined (e.g. UKERNEL). fix it. Reviewed-on: http://gerrit.openafs.org/410 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 8a8244dd351f865af2da3b5ebb746ba57723b6a9 Author: matt@linuxbox.com Date: Thu Sep 3 10:15:18 2009 -0400 Remove struct from AFS_UCRED instantiations (opaque credential type support) The identifier AFS_UCRED is intended as a preprocessor alias to a possibly-opaque credential type. A platform header will normally rename AFS_UCRED to a platform credential type with #define. This is not intended to change the meaning of AFS_UCRED, but removes the assumption that it is a struct type, which may not be true, depending on the platform and other decisions made by the AFS client port. Reviewed-on: http://gerrit.openafs.org/397 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 3de3cb03c2c7a23bfb092f51a7715c73ef38b9bd Author: Jeffrey Altman Date: Fri Sep 4 23:22:12 2009 -0400 Windows: Log RXKAD errors in cm_Analyze RXKAD errors were not logged at the point where the errors were handled. As a result they were never logged. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/400 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit edccb905d4753fa5412e3212e8626e8437cbecfb Author: Jeffrey Altman Date: Fri Sep 4 23:23:10 2009 -0400 Windows: Explorer Shell Invalid Parameter Errors The attempt to follow the smb protocol specification by returning extended responses to NTCreateAndX requests (when specified) resulted in random "invalid parameter" errors from the Explorer Shell (and common control dialogs) on Vista SP2. As a result we won't send the extended responses. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/399 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit a43c893d498effd1165bfe78179934194c34b448 Author: Jeffrey Altman Date: Fri Sep 4 23:13:52 2009 -0400 Windows: Freelance get callback sync and uninitialized variables In cm_GetCallback the Freelance mode case did not properly synchronize attempts to fake obtain a callback. cm_GetCallback also failed to initialize the contents of afsStatus and volSync which are used as input to cm_MergeStatus. cm_MergeStatus special cased the freelance root.afs volume root directory but failed to handle any other freelance volume objects. As a result it used the contents of the uninitialzed input structures to populate the status of the object for which the callback was obtained. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/401 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit ad1e9c7084e99a67ee7a61c255a6059ebc9190c3 Author: Derrick Brashear Date: Tue Sep 1 13:00:00 2009 -0400 make afsd partition size check be large partition safe right now the math overflows the 32 bit type for >2tb partitions. use larger variables to avoid this. Reviewed-on: http://gerrit.openafs.org/392 Reviewed-by: Matt Benjamin Reviewed-by: Andrew Deason Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5d9c767ac55b2d1b8f5b87dc9ced63e282af7bac Author: Andrew Deason Date: Mon Aug 31 11:10:10 2009 -0500 Update accessDate on volume access Right now accessDate is simply never updated, so the last access time for a volume is never reported. Simply update the field in VBumpVolumeUsage_r, so we track the last time the volume was accessed. Note that this does not increase disk writes to the volume header; the performance impact is effectively nil. Reviewed-on: http://gerrit.openafs.org/385 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 24ddc90e5dd3e8847d314adf9858b67b47ed7854 Author: matt@linuxbox.com Date: Fri Aug 28 11:54:41 2009 -0400 Add tracing to MCAS allocator and GC Adds conditional trace logging to MCAS object cache and supporting GC, using ViceLog. While in future this should be normalized, it is correct for both fileserver and volserver, the two programs using MCAS currently. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/374 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit fb79d6e1f0bcef0602df7bb4ec961955c2f06563 Author: Jason Edgecombe Date: Sun Aug 30 18:26:10 2009 -0400 Updated Chapter 2, Section 3.4 of the Admin Guide Added a bullet point explaining the use of a Kerberos cross-realm trust and PTS foreign groups to give foreign users access. Replaced a reference to Authentication Database with Kerberos Database. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/381 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 880664bd0df8380b77cefe80379170c9c183442c Author: Jeffrey Altman Date: Wed Sep 2 22:49:40 2009 -0400 Windows: The unnamed stream is a synonym Treat a file request for "name::$DATA" as if it were specified as "name". Otherwise, the inclusion of the colon in the file name will cause it to be treated as invalid. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/395 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit ae7ef5f5b963a5c8ce4110a7352e0010cb6cdbc1 Author: Jeffrey Altman Date: Wed Sep 2 22:54:17 2009 -0400 Windows: rx_Write failures must be processed The error code returned by rx_Write takes precedence under all circumstances over the error returned by EndRXAFS_StoreData. cm_ReleaseBIOD must apply the error code to all buffers in the BIOD list. cm_ReleaseBIOD accepts an error code, not a boolean indicating failure. Fix a related signed/unsigned error. FIXES 125351 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/396 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit baa883aa6b878abe808d302d14142f702dfb9cca Author: Jeffrey Altman Date: Wed Sep 2 22:44:33 2009 -0400 Windows: avoid inappropriate dns searches Do not perform searches for cells if the string prefix matches _._AFS_IOCTL_._. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/394 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit d352ca1df447c489b46f45edfbf633ca39d56fd4 Author: Jason Edgecombe Date: Sun Aug 30 17:54:16 2009 -0400 Updated Chapter 2, Section 3.2 of the Admin Guide Removed the reference to the Authentication Server and added a reference to the Kerberos Server and Kerberos 5 authentication for foreign clients. Replaced AFS Product Support with the AFS registrar as the maintainer of the public CellServDB file. A link was added to grand.central.org for getting the latest copy of the file and submitting changes for the local site. Reviewed-on: http://gerrit.openafs.org/379 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit e86cb488b3d28eea7d2a1780d578fcfee67d8e3b Author: Andrew Deason Date: Wed Sep 2 11:50:06 2009 -0500 SALVSYNC_com initialization typo The size of sres_hdr is sizeof(sres_hdr), not sizeof(sres). Reviewed-on: http://gerrit.openafs.org/393 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5dd137c474cc5ffc877bb0655220ad4b2503ed10 Author: Russ Allbery Date: Fri Jul 24 13:18:31 2009 -0700 Turn on --enable-bos-new-config unconditionally Remove the conditional and Autoconf flag for enabling BosConfig.new handling and change bosserver to always rename BosConfig.new to BosConfig on startup if the former exists. Document BosConfig.new handling in the bosserver and BosConfig man pages. Tone down the warning about the BosConfig file format changing and warn that bosserver rewrites BosConfig when shutting down. Reviewed-on: http://gerrit.openafs.org/211 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 64bad257d66b7d70ebdb62a10217818730e2e0a6 Author: Andrew Deason Date: Wed Jul 29 11:56:34 2009 -0400 DAFS: avoid shutdown hang during salvage Right now, when the fileserver shuts down, it tries to cancel any demand-salvages in progress. This causes the fileserver to hang, since during shutdown, the salvageserver may already be gone. This avoids cancelling in-progress salvages, and allows salvages to continue after the fileserver has shut down. To do this, the salvageserver now closes SALVSYNC sockets in spawned children, so the children don't get SALVSYNC requests directed at them, since they can't handle them. The salvageserver also now periodically scans for logs of salvaging children that have terminated, and incorporates them into SalsrvLog, just like it does for it's own children. The salvageserver children that actually perform salvages now also set the inUse volume header field to their programType, so the fileserver knows not to schedule new salvages for that volume in the event of a fileserver restart during a salvage. FIXES 124486 Reviewed-on: http://gerrit.openafs.org/279 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 5fd700d1fda856b0e16588cef0e54bc37498d375 Author: Christof Hanke Date: Tue Sep 1 14:33:53 2009 +0200 Uploaded patchset 9. Sorry for the mess. Reviewed-on: http://gerrit.openafs.org/125 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 04aecc99e073b07fe781d65c5c274acee14d8d26 Author: Andrew Deason Date: Thu Aug 27 12:43:03 2009 -0500 Fix cache tracking for small fragsizes The tracked amount of disk cache used by a client can be incorrect when afs_fsfragsize is tuned to below 1023. Since we round up to the next nearest afs_fsfragsize+1 then round down to the kb, if afs_fsfragsize+1 < 1kb, we can undershoot the cache usage. This enforces afs_fsfragsize to always be at least 1023. Reviewed-on: http://gerrit.openafs.org/338 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 67bcc19c754e7bfd55d098e9fe17723340c275ba Author: Jason Edgecombe Date: Sun Aug 30 18:13:06 2009 -0400 Updated Chapter 2, Section 3.3 of the Admin Guide Added text about Freelance Mode and Dynamric Root Mode and the changes they cause when dealing with mounts to foreign cells in /afs and \\AFS Reviewed-on: http://gerrit.openafs.org/380 Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 3e28e72e409550f398d006b7e1fa073bd23e1cfd Author: Christof Hanke Date: Mon Aug 31 15:39:02 2009 +0200 Remove unnecessary type ViceFid The type "ViceFid" is just a clone of the type AFSFid and used only in a couple of places. Thus, for simplicity, rename all occurences of ViceFid to AFSFid and remove the typedef itself. Reviewed-on: http://gerrit.openafs.org/383 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ac1e6fa1a6f3287e2862e6ea6f4dafea0c92e8cb Author: Jeffrey Altman Date: Mon Aug 31 20:10:13 2009 -0400 Windows: Permit cygwin apps to read from AFS again For some reason specifying a unique GUID for each open file based on the cm_fid results in cygwin apps being unable to read from AFS. ReadFile() calls fail with Invalid Device Request errors instead. While fixing that issue discovered that not all of the data was properly set for QueryPathInfoAll operations. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/388 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit c0e1cc0762eb7e49d72fdfecda168e72db55c3e8 Author: Jeffrey Altman Date: Mon Aug 31 20:08:53 2009 -0400 Windows: uninitialized variable Ensure that the index variable used to walk the fid history of the current evaluated path is always initialized. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/389 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 95df1a47d1e40eb9d007853c99826432e7ac4016 Author: Jeffrey Altman Date: Mon Aug 31 20:06:27 2009 -0400 Windows: integrated logon The previous fix prevented a null pointer dereference but forgot to set 'effDomain' to the domain specified by the caller if it exists and is not the local machine name. LICENSE MIT FIXES 125325 Reviewed-on: http://gerrit.openafs.org/390 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit e31f3f68b0a28a9fe0c95aa44828844426a557e2 Author: Matt Benjamin Date: Mon Aug 31 08:57:55 2009 -0400 Make catalog file destdir when not transarc paths The appropriate mkdir -p was missing for this case, the patch adds it. Reviewed-on: http://gerrit.openafs.org/387 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 616ab5c9ec624fc1f852e8188b800e32a9ebe74e Author: Matt Benjamin Date: Mon Aug 31 06:16:27 2009 -0400 Remove AFS_KERBEROS_ENV in NetBSD 30, 40 param files This creates dependency on ktc_newpag, which has been determined to be obsolete. Reviewed-on: http://gerrit.openafs.org/384 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 49d893eff3bf5933bd4a6c62c5576d30bcda56d9 Author: Matt Benjamin Date: Sun Aug 30 13:30:18 2009 -0400 Build shared afsauthent and afsrpc on *BSD This seems to be a required step, going forward. Omitting breaks pam, for example. Reviewed-on: http://gerrit.openafs.org/382 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit dffd78ccb013cbda907d5c266137de94814d9c00 Author: Claudio Bisegni Date: Fri Aug 28 21:16:52 2009 +0200 Fixed the tokens update and update .gitignore for MacOSX packaging file Fixed the tokens update on preference pane if operation is made with NSStatusItem. Has been updated the src/packaging/MacOS/.gitingore for CellServDB file and src/libafs/.gitignore has been added afs.x86_darwin_100.plist. Reviewed-on: http://gerrit.openafs.org/372 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 85408141403cc18a954877dd682022063203f4c8 Author: Michael Meffie Date: Fri Aug 28 11:40:01 2009 -0400 doc: typo fix in asetkey man page example Fixed a typo in the asetkey man page. Reviewed-on: http://gerrit.openafs.org/373 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e26235ed3ed4c444d907d217a4b6cdd25fa1d475 Author: Derrick Brashear Date: Fri Aug 28 01:01:46 2009 -0400 macos 10.5 doesn't support compiler kext flag -kext was added in later xcodes; it's safer to just assume we don't have it. Reviewed-on: http://gerrit.openafs.org/365 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 7bf32f6115c5af3e772287754ea4aa1465764dca Author: Jeffrey Altman Date: Thu Aug 27 16:17:24 2009 -0400 Windows: Version Update 1.5.6200.0 Version update to 1.5.6200.0 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/354 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit f77cc39801b4ee046f6968616332ef3db5415f97 Author: Jeffrey Altman Date: Thu Aug 27 03:59:02 2009 -0400 Windows: SMB Server does not support streams, so say that The SMB server does not support streams. When replying to NT Create operations with extended responses report that there are no streams. In addition, add support for Query Path/File Stream Information and return only the null stream. Correct the 'totalData' response field in several places within Trans2QPathInfo and Trans2QFileInfo. Return CM_ERROR_BADOP for SMB NT Transact operations that are not supported instead of CM_ERROR_INVAL. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/347 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit a767455f02460e39e8c5eaa77768718667a2f29a Author: Jeffrey Altman Date: Thu Aug 27 15:29:50 2009 -0400 Correct description of afs krb.conf file format The file format is a single line containing one or more realms separated by white space. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/352 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit a747f5951b920dfb6d77465de6ca8ff54bae1706 Author: Derrick Brashear Date: Thu Aug 27 15:47:58 2009 -0400 update decode-panic for 10.6 how panics get reported changed in 10.6. also, the 64 bit universal kext means we don't know what the last boot was. Reviewed-on: http://gerrit.openafs.org/353 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 6b555e5dc116905a3e8f356c45827f58b3a00f9d Author: Derrick Brashear Date: Thu Aug 27 11:18:41 2009 -0400 make openafs 1.5.62 update version strings for 1.5.62 Reviewed-on: http://gerrit.openafs.org/351 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 2b1336b59b554b657a2d671adbc0469e18004fbb Author: Derrick Brashear Date: Thu Aug 27 08:12:31 2009 -0400 macos afs prefspane support for 10.4 NSUInteger is newer than what's included in the 10.4 SDK. restore functionality for 10.4 Reviewed-on: http://gerrit.openafs.org/349 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit abcb52c4fd84c1d371be90ec3d602ca780644e2a Author: Derrick Brashear Date: Thu Aug 27 10:12:13 2009 -0400 correct GetuTime function name GetuTime is really osi_GetuTime Reviewed-on: http://gerrit.openafs.org/350 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 81099c479e148a103dcf9f4def125b28e989107c Author: Derrick Brashear Date: Wed Aug 26 17:34:50 2009 -0400 macos 10.6 64 bit support support 64 bit userland with 32 bit kernel, and 32 and 64 bit userland with 64 kit kernel Reviewed-on: http://gerrit.openafs.org/343 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 74d3b110628fee3d0cc08303736c1b84deb8d4e6 Author: Derrick Brashear Date: Thu Aug 27 07:53:00 2009 -0400 redefine xdr functions consistently if we redefine the names of all xdr_ functions, the same must be done for xdr_alloc and xdr_free Reviewed-on: http://gerrit.openafs.org/348 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit af8dee05f07e63cf954326eff27630b38ad76edd Author: Jeffrey Altman Date: Wed Aug 26 22:31:58 2009 -0400 Windows: Release Notes Updates for 1.5.62 Some formatting corrections Section 3.26 updated to describe limitations caused by Apple Bonjour on 32-bit Windows. Section 3.40 updated to mentions Microsoft SMB Redirector Extended Server Timeout support. Section 3.41 updated to describe inability of pioctl operations to succeed on service mapped drives. Section 3.43 updated to include Windows 7 and Server 2008 in the known issues list. New section 3.51 on Microsoft RPC Services LICENSE MIT Reviewed-on: http://gerrit.openafs.org/346 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit d605bf109db15e535618847baadffb35a92ed41a Author: Jeffrey Altman Date: Wed Aug 26 17:32:31 2009 -0400 Windows: Updates to Windows ChangeLog 1.5.6200 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/345 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 9473089bdf1997b2f43e3ea368907c6cdc0fa582 Author: Derrick Brashear Date: Wed Aug 26 15:15:27 2009 -0400 macos rc script server handling only start bosserver if its configured. shut it down if we (likely) started it Reviewed-on: http://gerrit.openafs.org/344 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 622065f98ea806314e1b7116f0b280092aa397b1 Author: Russ Allbery Date: Tue Aug 25 21:00:33 2009 -0700 Initialize xferStartTime for StoreData timings In the reorganization of fetch and store procs, the initialization of the transfer start time for a store was lost, leading to meaningless statistics from the uninitialized variable. Initialize the transfer time at the start of transferring each chunk and move the variable into the for loop. Reviewed-on: http://gerrit.openafs.org/340 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit a59df36211d6bc641eeec6d8fd8876a98ce3600a Author: Russ Allbery Date: Fri Aug 21 18:37:41 2009 -0700 Add automatic sysname detection for ARM Linux Add arm*-linux* to the case statement that attempts to automatically determine the AFS sysname, similar to the other Linux sysname determination cases. Reviewed-on: http://gerrit.openafs.org/334 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b695261de43af0fbdd8166b4b2272465783e76d6 Author: Claudio Bisegni Date: Wed Aug 26 17:18:37 2009 +0200 10.6 update(Workaround for kerberos bug) and cleaning of deprecated function form code For aklog has been added the workaround for kerberos function KLAcquireInitialTickets that in 10.6 return always error. First is called KLCacheHasValidTickets for check user ticket presence, if there are no ticket KLAcquireNewInitialTickets will be called for get user credential. Has been removed also many deprecated api. Reviewed-on: http://gerrit.openafs.org/341 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit a66dc4d0cb99d2b2f0bc5e7537d83522f68fbb44 Author: Felix Frank Date: Wed Jul 15 14:11:32 2009 +0200 Some renames and reformattings in afs_fetchstore Reviewed-on: http://gerrit.openafs.org/124 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 88b7deb5bc39f58e490e2ec83e563feeb32668e7 Author: Felix Frank Date: Fri Jul 10 15:55:58 2009 +0200 Sanity for the padd storeOp Reviewed-on: http://gerrit.openafs.org/123 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 6220ede6a96d06c53eddd848435764cff96be1b4 Author: Felix Frank Date: Wed Jul 8 16:36:34 2009 +0200 Add the padd storeOp and unify statistics keeping. Filling with zeroes is done within a storeop of its own. This raises consistency and readability. Also, the formerly copy-pasted (to afs_dcache and afs_segments respectively) statistics code is now in a seperate function of its own. Reviewed-on: http://gerrit.openafs.org/122 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 4b10f1916cd000cfd75134c8e1665d72899bc10d Author: Jeffrey Altman Date: Tue Aug 25 12:46:01 2009 -0700 Windows: MSRPC_WriteMessage, call MSRPC_NewCall at right time In MSRPC_WriteMessage, call MSRPC_NewCall after checking for MAX_RPC_MSG_SIZE and return an error if MSRPC_NewCall fails. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/339 Reviewed-by: Asanka Herath Tested-by: Asanka Herath Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 1692c27300e55f9219dc75e1b5ab81d4ff98e4ae Author: Felix Frank Date: Tue Jul 14 12:46:08 2009 +0200 Cleanups in rxfs_storeInit() Reviewed-on: http://gerrit.openafs.org/121 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 0e1bd20462d4fd0aaa3fb18e127b1f1597a76799 Author: Felix Frank Date: Tue Jul 14 12:42:44 2009 +0200 More CacheStoreProc call context to afs_fetchstore from afs_segments The loop over the dcaches is performed in afs_fetchstore now as well, in a new routine afs_CacheStoreVCache that is called in afs_CacheStoreProc's stead. The original afs_CacheStoreProc has largely moved to afs_CacheStoreDCaches in afs_fetchstore.c. Enhances readability of afs_StoreAllSegments. rxfs_storeInit() can be performed earlier now, which is instrumental for the inclusion of alternative protocols (which will call other storeInit() functions). Reviewed-on: http://gerrit.openafs.org/120 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 334114ac58b0039ae90d7e29fa2f019fe068bd79 Author: Felix Frank Date: Tue Jul 14 12:02:19 2009 +0200 Limited the scope of some local variables in afs_CacheStoreProc Reviewed-on: http://gerrit.openafs.org/119 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit beb57af06ff9d20aa8d038f6d3474b62922c41b4 Author: Felix Frank Date: Tue Jul 14 11:19:31 2009 +0200 Open/close connections in afs_fetchstore rather than afs_segments The respective snippets are moved from afs_StoreAllSegments to rxfs_storeDestroy and rxfs_storeInit respectively. This makes sense and enhances readability. Reviewed-on: http://gerrit.openafs.org/118 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 74d53f288c7eeecc36d4c082dd96d840f1861d7b Author: Simon Wilkinson Date: Tue Jul 21 20:26:34 2009 +0100 PAG numbers are unsigned (and other warnings) PAG numbers are represented by afs_uint32. Fix assorted call sites to reflect this. While we're here, prototype ktc_newpag, and fix the casts used by the ktc_curpag() call. Reviewed-on: http://gerrit.openafs.org/167 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 50f6529cf1f191606f55add4cabe53fceab492ed Author: Simon Wilkinson Date: Tue Jul 21 19:58:16 2009 +0100 Make lockIDSet readable by mortals The lockIDSet function was a sprawling mess of #ifdefs. This change consolidates it so there is completely different function for each platform, with some internal #ifdefs remaining for platform-specific variations. The side effect of this is that the function is now readable. Reviewed-on: http://gerrit.openafs.org/164 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 0666fe12facf53ad2b67e4ba23b034b2e639d737 Author: Simon Wilkinson Date: Tue Jul 21 20:10:05 2009 +0100 Fix printfs of time for Darwin Darwin uses a fancy type for tv_sec, which needs to be cast to long before it can be printed. Reviewed-on: http://gerrit.openafs.org/165 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit 01349d8a9468de0e46eeef42dede3a7076f1abb5 Author: Felix Frank Date: Tue Jul 14 11:07:07 2009 +0200 Move statistics and and call-closing from afs_segments to afs_fetchstore. Rather than in afs_StoreAllSegments, do statistics in afs_CacheStoreProc, further boosting the former's readability. Calls are closed in a new storeOp now, rxfs_storeClose, and have been moved there from afs_StoreAllSegments as well. Reviewed-on: http://gerrit.openafs.org/117 Reviewed-by: Derrick Brashear Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit db717c69dad1518043cb317aedb6d082476386f0 Author: Jeffrey Altman Date: Thu Aug 20 17:22:08 2009 -0400 Windows: Correct buf_Write data loss errors buf_Write has two errors in it. First, if offset at which the write is supposed to begin does not align with the cm_data.blockSize, then (offset %blockSize) octets at the end of the write will fail to be written to the file server. Second, if there is no knowledge of the file server's ability to handle RXAFS_StoreData64 calls and the file server does not support StoreData64 calls, then the first chunkSize of data will be written to the file server before the RXGEN_OPCODE error is detected. In this case a retry using RXAFS_StoreData is performed but the values of 'nbytes' and 'qdp' were not reset before the retry. As a result, the first chunkSize of data would fail to be written to the file server. The second problem can reliably occur when connectivity between the cache manager and the file server is interrupted due to firewall port mapping closures. Upon establishing a new rx connection, a SRXAFSCB_InitCallBackState3 RPC will be issued by the file server erasing any prior knowledge of the file server's ability to process 64-bit data operations. If the first 64-bit operation is a StoreData64, then data loss will occur. LICENSE MIT FIXES 125220 FIXES 108199 Reviewed-on: http://gerrit.openafs.org/332 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 687a40c7c6f3e0391ec1c863113c22f970003b49 Author: Jeffrey Altman Date: Thu Aug 20 10:54:47 2009 -0400 Windows: cleanup smb polution of non-smb modules There are a variety of functions that are declared in smb modules that are used within non-smb modules. In order to reduce some of the polution, several time conversion functions and the thread priority operations are migrated to cm_utils. As part of this migration the unused !USE_NUMERIC_TIME_CONV time implementations are removed. In addition, an unnecessary use of an SMB preprocessor symbols is removed from cm_freelance.c and smb_ioctls.h is no longer included within afsd.h. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/330 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit ef197772e7a1bd823f6f5d0ea3846ccabe950a1e Author: Jeffrey Altman Date: Thu Aug 20 14:30:27 2009 -0400 Windows: Init root.afs before smb_Init It is not safe to initialize the root.afs cm_scache object after the SMB package. Break it out of afsd_InitDaemon() into its own afsd_InitRoot() and call from afsd_InitCM(). LICENSE MIT Reviewed-on: http://gerrit.openafs.org/331 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit da0673f0eabb960b203b1a814aa62acbef62eeb1 Author: Russ Allbery Date: Wed Aug 19 16:07:27 2009 -0700 Describe 's' PTS group permissions more accurately PTS groups with 's' access permissions can be examined by members of the group and the owner of the group in addition to system:administrators. State this in the manual page. Reviewed-on: http://gerrit.openafs.org/327 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 8b5846b080d455c8764450b545c1ee3ded61aa3c Author: Jeffrey Altman Date: Thu Aug 20 09:21:53 2009 -0400 Windows: Ensure consistency of error code mapping For Windows, the error mapping table used throughout the system is located in util/errmap_nt.h. This table was incomplete and WINNT/afsd/cm_utils.c added additional mapping locally. Move said error mapping to util/errmap_nt.h. When including afs/unified_afs.h it must be done after including afs/errmap_nt.h. Otherwise, undefined errors are mapped to EIO which should not be. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/328 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 995c76e73e828eac2e30b33de5ee8085e6cead0a Author: Jeffrey Altman Date: Thu Aug 20 09:44:18 2009 -0400 Windows: Add prototype for osi_SetLockOrderValidation Add prototype for osi_SetLockOrderValidation() defined in osibasel.c LICENSE MIT Reviewed-on: http://gerrit.openafs.org/329 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 5ff34cc364ea80fe1e55262ac97091b42d47e3d8 Author: Felix Frank Date: Tue Jul 14 11:01:57 2009 +0200 Move context of afs_CacheStoreProc() call from afs_segments to afs_fetchstore The innermost loop in afs_StoreAllSegments (looping over chunks) is now inlined in afs_CachStoreProc. This is step one in a series of such inlinings. Reviewed-on: http://gerrit.openafs.org/116 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit ebd42496392d4ff207a97dd664d8dbaad66425b0 Author: Felix Frank Date: Tue Jul 14 10:57:21 2009 +0200 Move statistics keeping from afs_dcache to afs_fetchstore. More context of the afs_CacheFetchProc() call in GetDCache is now inlined in the afs_CacheFetchProc. Boosts readability of GetDCache and saves stack, as counter pointers need not be passed anymore. The statistics code is more readable due to lesser indentation. Reviewed-on: http://gerrit.openafs.org/115 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit e2ce6a0f40aceb83a53883875e4430677a0f3068 Author: Jeffrey Altman Date: Wed Aug 19 18:10:43 2009 -0400 Windows: cm_conn_t must not be referenced after cm_Analyze is called The 64-bit Large File Support added a reference to the cm_conn_t object after cm_Analyze() is called and releases the hold. This permits the object to be freed if it is appropriate to do so which can result in an invalid memory reference. This change removes the improper reference. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/326 Tested-by: Asanka Herath Reviewed-by: Asanka Herath Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 1d78be16945a5a025b7e10098d89d7bccc01c231 Author: Felix Frank Date: Tue Jul 14 10:54:06 2009 +0200 Some code cleanups and variable renames. Reviewed-on: http://gerrit.openafs.org/113 Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 1c12747818d1bbd327f94ba66808f5d705f8b618 Author: Jeffrey Altman Date: Wed Aug 19 08:04:30 2009 -0400 Windows: Permit build system to update symbol store Microsoft Debugging Tools for Windows, Visual Studio Debugger, and SysInternals tools can all make use of a Symbol Server. http://msdn.microsoft.com/en-us/magazine/cc163563.aspx The commit adds functionality to the build system to automatically add binaries and symbols to a symbol store during the build. This functionality is only enabled if two environment variables are defined: SYMSTORE_EXE - specifies the location of symstore.exe SYMSTORE_ROOT - specifies the location of the symbol store an optional environment variable permits an arbitrary comment to be added to the symbol store history file. SYMSTORE_COMMENT - arbitrary text to be added to the history LICENSE MIT Reviewed-on: http://gerrit.openafs.org/324 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit b48908cbbaee53747c9a7cdfc08692a20aa92cb1 Author: Jeffrey Altman Date: Wed Aug 19 11:51:18 2009 -0400 Windows: Add resource info to threaded volserver.exe 1.5.60 and 1.5.61 shipped without resource information linked to the threaded version of the volserver.exe executable. Correct that oversight. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/325 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 57e218ab61e824133f252e4a0da74552beb14b05 Author: Simon Wilkinson Date: Tue Aug 18 22:31:38 2009 +0100 Make MacOS installer pane permit dashes The MacOS installer only permits characters in [0-9A-Za-z] in cellnames. However, OpenAFS itself will also allow dashes, and they're in use by some sites. This trivially amends the installer pane to permit dashes. FIXES 125211 Reviewed-on: http://gerrit.openafs.org/323 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f819561707805c46b1a67c35d8f9ae1eee420af3 Author: Michael Meffie Date: Tue Aug 18 14:51:57 2009 -0400 Fix stack corruption on 64 bit linux when md5inum is enabled Fix a stack overflow on 64 bit linux which corrupts the stack saved arguments and causes a kernel panic. This bug is seen on platforms where ino_t is 64 bits and the md5inum sysctl option is enabled. Reviewed-on: http://gerrit.openafs.org/322 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit cbaf97a953dc91e54d7148ad4294f003b8deef9c Author: Jeffrey Altman Date: Mon Aug 17 12:33:09 2009 -0400 Windows: Be more conservative about checking error conditions It has been reported that winlogon.exe is crashing on some systems. The reports indicate that the failure is somewhere in GetLogonDomainOptions. This commit ensures that we are more conservative about the assumptions that are made regarding which Lsa operations can fail. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/321 Reviewed-by: Asanka Herath Tested-by: Asanka Herath Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 4eee2f24a43052e5cafc1a3019b6554109a7cc6d Author: Jeffrey Altman Date: Mon Aug 17 17:28:28 2009 -0400 Windows: src/WINNT/afsd cleanup Update the "clean" rule to remove the files generated from ms-srvsvc.idl and ms-wkssvc.idl. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/320 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit fa07f46db9dcc1dccf3a7ff50037f2b81936e452 Author: Jeffrey Altman Date: Sun Aug 16 08:43:23 2009 -0400 Windows: Prevent smb_StartedLock use before initialization The smb_StartedLock osi_mutex can be obtained before initialization due to a race if the IP address configuration is in a state of flux as afsd_service is starting up. To avoid the problem call cm_InitDaemons() after smb_Init(). This race is the cause of the periodic assertions in some environments when lock order validation is enabled. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/318 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 918e5b635938738fa9d65a10573e53190ca24ca7 Author: Jeffrey Altman Date: Sat Aug 15 06:43:57 2009 -0400 Windows: Add missing msrpc.h dependency msrpc.h must include cm_nls.h LICENSE MIT Reviewed-on: http://gerrit.openafs.org/316 Reviewed-by: Derrick Brashear Reviewed-by: Asanka Herath Tested-by: Asanka Herath commit 8ed3acdf13c40d93e60f8f057f99d3f3377feab5 Author: Jeffrey Altman Date: Fri Aug 14 21:40:22 2009 -0400 Windows: Prevent cm_daemon thread from terminating during suspend Remove the check for powerStateSuspend that caused the cm_daemon thread to terminate when the machine enters suspend mode. When the machine awakens there is no thread to check the down server state, new IP address bindings, etc. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/315 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 1cfa2259eca210ca480f16a725ca70f5cfc2c8d4 Author: Felix Frank Date: Tue Jul 14 10:51:03 2009 +0200 Move context of CacheFetchProc from afs_dcache.c to afs_fetchstore.c GetDCache() is quite bloated. This inlinining makes code more readable. For protocols to come besides rxfs (such as rxosd), some initializations may need to be performed differently. Thus, much has to be moved to the specific rxfs_fetchInit() function rather than afs_CacheFetchProc() proper. Reviewed-on: http://gerrit.openafs.org/112 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 3a48ae3e243b695ac5bb3b35aa3b09641db1af3b Author: Derrick Brashear Date: Fri Aug 14 12:06:03 2009 -0400 macos 10.6 updates cope with mixed 32/64 environment provided by macos 10.6. build needed stuff for audit logs in shlibafsauthent. Reviewed-on: http://gerrit.openafs.org/310 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit ff138d1bdeab24de27790474adf24ea124a211f1 Author: Claudio Bisegni Date: Wed Aug 12 21:19:49 2009 +0200 OSX Preference Pane and AFS Backgrounder Cleaned most unused log Reviewed-on: http://gerrit.openafs.org/308 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit b2503cd599be26dd5948526d00e3a28dfacd49ec Author: Simon Wilkinson Date: Wed Jul 22 23:05:48 2009 +0100 Fix gtx_create calls to all share a prototype All of the different _create calls need to share a prototype, so function pointers can be stuffed into a structure. Use an anonymous pointer so that we can acheive this. Reviewed-on: http://gerrit.openafs.org/187 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 19459804b0622ebad1e21e2d34ceb55ad7baddde Author: Asanka Herath Date: Wed Aug 12 14:56:56 2009 -0400 Handle more RPC service names While the Windows client only implements support for WKSSVC and SRVSVC RPC services, it should be aware of and handle requests for other well known service names. This patch refactors service name checks to a separate MSRPC_IsWellKnownService() function. In addition, it separates the tests for IPC TIDs from the test for well known service names. An IPC TID may be used for generic pipe operations as well as for RPC message pipe operations. Therefore the fact that a TID was opened for IPC doesn't necessarily mean that it will only be used for RPC. Reviewed-on: http://gerrit.openafs.org/307 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 9f2eb69899f1c4dba6671fe784ea2dd61e75a7eb Author: Asanka Herath Date: Wed Aug 12 13:57:11 2009 -0400 rand_s isn't supported on older Visual C compilers We still support building on Visual Studio 2003 where rand_s() is not available. If we are building on a Visual C compiler prior to version 15.00, failover to srand()/rand() instead of using rand_s(). Reviewed-on: http://gerrit.openafs.org/306 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit a1d46036fee7134a375d57baf4898ca1af6c27ba Author: Felix Frank Date: Thu Jul 2 11:12:24 2009 +0200 Remove CacheStoreProcs and CacheFetchProcs from the afs_cacheOps. The entries are no longer used, as the macros from afs_chunkops.h are no longer necessary and afs_StoreAllSegments calls the CacheStoreProc proper. Reviewed-on: http://gerrit.openafs.org/110 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit ce174b9ef1771395981b297d4bb8779e57c9afab Author: Claudio Bisegni Date: Wed Aug 12 12:41:42 2009 +0200 OSX AFSBackgrounder fix minor bug Has been fixed the status menu icon width, now i keeped from icon image. Fixed the status item icon view redraw. Reviewed-on: http://gerrit.openafs.org/305 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 1024c4cd71d2b63a3b7f608a244d90e75c933d7c Author: Jeffrey Altman Date: Tue Aug 11 10:37:19 2009 -0400 Windows: Dfs Referrals Processing. Not all errors are errors. When processing a Dfs Referral request, not all lookup errors should be treated as if the path does not exist. Servers being down or busy, volumes offline, cell vldb servers not found, etc. do not mean that the client should go searching elsewhere to evaluate the path. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/304 Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit d6071aa6e5f93cf9f9dd42c0c49d56416cfdabbe Author: Jeffrey Altman Date: Tue Aug 11 08:43:53 2009 -0400 Windows: Avoid unnecessary DNS lookups Windows will attempt to open connections to a broad range of pipe service (share) names which do not contain a dot in them. Attempts to search for these names as cell names in DNS result in timeouts and sluggish behavior when browsing \\AFS in the Explorer Shell. To avoid this problem, do not perform a DNS lookup for a cellname that doesn't not contain a dot in it. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/302 Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 8cd1dc27dc16349b94c66eec721191d5dff29dab Author: Jeffrey Altman Date: Tue Aug 11 08:59:39 2009 -0400 Windows: Setting Server Preferences The Windows cache manager can apply administrator specified server preferences as specified in the registry. When these rankings are applied the CM_SERVERFLAG_PREF_SET flag was not set on the cm_server_t object. In addition, appropriate locking was not being used in the places where the flag was set. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/303 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 61ae8792f6608c86f4e3ff82c329b5bb4369204e Author: Felix Frank Date: Thu Jul 2 09:14:13 2009 +0200 Unite CacheFetchProcs and add abstraction calls. The cache type specific differencies among afs_MemCacheFetchProc and afs_UFSCacheFetchProc are divided into two sets of "fetchOps". Upon rxfs_fetchInit, the appropriate set is chosen. Reviewed-on: http://gerrit.openafs.org/109 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit d8c70aa2c34c223d04f5dc1e2999e1489cb05f3b Author: Asanka Herath Date: Thu Aug 6 22:56:42 2009 -0400 Windows: Implement SRVSVC and WKSSVC RPC interfaces Windows uses RPC over SMB to communicate with file servers for administrative tasks including enumeration and queries of file server shares. This patch implements support for RPC over SMB and partially implements the SRVSVC and WKSSVC RPC interfaces. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/301 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit b4975a6a7c4fc3ffa025d2faee148449f26a21f1 Author: Andrew Deason Date: Mon Aug 10 12:06:26 2009 -0500 Restore util des dependency Commit c3c8a3e2f912855addc2c430f909bdce912e3670 removed 'des' as a dependency of the 'util' target, but util still depends on des since rxkstats.c includes des.h. So, put the des dep back in. Reviewed-on: http://gerrit.openafs.org/278 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 6ec3db1bb94a6eee55020b7fa4ac1ba8425a4b2d Author: matt@linuxbox.com Date: Sat Jul 25 14:10:25 2009 -0400 MCAS changes from Matt Change static max allocators to 30. Add atomic add/sub macros returning original value, based on CASIO. Add interfaces to add and remove generic allocator caches. Add atomic inc/dec/sub macros using MCAS primitives. Add inline assembly for x86_64 and shim for Solaris (9+) atomic operations, providing Solaris x86 and alternate shim for Solaris Sparc. Set interface adapted for iteration and generalized for use with opaque key, value pointers. File cas_skip_func.c provides kv interface, cas_skip_adt.c provides kv interface, plus iteration on skip lists. Casual dependencies on stdio and exit() defined out. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/214 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 160aff88be210a8141b67a54583aed7387d8bffc Author: Derrick Brashear Date: Mon Aug 3 12:17:14 2009 -0400 fileserver should actually retry VL_RegisterAddrs on failure currently the background daemon logic for retrying was never triggered. easy enough fix: set FS_registered to 1 so the loop retries Reviewed-on: http://gerrit.openafs.org/266 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ec83174608917d80517c5107d583d702174bef30 Author: Jeffrey Altman Date: Sun Aug 2 18:59:51 2009 -0400 add xdr_alloc applications can allocate memory that must be deallocated by the XDR package. Add xdr_alloc to permit that. Export from libafsrpc. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/269 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit be1a675dcc7968c6fe10b42fcae85b1e49a5af3c Author: Jeffrey Altman Date: Sat Aug 1 12:31:36 2009 -0400 Make Windows pioctl prototypes consistent with Unix The Windows pioctl prototypes differed from those now exported by sys/sys_prototypes.h. This produced undesirable warnings. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/260 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 1c5dc25c0dae21265296d6b41f903efb116c7774 Author: Jeffrey Altman Date: Wed Aug 5 23:25:42 2009 -0400 Windows: Preserve GetLastError during WinTorture testing When an error occurs during the WinTorture scripts the actual error was not always being preserved because subsequent Win32 calls were executed before the value was logged. In at least one case, the variable used to store the last error was not initialized nor assigned in all data paths. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/270 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit c3c8a3e2f912855addc2c430f909bdce912e3670 Author: Marc Dionne Date: Mon Jul 27 14:24:15 2009 -0400 kauth warning reduction Warning removal for various functions that manipulates keys and use several data types interchangeably. Inline helpers are introduced to convert between the types and are used when making function calls to target the appropriate type: des_prototypes.h cblockptr_to_cblock: des_cblock * to des_cblock charptr_to_cblock: char * to des_cblock charptr_to_cblockptr: char * to des_cblock * rxkad_prototypes.h ktc_to_cblock: struct ktc_encryptionKey * to des_cblock ktc_to_cblockptr: struct ktc_encryptionKey * to des_cblock * kauth_internal.h EncryptionKey_to_cblock: EncryptionKey * to des_cblock EncryptionKey_to_ktc: EncryptionKey * to struct ktc_encryptionKey * ktc_to_EncryptionKey: struct ktc_encryptionKey * to EncryptionKey * - parameters are adjusted for tkt_DecodeTicket(5), replacing the char * key with struct ktc_encryptionKey, to match usage - the get_key function is changed to have a void * parameter, to match usage - rxkad_prototypes.h includes des.h to get the des_cblock definition. This causes conflicts for a few files where the kerberos headers are also included - aklog/aklog_main.c and WINNT/afsd/afskfw.c Use NO_DES_H_INCLUDE in thoses cases to skip the new parts of rxkad_prototypes.h Reviewed-on: http://gerrit.openafs.org/234 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 20243612a15b150a3dbb3c9e027c1c79a0e5f200 Author: Claudio Bisegni Date: Mon Aug 3 19:05:46 2009 +0200 Removed user perspectivev3 file in xcode project and update the gitconfig gitconfig in src/platform/DARWIN/AFSPreference has been modified to ignore the perspectivev3 that is created by xcode for window layout.Has been also delete the file created for the user Reviewed-on: http://gerrit.openafs.org/267 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b0818fcdb227c8b291eb7b23e504fd1d2240eea6 Author: Claudio Bisegni Date: Mon Aug 3 16:40:05 2009 +0200 Cleaned most warning OSX OpenAFS preference and completed the AFSBackgrounder implementation At startup the preference pane check for the presence in ~/Library/LaunchAgents of the file it.infn.lnf.network.AFSBackgrounder.plist that. The agent could be started in OpenAFS preference pane view. AFSBackgrounder has replaced the NSMenuExtra, when it doesn't quit well launchd restart it. AFSBackgrounder can be used also for other work, for now, at login it check the user preference for get token. Has been made some refactoring in code for remove most warning. The unused think are been delete from project. Reviewed-on: http://gerrit.openafs.org/263 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit b3d9dcb855060a9e1cb5b2140983111030fab1a0 Author: Felix Frank Date: Thu Jul 2 09:02:50 2009 +0200 Storeops beautifications. Things can be made a lot more readable in storeOps than in the monolithic StoreProc. Also shorten a panic message that is a bit gratuitous. Reviewed-on: http://gerrit.openafs.org/108 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 7868e1961048d2a24bd5d4d5afab07d3dbf54fd2 Author: Claudio Bisegni Date: Sat Aug 1 19:43:39 2009 +0200 AFS Backgrounder implementation & warirng clean Replaced the NSMenuExtra and created the AFSBackgrounder that will do all work for aklog at login and manage the Status menu in menu bar Reviewed-on: http://gerrit.openafs.org/262 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f52f509962fbaade008f5dc6c2f8a3bece70c13c Author: Claudio Bisegni Date: Wed Jul 29 15:12:13 2009 +0200 Start coding OSX Backgrounder Application, for OpenAFS Preference Pane, that user NSStatusItem To prevent future compatibility with osx we must use NSStatusItem instead NSMenuExtra that is not documented api. For this has been created a background only application that will manage all function managed by current NSMenuExtra Reviewed-on: http://gerrit.openafs.org/261 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit a13d8146a33b2c74909d2bb396af2b7ce01d8bb3 Author: Jeffrey Altman Date: Sat Aug 1 11:23:00 2009 -0400 Add generated files to doc/xml/AdminGuide .gitignore Add htmlhelp.hhp, index.hhk, and toc.hhc Reviewed-on: http://gerrit.openafs.org/259 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 175774acab31968d9033e7c16b99b34c695c8e20 Author: Derrick Brashear Date: Fri Jul 31 17:53:18 2009 -0400 version update for 1.5.61 make configure version strings be 1.5.61 Reviewed-on: http://gerrit.openafs.org/258 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5a4f31090f573caad71aab16cd65afaaa5e2c914 Author: Russ Allbery Date: Fri Jul 24 13:03:48 2009 -0700 Restore permission documentation in bosserver man page The original IBM HTML documentation had a table showing the permissions that bosserver expects and sets when it creates the directory structure for AFS. That table was accidentally dropped in the conversion to POD. Restore it from the HTML shipped with an older version of OpenAFS. Reviewed-on: http://gerrit.openafs.org/210 Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 5d8c3f6758ef9927d3e28c6adcb7f6fa792fbb49 Author: Jeffrey Altman Date: Thu Jul 30 10:23:38 2009 -0400 Windows: Version and ChangeLog updates for 1.5.61 1.5.61 == 1.5.6100.0 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/255 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 147aeeb6c59b5f4a9f8a795a91e0c42ecf80278c Author: Marc Dionne Date: Mon Jul 27 09:47:08 2009 -0400 Eliminate some multiple targets in Makefile rules Rules with multiple targets can cause problems with parallel builds. This patch fixes two cases that have caused occasional build errors. Reviewed-on: http://gerrit.openafs.org/257 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 152e9152ff8bef4efac822b5a43b33ba50e8eed5 Author: Andrew Deason Date: Thu Jul 30 13:43:27 2009 -0400 Fix UKERNEL afs_mount arguments Change 73 (commit dc6299f5) changed the order of arguments for the UKERNEL implementation of afs_mount, causing uafs_mount to segfault whenever called. This changes them back to what they were before. Reviewed-on: http://gerrit.openafs.org/256 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 8b86acea67f5e4a2138676edf82c3218b2a74bfd Author: Jeffrey Altman Date: Thu Jul 30 10:00:00 2009 -0400 Windows: Rename README-NT to README-WINDOWS Windows has not been referred to as NT in a long time. We do not support Windows 9x any longer. Rename README-NT to README-WINDOWS. Reviewed-on: http://gerrit.openafs.org/254 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 21e7b0d0c1dab60b0394336ec660d0852fe95536 Author: Jeffrey Altman Date: Thu Jul 30 09:56:33 2009 -0400 Windows: Update the README-NT file Update the README-NT to be more up to date. It still requires a lot of work. Reviewed-on: http://gerrit.openafs.org/253 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit ef7e0d64e7c29675405299f36ee3b7343b31cb35 Author: Andrew Deason Date: Mon Jul 20 12:31:44 2009 -0500 Add additional vlprocs safety checks This adds additional safety checks to the vlserver's implementation of the VL_CreateEntry, VL_ReplaceEntry, and VL_UpdateEntry RPCs. Now in all three of these, any new volume ID that would be added to the VLDB or that would be newly referenced in a VLDB entry is checked against duplication in other entries. Additionally, any new volume names added to the VLDB (either by creation, or modifying an existing volume) are checked against duplication. This should make it impossible for clients to make a volume ID or volume name correspond to multiple volume groups (either conceptually or literally in the vldb). This also alters the vlserver's implementation of the VL_GetNewVolumeId RPC such that the vlserver increments maxvolid until the range of volume IDs [*newvolumeid, *newvolumeid+bumpcount) is unused. 'vos' is modified to only allocate one new volume id at a time, so we don't skip over potentially-usable vol ids. Reviewed-on: http://gerrit.openafs.org/158 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e18216b91fa7171efdf796908ce2e98e7bc42f11 Author: Derrick Brashear Date: Wed Jul 29 22:56:08 2009 -0400 macos 10.6 package naming call the dmg Snowleopard for 10.6. Reviewed-on: http://gerrit.openafs.org/252 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 6bec05a874035b30a1b7d5119a053f550adeba4d Author: Derrick Brashear Date: Wed Jul 29 22:14:01 2009 -0400 macos 10.6 amd64 kmod build fix make the ARCHFLAGS support for amd64 work correctly by grepping for the correct thing Reviewed-on: http://gerrit.openafs.org/250 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5593ff360c7a8f9f69cebda0cb2e2909ff2f31b4 Author: Derrick Brashear Date: Wed Jul 29 17:23:14 2009 -0400 macos 10.6 pam support Make pam module compile on 10.6. Not tested yet. Reviewed-on: http://gerrit.openafs.org/249 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e2dcd47f352af396e71b815cd2bb557b3180ccc0 Author: Marc Dionne Date: Wed Jul 29 22:35:21 2009 -0400 afs_pag_call.c needs rx/rxstat.h for RXSTATS_ExecuteRequest This fixes a build error introduced by change 247 (commit 967abaf2). Reviewed-on: http://gerrit.openafs.org/251 Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 967abaf29b29866174fecc22df85fb4a19ab5833 Author: Simon Wilkinson Date: Wed Jul 29 16:58:03 2009 +0100 Make rxgen emit prototype for ExecuteRequest Make rxgen provide a prototype in its header file for _ExecuteRequest, and remove all of the adhoc prototypes from the tree. Reviewed-on: http://gerrit.openafs.org/247 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear commit 2ade93993a9a82a23f44355065e2b5573acca372 Author: Jeffrey Altman Date: Wed Jul 29 14:31:45 2009 -0400 Windows: test for and react to SMB Extended Session Timeout support SMB Extended Session Timeout Support is available only on Windows systems with specific versions of the mrxsmb.sys driver. Add a test for those driver versions. If a supporting version is present use the extended session timeout value instead of the standard timeout value for the redirector timeout. Adjust the rx hard, conn, and idle timeouts accordingly. The SMB module will define the ExtendedSessTimeout registry value if it does not exist. We rely on the fact that this is done after the rx timeout values are calculated. The mrxsmb driver only reads the value at boot. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/248 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Reviewed-by: Asanka Herath Tested-by: Asanka Herath Reviewed-by: Derrick Brashear commit 7a333523ea5930d666686d5614328d10db4ef9e2 Author: Simon Wilkinson Date: Tue Jul 28 10:32:10 2009 +0100 Fix signed vs unsigned pointers in volser Cast iod_Read returns to (char *) Fix signed vs unsigned pointer argument issues Reviewed-on: http://gerrit.openafs.org/236 Tested-by: Marc Dionne Reviewed-by: Derrick Brashear commit 6ae0c53d93f26ddadc37dbf268652b1f8af8b3ec Author: Simon Wilkinson Date: Tue Jul 28 11:09:30 2009 +0100 Code cleanup for vlserver Move the cnvldb.h include so it's after vlserver.h Don't define MAXSERVERS in cnvldb.h (it's already defined elsewhere) Cast nvldbentry(s) to vldbentry to avoid warnings from display_entry Volume IDs are unsigned Use var[0]='\0' rather than sprintf(var, ""); Reviewed-on: http://gerrit.openafs.org/237 Tested-by: Marc Dionne Reviewed-by: Derrick Brashear commit 5eae1c8062a8662d172d21a059533e04eef318d2 Author: Simon Wilkinson Date: Tue Jul 28 12:25:08 2009 +0100 Warnings work in util/ Make afs_ctime an inline function, instead of a complex macro. This both improves our type safety, and suppreses warnings about unused results. Add bracing to clarify operator precedence in if (a && b || c) statement AFS_DARwiN60_ENV != AFS_DARWIN60_ENV Use (void) rather than () in function prototypes Reviewed-on: http://gerrit.openafs.org/240 Tested-by: Marc Dionne Reviewed-by: Derrick Brashear commit fb96e13d6f93fd7f7d833b4c66753b63a50c9003 Author: Simon Wilkinson Date: Tue Jul 28 12:13:10 2009 +0100 Cleanup for the USS directory Add additional header files for prototypes Add additional prototypes to header files yyerror() is internal, not external. Make it static while we're at it. ANSIfy various function definitions Unsigned vs signed cleanup Reviewed-on: http://gerrit.openafs.org/239 Tested-by: Marc Dionne Reviewed-by: Derrick Brashear commit 6640b8b064b238333a46ef72aa09913b06271a91 Author: Derrick Brashear Date: Tue Jul 28 12:13:24 2009 -0400 install AFSCommander in prefpane dir make the AFSCommander prefPane be installed, in /Library (as are growl, macfuse, etc) Reviewed-on: http://gerrit.openafs.org/243 Tested-by: Derrick Brashear Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear commit 4dadd24ba8ce72fd655e29d74801f27e9e148b01 Author: Jeffrey Altman Date: Mon Jul 27 12:54:16 2009 -0400 Protect rx_call iovq from simultaneous attempts to empty it The iovq queue is not safe to clear without holding the call lock. FIXES 125110 LICENSE BSD Reviewed-on: http://gerrit.openafs.org/242 Reviewed-by: Derrick Brashear Tested-by: Hans-Werner Paulsen Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit e6d321fcd4cbf0fdc6b153c0894f8d4c222093ad Author: Simon Wilkinson Date: Tue Jul 28 11:55:47 2009 +0100 Use an anonymous pointer for lpioctl The block passed to lpioctl as cmarg is an anonymous chunk of memory, so use a type that represents it as such. Reviewed-on: http://gerrit.openafs.org/238 Tested-by: Marc Dionne Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit c861bb0d779b54236b63eda87d9dfaf7792d1659 Author: Simon Wilkinson Date: Tue Jul 28 12:55:36 2009 +0100 Additional UKERNEL headers, prototyping and other fixes Add additonal headers to include prototypes for UKERNEL builds Add some more prototypes Remove some unused variables Reviewed-on: http://gerrit.openafs.org/241 Reviewed-by: Derrick Brashear Tested-by: Marc Dionne commit 02f083730750a03e60eb412a1aed1f03d3c62a49 Author: Simon Wilkinson Date: Mon Jul 27 22:32:01 2009 +0100 More warnings cleanup for vol/ Prototype a number of functions Add additional includes as required Make some existing prototypes match the actual declarations Volume IDs are unsigned in most of the code, change this bit to match Make various Procs take an anonymous pointer, so they can be type checked Add vol_internal.h for prototypes internal to this package Reviewed-on: http://gerrit.openafs.org/235 Tested-by: Marc Dionne Reviewed-by: Derrick Brashear commit 479ce49e9ceb3ad7ea3dd2282759689a7ab43f4c Author: Simon Wilkinson Date: Sun Jul 26 19:41:30 2009 +0100 Further warning cleanup for the libadmin directory More code cleanup for libadmin, including additional header inclusion, better prototyping, and signed/unsigned and const fixes Reviewed-on: http://gerrit.openafs.org/228 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 4c2e426d2dad559e1ed2c2c43d48193400b22c61 Author: Simon Wilkinson Date: Sun Jul 26 19:23:08 2009 +0100 Move end label into correct position The end label was in the wrong #ifdef block in order to actually be referenced in the case where USEIFADDR is unset Reviewed-on: http://gerrit.openafs.org/226 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit d48b1e83bfb5ab483877df0ff633049a9b0bbce1 Author: Simon Wilkinson Date: Sun Jul 26 19:34:48 2009 +0100 Additional prototyping in dir.h Add prototypes for functions used by the file and volservers Reviewed-on: http://gerrit.openafs.org/227 Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 581ec9f06a8958637db33d14f8d0e24d841d5eff Author: Marc Dionne Date: Mon Jul 27 11:29:34 2009 -0400 Eliminate some "implicit function declaration" warnings Include appropriate header files to eliminate some warnings for implicit function declarations. These are simple cases that don't generate new warnings because of the prototypes. Use grp.h if it exists to get setgroups() definition. Reviewed-on: http://gerrit.openafs.org/233 Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 1ddc7fa920213f9b5455e632bbddf05b866af647 Author: Adam Megacz Date: Sun Jul 26 20:32:07 2009 -0700 In rxi_SendPacket[List], down hosts if ENETUNREACH or equivalent This patch causes rxi_SendPacket[List] to "down" a host if rxi_Sendmsg() returns -ENETUNREACH (or equivalent). Previous behavior only did this check if defined(KERNEL) becauase non-defined(KERNEL) implementations did not return meaningful error codes from rxi_Sendmsg(). Jeff Altman supplied the logic for the AFS_NT40_ENV case; I was not able to test this (I do not own a Windows license) and took him on his word. Reviewed-on: http://gerrit.openafs.org/59 Reviewed-by: Adam Megacz Tested-by: Adam Megacz Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit d82e9c851c4d8ad765a0a81b9d5f290d184b7b07 Author: Marc Dionne Date: Sun Jul 26 22:28:29 2009 -0400 Unused variable cleanup Eliminate some warnings for unused variables. In most cases the variables are not used at all and are removed; in a few cases the declarations need to be ifdef'ed to follow the code that uses them. For a typical build here this removes 24 warnings. Reviewed-on: http://gerrit.openafs.org/232 Reviewed-by: Jeffrey Altman Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear commit 38a641bd6b41fe37a8be1614578efa9cb8b6da53 Author: Jason Edgecombe Date: Sun Jul 26 21:26:59 2009 -0400 Future-proof the wording of the auditlog options in the man pages It was suggested that the auditlog option should not say there is one record per RPC. In the future, there might be a need for multiple records per RPC. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/229 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 9a490c96a074f4c3c82a3f01c18bc74cc19ae184 Author: Marc Dionne Date: Sun Jul 26 21:45:33 2009 -0400 Build fix - pre-processor typos in rx_lwp.c and rx_pthread.c Commit 119c756d96c4a7f9e01e4ff6bb20156f1abf761b introduced a typo in two places, using #elif instead of the apparently intended #else. Reviewed-on: http://gerrit.openafs.org/231 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 119c756d96c4a7f9e01e4ff6bb20156f1abf761b Author: Adam Megacz Date: Sun Jul 19 11:00:41 2009 -0700 Use -errno or WSAGetLastError() as return value from rxi_Sendmsg() This patch causes the pthread and lwp implementations of rxi_Sendmsg() to use -errno or WSAGetLastError() as the return value if it is positive. This is required in order to communicate more meaningful error conditions to rxi_SendPacket[List], which should "down" a host immediately when it observes ENETUNREACH. Jeff Altman supplied the logic for the AFS_NT40_ENV case; I was not able to test this (I do not own a Windows license) and took him on his word. Reviewed-on: http://gerrit.openafs.org/58 Tested-by: Derrick Brashear Reviewed-by: Adam Megacz Tested-by: Adam Megacz Reviewed-by: Derrick Brashear commit 20687eecd09cdcf46274979d744de8708e6567b3 Author: Jeffrey Altman Date: Sun Jul 26 13:03:49 2009 -0400 Windows: Add buf_FindAll() and buf_FindAllLocked() Add two new buffer search functions buf_FindAll and buf_FindAllLocked. Similar to buf_Find and buf_FindLocked except they search the all buffer list. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/225 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 5d80dbe42622f17f881e7f53a798a5c1fd0e735b Author: Jeffrey Altman Date: Sun Jul 26 12:57:10 2009 -0400 Windows: Add cm_GetVolumeType Add new volume utility function cm_GetVolumeType which returns the type of volume based upon provided volume group and volume id. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/224 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit cdbd09abf1590c5b84d8238e3cf4096919e3446f Author: Jeffrey Altman Date: Sun Jul 26 12:20:26 2009 -0400 Windows: Add cm_req_t parameter to cm_MergeStatus cm_MergeStatus allocates its own local cm_req_t object even though all of its callers already have an active cm_req_t object available. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/223 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit f5c25235008a446449f1220f76fa5037bdceb637 Author: Jeffrey Altman Date: Sun Jul 26 11:54:27 2009 -0400 Windows: Add cm_req_t parameter to buf_Get* functions The buf_Get* functions do not currently accept a cm_req_t parameter. As a result they allocate their own cm_req_t on the stack even though all callers already have one that can be used. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/222 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 3781ef99e379cb47cb33e86d555d8cfd495dcf9d Author: Jeffrey Altman Date: Sun Jul 26 11:48:37 2009 -0400 Windows: Add enhanced audit log to afsauthent.dll Add the enhanced audit log support to afsauthent.dll. Reviewed-on: http://gerrit.openafs.org/221 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman commit 96c746c75260a3cf6dc58fcf692b44f83ef65a95 Author: Jeffrey Altman Date: Sun Jul 26 11:01:43 2009 -0400 Permit enhanced audit logs to work on Windows Gerrit 82 / Git 7b0b6a0ce9b320a3145f9d600596946230d815f0 broke the Windows build. Add audit-file.obj to file list in NTMakefile. Remove unnecessary includes from audit.c. Properly conditionalize includes in audit-file.c. Reviewed-on: http://gerrit.openafs.org/219 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 777a4a9be8f909648d05d6644624e822aeca8423 Author: Asanka Herath Date: Sun Jul 26 10:16:33 2009 -0400 Windows: Tests for afsd modules Add test routines for internationalization routines. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/218 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit e3b7fa7a1ebacee6a7bf0d15d34d382d22ba3d26 Author: Jason Edgecombe Date: Sat Jul 25 13:37:08 2009 -0400 Expanded the -auditlog entries in the man pages of the server processes The expanded auditlog explanation includes what information is recorded in the auditlog. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/213 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit bb981b953f34fc0e63a0a09020c57329dd44ac98 Author: matt@linuxbox.com Date: Wed Jul 22 15:43:22 2009 -0400 Portable lock-free data structures by Keir Fraser (MCAS) The MCAS suite, previously released as lock-free library, under a non-restrictive license. This software includes software previously released in 2003 under a GPL license, but released by the original copyright holder, Keir Fraser, under a BSD license, on 5/28/2008. Reviewed-on: http://gerrit.openafs.org/183 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 55b8a4d35eb5913ebdc9e5ce8c1f1db525c55ff1 Author: Russ Allbery Date: Fri Jul 24 13:38:09 2009 -0700 Document human-readable size suffixes Document that the quotas passed to fs setquota, vos create, and vos setfields and the size passed to fs setcachesize may take a suffix indicating the unit. This documents the change in behavior implemented by 54c0a3f3e6575fa5af39ddd797d5381c36b48001. Fix a copy/paste error in the vos create -maxquota option definition. Reviewed-on: http://gerrit.openafs.org/212 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 7b0b6a0ce9b320a3145f9d600596946230d815f0 Author: Andrew Deason Date: Wed Jun 24 17:46:27 2009 -0400 Enhance audit logs to support SysV message queues Adds support for sysv message queues for fileserver audit logs. This also organizes the audit log code into various 'interfaces', of which there are two: the original 'file' interface, and the 'sysvmq' interface that this adds. The interface is configurable at runtime with the -audit-interface switch. FIXES 124674 Reviewed-on: http://gerrit.openafs.org/82 Tested-by: Andrew Deason Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 29a5ddf1ddc05dd1ea826220a424f4f6650cc0c7 Author: Andrew Deason Date: Mon Jul 6 10:29:20 2009 -0500 Allow specifying vos create/addsite volume IDs This adds the -id option to 'vos create', and the -roid option to 'vos create' and 'vos addsite'. This allows the user to manually specify the volume IDs that a new RW or RO volume will get (or explicitly specify that an RO volume ID should be unset), instead of always relying on the volume IDs retrieved from the vlserver. Reviewed-on: http://gerrit.openafs.org/157 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e435e248f44c46866cb73db185b9548c0bd148b4 Author: Jeffrey Altman Date: Fri Jul 24 12:58:26 2009 -0400 Running bos -noauth should not require client CellServDB configuration When setting up a new cell, the admin is instructed to use "bos -noauth" to configure the servers and only afterwards create the client configuration. This leads to a catch-22 since currently bos -noauth fails if there is no client configuration even though it is not required. This change avoids the call to afsconf_Open() which is only required if tokens are being acquired. FIXES 125156 Reviewed-on: http://gerrit.openafs.org/209 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit a6025e0268fd7cff6ee7de145bdbf59cc350c572 Author: Derrick Brashear Date: Fri Jul 24 00:44:31 2009 -0400 afsprefs pane shouldn't hardcode 10.4 sdk 10.4 sdk isn't available in the release after 10.5 as a default. don't hardcode it same with afscell Reviewed-on: http://gerrit.openafs.org/207 Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ed74213df6449aba8ec58250f912fbc526a3cb56 Author: Jeffrey Altman Date: Thu Jul 23 22:23:13 2009 -0400 Windows: Move src/NTMakefile to top-level in order to avoid copying For some unknown reason the Windows top-level NTMakefile is stored at src/NTMakefile and must be copied to the top-level before it can be used. Now that git permits easy file moves, relocate src/NTMakefile to where it belongs. Reviewed-on: http://gerrit.openafs.org/206 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit f914b42d26305ba5af3efb4aeee9f74244150376 Author: Simon Wilkinson Date: Thu Jul 23 20:33:36 2009 +0100 Make buildpkg work out of tree Don't reference files in the local directory, so that buildpkg.sh can be invoked from elsewhere Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/202 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 1ea9c02f8ec985605a52bde331de5c848a7a5d56 Author: Toby Blake Date: Thu Jul 23 20:18:28 2009 +0100 Finish afscell implementation work This patch completes the implementation of an install time prompeter for information about the local AFS cell, which is then used to populate the ThisCell file. It removes the need for manual editing of configuration files as part of the installation. (Build system modified by Simon Wilkinson from Toby's original patch) Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/201 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit adddef8d1464cdf5ef07e9ee5e0b8a09f9ce8805 Author: Derrick Brashear Date: Thu Jul 23 15:42:14 2009 -0400 correct macos 10.6 amd64 support add a missing space so the kernel module can link Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/203 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b4564fa8254afbfef94915f1051a5ad7ab17b11d Author: Simon Wilkinson Date: Thu Jul 23 19:27:47 2009 +0100 Move afscell to platform/DARWIN Move our current afscell code into platform/DARWIN so that it's in a location that can be added to the build, rather than packaging, step Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/200 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit c24c251966f218bcf9c0bd13718ef00ca4d12e80 Author: Marc Dionne Date: Thu Jul 23 16:52:46 2009 -0400 Fix build error - libafsrpc.map syntax Fix a build error introduced by commit 3a6d18: /usr/bin/ld:./libafsrpc.map:125: syntax error in VERSION script There seems to be a missing semicolon with the new rx_GetLocalPeers entry. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/205 Reviewed-by: Jacob Thebault-Spieker Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 8af5762909714367c1cc764b3f491c06c2bcd5d0 Author: Russ Allbery Date: Sat Jul 18 11:38:22 2009 -0700 Clean up some obsolete Autoconf code Remove hand-crafted equivalents of AC_SEARCH_LIBS for socket, connect, and gethostbyname functions. The only effective difference between this code and AC_SEARCH_LIBS was to define the HAVE_* macros for the functions, which are not used anywhere in the tree. Remove AC_FUNC_SETVBUF_REVERSED. This call no longer does anything in current versions of Autoconf since the last system with this problem was based on SVR2 and became obsolete in 1987. Remove the one place in the source tree where the results are used. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/154 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ab27eb24afce7a467a2e0da8dc3eafab08ed4c14 Author: Jeffrey Altman Date: Thu Jul 23 15:43:55 2009 -0400 Windows: rename compile_et.pod to afs_compile_et.pod Gerrit 175 renamed compile_et and compile_et.pod to afs_compile_et*. Fix the Windows build system to process the new pod file name and modify the WiX installer scripts to install afs_compile_et.html. FIXES 125152 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/204 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 6bb7bad9fc258c482d2f5786f2b03e90ccb54ad2 Author: Simon Wilkinson Date: Tue Jul 21 20:53:57 2009 +0100 Further code cleanup for the backup suite Protect butm.h against multiple inclusion Prototype more functions for internal use in bucoord Remove some unused variables Include additional headers as required Prototype exported functions in budb Make SendReturnList helper function generic, by using a void * rock Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/168 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear commit 0e6a776e0e73b532d0d22ddeef20c868b95f8aed Author: Simon Wilkinson Date: Thu Jul 23 18:44:42 2009 +0100 Remove duplicate copy of afssettings.m afssettings.m lives in src/platform/DARWIN. Remove the duplicate copy from this directory, and the (now unnecessary) Makefile. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/199 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit c321cb467220bbdf2ff49d5fa6e052fd27a4df5e Author: Simon Wilkinson Date: Wed Jul 22 01:11:15 2009 +0100 Rename installed version of compile_et Rename the installed version of compile_et to afs_compile_et to avoid conflicts with other, more standard, users of com_err. Also rename the man page to match Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/175 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 43ec8a64eb066774ee29136269e77dc0db1ff01d Author: Matt Benjamin Date: Tue Jul 21 17:07:36 2009 -0400 Refactor OpenBSD param files into common and architecture-specific sections. The new structure follows the pattern of the NetBSD param files, as suggested by Derrick. Since the change is retroactive, it seems reasonable to also make the retroactive change to add the amd64 param files, back to OpenBSD 3.6. OpenBSD 3.6 added SMP support for x86_64, so the architecture was a mature subtarget at that point. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/177 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 5cce838a2454927c3fea8ad6defadf1f2ce4833f Author: Russ Allbery Date: Tue Jul 21 11:04:41 2009 -0700 Fix warnings in vlserver/vlprocs.c rxinfo's code to print out the principal corresponding to an rx_call uses static arrays for the principal components but was checking that the array pointer was non-NULL when deciding whether to print principal components. Instead check whether each portion of the principal is the empty string. Add explicit initializations of the static buffers to the empty string so that we're not relying on rxkad_GetServerInfo always initializing them for us. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/163 Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ccb3e316868f381831d9ddda530af83102f67697 Author: Jeffrey Altman Date: Wed Jul 15 03:58:02 2009 -0400 Modify Solaris Rx NetIfPoller to avoid Panic This patch changes the common error reporting type from CE_PANIC to CE_WARN and adds appropriate cleanup processing so that we do not leak resources if an error occurs. LICENSE MIT FIXES 124498 Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/97 Reviewed-by: Russ Allbery Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e8a2833996e783f4ebd051ae87dbd301948689b0 Author: Simon Wilkinson Date: Wed Jul 22 22:07:32 2009 +0100 Squish more warnings in xstat Use a correct prototype for a_ProbeHandler in xstat_cm_Init Fix a printf warning rx_getAllAddr and afs_cb_interface.addr disagree on the sign of addresses afs_interface.addr is a [], which we then use & to get the address of. Fix this to stop the compiler from sulking. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/184 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear commit c9f313ba6a26a0a21632b439e690efefc4e7c260 Author: Simon Wilkinson Date: Wed Jul 22 22:40:13 2009 +0100 Do not call principal_ntoh to copy ktc_principal structs principal_ntoh() is designed for butc_principal structures, which are a different size from ktc_principal structures, and so it can't be used to copy them. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/185 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman Reviewed-by: Derrick Brashear commit 889907ebd1f6bac883d116d2754b1cb599fec23c Author: Derrick Brashear Date: Thu Jul 23 11:46:50 2009 -0400 platform makefile should handle clean target pass "make clean" through to platform-specific makefiles Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/198 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f1bb016e12a1f4bb3b9b01d5a9abe4f8c8dabe32 Author: Claudio Bisegni Date: Thu Jul 23 16:40:39 2009 +0200 Makefile.in modification for compile AFSPreference source code Have been added the rule "OpenAFS.prefPane" tha compile with xcodebuild the xcode project Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/197 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 694c5ca3f400ce88219f60edec75249bf73cc8fc Author: Claudio Bisegni Date: Sat Jul 11 00:18:56 2009 +0200 OSX Preference Pane Source Import Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/196 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 3a6d185d400d88607c28514f7b2ba5c0361c91b3 Author: Jacob Thebault-Spieker Date: Wed Jul 22 17:56:32 2009 -0400 Expose locally collected rx peer statistics This implements rx_GetLocalPeers(), which exposes peer statistics that are currently collected to the cache manager. This function will later be used to rank both the file server and vldb server lists using the statistics exposed by rx_GetLocalPeers(). Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/186 Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 2675642e024f56a3069414d1f96ee440c9cb0c77 Author: Claudio Bisegni Date: Sat Jul 11 00:18:04 2009 +0200 OSX Preference Pane Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/195 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 706b299e1e5bb7658c1a9a26eae4e277027ce731 Author: Mickey Lane Date: Thu Jul 23 09:20:27 2009 -0400 Update Windows strcmpi call This POSIX function is deprecated beginning in Visual C++ 2005 Change to _stricmp instead This change affects 4 calls in 3 Windows only files. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/188 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 77b661c6a07346117896f9de4547976e54e02573 Author: Jeffrey Altman Date: Thu Jul 23 10:12:02 2009 -0400 Windows: Fix cm_UpdateVolumeStatusInt log message In the server "down" case, the log message reported "online". Fix that to avoid confusion while debugging. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/194 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit f26ff22c2a4cd93e07c141ec3be85094251e3f6b Author: Mickey Lane Date: Wed Jul 22 14:55:02 2009 -0400 Remove 8.3 dir requirement for Windows IDN path This adds double quotes around the IDNMRedistDir symbol in ..\wix\NTMakefile so that the 8.3 alternate directory name is no longer required. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/182 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 22996dc4d6d22b0b811ef5e0ae5bff8441629a6d Author: Russ Allbery Date: Wed Jul 22 07:00:10 2009 -0700 Remove conditional on LINUX/osi_pag_module.c osi_pag_module.c should not be built conditionally based on whether the NFS translator is enabled. This file is used by afspag.ko, which is run on NFS translator clients, not servers, and should not have GPL symbol problems. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/179 Reviewed-by: Derrick Brashear Tested-by: Marc Dionne Reviewed-by: Marc Dionne commit 69cf150be870f4b4f9d10b7d0b0aa780054c6958 Author: Felix Frank Date: Thu Jul 2 08:55:47 2009 +0200 Unite CacheStoreProcs and add abstraction calls. The cache type specific differencies among afs_MemCacheStoreProc and afs_UFSCacheStoreProc are divided into two sets of "storeOps". Upon rxfs_storeInit, the appropriate set is chosen. FIXME: Simon suggests that there should be a single set of storeOps, as the main difference lies in what rx_ calls must be made. This decision would then be made by calling a wrapper function from each storeOp. These wrappers should be cachetype-specific and protocol- independent. They would be associated to struct afs_cacheOps. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/107 Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 789c3451ba000f7c9665742890b305e2e7938add Author: Simon Wilkinson Date: Tue Jul 21 20:58:36 2009 +0100 Fix warnings in comerr directory Prototype yylex in error_table.y to remove warning Fix the bizarre definition of LOCK_ET_LIST so that it upsets neither the compiler, nor the reader. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/169 Reviewed-by: Jeffrey Altman Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 09c4b3006d81eeb52b89d870ee7568de455040ea Author: Simon Wilkinson Date: Tue Jul 21 20:16:51 2009 +0100 Further prototyping and cleanup of UKERNEL This patch continues to reduce the number of warnings that come from a UKERNEL build. It also replaces the use of a system provided suser() call (which isn't available everywhere), with afs_suser that's provided by UKERNEL. Note that this makes UKERNEL applications usable by everyone, not just root. fork_syscall() becomes a normal function call_syscall() is ANSIfied UKERNEL/osi_groups.c gets the includes it needs UKERNEL/osi_machdep.c stops thinking it's on Solaris UKERNEL/osi_vnodeops.c stops confusing vnodes and vcaches Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/166 Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit fc695707f87143f2bfefd1260560cd6fdef613c0 Author: Hans-Werner Paulsen Date: Mon Jul 20 12:06:23 2009 +0200 Use Posix regex(3) within src/bucoord/commands.c Normally pattern matching against volume names is done on the server, but if this fails, the client (src/bucoord/commands.c) is doing this. This program had no code to use regex(3) when HAVE_POSIX_REGEX is defined. This patch adds calls to regex(3) if HAVE_POSIX_REGEX is defined. For systems without POSIX regex there were two (slightly different) implementations in src/bucoord/regex.c and src/util/regex.c. The newer version src/bucoord/regex.c has been modified and moved to src/util/regex.c. Some header files and Makefiles have been removed/updated to work with this setup. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/99 Tested-by: Russ Allbery Reviewed-by: Russ Allbery Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 05ee0932fa3d56193b9cbd235c5faa33fe02876d Author: Marc Dionne Date: Tue Jul 21 18:16:45 2009 -0400 Build fixes: prevent unnecessary rebuilding Fixes to a few Makefiles to prevent needless rebuilding when using make after a successful build. Rework dependencies in src/bubasics to prevent needless rebuilding and fix some remaining parallel build issues. Multiple targets really have to be avoided. Remove dependency on the include/afs directory from the src/config Makefile. Depending on a directory means that we will rebuild the target if the timestamp changes, for instance if other files or sub-directories are installed. This caused param.h to get re-installed in some cases and the kernel module source files to be recompiled. This directory is created in the top-level Makefile anyway so we shouldn't need an explicit dependency. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/171 Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit e35dfdcce9d11607669783844331ad2dbafd2793 Author: Hans-Werner Paulsen Date: Wed Jul 22 15:14:33 2009 +0200 avoid call to rxi_FreePacket with NULL pointer the function rx_ReadProc32 (src/rx/rx_rdwr.c) checks the pointer call->currentPacket before the function rxi_FreePacket is called. This test was missing in the function rx_ReadProc. FIXES 125110 Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/178 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 322a7a854b348e68b0bc49f5ad37049af188518f Author: Derrick Brashear Date: Tue Jul 21 17:09:39 2009 -0400 OSX lock initialization cleanup Move GLOCK creation before other things at modload time. Also remove unused rwlock support from rx kmutex package. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/170 Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit dbdd3190a75ce634c2e13d2e2141c564af379519 Author: Matt Benjamin Date: Sat Jul 18 09:29:20 2009 -0400 Add amd64 subtarget for OpenBSD The subtarget name is amd64_obsd. A sysname is created for the OpenBSD 4.5 release, since it's current. The sysname id range starting at 4000 is claimed for amd64_obsd, with amd64_obsd45 at 4014, so that prior releases can be added in the correct order, if needed. Mention of Jim Rees and CITI in new param file changed to line crediting them for original work. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/153 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ba27f1b3cb08db66e184682b30d60ff6fc4ce43e Author: Derrick Brashear Date: Tue Jul 21 13:14:57 2009 -0400 AFSOP_STOP_RXEVENT sometimes set without wakeup make sure when AFSOP_STOP_RXEVENT is set, a wakeup is sent on the variable so waiters realize it's the case Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/162 Reviewed-by: Simon Wilkinson Tested-by: Simon Wilkinson Reviewed-by: Russ Allbery commit f149a3c54b0c0c3503556722e9b7f9d8f0b793b8 Author: Andrew Deason Date: Wed Jul 15 09:54:32 2009 -0500 Correct ctime arguments Corrects a few places throughout the tree where ctime() is incorrectly passed a pointer to an afs_uint32 or similar fixed-width datatype, instead of a pointer to a time_t. FIXES 124538 Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/100 Tested-by: Andrew Deason Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 262be76294c1c1b2cfdb5e3d77118b6aae5ed430 Author: Simon Wilkinson Date: Tue Jul 21 11:58:47 2009 +0100 Make DRelease take an anonymous pointer DRelease is used to free data blocks returned by the dir package. These can be any of a number of different types, which we were previously dealing with by casting everything to (struct buffer *) before calling DRelease. Instead, make DRelease take a (void *), so we can free any dir package product without requiring casts. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/159 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit f56ca81fbf4abc8d7d1e6e7c5b7c37080cb37b9e Author: Simon Wilkinson Date: Tue Jul 21 14:06:36 2009 +0100 Clarify the proscription of $< Clarify the situations in which $< can be used, as we do use it in some places in the tree. It is sufficiently portable in pattern rules, but should not be used elsewhere Also, change the function definition example to match the format used through out the source tree. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/160 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 7ee55ba59f39587591b4e3af0702889a24d5e118 Author: Derrick Brashear Date: Mon Jul 20 09:40:26 2009 -0400 fix init script install rules for linux and darwin the mode needs to be provided before src dest; do so, so we get boot scripts again Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/156 Reviewed-by: Simon Wilkinson Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 5bc9641620d8e1c56a4af6857cb4c79109c79194 Author: Felix Frank Date: Mon Jul 20 11:50:06 2009 +0200 Fixed out-of-tree builds. The problems were * wrong location of Makefile.version-CML * lots of omissions of "$?" in favor of actual file names in Makefiles * wrong dependencies in pam/Makefile.in The latter now point to TOP_INCDIR. Still, ktc.c could not be built from src/pam (buildtree), as include "..." would not work on generated headers. Therefore, it uses include <...> where appropriate now. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/155 Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b4783c245d233a0883a29241351869d616a9f6a4 Author: Marc Dionne Date: Sat Jul 18 00:15:01 2009 -0400 Warning cleanups for kernel module build Take care of various warnings (about 70) during a libafs build. A non-exhaustive list of changes: - Unused variables, in some cases to be IFDEFed along with the code that uses it - Cast some const char * to char * for the afs_* functions - Move afs_UFSCacheFetchProc and afs_UFSCacheStoreProc declarations to afs_prototypes.h - Include afsutil.h in error_msg.c to get strlcpy - Change type of argument 3 in export_sysname, to match what the callers are actually doing - Rework a few lines in pthread_glock.c to avoid a warning about unused value - Fix a warning in rpc_scan.c that really looks like a bug (but probably harmless in our case) Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/151 Reviewed-by: Russ Allbery Tested-by: Russ Allbery commit f6e46babd8e3a0d51d31ae381748516330f5b84d Author: Michael Meffie Date: Fri Jul 17 11:06:34 2009 -0400 Build on linux 2.4 again Add missing conditional to fix building on linux 2.4. FIXES 125120 Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/148 Tested-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 2797f8380a700eee870fbd3a5fb08a2cb4ea1deb Author: Jeffrey Altman Date: Sat Jul 18 03:46:21 2009 -0400 Correct ifdefs in rx.c for rx packet debugging Reported by Marc Dionne Fix two sets of ifdefs in rx.c required for RXPACKET_DEBUG. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/152 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 25eb69a32aac30f50a33432664c287984f24162c Author: Marc Dionne Date: Fri Jul 17 21:29:10 2009 -0400 Disable kdump build on linux 2.6 Don't try to build kdump on linux 2.6 where it has been known to be broken for a long time. The build failure was ignored, but produced a large number of errors and warnings, polluting the build log. On a test amd64_linux26 system with a recent kernel and --enable-warnings, this results in over 750 fewer warnings and 100+ fewer errors. Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/150 Tested-by: Russ Allbery Reviewed-by: Russ Allbery commit 0b3e7a074789dccf4738364e24f20656d3f06729 Author: Felix Frank Date: Wed Jul 1 13:20:14 2009 +0200 Gathered alternative afs_TttCacheFetchProcs and afs_TttCacheStoreProcs Fetch and Store procs now live in the new source file afs_fetchstore.c Reviewed-on: http://gerrit.openafs.org/106 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit 07692c44d39e3c11347ce7428730342ea9c6f53c Author: Derrick Brashear Date: Thu Jul 16 14:59:09 2009 -0400 fstrace needs -lnsl on Solaris in order for gethostbyname to be satisfied for util.a, -lnsl is needed Reviewed-on: http://gerrit.openafs.org/146 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear Reviewed-by: Russ Allbery commit 2cf12c43c6a5822212f1d4e42dca7c059a1a9000 Author: Simon Wilkinson Date: Tue Jul 14 00:01:09 2009 +0100 Use AFS_PTR_FMT to format pointers Replace "0x%x" with "%"AFS_FMT_PTR for pointer printing in all locations where gcc flags a warning. This change is warnings reduction driven - there are many more occurences of this in the code which don't currently result in compiler warnings, because the va_args functions they're used in aren't defined as printflike. Reviewed-on: http://gerrit.openafs.org/75 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Derrick Brashear Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 0c7bb45c91cee0d47fa0263831f7d22889153a36 Author: Simon Wilkinson Date: Fri Jul 10 16:13:09 2009 +0100 Make afs_warn() and afs_warnuser() va_args The afs_warn() and afs_warnuser() functions take a variable number of arguments. Historically, we've handled this by just not prototyping them. This change builds on the work done a while back to get a prototyped osi_Panic() working in the kernel, and contains the same work arounds for platforms with no usable va_args support (HPUX) and those where support is limited (some Darwin, some Linux) Reviewed-on: http://gerrit.openafs.org/27 Reviewed-by: Russ Allbery Verified-by: Russ Allbery Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 54b13240943e1a4f244d412892d0d266def42a5e Author: Russ Allbery Date: Wed Jul 15 00:47:09 2009 -0700 Demystify catopen return value in fstrace For some reason, the code was, on all platforms other than Digital UNIX, assigning the return value of catopen to an integer, with and then immediately assigning it to an nl_catd (the actual return value type). Remove all of that and store the return value directly in an nl_catd variable. Reviewed-on: http://gerrit.openafs.org/93 Reviewed-by: Simon Wilkinson Verified-by: Simon Wilkinson Reviewed-by: Derrick Brashear commit 0e3036e4d13dd3f055c9a2d9406e5953587b25f6 Author: Russ Allbery Date: Wed Jul 15 00:06:09 2009 -0700 Simplify fstrace message catalog and support non-dest installation fstrace was searching for its message catalog first through the normal NLS message catalog search paths and then falling back on the client configuration directory. This, however, is neither a traditional message catalog for internationalization nor is it a configuration file. Instead, search for the message catalog only in a C directory under AFSDIR_CLIENT_DATA_DIRPATH, which is for architecture-independent data, and simplify the code. Now that we have a standard location for the message catalog, install it with make install as well as make dest. Reviewed-on: http://gerrit.openafs.org/92 Verified-by: Simon Wilkinson Reviewed-by: Derrick Brashear commit 5b224f299e27e7708feb9372e362fd74f9441d01 Author: Hartmut Reuter Date: Thu Jul 16 10:33:57 2009 +0200 Remove misplaced lines The same lines appears 17 lines up. So it is already done. But here we shouldn't do it again after having released the write lock in tdc and tdc itself Reviewed-on: http://gerrit.openafs.org/79 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 79f00021ce2d7049e0c69815ab4599a9161145e6 Author: Russ Allbery Date: Tue Jul 14 23:22:00 2009 -0700 Provide an AFSDIR_DATA_DIR path for architecture-independent data Add AFSDIR_DATA_DIR to dirpath.h, defined to be the location for installing and finding architecture-independent data files. Add a corresponding AFSDIR_CLIENT_DATA_DIRPATH macro that retrieves the possibly-prefixed version of this path. This will be ${datadir}/openafs with normal UNIX installation paths and /usr/vice/etc for Transarc paths. Since there is no apparent need for this path on Windows, it is not defined in Windows builds. The only intended use for this path for right now is the message catalog for fstrace. Reviewed-on: http://gerrit.openafs.org/91 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 868ddef206e7c764427cf4abb91e1e69326a2198 Author: Jeffrey Altman Date: Thu Jul 16 11:53:52 2009 -0400 Do not print volume name in DisplayFormat2 if status is not VOK DisplayFormat2 is used to generate volume output for ListVolumes and ExamineVolume. If the volume status is not VOK, the name field will not have been populated with valid data. Do not print it. This commit also removes an extraneous switch block from XDisplayFormat2. The switch variable is already known to have the value VOK due to an enclosing conditional. FIXES 125111 LICENSE MIT Reviewed-on: http://gerrit.openafs.org/140 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit a2d3f60222b29988f78b42608088d4db3da95d9d Author: Simon Wilkinson Date: Mon Jul 13 23:00:44 2009 +0100 Make UAFS builds stop the main build The sub-make invocations in libuafs ignored the return code of the make, which allowed the libuafs build to appear to succeed even if files had failed to build. Fix this. Reviewed-on: http://gerrit.openafs.org/74 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Derrick Brashear commit 1d1ae6195bd03c4348a57914cf892e06b507d855 Author: Derrick Brashear Date: Wed Jul 15 14:57:56 2009 -0400 MacOS 10.6 support update Make things build on MacOS 10.6 again. Don't break 10.5 build. Fix an error in the MacOS port which was left from previous head. Reviewed-on: http://gerrit.openafs.org/96 Verified-by: Derrick Brashear Reviewed-by: Russ Allbery Reviewed-by: Derrick Brashear commit 7cd67334333f9b25c5cdf5f0169809948db8896a Author: Jeffrey Altman Date: Thu Jul 16 01:54:56 2009 -0400 Correct build rules for NSIS in top-level NTMakefile NSIS.i386 build rule must build the NSIS directory, not the NSIS.i386 directory. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/105 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 280861970ec2b714d1f2d651541a9552f92a32e4 Author: Russ Allbery Date: Tue Jul 14 22:52:35 2009 -0700 Remove NLS message catalog implementation for pre-2.0 OSF fstrace had its own copy of the NLS catopen/catgets/catclose library functions only on OSF platforms prior to 2.0 with the functions renamed to add a "1" (which looked cut and pasted from somewhere else). This is old enough that we no longer support that platform, so drop all of that code and partly untangle the #ifdefs to remove the pre-2.0 OSF case. Reviewed-on: http://gerrit.openafs.org/88 Reviewed-by: Derrick Brashear Verified-by: Simon Wilkinson commit 86b0f09bddeded9515f39ad17b47a0b4e23a968b Author: Jeffrey Altman Date: Wed Jul 15 11:26:12 2009 -0400 vos print_addr() must call ubik_VL_GetAddrsU with correct level of indirection Reported by Marcus Watts. print_addr() accepts a afsUUID* and must not pass the address of that variable to ubik_VL_GetAddrsU. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/101 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 6d9617981c3fb6c0d188f12e896ad42c34d9e611 Author: Jeffrey Altman Date: Wed Jul 15 19:58:47 2009 -0400 de-"register" src/WINNT Remove all uses of "register" from the src/WINNT source tree. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/104 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 1c24db09fa193f964729aee27f309c27dec9853a Author: Jeffrey Altman Date: Wed Jul 15 19:16:14 2009 -0400 Add/Update .gitignore files for Windows builds Many Windows files were not included in the .gitignore files. Many directories did not have .gitignore files at all. Add and update where required. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/103 Verified-by: Simon Wilkinson Reviewed-by: Simon Wilkinson Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 15d203c7be957ba0e63288e2d95cbd078d94eb21 Author: Michael Meffie Date: Wed Jul 15 12:46:56 2009 -0400 Fix assert message to avoid printing garbage Fix an off by one error in assert() to avoid printing garbage characters to the log. Remove the newline character generated by ctime() to match the format generated by the other logging functions. FIXES 124613 Reviewed-on: http://gerrit.openafs.org/102 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 4f36dd089a9c7187f94f77516a486245c057f7f4 Author: Andrew Deason Date: Tue Jul 14 11:29:01 2009 -0500 Ignore SIGSYS when issuing pioctl syscall Ignore SIGSYS when we issue the pioctl syscall, so we don't dump core when the kernel module hasn't yet been installed on several platforms. Also, restore the old SIGSYS signal handler afterwards, so we don't cause any side-effects. Reviewed-on: http://gerrit.openafs.org/81 Verified-by: Andrew Deason Verified-by: Derrick Brashear Reviewed-by: Russ Allbery commit 00e32618c0f08f314e191655e373452891213ee5 Author: Asanka Herath Date: Wed Jul 15 11:23:42 2009 -0400 Use InterlockedExchangeAdd() instead of InterlockedAdd() on Windows InterlockedAdd() is not supported on all the platforms we wish to support. However, InterlockedExchangeAdd() is. The two functions are semantically similar with the exception that InterlockedExchangeAdd() returns the initial value of the object being modified while InterlockedAdd() returns the resulting value. Since the return value of the rx_MutexAdd() macro is unused, this is irrelevant. Reviewed-on: http://gerrit.openafs.org/98 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 0732d4505654fb51daf6302439b467dffcbe7d3d Author: Jeffrey Altman Date: Wed Jul 15 02:41:03 2009 -0400 To reference one element of a C-string use [] Reported by Marcus Watts Pointer arithmetic is inappropriate when attempting to output one of the elements of an array or C-string. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/90 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 6a68be71da262b7cc3a150097d579f64325c29ce Author: Jeffrey Altman Date: Wed Jul 15 02:27:29 2009 -0400 RXAFSCB_GetCellServDB takes a serverList not an array of afs_int32 Reported by Marcus Watts ListCellsRPC calls RXAFSCB_GetCellServDB which takes a serverList and not an array of afs_int32. Add the serverList and copy the resulting server addresses into the array of afs_int32 address values. Include afs/afscbint.h instead of afs/afsint.h in order to obtain prototypes for RXAFSCB_ functions. Reviewed-on: http://gerrit.openafs.org/89 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 47e31b020c3393fdbda9dddd99269482693cfb6c Author: Jeffrey Altman Date: Wed Jul 15 01:53:32 2009 -0400 Correct pointer type of 'next' field within struct volinfo Reported by Marcus Watts The next field of struct volinfo is supposed to be a pointer to a struct volinfo. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/87 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit f498c18a6f7300eb89ca3b9d9b85c4d461fa8474 Author: Jeffrey Altman Date: Wed Jul 15 01:46:45 2009 -0400 Do not call principal_hton() to copy ktc_principal structs Reported by Marcus Watts. principal_hton() is used to copy butc_principal structs. Passing in a ktc_principal as source and destination will result in beyond the end of the ktc_principal. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/86 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit a8cd0240e19301673598544166dab639f8e83c10 Author: Jeffrey Altman Date: Wed Jul 15 01:32:28 2009 -0400 Do not call ctime() twice in the same statement Reported by Marcus Watts. Two calls to ctime() in the same fprintf() statement will result in only one of the times being printed twice. This is due to the fact that ctime() returns a static buffer. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/85 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 91ff083dfb098232722ed0fb9dc9bed495174e27 Author: Jeffrey Altman Date: Wed Jul 15 01:06:07 2009 -0400 Add missing TapeLog parameter to warning message Bug identified by Marcus Watts. Add missing TapeLog parameter to warning message. LICENSE IPL10 Reviewed-on: http://gerrit.openafs.org/84 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 6d6390338c7b3eadb725f916464ddb7d3b3e7b09 Author: Jeffrey Altman Date: Mon Jul 13 21:24:58 2009 -0400 Improve Windows Build System By Using MT-safe Versions of Libraries For many years the Windows Build System has incorrectly mixed some Pthread and LWP code. One of the side effects of this mixing was the need for the EXT2 extern macro definition in src/rx/rx_globals.h which permitted the LWP compiled routines to link with the Pthreaded afsrpc library. This commit creates or modifies multi-threaded versions of various libraries including mtafsubik.lib, mtafsutil.lib, mtafsvldb.lib, and mtafsvol.lib. All of the threaded servers now make use of these libraries. This reduces the number of times that many source files were recompiled for each server directory. util_GetInt32 was defined in both src/util/volparse.c and src/WINNT/afsd/fs_utils.c. Now that mtafsutil.lib is being used within src/WINNT/afsd there is no need to maintain the duplicate copy. The export list for afsauthent.def now includes all of the ubik_PR_xxxx function variants and afsrpc.def now include rxi_CallError as it is linked to outside the rx library. The top-level NTMakefile has been modified to permit the tree to build with the new header and library dependencies. The threaded volserver which never built before now does. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/77 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear Reviewed-by: Asanka Herath Verified-by: Asanka Herath Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 8a2330a9a6914baf29b94f000848fcca0c331d50 Author: Jason Edgecombe Date: Tue Jul 14 22:12:18 2009 -0400 Updated chapter 2, sections 1-3 of the Admin Guide Replaced some references to the Authentication Database with Kerberos. Removed text about obsolete tools like rcp, inetd, and rlogin. Corrected references to AFS Product support by replacing them with links to the OpenAFS Support page. Added warnings about using the wrong fsck binary with inode and namei-based fileserver binaries. Removed an obsolete paragraph about ThisCell and how it interacts with the Authentication Database. LICENSE BSD FIXES 124931 Reviewed-on: http://gerrit.openafs.org/10 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit d9445f505ad0fc5a993d954a2d6654785c140351 Author: Jeffrey Altman Date: Tue Jul 14 17:49:00 2009 -0400 Prevent crash on Windows when data version goes backwards Within cm_MergeStatus() cm_FindVolumeByID() was called with a NULL pointer instead of a valid cm_req_t object pointer in the case where the data version for an object received from the file server is smaller than the value already stored in the cache. This results in a NULL pointer dereference. Allocate a cm_req_t object on the stack and initialize it before calling cm_FindVolumeByID() in this case. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/83 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit cdda13eec2a00becb8c2ce5270dd00a0f1097519 Author: Michael Meffie Date: Tue Jul 14 12:03:22 2009 -0400 Fix dirpath shell script generated from makefile Generate the correct paths when building transarc style paths. Remove the redundant dirpath shell script that was generated by the afs-newcell script. Update the run-tests driver to use the build time generated dirpaths. FIXES 124976 Reviewed-on: http://gerrit.openafs.org/80 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit dc6299f5bbe9defe8627519674a3ffab01443410 Author: Simon Wilkinson Date: Sat Jul 11 00:15:26 2009 +0100 Ukernel prototypes Prototypes and warning fixes for the cache manager when built as part of libuafs Reviewed-on: http://gerrit.openafs.org/73 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 243836efbb89a3b863d29ac9b0459411a4b666d5 Author: Simon Wilkinson Date: Tue Jul 14 00:18:25 2009 +0100 Capabilities are unsigned on Windows too Capabilities are defined in the .xg file as being an array of unsigned integers. Implement them as such on Windows, too. This is a Windows version of the fix in 7191005e4df1eaaf4ec94c8199ffeb72be785794 Reviewed-on: http://gerrit.openafs.org/76 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 54c0a3f3e6575fa5af39ddd797d5381c36b48001 Author: Evan Broder Date: Wed Mar 25 18:18:09 2009 -0500 Allow passing in human-readable units for specifying amounts of space Add a util_GetHumanInt32 function for parsing numbers human-readable units using single-character, uppercase suffixes for indicating orders of magnitude (e.g. 'M', 'G'). Use this function to parse human readable values for all arguments that previously accepted a value in kilobytes: fs setquota, fs setcachesize, vos setfields, and vos create. Reviewed-on: http://gerrit.openafs.org/66 Verified-by: Marc Dionne Reviewed-by: Russ Allbery Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 2510a6ec675669739a625305bcc11ab2ad671122 Author: Russ Allbery Date: Sun Jul 12 09:07:12 2009 -0700 Ensure PAM modules are built PIC and pthread-aware where needed Link the PAM modules against libafsauthent_pic and libafsrpc_pic instead of the large collection of LWP AFS libraries so that they are always built PIC, even on platforms that don't normally build everything PIC. This also uses the pthread-aware version of the AFS routines on platforms that support it, avoiding conflict problems between LWP in PAM modules and pthread in a calling application. Build a separate copy of ktc.krb.o in the pam directory for pam_afs.krb since there is no AFS_KERBEROS_ENV-aware version of libafsauthent. Enable the PAM module build by default on x86_64-linux now that it's properly built PIC and can compile. Stop ignoring build failures in the PAM modules if they're configured to build. On platforms where they should not be built, they should be excluded in acinclude.m4. Reviewed-on: http://gerrit.openafs.org/65 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit cd37fd33f70c2196ff64188e32ff759590cb3748 Author: Russ Allbery Date: Sun Jul 12 11:26:03 2009 -0700 Make ktc_curpag generally available ktc_curpag isn't specific to a Kerberos v4 environment, so move it outside the AFS_KERBEROS_ENV #ifdef. Add it to the auth.h header and to the exports from the shared libafsauthent. Reviewed-on: http://gerrit.openafs.org/64 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 7191005e4df1eaaf4ec94c8199ffeb72be785794 Author: Simon Wilkinson Date: Mon Jul 13 18:24:42 2009 +0100 Capabilities are unsigned Capabilities are defined in the .xg file as being an array of unsigned ints. Implement them as such. Reviewed-on: http://gerrit.openafs.org/72 Reviewed-by: Jeffrey Altman Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 86cfd2302074f4bbc2a09e882b70b0b540f019c7 Author: Simon Wilkinson Date: Fri Jul 10 17:57:16 2009 +0100 Remove unused variables in vol Remove some unused variables and isolate items that are demand attach only Reviewed-on: http://gerrit.openafs.org/71 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 215838d65734ad819d3bd27a2f715d1d6f68394a Author: Russ Allbery Date: Sun Jul 12 11:24:17 2009 -0700 Add strlcat and strlcpy to libafsauthent and libafsrpc Other functions included in libafsauthent and libafsrpc are using strlcpy and strlcat, so include those objects in the libraries so that they stay self-contained. strlcat and strlcpy shouldn't be part of the public API for the libraries, for various reasons including the fact that they're not built on all platforms. Therefore, don't add the functions to the library exports and include them separately in each library. Reviewed-on: http://gerrit.openafs.org/63 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit 4c2a6c8799ab7e8fabee9af6d50a7c56cb220cf9 Author: Marc Dionne Date: Sun Jul 12 22:03:36 2009 -0400 Linux build: properly install built kernel module Fix a problem introduced by the recent parallel make patches - the resulting kernel module was not getting copied to the install or dest location. Copy some of the code from the COMPDIRS target for INSTDIRS and DESTDIRS. We still have to call into the lower level make and have it install the module. Reviewed-on: http://gerrit.openafs.org/67 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit d58dc56d9986ab863065e5f3d8f926a25aa5b5bf Author: Simon Wilkinson Date: Sat Jul 11 18:54:15 2009 +0100 Add system headers There are a number of places in the tree which are missing system headers such as and . Add these. Reviewed-on: http://gerrit.openafs.org/62 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 42d64b5b1f9944fe35bd6358ebeba9a24162243e Author: Hartmut Reuter Date: Fri Jul 10 15:46:09 2009 +0200 Make 'fs listquota' output readable for large quota With the old print format quota and used values became one large number for quotas in the terabyte range. Fix alignment of the "no limit" string in the Windows fs command for volumes with no quota. Reviewed-on: http://gerrit.openafs.org/34 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Jeffrey Altman commit e11eb503790015d817b031f9c15ce13050d836ee Author: Simon Wilkinson Date: Fri Jul 10 18:14:21 2009 +0100 Tidy up the rx directory Give functions that need them return values Add prototyping for server_proc and rx_ts_tinfo_init Make debug functions only build when RXDEBUG is enabled Reviewed-on: http://gerrit.openafs.org/61 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit 94a3f8fb64fa7bc28529eb3a3abd3f5b10f7854a Author: Simon Wilkinson Date: Sat Jul 11 18:07:20 2009 +0100 Remove vlclient.h The vlcient.h header file just provides definitions for functions that are now protoyped elsewhere by rxgen. It is only referenced by vlclient.c which was already including the rxgen header. So, nuke vlcient.h, and references to it. Reviewed-on: http://gerrit.openafs.org/60 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit 8e382795d52b6fe8db33ff5353f841b077a25671 Author: Marc Dionne Date: Sat Jul 11 18:18:08 2009 -0400 Parallel make: additional fixes Testing turned up a few more errors with parallel builds: - Linux: Apply a similar fix for "make dest" to the one in the previous patch for "make install". Avoid conflict between DESTDIRS and COMPDIRS, which also prevents unneeded duplicate work. - Fix a couple of cases where we have 2 targets in a single rule with a command that generates both of them. Two parallel jobs can run this command at the same time, with missing or corrrupted files as a result. The workaround: make one of the targets build the files, and make the second target depend on the other one. Reviewed-on: http://gerrit.openafs.org/57 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Derrick Brashear commit c8920835ae9e33555a7d023cd0bd3a2f26a98b98 Author: Russ Allbery Date: Fri Jul 10 16:48:42 2009 -0700 Probe for getcwd in configure src/venus/test/fulltest.c wants to use getcwd and expects HAVE_GETCWD to be defined, but we weren't probing for it in configure. Reviewed-on: http://gerrit.openafs.org/51 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 8519ed8d217a484c29e514bb2e6e7c7faa88b20e Author: Simon Wilkinson Date: Sat Jul 11 14:37:37 2009 +0100 Make lwp.h always provide fasttime prototypes The fasttime functions are used regardles of whether we're using pthreads or LWP. Previously, lwp.h only provided their prototypes if LWP was in use. Change this so these prototypes are always provided, by refactoring the header a little. In the process, remove some duplicate header includes. Reviewed-on: http://gerrit.openafs.org/56 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit d46713d4bd0d0ce32640d973696c914e804413f6 Author: Marc Dionne Date: Mon Jul 6 20:41:25 2009 -0400 Parallel make fixes Fixes several problems with parallel makes in the current source: - Add '+' prefix to many top-level Makefile commands. This informs make that the following command should be treated as a sub-make and propagates the -jN flag. - Add a few missing dependencies - Tweak some Makefiles that work with generated header files to prevent cases where we attempt to use the file while it's being generated - For the Linux kernel build, eliminate duplicated effort between COMPDIRS and INSTDIRS, which also prevents conflict between the two in a parallel situation. FIXES 125031 Reviewed-on: http://gerrit.openafs.org/3 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit df87d886bb1b2cf2bab8075a21a62f11d4eafc97 Author: Derrick Brashear Date: Fri Jul 10 15:59:55 2009 -0400 Update IRIX build issues Refer to srcdir, not SYS, for syscall.s Don't build fc_test for all (libsys doesn't exist yet) Include needed header for Fd_t in xfs_size_check Reviewed-on: http://gerrit.openafs.org/41 Verified-by: Derrick Brashear Reviewed-by: Russ Allbery Reviewed-by: Derrick Brashear commit 7f8249bc57e5a03051f44ec62f1523d02f428692 Author: Jeffrey Altman Date: Sat Jul 11 01:37:45 2009 -0400 Correct format specification for "struct clock" values struct clock contains signed seconds and signed microseconds. The format specification should be %d.%06d in all cases. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/55 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit c4c0c67fb6afc30a97c93552d00460b3291ac872 Author: Jeffrey Altman Date: Fri Jul 10 20:43:13 2009 -0400 Correct computation of rx packet resends and data packets sent. rx packet resends were being double counted. rx data packets sent were one more per send list than it should have been. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/54 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 5d4dabc50a0f313b95eb3ab6be7153d5f41fef5f Author: Simon Wilkinson Date: Sat Jul 11 00:54:04 2009 +0100 ANSIfy bu_utils A very small amount of code cleanup to add prototypes, ANSIfy, and remove warnings from the fms.c file Reviewed-on: http://gerrit.openafs.org/53 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit a2e728fe9f34ca12c9d26eb299dbc8806273e9a4 Author: Simon Wilkinson Date: Sat Jul 11 00:51:14 2009 +0100 Prototypes for the update directory Prototyping, ANSIfication, and warning cleanup for the update directory Reviewed-on: http://gerrit.openafs.org/52 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit ac3e0ed03187cf7c8af046adb102d6500452815f Author: Simon Wilkinson Date: Sat Jul 11 00:41:02 2009 +0100 Rename printf cast helpers and clean up format string warnings Some confusion had ensued about the usage of our printf cast helper functions. Rename these to attempt to allay that confusion, and restore the functions themselves to their original definitions. Essentially, afs_printable_int32_ld() and friends are helpers to go from afs specifc types to things that can be emitted by printf without causing compiler warnings. Also clean up some additional warnings from type mismatches between escapes in printf format strings and the variables being printed. Reviewed-on: http://gerrit.openafs.org/50 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit d34017c9edccf35825bc2cf1b345e78aeb50b73a Author: Simon Wilkinson Date: Sat Jul 11 00:07:37 2009 +0100 Warning cleanup for the libadmin directory Where we can, include headers from the include directory Resolve a load of const char* /char * issues Mark some Windows only variables as such Fix prototypes Reviewed-on: http://gerrit.openafs.org/49 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 01ba9cde63214397843c6f45e0abcacb685218c3 Author: Simon Wilkinson Date: Fri Jul 10 23:57:38 2009 +0100 Prototypes for venus/test Add additonal headers, prototypes, and ANSIfy function definitions in venus/test Reviewed-on: http://gerrit.openafs.org/48 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 738878d9f0cbf38e2bb53be13cf7f1d35f217eeb Author: Simon Wilkinson Date: Fri Jul 10 23:36:39 2009 +0100 Further cleanup of the butc directory Now that butm is sharing its prototype, further cleanup, ansification and warnings reduction for butc. Reviewed-on: http://gerrit.openafs.org/46 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 4e7b1578384250a0ab7b054af0fabe157a5dba45 Author: Simon Wilkinson Date: Fri Jul 10 23:46:36 2009 +0100 Prototypes for rxdebug Trivial prototyping and warning cleanup for the rxdebug directory Reviewed-on: http://gerrit.openafs.org/47 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit bf786eaf43cf58aac576994f3bfed5a41957aa32 Author: Simon Wilkinson Date: Fri Jul 10 23:04:25 2009 +0100 Add exported butm_prototypes.h header Add exported header for the butm directory so it can be used elsewhere Reviewed-on: http://gerrit.openafs.org/45 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Jeffrey Altman commit fb51d2796f8d7f1ae4338181a80bb5ceb58e2d3f Author: Simon Wilkinson Date: Fri Jul 10 22:27:30 2009 +0100 Export budb_prototypes.h Other modules need prototypes from the budb directory, so we need to export this header. However it contains lots of internal functions. So, split the header into budb_prototypes.h and budb_internal.h, and reference the internal.h header locally. Reviewed-on: http://gerrit.openafs.org/44 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Jeffrey Altman commit dae49105c81b526f7fb3c3832984e9411c5c7ac2 Author: Jeffrey Altman Date: Fri Jul 10 15:47:35 2009 -0400 bucoord_prototypes.h is a new public header file. Install bucoord_prototypes.h to the include/afs directory. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/43 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 73cef96bb335056963c31a6ec382cb4fa969b29e Author: Jeffrey Altman Date: Fri Jul 10 15:33:47 2009 -0400 afs/vol_prototypes.h is a new public header file. Add afs/vol_prototypes.h to src/vol/NTMakefile so it will be installed in the public include directory. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/42 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 8978e035bab7c49cceb942589f65d8b0a5d0465c Author: Russ Allbery Date: Fri Jul 10 08:10:37 2009 -0700 Clean up uses of strcpy and strcat in src/vol/namei_ops.c Replace all uses of strcpy and strcat in src/vol/namei_ops.c with either strlcpy/strlcat or afs_snprintf as appropriate. Reviewed-on: http://gerrit.openafs.org/29 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit c244091b192053084d48af0607b0e25419674a76 Author: Simon Wilkinson Date: Fri Jul 10 20:22:18 2009 +0100 Add prototypes for butc Prototype, fix warnings, and ansify the butc directory Reviewed-on: http://gerrit.openafs.org/39 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 586d32c53370458c780c721995695f1ee7bee272 Author: Simon Wilkinson Date: Fri Jul 10 20:28:06 2009 +0100 Don't remove ccode, just conditionalise it The change in b21015242022872101b9c3c78df511e2a2dc6399 broke systems without posix regexes by removing, rather than conditionalising the 'ccode' variable Reviewed-on: http://gerrit.openafs.org/40 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 740d923f4569d888246b231ff9a93278561d3c65 Author: Jeffrey Altman Date: Fri Jul 10 15:07:26 2009 -0400 Add rx_headers build rule on Windows src/util/netutils.c must include rx/rx.h in order to avoid warnings due to the lack of prototypes for rx functions. src/rx depends on src/util being built in order to properly compile. Add a rx_headers build rule to the top level NTMakefile to permit rx headers to be installed before src/util is built. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/38 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 3c6ce91e5a23fa2cb742cb3f6759cec3ece10249 Author: Simon Wilkinson Date: Fri Jul 10 13:52:16 2009 +0100 Roughly prototype the kauth directory A first pass at prototyping and warning reduction for the kauth directory. kauth is plagued by the des key type problems, and no attempt to remedy this has been made. Some other complex warnings remain - it didn't seem worth the effort to do this in too much detail, as it's dying soon. Reviewed-on: http://gerrit.openafs.org/23 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear commit 32e107317cbc0db93b46a56dcf69102e9ab0ff1e Author: Simon Wilkinson Date: Fri Jul 10 18:33:38 2009 +0100 Rework bucoord prototypes for external dlq use Rework prototyping in the bucoord directory so that bucoord_prototypes.h can be used by others who need definitions of the dlq_* types. Add additional prototyping and header includes so these types work correctly No Windows specific changes are required, as the NTMakefile doesn't have header dependencies Reviewed-on: http://gerrit.openafs.org/35 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit b21015242022872101b9c3c78df511e2a2dc6399 Author: Simon Wilkinson Date: Fri Jul 10 12:54:10 2009 +0100 Prototyping for the volser directory Prototyping and warning message reduction for the volser directory. Adds physio.h and dumpstuff.h as internal header files, Many error code variables are changed from being afs_int32, to the 'Error' typedef, to remove signed comparison errors. Reviewed-on: http://gerrit.openafs.org/19 Reviewed-by: Russ Allbery Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit e712cae20ec3e256e47fba5bac9b7d467c44810b Author: Simon Wilkinson Date: Fri Jul 10 17:28:44 2009 +0100 Prototype viced Add prototypes, remove warnings, and ANSIfy code in the viced/ directory Reviewed-on: http://gerrit.openafs.org/33 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 8d546dcc90d861df24cef6fcded2fbc5998d7407 Author: Simon Wilkinson Date: Fri Jul 10 13:40:56 2009 +0100 Remove pr_PrintEntry from public headers pr_PrintEntry isn't used outside of the ptserver directory, and requires struct prentry, which is defined internally, so remove it from ptuser.h, and create a new internal header to hold it. Also, tidy up some type mismatch warnings by making static strings const char * Reviewed-on: http://gerrit.openafs.org/22 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit 3bf2e90f251344f72437dc05e3780ba5c86e8096 Author: Simon Wilkinson Date: Fri Jul 10 16:44:39 2009 +0100 ANSIfy ptclient Change all the function definitions in ptclient to ANSI form Reviewed-on: http://gerrit.openafs.org/32 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit a151529de62bd6049ddc507c62bc09747c3ec111 Author: Simon Wilkinson Date: Fri Jul 10 13:30:20 2009 +0100 Tidy up util Resolve a number of minor warnings Prototype the stolower function for use elsewhere Reviewed-on: http://gerrit.openafs.org/21 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 095ad16a315bf564139dd9904348f889bee58f73 Author: Simon Wilkinson Date: Fri Jul 10 14:25:40 2009 +0100 Fix return type defaults to int warnings in ubik Fix "return type defaults to int" warnings in ubik/beacon.c Reviewed-on: http://gerrit.openafs.org/24 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit 4087484fb45c5e6dbde6106d9c389e6f69b80b05 Author: Simon Wilkinson Date: Fri Jul 10 12:10:46 2009 +0100 Tidy up libacl Very small amount of prototyping Rewrite comment block so it wraps at 80 lines Make sure there are no implicit ints Reviewed-on: http://gerrit.openafs.org/18 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit 7c472cd9a685fe13a96038dfe57c62c5da5a669c Author: Simon Wilkinson Date: Fri Jul 10 13:19:03 2009 +0100 Prototype the xstat directory Prototype, ansify, and remove errors in the xstat directory Reviewed-on: http://gerrit.openafs.org/20 Reviewed-by: Russ Allbery Verified-by: Russ Allbery commit 79316efa84daead80c8cb8e28ebc3530768a6da7 Author: Jeffrey Altman Date: Fri Jul 10 11:42:17 2009 -0400 Modify Windows top-level NTMakefile to use "md" instead of "mkdir" Now that src/config/NTMakefile. actually uses the override value. Lets fix the definition of MKDIR to avoid the Unix style executables. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/31 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 386fea8d86b6debeb81355ba9bdede83b2f7285d Author: Jeffrey Altman Date: Fri Jul 10 11:16:25 2009 -0400 The Windows Makefiles provide macros for various commands. The MKDIR macro is current assigned to mkdir which causes the cygwin/msys mkdir.exe commands to be used instead of the cmd.exe built-in command. Change this to use "md" instead so that the built-in will be used by default. In addition, permit the macros to be overridden by the top level NTMakefile or the environment. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/30 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit a9368a6c3dfe4435ec2ae63fff4a3325104ed9f7 Author: Derrick Brashear Date: Fri Jul 10 10:52:27 2009 -0400 HP-UX 11i compiler will segv on static __inline in the fsbnode-bnode xlator since this function appeared the compiler on HP-UX 11i started segving. since it's not necessary, we simply remove it Reviewed-on: http://gerrit.openafs.org/28 Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit 9e8ae43b112f2f1f4a9e81eacf5e8abc0a3e16b5 Author: Jeffrey Altman Date: Thu Jul 9 21:25:07 2009 -0400 Add "PerFileAccessCheck" registry value. The HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon "PerFileAccessCheck" registry value (DWORD) is intended for use only by developers who wish to test how Windows would behave if a per-file access rights check was performed. Windows performs all access rights checks using the directory access rights. There is no support for the VL_DFSFILESET flag. During CreateFile() processing the requested access rights are checked against the access rights reported by the file server for the directory. If the reported rights are more permissive than the effective access rights for the file, Windows applications (including the Explorer Shell) will behave quite poorly. In other words, if the request is for write privilege and the CreateFile() successfully opens the file with write privilege, subsequently reporting an access denied on a WriteFile() call will result in very poor behavior. The addition of this option is simply to make it easier on developers to test various prototype solutions for adding per-file access rights. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/15 Reviewed-by: Asanka Herath Reviewed-by: Derrick Brashear Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman commit 6c6f9dce248bb22162981fec8a5de53736740e7f Author: Simon Wilkinson Date: Fri Jul 10 11:58:44 2009 +0100 Tidy the vol directory - Remove some further warnings from the vol directory - Add volutil_PartitionName2_r to afsutil_prototypes.h - Export vol_prototypes.h so it can be used elsewhere in the tree Reviewed-on: http://gerrit.openafs.org/17 Reviewed-by: Derrick Brashear Reviewed-by: Russ Allbery Verified-by: Derrick Brashear commit 0cf977e5354bd28ac6d9777662e6a2121a510d35 Author: Simon Wilkinson Date: Thu Jul 9 13:53:33 2009 +0100 Prototype the vlserver directory Prototype, ansify, and other do warning cleanups on code in the vlserver directory. Reviewed-on: http://gerrit.openafs.org/16 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit b7942950c2d1fcaa1e94ebbe91c8d2a9a7670cdb Author: Aaron M. Ucko Date: Mon Jul 6 17:41:49 2009 -0700 Always use kbuild for all Linux kernel configure probes Some Linux kernel probes for the existence of header files were done with file existence checks (test -f). This breaks if the kernel build system is stacking multiple directories of headers together with compile-time -I include path options, as is the case for the current Debian Linux header packages. Instead, always use kbuild to check whether a kernel header is available. Similarly, use AC_TRY_KBUILD instead of AC_TRY_COMPILE when checking for an SELinux kernel, since AC_TRY_COMPILE doesn't call into kbuild and won't get the correct kernel header paths. This is part of the fix for Debian Bug#521745 and has been included in the Debian package since 1.4.10+dfsg1-1. Reviewed-on: http://gerrit.openafs.org/5 Verified-by: Russ Allbery Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 01d390d0d022309d06760aac1373829a35a6d79c Author: Aaron M. Ucko Date: Mon Jul 6 17:51:00 2009 -0700 Build shadow header files when necessary on Linux The current kernel module build infrastructure relies on the ability to create symlinks from known directory names used in the AFS code to the actual locations of the kernel header files. This breaks if there is no single kernel header tree and instead multiple trees are layered together by kbuild using compile-time -I include paths. Attempt to detect this case by seeing if linux/types.h is in the kernel header directory where we expect it. If not, rather than creating symlinks for h, sys, and netinet, create directories and populate them with single-line headers that just include the corresponding linux/*.h header. The list of headers for which to do this is generated dynamically by analyzing the AFS kernel source code and looking for relevant #include directives. This patch has been part of the Debian OpenAFS package since 1.4.10+dfsg1-1. The check for whether we have layered kernel header trees may be specific to Debian and may require modification later if other Linux distributions do something similar. FIXES 124583 Reviewed-on: http://gerrit.openafs.org/6 Verified-by: Russ Allbery Reviewed-by: Derrick Brashear Verified-by: Derrick Brashear commit 3bb5fa5f1b3dc13ab20ed026c7ea64e11388b9c9 Author: Simon Wilkinson Date: Thu Jul 9 15:08:32 2009 +0100 Remove the RCSID macro The move to git means that we can no longer populate the RCSID macro in the way that it was used with CVS. This patch simply removes the macro from every file, except where it contains information from upstream (and it's in a comment). Reviewed-on: http://gerrit.openafs.org/14 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit bbab48b047000db0d1821e2f65917c2e8c2c7768 Author: Russ Allbery Date: Mon Jul 6 18:41:39 2009 -0700 Build and install PIC versions of libafsrpc and libafsauthent To include AFS code in loadable modules such as PAM modules, NSS modules, or Perl/Python/PHP/Ruby extensions, it needs to be built PIC or one must link with the AFS shared libraries. Since we haven't historically been that great about maintaining the shared library ABI, it's nice to have static libraries built with PIC code that can be linked into such modules. Based on a patch by Garrett Wollman updated with the build system changes that happened after 1.4. Make shlib makefiles have clean rules for PIC libraries. Make RedHat specfile know how to deal with PIC libraries. Reviewed-on: http://gerrit.openafs.org/8 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit 072974935c12ee9e3a512933d8246b5dc5a251e0 Author: Simon Wilkinson Date: Thu Jul 9 13:17:27 2009 +0100 Prototype the afsmonitor directory Prototypes and code cleanup for afsmonitor Reviewed-on: http://gerrit.openafs.org/13 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit f52b97b76cba008c9aa6ae843869c95d83fbd9f9 Author: Andrew Deason Date: Tue Jul 7 17:34:17 2009 -0500 Always display vnode accesses in vos output Vos was not displaying the "N accesses in the past day (i.e., vnode references)" message when updateDate was unset. Fix that. FIXES 125064 Reviewed-on: http://gerrit.openafs.org/9 Verified-by: Andrew Deason Reviewed-by: Jeffrey Altman Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear commit 722070a5c6b1c87cb8c80e8938464183dab01c8f Author: Andrew Deason Date: Wed Jul 8 16:15:37 2009 -0500 Correcting formatting typo in vos addsite manpage Reviewed-on: http://gerrit.openafs.org/12 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit 7488aeef5cfd58935fe4a6a07810c8d757dd98a3 Author: Andrew Deason Date: Wed Jul 8 16:07:58 2009 -0500 Fixing manpage for vos addsite -valid The -valid switch to vos addsite doesn't take an argument, and it is optional. Correcting documentation to reflect that. Reviewed-on: http://gerrit.openafs.org/11 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit ecd3fc42d1d6dca23bb2e2728a0066d3db8eceb6 Author: Russ Allbery Date: Mon Jul 6 17:19:26 2009 -0700 Search for the Linux version in the correct header src/config/linux-version already had support for handling either versioned or unversioned kernel source directories, but the grep for UTS_RELEASE was unconditionally done against the versioned source tree, ignoring the previous determination of where the header file was. Instead, check instead the header file location that we'd previously determined. This patch has been tested in the Debian OpenAFS 1.4.11~pre3+dfsg-1 package. Reviewed-on: http://gerrit.openafs.org/4 Reviewed-by: Simon Wilkinson Verified-by: Russ Allbery Reviewed-by: Derrick Brashear commit 002363adb9526f4c0bc2937b0b6589fae0e5334e Author: Jason Edgecombe Date: Mon Jul 6 21:26:30 2009 -0400 Fixed a minor grammatical error in the voz_zap man page Reviewed-on: http://gerrit.openafs.org/7 Verified-by: Russ Allbery Reviewed-by: Russ Allbery commit d5081f264dae17fed3daca5ed646f9c082557f0c Author: Simon Wilkinson Date: Mon Jul 6 13:52:21 2009 +0100 Remove CVS ignore files Now we're in git we don't need any cvsignore files any more... Reviewed-on: http://gerrit.openafs.org/1 Verified-by: Derrick Brashear Reviewed-by: Derrick Brashear commit ba9ad6284528e669bfaacf0400b90fc08a5614e4 Author: Simon Wilkinson Date: Mon Jul 6 14:38:42 2009 +0100 Revise git ignore files Revise our git ignores to match the current state of the tree, and include entires in the top level for all of the 'dest' directories for all of the architectures we claim to support. Reviewed-on: http://gerrit.openafs.org/2 Reviewed-by: Derrick Brashear Verified-by: Simon Wilkinson commit 46287f679023c8d1430c64d03e06933cf6121a24 Author: Jeffrey Altman Date: Sat Jul 4 04:45:37 2009 +0000 windows-optimizations-20090703 LICENSE MIT when performing offline volume checks, do so in most recently used order if the system is entering suspend state, short circuit the background daemon operations to avoid extra work that is going to fail when the network is shutdown behind the back of the service. commit ebc4f737ae8f8056de1a7f80828a6173ebb24292 Author: Simon Wilkinson Date: Fri Jul 3 14:16:53 2009 +0000 linux-vnop-return-value-cleanup-20090703 LICENSE IPL10 rework all linux vnode ops so the vulnerability we previously had can't recur later just because someone makes a change that would leak a negative error commit 6ef1234402435306cb3935d1eadc5fcf332bd632 Author: Andrew Deason Date: Fri Jul 3 14:03:57 2009 +0000 viced-ubik-clientdestroy-null-20090703 LICENSE IPL10 FIXES 125020 null ubik client point when it's freed in hpr_End to avoid a null deref later commit 22196a7fd78dff342b2f9fca2b38d9a2dd04d42c Author: Derrick Brashear Date: Fri Jul 3 13:56:43 2009 +0000 redhat-spec-manpage-updates-20090703 LICENSE IPL10 add missing manpages to srpm commit 8a6bd630354ab7fc17bc5cfaeb10267ad2cc10eb Author: Jeffrey Altman Date: Wed Jul 1 22:14:42 2009 +0000 wix-manpages-chgrp-chown-20090701 LICENSE MIT add fs_chgrp.html and fs_chown.html man pages commit 4db337f87c0170380037593d1c998fb1b9819aa3 Author: Jeffrey Altman Date: Wed Jul 1 22:12:10 2009 +0000 manpages-fs-chown-chgrp-20090701 LICENSE BSD Add new man pages for fs chown and chgrp on Windows. Update titles for Windows only commands to indicate they are Windows only. commit 4ca66112c2a012e04619445275507ae9cd6c11da Author: Marc Dionne Date: Wed Jul 1 21:56:48 2009 +0000 linux-keyring-export-check-20090701 LICENSE IPL10 FIXES 125001 check for key_type_keyring being exported; only use it if so commit ffd065a69578ad26c860b0b3e54053d6432c4a21 Author: Jeffrey Altman Date: Wed Jul 1 21:25:28 2009 +0000 windows-fs-chown-chgrp-20090701 LICENSE MIT On Windows there is no chown or chgrp command that can be used to change the owner or group of an object in AFS. Therefore we add them to the fs command. Usage: fs chown -owner [-path +] [-literal] [-help] Where: -literal literal evaluation of mountpoints and symlinks Usage: fs chgrp -group [-path +] [-literal] [-help] Where: -literal literal evaluation of mountpoints and symlinks commit ad6a8942db587b2c5b9aaee6a3e8e89b69e3918c Author: Jeffrey Altman Date: Wed Jul 1 02:44:05 2009 +0000 windows-cellconfig-20090630 LICENSE MIT nul terminate the correct variable commit efdf78ae086ba02cc3f6ffbd7b0a2ca31743ced7 Author: Jeffrey Altman Date: Tue Jun 30 19:11:28 2009 +0000 windows-dfs-file-set-warning-20090630 LICENSE MIT Add a debug log warning if the target volume is a DFS File Set. If so, the client will not properly protect against information leakage or properly deal with directory name caching, symlinks, and other behavioral differences between AFS and DFS. commit 49d6a0992c42a6bb1fba8245029f31ca916214e5 Author: Jeffrey Altman Date: Tue Jun 30 18:59:43 2009 +0000 windows-smb-20090630 LICENSE MIT Be sure to call smb_ReleaseVCNoLock before we drop the smb_rctLock. commit 58024c16844a7298f04495ff9023e396a5391aff Author: christof.hanke@rzg.mpg.de Date: Mon Jun 29 21:24:23 2009 +0000 rpmlint-try2-20090629 LICENSE IPL10 FIXES 124951 remove unneeded return; fix iob initialization for curpag pioctl commit a50fa631cad6919d15721ac2c234ebbdda2b4031 Author: Jeffrey Altman Date: Mon Jun 29 20:38:17 2009 +0000 windows-dcache-prefer-xdata-error-20090629 LICENSE MIT FIXES 125018 Fix issue reported by Marc Dionne. RXAFS_FetchData and RXAFS_StoreData return access denied errors that are not reported by the subsequent call to rx_EndCall which should be preferred. commit f202b9778e4489fd80288c5be36e3c102b0cfba9 Author: Derrick Brashear Date: Mon Jun 29 16:19:59 2009 +0000 revert-voldump-v-tag-generation-20090629 LICENSE IPL10 FIXES 18349 generating v tags is currently incompatible. revert this for now commit 3d5415922ea4ede4ce538d7894a6062bf115c6bd Author: Marc Dionne Date: Mon Jun 29 14:58:58 2009 +0000 rcu-patch-fallout-20090629 LICENSE IPL10 FIXES 124996 massaging this for 1.5.x/head caused some fallout. fix doubled endif, and install_session_keyring arguments commit 4a09cd4976dc9088cd32115dc06458afb3a577d4 Author: Jeffrey Hutzelman Date: Mon Jun 29 07:03:09 2009 +0000 cellservdb-20090629 CellServDB from central.org dated 29 Jun 2009 commit 307e077b2343b73731d7f21f422b7a130caf12c7 Author: Jeffrey Altman Date: Mon Jun 29 04:27:41 2009 +0000 windows-shutdown-20090628 LICENSE MIT short circuit on-going offline volume checks once a shutdown has begun. commit b8a1dba29367c9786a5f43c90b0a000ff4d4315d Author: Jeffrey Altman Date: Mon Jun 29 04:25:16 2009 +0000 windows-hard-link-count-20090628 LICENSE MIT cm_Link() is used to create hard links. It did not apply the updated link target status info to the target cm_scache_t object. As a result the linkCount would be incorrect. cm_Unlink() did not take linkCount into account. It did not reduce the locally known linkCount, nor did it invalidate any currently known callback. As a result the linkCount would be incorrect. commit d54859c6ac2e5186b18da027303860966504dbd9 Author: Jeffrey Altman Date: Sun Jun 28 05:15:31 2009 +0000 windows-multi-homed-callbacks-20090627 LICENSE MIT Properly handle callbacks from multi-homed file servers. Comparing cm_server_t pointers is insufficient. For a multi-homed server there will be multiple entries. The UUID for all of the equivalent entries will be the same. What matters is not that the pointers are the same but whether in the case of UUID labeled servers that the UUIDs match. Add cm_ServerEqual() to perform the comparison. commit 100186ec2e4ca5046e1bc312918d4630de00bc7e Author: Jeffrey Altman Date: Fri Jun 26 15:11:10 2009 +0000 windows-callback-server-tracking-for-readonly-vols-20090626 LICENSE MIT Readonly volume callbacks apply to every cm_scache_t from the same volume. We were already tracking the cbExpires time in the cm_volume_t. We need to also track the cbServerp in the cm_volume_t so that the cm_scache_t objects can be assigned the correct server from which the callback was issued. Add cbServerpRO field to the cm_volume_t. Bump the memory map version to force a rebuild of the cache data. commit de374565233eea489079e102865ab6cd65ef0dbb Author: Jeffrey Altman Date: Fri Jun 26 14:14:47 2009 +0000 windows-cell-config-clones-20090626 LICENSE MIT Add support for parsing clones from the CellServDB file. commit e43342e3778524a68219875b5fdc6fae0adbef1f Author: Derrick Brashear Date: Thu Jun 25 13:13:14 2009 +0000 allow-gcpags-disabling--at-compile-20090624 LICENSE IPL10 put this back as was for now; if we want to undef, we can do it later, completely commit 4ac7d59d464d66322a2925c86e955cd8d8067f75 Author: christof.hanke@rzg.mpg.de Date: Thu Jun 25 00:14:43 2009 +0000 pag-get-lint-20090623 LICENSE IPL10 FIXES 124951 make things happy for rpmlint again (wrong initialization) commit 0e718b642cedd1ebc799ada35960164c95c24280 Author: Marc Dionne Date: Wed Jun 24 22:53:40 2009 +0000 linux-rcu-read-lock-export-20090623 LICENSE IPL10 FIXES 124986 deal with rcu_read_lock() becoming GPLONLY commit a125b571a4d7c6c8c491bda079115a5eab835971 Author: Harald Barth Date: Wed Jun 24 22:44:56 2009 +0000 fbsd61-stdlib-proto-define-20090623 LICENSE IPL10 FIXES 124952 add define to make stdlib have malloc prototype commit ee72f251049ca361b095e813adce63216343afd8 Author: Andrew Deason Date: Wed Jun 24 22:38:15 2009 +0000 osol-solookup-20090624 LICENSE IPL10 FIXES 124924 update for new opensolaris solookup function signature commit b45838ca82a085360491b14fdb16e88612a43165 Author: Jeffrey Altman Date: Wed Jun 24 16:15:39 2009 +0000 util-snprintf-replacement-20090624 LICENSE BSD 1. Add a test program for *printf functionality. util/tests/snprintf_test.c 2. Replace OpenAFS implementation of afs_*printf() with Heimdal's version. 3. Add support to Heimdal's version to support: - floating point - OpenAFS %I ipv4 address formatting (dotted notation and hostname lookup) - Microsoft's I32 and I64 integer size modifiers With these changes OpenAFS gains: - output that is compliant with standard *printf implementations. the previous implementation had justification, padding and case errors. - support for a NULL buffer which computes the required size based upon the input format and arguments. the previous implementation would crash. - support for additional format types. - OpenAFS specific implementations of vasnprintf(), vasprintf(), asprintf(), and asnprintf(). commit 74d49eb2c68f787044fe9f612d4f5f4610907572 Author: Jeffrey Altman Date: Wed Jun 24 15:47:29 2009 +0000 windows-config-amd64-20090624 LICENSE MIT amd64 uses 64-bit pointers. Define AFS_64BITPOINTER_ENV. commit b02e22b5f0590929ef9120da4799ca9a47fa3aeb Author: Marc Dionne Date: Mon Jun 22 16:25:23 2009 +0000 linux-call-inode-setattr-op-20090622 LICENSE IPL10 FIXES 124942 call inode's setattr op instead of just inode_setattr, when one is available. needed for xfs, notably also will cause truncates to be journalled for ext3, which may solve some existing issues commit 0200a40061a70c8e768f7510604839aaa7925a28 Author: Jeffrey Altman Date: Fri Jun 19 04:08:08 2009 +0000 cellconfig-gethostbyname-20090618 LICENSE MIT The CellServDB processing in auth/cellconfig and WINNT/afsd/cm_config differ in one important way. cellconfig uses the IP addresses specified in the CellServDB file and ignores the host name; whereas cm_config calls gethostbyname() on the host name and falls back to the specified address only if gethostbyname() fails. This commit modifies cellconfig to use gethostbyname() calls on the host names when the client CellServDB file is being used. The server CellServDB file is left alone because ubik servers need to be given the exact list of ip addresses specified by the administrator and there is no method of indicating clones to other servers using DNS. This change permits a greater resilency to cell server configuration changes due to IP address renumbering as the DNS names in the CellServDB file can be CNAME or A records. A host name can be resolved to multiple IP addresses and all of the addresses will be added to the hostAddr list for the cell provided that they do not exceed the maximum number of hosts. If the same host name is listed multiple times the duplicate IP addresses will be ignored. The behavior of all tools that use CellServDB files on Windows will now be consistent. commit cfe1f5676d458ca2ca8ba562ace782305e68059f Author: Jeffrey Altman Date: Thu Jun 18 06:04:29 2009 +0000 windows-netidmgr-20090617 LICENSE MIT permit building with a broader range of visual studio versions commit f310847d2dfa924aaeff2924cfbc885d1cd58a31 Author: Jeffrey Altman Date: Thu Jun 18 00:45:36 2009 +0000 windows-testcellconf-20090617 LICENSE MIT make testcellconf work on Windows commit 3af8eafae68b7260941b59346720730410f97944 Author: Jeffrey Altman Date: Tue Jun 16 23:40:38 2009 +0000 windows-kauth-cell-search-registry-20090616 LICENSE MIT add registry based cell search to ka_UserAuthenticateGeneral2() which is used by klog() and afslogon.dll when no kerberos support is available. commit 377b8c176fde2cab27d27c644b6966bf153daad5 Author: Jeffrey Altman Date: Tue Jun 16 23:37:49 2009 +0000 windows-client-config-cell-search-registry-20090616 LICENSE MIT Add registry based cell search functionality to afs_config.exe even though the tool is close to useless at this point. commit 4bf09a2ebfabede83cdac782de52386423e01927 Author: Jeffrey Altman Date: Tue Jun 16 22:57:08 2009 +0000 windows-netidmgr-cell-search-registry-20090616 LICENSE MIT Forgot to update the afs provider to support registry based cellservdb lookups commit e44c38c423fee7f10540ee339c372dce043af10d Author: Andrew Deason Date: Tue Jun 16 19:09:43 2009 +0000 ubik-fix-allbetter-loglevels-20090616 LICENSE IPL10 FIXES 124938 make allBetter log more sensibly; right now it's very loud. move it to level 25 commit a44bee561505c8f955c84d5c96227d72d3cdaf57 Author: Derrick Brashear Date: Tue Jun 16 19:08:11 2009 +0000 afs-snrpintf-support-percentp-for-ptrs-20090616 LICENSE IPL10 so we can portably log pointers commit 82d9807e2246997ac73930c91d1ad4312084cc57 Author: Jeffrey Altman Date: Tue Jun 16 05:59:22 2009 +0000 windows-conn-analyze-20090615 LICENSE MIT When processing RX_CALL_TIMEOUT, if there is no fid specified its a vldb rpc and we should retry. If there is a fid and the volume is a readonly volume then we should also retry. Only fail if the request has no alternate server to look at. When processing RX_CALL_DEAD, log the fact that the call is dead. When processing any other RX error between -2 and -64, do not force a new connection to the same server. Mark the server down and retry with a new server if possible. commit 81c9b8c0c4ddf711872104ba6645c1310093af24 Author: Jeffrey Altman Date: Tue Jun 16 05:56:19 2009 +0000 windows-cellservdb-rank-20090615 LICENSE MIT When inserting a new vldb server, if the rank is 0 (unknown), do not override the default rank assigned by cm_NewServer(). Doing so erases the randomized ranking. commit c41a46774134aee6eaf6a41e9061386035ae6ebf Author: Simon Wilkinson Date: Mon Jun 15 23:29:29 2009 +0000 gitignore-20090615 LICENSE IPL10 make gitignore files commit 3e26e46b660f2e92eb9c693f9a3c4f97f2acd80c Author: Jeffrey Altman Date: Mon Jun 15 14:47:00 2009 +0000 windows-installer-nsis-20090615 LICENSE MIT reorder some operations and make sure that directories are created before the installer attempts to generate files into them. commit a79ce67d7a52a99c10192a92c66a7e10500770bf Author: Jeffrey Altman Date: Mon Jun 15 02:57:17 2009 +0000 windows-callback-handling-20090614 LICENSE MIT Turn SRXAFSCB_InitCallBackState3() into the primary function for processing InitCallBackStateX RPCs. InitCallBackState3 accepts an optional server uuid which can be used instead of the IP address to locate a matching server object. If the RPC comes from a server that we know of, we can restrict the calback state initialization to cm_scache_t objects on that file server. If the request comes from a server that we know nothing about and a uuid was specified, we can ignore it. During callback revocation, make use of the cell associated with the server to restrict the revocation to cm_scache_t objects in the one cell. This is especially important for readonly volume callbacks since volume ids are shared across multiple cells. Add a missing case where the cm_volume_t cbExpiresRO time should be set to the cm_scache_t cbExpires time. commit 88ef4fb720efd8f7c0b130b5bdf35ef840aafc59 Author: Jeffrey Altman Date: Mon Jun 15 02:02:59 2009 +0000 windows-server-find-by-uuid-20090614 LICENSE MIT Add cm_FindServerByUuid(). This function is similar to cm_FindServerByIP() but uses the server's known uuid instead which is constant across multi- homed systems. commit 571dc5edbe76a7e62d47adee8df52bbf532c55bc Author: Jeffrey Altman Date: Mon Jun 15 01:56:22 2009 +0000 windows-server-xdr-free-20090614 LICENSE MIT when releasing the capabilities memory allocation use xdr_free() not the free() of the afsd_service.exe module. commit a7f9ce9ce1b2608937c5c3ffc73a2de07abc5fb1 Author: Derrick Brashear Date: Thu Jun 11 20:39:53 2009 +0000 vnode-disk-object-name-hi-length-field-20090611 LICENSE IPL10 reserved6 is used for the high portion of the 64 bit length. make the structure reflect it. commit 27cbb188bd1cb3e050c6911b1ddde75c46aa712f Author: Andrew Deason Date: Thu Jun 11 15:25:15 2009 +0000 dafs-create-volumes-online-20090611 LICENSE IPL10 FIXES 124492 newly created volumes were not marked "not in use" by the volserver, so the fileserver would not take them. fix it. commit 2c755529c79492738fec61a5fc311216678a52e7 Author: Andrew Deason Date: Thu Jun 11 15:19:15 2009 +0000 bosserver-invoke-salvager-fully-specifying-force-20090611 LICENSE IPL10 FIXES 124916 bos salvage can invoke salvager with -f (instead of -force) which is no longer unique. fix that. commit ae1923e36260ff59efb85dda99b5345341bff6d8 Author: Jeffrey Altman Date: Wed Jun 10 18:08:19 2009 +0000 windows-cache-validation-20090610 LICENSE MIT correct cell validation to avoid false detection of infinite loops if a cm_cell_t object had to be freed. add newlines to output of volumeHashTableSize and cellHashTableSize commit 796dbb891b9aee17cef07e085e089123e6c94b83 Author: Derrick Brashear Date: Tue Jun 9 22:34:54 2009 +0000 aix-dest-make-audit-object-dir-20090609 LICENSE IPL10 now make dest works on aix 6 again commit e87be8c5794ccd6eecd3b420dc12085a3608fadb Author: Derrick Brashear Date: Tue Jun 9 22:30:28 2009 +0000 aix6-no-vprintf-but-strict-kernel-prototypes-20090609 LICENSE IPL10 alas, we can't use varargs style prototypes since we can't handle the args! commit 2ee2aa00bc689b7876dc589537a8f805d44eaef5 Author: Derrick Brashear Date: Tue Jun 9 22:10:54 2009 +0000 excise-cplusplus-comments-from-kernel-20090609 LICENSE IPL10 aix6 compiler doesn't allow // style comments commit 6794613924416dd542a1d54a9d692af396a0f0d9 Author: Derrick Brashear Date: Tue Jun 9 22:05:20 2009 +0000 aix6-kernel-varargs-prototypes-ok-20090609 LICENSE IPL10 varargs style prototypes are ok in the aix6 kernel env commit 37e1cd23195215cd5999be7fa5a8de6af7efebcb Author: Jeffrey Altman Date: Tue Jun 9 21:11:04 2009 +0000 windows-freelance-default-cell-20090609 LICENSE MIT If a freelance mount point does not specify a cell name, default to the workstation cell. commit 22fb6954e05de91d414cf17db07322824a090db3 Author: Derrick Brashear Date: Tue Jun 9 20:25:47 2009 +0000 aix6-tsm41-makefile-flub-20090609 LICENSE IPL10 add missing quoting commit a8614747878cedef5e54f10dcc7296034a88e738 Author: Derrick Brashear Date: Tue Jun 9 14:46:51 2009 +0000 tsm41-makefile-fix-20090609 LICENSE IPL10 fix form of case statement in makefile for tsm41 commit 2033fa9ec62089887f074381ac118a2c60e9c311 Author: Jeffrey Altman Date: Tue Jun 9 00:58:10 2009 +0000 windows-dirty-buffers-20090608 LICENSE MIT In the buf_IncrSync thread, if the volume is known to be unavailable do not attempt to write the buffer. Just skip it. In buf_Sync(), if we are shutting down and a buffer is left dirty, log a message to the Windows Event Log indicating that the dirty buffer was lost. commit 394243f3ae2dc5437b66d8f5afb393c2cfd1fb7b Author: Mike Meffie Date: Mon Jun 8 23:39:51 2009 +0000 man-page-xstat-fs-test-20090608 LICENSE IPL10 FIXES 124905 Document xstat_fs_test collection 3, which returns callback statistics from the file server (useful for tuning). commit f5b74d9fbcc42ad3a1105df3363e6c22c16fee84 Author: Jeffrey Altman Date: Mon Jun 8 23:09:19 2009 +0000 windows-cell-locking-20090608 LICENSE MIT FIXES 124910 cm_cellLock protects the cm_cell_t fields allNextp, nameNextp, idNextp, and freeNextp. Therefore, a write lock must be obtained whenever those items may change. This patch makes that consistent. This patch also fixes an out of order lock acquisition and removes cm_cell_t objects from the id and name hash tables before freeing them. commit 7bf6fd6bcbdcb87544798c9634618fccb4678f45 Author: Jeffrey Altman Date: Mon Jun 8 22:42:01 2009 +0000 windows-search-cell-registry-20090608 LICENSE MIT do not clear the newCellNamep buffer on error. that is inconsistent with the other SearchCell functions and breaks "fs newcell". commit ddaf2d5de4b41e2d15ac8f715774d9a3bceff6e6 Author: Derrick Brashear Date: Mon Jun 8 20:47:14 2009 +0000 aix-kopenafs-also-correct-directory-20090608 LICENSE IPL10 also make this include syscall.s from the right place. commit e3b4b25d4f1dd15579cb15a2088fff0ea94606f9 Author: Derrick Brashear Date: Mon Jun 8 05:44:23 2009 +0000 kopenafs-set-sflags-20090607 LICENSE IPL10 make kopenafs build on aix commit dad31c8ca57d56a8856718d43d04f2c9fe30dba0 Author: Jeffrey Altman Date: Mon Jun 8 03:34:28 2009 +0000 windows-notes-20090607 LICENSE MIT synchronize with the 1.5 branch commit 9a1328b9217902439abdbd3424fdd4e887169116 Author: Jeffrey Altman Date: Mon Jun 8 03:15:12 2009 +0000 windows-sync-head-with-1_5-20090607 LICENSE MIT Synchronize the build system from 1.5 branch to the head commit 5bd88cfa6b41b9aa92def74894133a84d2a417d7 Author: Jeffrey Altman Date: Mon Jun 8 03:08:33 2009 +0000 doc-man-pages-windows-20090607 LICENSE MIT dpass and package docs removed from repository. do not attempt to build them. commit bada49cff904c1e783ca9fa81a92036ceae7378d Author: Jeffrey Altman Date: Mon Jun 8 02:22:09 2009 +0000 windows-buf-infinite-looping-on-dirty-buffers-20090607 LICENSE MIT If there are dirty buffers when the file server becomes unresponsive, the cache manager will attempt to write them repeatedly resulting in use of 100% of the cpu of the machine until the file server becomes responsive. This patch reduces the cpu utilization by ensuring that only the first in a list of buffers on the same file needs to fail with timed out, all down, all busy, all offline, or clock skew. The other dirty buffers will just be skipped. A small delay is enforced in the buf_IncrSync thread between invocation. This patch is not a complete fix for the problem. The buf_IncrSync thread needs to become more intelligent in order to avoid attempts to write to volumes that are known to be inaccessible. commit d5d6976a640e5dbdd4eb3be24e8722d77ad30488 Author: Derrick Brashear Date: Sat Jun 6 01:10:46 2009 +0000 viced-cblater-unmark-20090605 LICENSE IPL10 make things match 1.5.x: unmark entries FE_LATER when they get unchained commit 575d48538fa9da54fe7b68e2e4c3ec228cd98da5 Author: Derrick Brashear Date: Sat Jun 6 01:08:57 2009 +0000 darwin-rx-netreceive-fix-20090605 LICENSE IPL10 put back code that went missing post-rxtcp commit 527c48861132d5d9a314ba12935f796bc397cac1 Author: Derrick Brashear Date: Sat Jun 6 00:36:20 2009 +0000 aix-kopenafs-cpp-20090605 LICENSE IPL10 build syscall.o on aix the same way we do in libsys commit 6d973e499acd598bbc3a4e131d14f9801b94fe71 Author: Derrick Brashear Date: Fri Jun 5 19:17:13 2009 +0000 man-page-cellservdb-extras-20090605 LICENSE IPL10 Document linked cells and non-voting replicas in the CellServDB man page and note the need for better linked cell documentation. commit ee2d4a858b56b5fa9d6155be6ecc64d7596dcf16 Author: Derrick Brashear Date: Fri Jun 5 16:50:10 2009 +0000 death-to-docs-20090605 LICENSE IPL10 docs now built from doc/xml; kill the other copies of same commit 3e65e3aee17c64a19c0a1ff4b9b7d99c0725b689 Author: Derrick Brashear Date: Thu Jun 4 23:09:11 2009 +0000 fsbnode-rename-unused-to-dummy-20090604 LICENSE IPL10 a prayer this will make hpu cc stop segving commit 33e04c09a1f36281a6f37fdfd7b402426b9df5d4 Author: Derrick Brashear Date: Thu Jun 4 21:50:33 2009 +0000 aix51-no-userspace-pag-subsystem-20090604 LICENSE IPL10 getpagvalue() appeared post 5.1. commit 654871583371f70683a295623fdd4364965042c4 Author: Derrick Brashear Date: Thu Jun 4 21:30:45 2009 +0000 pam-build-dont-fail-on-link-problems-20090604 LICENSE IPL10 linking static objects into shared works badly on some platforms. deal by not breaking the build, for now commit 17ccfb4fa5889c45ddaf8e18fd048c0aaaed8d86 Author: Derrick Brashear Date: Thu Jun 4 19:05:40 2009 +0000 solaris-fs-conv-needs-ihandle-20090604 LICENSE IPL10 FD_t defined in ihandle.h; include it here commit 72d314f001e0067a7a00d3cb2a4d5ff073b54f70 Author: Derrick Brashear Date: Thu Jun 4 17:18:07 2009 +0000 kopenafs-syscall-object-dependency-20090604 LICENSE IPL10 cause syscall.o to build commit 64a1b3101fde534f10054f9f4890243c95e2c728 Author: Derrick Brashear Date: Thu Jun 4 00:15:05 2009 +0000 unroll-experimental-rx-20090603 LICENSE IPL10 reconverge Rx with that in 1.5.x in prep for git commit 6124a81e791f54953ea4be3cf3588d9ccf5fb248 Author: Andrew Deason Date: Wed Jun 3 23:11:40 2009 +0000 ptserver-debug-flag-20090603 LICENSE IPL10 FIXES 124893 parse -d (debug) earlier in the ptserver argument parsing, so database switch does not override it. commit d9d50fea986569dfaa3c3b6aee2e8c99f0d280e8 Author: Andrew Deason Date: Wed Jun 3 22:48:55 2009 +0000 ptserver-procs-loglevels-20090603 LICENSE IPL10 FIXES 124894 make loglevels for create/delete match those for other pts operations commit 4310874d8f8b83b8a2c5840880d4f35059c67ea7 Author: Andrew Deason Date: Wed Jun 3 22:43:53 2009 +0000 ptserver-vicelog-missing-newlines-20090603 LICENSE IPL10 FIXES 124894 some ViceLog calls in ptserver were missing newlines. that's fixed. commit edfb415915bff06c055f58867695cbb37df626e1 Author: Douglas Engert Date: Wed Jun 3 21:58:10 2009 +0000 klog-krb5-avoid-freeing-garbage-20090603 LICENSE IPL10 avoid freeing garbage due to an uninitialized variable commit ec51165b5134b406eecfbb2b7d53b2a094f30256 Author: Derrick Brashear Date: Wed Jun 3 16:13:26 2009 +0000 aix-pag-complaints-20090603 LICENSE IPL10 make the new code work properly, thanks to aix's complaints commit 4af75fe96a9e4a985081d4af78439aeebabd6939 Author: Derrick Brashear Date: Wed Jun 3 06:39:47 2009 +0000 curpag-via-pioctl-20090603 LICENSE IPL10 FIXES 124709 curpag needs to know about kernel constructs (getpagvalue on AIX, onegroup versus two group on linux) and on aix 5.1 simply can't work. add a new pioctl and use it to simply ask the kernel what the current pag is commit 091139b3e2160e1f56b11820d59589de9ccd9c40 Author: Simon Wilkinson Date: Tue Jun 2 19:31:45 2009 +0000 linux-allow-disabling-syscall-probing-20090602 LICENSE IPL10 give a configure switch to allow disabling syscall probing commit 521f4e6d473335ac8f7f265904bda7840fddad71 Author: Derrick Brashear Date: Tue Jun 2 19:12:10 2009 +0000 linux-locking-brace-fix-20090602 LICENSE IPL10 so regardless of which code branch we choose we work commit be47f4de0595dd044053695de3cdcedb2ec2a113 Author: Derrick Brashear Date: Tue Jun 2 18:39:28 2009 +0000 vfsck-conditional-for-namei-20090602 LICENSE IPL10 make build fly again on solaris when namei and not inode is in play commit 3ae35e12714bf4759d313086b17ef47bae1d7504 Author: Russ Allbery Date: Tue Jun 2 18:31:32 2009 +0000 doc-man-page-install-variables-20090602 LICENSE BSD We were horribly confused about variables when creating man page symlinks. Be less confused by using variables less. commit e89f90f7f17efc80c984b2858cd85a87f8cdfbf3 Author: simon@sxw.org.uk Date: Tue Jun 2 04:32:08 2009 +0000 auth-cellconfig-overflow-20090601 LICENSE IPL10 FIXES 124891 commit d7b3953a530a49edfed203d59194b3a293ed80b8 Author: Jason Edgecombe Date: Mon Jun 1 23:35:17 2009 +0000 doc-admin-guide-updates-20090601 LICENSE BSD FIXES 124889 Updates to chapter one of the Admin Guide. Remove references to the Authentication Server, add references to a Kerberos server, revise ntpd parts to reflect the fact that OpenAFS doesn't ship ntpd, and removed the distinction between the US and non-US versions of the Update Server. commit e34fe0f9a85c0fa965fe30ead4c5ba14d077268f Author: Russ Allbery Date: Mon Jun 1 23:31:47 2009 +0000 doc-xml-build-cvsignore-20090601 LICENSE BSD Ignore new generated files from the documentation build. commit 2520cc9aabef8877cdd99abb858dc011dfa5629f Author: Russ Allbery Date: Mon Jun 1 23:30:42 2009 +0000 doc-xml-version-depends-20090601 LICENSE BSD Make PDF manual generation also depend on version.xml, matching HTML generation. commit 0a617e33234f6104fdfb0d45593cf313c961f653 Author: Derrick Brashear Date: Mon Jun 1 18:51:45 2009 +0000 xml-versioning-take-two-20090601 LICENSE IPL10 deal with this in a way which does not trip creation of CML state config files commit 8e0b8243ea8b38e6ceab8f1dc6a0e032d6622568 Author: Simon Wilkinson Date: Mon Jun 1 00:12:46 2009 +0000 vsprocs-log-format-bug-20090531 LICENSE IPL10 fix the logged data to avoid a format string issue commit 5526ba218f7f3653cabe5423b25b82f0241b0abc Author: Jeffrey Altman Date: Sun May 31 17:52:46 2009 +0000 doc-doxygen-20090531 LICENSE BSD Doxygen converted versions of the IBM provided architecture and protocol documentation. Funded under an SBIR grant. commit 74df876dafb9cf80ab5a8099b4202f2205bd9791 Author: Douglas Engert Date: Sun May 31 02:22:24 2009 +0000 afsd-allow-maxmtu-override-20090530 LICENSE IPL10 FIXES 124880 rxi_Findcbi, rxi_FIndIfnet, rxi_FindIfMTU "failure" end up returning the RX_REMOTE_PACKET_SIZE as the mtu to use unless we allow our override to apply, so we do that. then, add an afsd switch to allow setting it. afsd man page update required and will follow. ==================== 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 IPL10 FIXES 124880 man page update to document previous work commit ca613599a2537756462a420ae1a632747a433226 Author: Jeffrey Altman Date: Sat May 30 18:27:07 2009 +0000 viced-host-uuid-and-addr-hashing-corrections-20090530 LICENSE IPL10 FIXES 124634 only valid addr/port pairs are registered in the hash table. add then remove when changing addresses. make host restoral properly hash hosts. remove should remove the address we asked for and not simply the primary address. commit e452c704c59700496227dccb3161efd34ca709ba Author: Derrick Brashear Date: Wed May 27 20:44:24 2009 +0000 xml-doc-building-glue-20090527 LICENSE IPL10 FIXES 124804 add configure switches for building docs. generate version files needed. commit d28e5fd04def989dcfb98ccd2b99ef44f5667167 Author: Jeffrey Altman Date: Wed May 27 14:55:42 2009 +0000 windows-install-20090527 LICENSE MIT Install ptclient.exe and pt_util.exe as part of the server installation commit c1876dbf32b5c253b5325bf18a0bf2549b6c9682 Author: Jeffrey Altman Date: Wed May 27 14:45:07 2009 +0000 windows-ptserver-ubik-20090527 LICENSE MIT move io.h inside AFS_NT40_ENV commit ea404cf1e3a174c8809cd7f3bcc5750e0983cce6 Author: Matt Benjamin Date: Wed May 27 14:26:41 2009 +0000 obsd-45-param-file-20090527 LICENSE IPL10 FIXES 124719 add missing param file for obsd 4.5 commit 39b4c0381a68824cb52c0d3a2ee1d81851598373 Author: Jeffrey Altman Date: Wed May 27 08:04:06 2009 +0000 windows-pt_util-20090527 LICENSE MIT add missing build rules for pt_util.exe commit 8ea8519f3094692c2d7a55fb1702255d0b115a8f Author: Jeffrey Altman Date: Wed May 27 07:59:36 2009 +0000 windows-pt_util-20090526 LICENSE MIT build pt_util.exe on Windows commit 34fc86bcc749f3bd059831b7e5dae03dc09a9393 Author: Derrick Brashear Date: Wed May 27 03:46:43 2009 +0000 volser-retry-transaction-creation-20090526 LICENSE IPL10 FIXES 124635 version of the retry transaction creation patch for head/1.5 commit 29223f5a52beac5b40853863733c70028fc7c52c Author: Derrick Brashear Date: Wed May 27 03:12:53 2009 +0000 unix-mkvers-xml-20090526 LICENSE IPL10 make mkvers do a xml version file for unix also commit 4c7a7f343c6cb0c5e6def6d28649cea65ff2907e Author: Russ Allbery Date: Wed May 27 02:21:45 2009 +0000 man-page-vos-dump-flags-20090526 LICENSE BSD Add documentation of the -clone and -omitdirs flags to vos dump. commit 49b7bbdd3b45df694fadbef48f9ed99d9bfe07b9 Author: Simon Wilkinson Date: Wed May 27 01:47:40 2009 +0000 linux-byte-range-locks-sensibility-20090526 LICENSE IPL10 FIXES 124766 make our locks work correctly with the linux connectathon lock testing commit 3b2a1ac2b1d4212363527a6edc6dd2aa76a3f960 Author: fabrizio.manfredi@gmail.com Date: Wed May 27 01:13:38 2009 +0000 java-errno-header-20090526 LICENSE IPL10 FIXES 124810 use the errno header instead of assuming extern int commit 1fb1b8d0a2f82c6e72e59afb0a400ea0d5b21fe1 Author: Russ Allbery Date: Wed May 27 00:44:29 2009 +0000 linux-mmap-antirecursion-avoid-spurious-eio-20090526 LICENSE IPL10 fix error code checking commit e754a0bebdeaa5bd8acfdb5d802392715e38fd5b Author: Jeffrey Altman Date: Tue May 26 16:29:16 2009 +0000 doc-xml-windows-release-notes-20090526 LICENSE MIT Add notes describing registry support for CellServDB info and conversion of docs to HtmlHelp format. commit 582688f1be17611d2926a4a7281d55bc7ccaa611 Author: Jeffrey Altman Date: Tue May 26 03:20:06 2009 +0000 windows-xml-release-notes-version-20090525 LICENSE MIT autogenerate version info. fix chapter title. commit 2f7046eff6599d9a66a7f31bb6f33b7f88646db5 Author: Jeffrey Altman Date: Tue May 26 01:54:15 2009 +0000 windows-top-makefile-20090525 LICENSE MIT add rules for building documentation sources add option for including cygwin libs in wix installer commit 4a523957feabf7f5d9f36b7a05c79fd6eccf426e Author: Jeffrey Altman Date: Tue May 26 00:53:53 2009 +0000 windows-doc-man-dependency-20090525 LICENSE IPL10 html\index.html not index.html commit 22a932c40a3ecabae8110db21572a4cae2ba1fae Author: Jeffrey Altman Date: Mon May 25 23:06:16 2009 +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]" "Comment" REG_SZ "[comment]" "Rank" DWORD "0..65535" "Clone" DWORD "{0,1}" "vlserver" DWORD "7003" "ptserver" DWORD ... 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. commit c8ccb887882bc4affef02a8193e9b1ed01f885f5 Author: Jeffrey Altman Date: Mon May 25 22:30:24 2009 +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. commit d8410b56c895830d609846aec56d61dfd2efb897 Author: Jeffrey Altman Date: Mon May 25 21:00:18 2009 +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. commit 20460e1391d87bdedbf1b84e233ffd5b926b5df8 Author: Jeffrey Altman Date: Mon May 25 20:57:39 2009 +0000 windows-make-version-20090525 LICENSE IPL10 remove space before "KEEP". older versions of nmake.exe do not like it. commit a31fd7f70f0049a180e5b02202941d3b1266c1f8 Author: Jeffrey Altman Date: Fri May 22 17:00:33 2009 +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 commit 12e85227c5dbfdb1258718ee3360bffacc4f96ac Author: Derrick Brashear Date: Fri May 22 17:00:26 2009 +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. commit 556597af26150041e3b44ec2769ec6c962ab06db Author: Asanka Herath Date: Thu May 21 19:08:23 2009 +0000 windows-install-wix-vs2008-20090521 LICENSE MIT add merge modules for VS2008 RunTime Libraries commit 32ddb143388bb5d6bbcc1f3afc5860f0566de81c Author: Jeffrey Altman Date: Thu May 21 19:06:08 2009 +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. commit e4b36071ef35b73fb68db6c054e811ba7e6b65e0 Author: Jeffrey Altman Date: Thu May 21 18:51:42 2009 +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 tag for the current release. The version.xml file should be autogenerated by the Makefile system. commit da5794d9caa47e96679c197610bd8ea2a682c338 Author: Jeffrey Altman Date: Thu May 21 18:25:50 2009 +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 tags for each delta Add autogeneration of version.xml to Windows Makefiles commit 278f8a18305b376e1c764bb38dc0e69ba5b246e5 Author: Jeffrey Altman Date: Thu May 21 14:33:47 2009 +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. commit 716c81782eae719b43b3b90464b821b398a0f9a6 Author: Asanka Herath Date: Thu May 21 04:25:46 2009 +0000 windows-make-cygwin-libs-20090520 LICENSE MIT added libosi.a and libafsconf.a commit 4e9bd3bd0ec5977609fd75d681fcc6dbd24a8c6f Author: Asanka Herath Date: Wed May 20 06:03:09 2009 +0000 windows-make-cygwin-libs-20090519 LICENSE MIT Unless NOCYGWIN is defined create cygwin .a import libraries for each OpenAFS DLL that is constructed. commit 85a10ffc9385240818ff9a968f308ac31ee03348 Author: Jeffrey Altman Date: Wed May 20 05:53:57 2009 +0000 doc-xml-windows-20090519 LICENSE IPL10 remove references to xml files no longer in the repository commit 6cc155e8da8f505443f43a312a522a64c52515e8 Author: Derrick Brashear Date: Tue May 19 19:40:09 2009 +0000 krb-conf-manpage-path-fix-20090519 LICENSE IPL10 fix path to krb.conf, per IRC discussion commit 7b56f2ebfc8c2e1695e007798833ad2053e08113 Author: Russ Allbery Date: Tue May 19 04:58:53 2009 +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 tag and removing the unknown tag in the field. commit 74585aa5003cfb42103ac8d6059137eebd2005e0 Author: Russ Allbery Date: Tue May 19 04:27:36 2009 +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 tag in the source, since neither program requires there be anything in there. Remove the style sheets and configuration that were used for docbook2*. commit 8f2a8edb2aec01226d18feae71643e856bbd6470 Author: Jeffrey Altman Date: Tue May 19 03:36:21 2009 +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 commit 9ad6c37ccfec016df9e845972ae626a1da19dfbf Author: Russ Allbery Date: Tue May 19 00:53:26 2009 +0000 man-page-syntax-errors-20090518 LICENSE BSD Fix some man page syntax errors that snuck into the recent round of updates. commit 798ffe54af1f5798bf07947439fc62946bc2f07e Author: Steven Jenkins Date: Mon May 18 23:22:29 2009 +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. commit 6df60468130977744fea0499fba2351ef74175d8 Author: Steven Jenkins Date: Mon May 18 21:42:26 2009 +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. commit 1df9282985949b38313f05640d9afd05948f45c4 Author: Steven Jenkins Date: Mon May 18 21:28:26 2009 +0000 man-page-vsys-20090518 LICENSE BSD FIXES 124793 Add man page for vsys. commit 921774594faead45f9432af218c5f9f394a03204 Author: Steven Jenkins Date: Mon May 18 21:22:04 2009 +0000 man-page-rmtsysd-20090518 LICENSE IPL10 FIXES 124792 New man page for rmtsysd. commit 97b0d230145c4c5f58ef785b11bf2d201ded2d26 Author: Steven Jenkins Date: Mon May 18 19:46:33 2009 +0000 man-page-restorevol-20090518 LICENSE IPL10 FIXES 124791 Add man page for restorevol. commit 01ba5ab1ed24d14c1068d5dac951cbea1befba10 Author: Steven Jenkins Date: Mon May 18 19:35:31 2009 +0000 man-page-fs-monitor-20090518 LICENSE IPL10 FIXES 124790 Add man page for fs monitor. commit a7a80efd577d9f2a9573fe35c12ca30b59e2f375 Author: Steven Jenkins Date: Mon May 18 19:32:06 2009 +0000 man-page-copyauth-20090518 FIXES 124789 LICENSE IPL10 Add man page for copyauth. commit 16ec87e0b382bc8bca14ec6a70987f54899eea7f Author: Steven Jenkins Date: Mon May 18 19:28:05 2009 +0000 man-page-compile-et-20090518 LICENSE IPL10 FIXES 124788 Add man page for compile_et. commit faf518ace7c8c0ec9c3269afd267afd276d69cd4 Author: Mike Robinson Date: Mon May 18 04:34:38 2009 +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. commit 32c93cf55210809de92e81428bff784b07a58d44 Author: Steven Jenkins Date: Mon May 18 03:50:00 2009 +0000 man-page-more-fs-commands-20090517 LICENSE IPL10 FIXES 124756 Add man pages for fs cscpolicy, fs getfid, and fs memdump. commit d5c2efa499fdef6811e40e79a041a43761b3d208 Author: Simon Wilkinson Date: Fri May 15 14:30:07 2009 +0000 man-pod-fileserver-20090515 LICENSE IPL10 FIXES 124778 -L sets the max number of threads commit b41d124409589e2890dea60963db4dc158f4d19c Author: Jeffrey Altman Date: Fri May 15 13:30:06 2009 +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. commit 1f07c903055c54fb7f0a584e88cfc1c289a161c6 Author: Derrick Brashear Date: Thu May 14 21:50:44 2009 +0000 vol-split-no-nearinode-hint-for-namei-20090514 LICENSE IPL10 nearinode hint makes no sense when you're not using inode fileserver commit fb985eefcea791ae16610c210f1ca5408b8ed62f Author: Jeffrey Altman Date: Thu May 14 18:47:44 2009 +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. commit 8a2fcaa8f45c36a80c574a7e903e71041bbd53cc Author: Derrick Brashear Date: Thu May 14 05:05:29 2009 +0000 cfileopen-cleanup-20090514 LICENSE IPL10 make disconnected work again. also, use static_inline macro consistently commit 9e8e080a5c1281dfa6109700cacd13cd1c44f5ef Author: Jeffrey Altman Date: Thu May 14 03:25:35 2009 +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 commit 070f02923cfa4e01ccb754928cdd4d02bec48720 Author: Derrick Brashear Date: Wed May 13 22:34:56 2009 +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. commit 2c0bf1c881f34554472982df2b74c50c4eeb7dcd Author: Marc Dionne Date: Wed May 13 21:40:56 2009 +0000 mmap-antirecursion-port-to-head-20090513 LICENSE IPL10 FIXES 124770 deal correctly with the structure reorg which took place commit 6ba44802ea6cf722c22a4784cbbad70ed6f5d60a Author: Derrick Brashear Date: Tue May 12 20:40:20 2009 +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. commit 5e0e1ea2540d0cb7d7274350eb1fadfd41733ea4 Author: Felix Frank Date: Tue May 12 18:56:30 2009 +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 commit 3b6bf1a05730b6383d1cef4516b94a63e802521b Author: Matt Benjamin Date: Tue May 12 18:18:37 2009 +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) commit b967654434f4d24b50dbc96e0296d2c632f76ea3 Author: Rainer Toebbicke Date: Tue May 12 18:12:20 2009 +0000 rxdebug-print-values-unsigned-20090512 LICENSE IPL10 FIXES 124563 for the values which are unsigned, use %u, not %d commit eb9fff14c7be1b15369c6d1a44426c1c7c82c92e Author: Anders Kaseorg Date: Tue May 12 17:58:27 2009 +0000 redhat-use-postinit-in-initscript-20090512 LICENSE IPL10 FIXES 124552 if a postinit script is defined, use it commit 214ce7c8b488e90301e9f604b6ecc625b7000e62 Author: Felix Frank Date: Tue May 12 17:42:24 2009 +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. commit c6adb0d2f32f8e8f3974b8ea3049601bf01d6877 Author: Steven Jenkins Date: Tue May 12 17:22:49 2009 +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 commit c39f38d8c6703a9d1b9967a1bf0901db35e19267 Author: Steven Jenkins Date: Tue May 12 14:06:14 2009 +0000 tests-no-dirpath-infile-20090512 LICENSE IPL10 FIXES 124716 Dirpath.pm.in is no longer needed commit 4b9283a30db0c3aee943c94573b412f24894d366 Author: Matt Benjamin Date: Tue May 12 14:02:38 2009 +0000 openbsd-44-45-20090512 LICENSE IPL10 FIXES 124719 add missing osi_free backend, missing param file, modify soreceive for 4.5 commit 947213da0ee6a0d805f0fc5eaeec0202d0bbffa4 Author: Jeffrey Altman Date: Mon May 11 17:22:24 2009 +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. commit 7d530b9080f6dd4d7f7e4555ed6ce855ff81bcaa Author: Simon Wilkinson Date: Mon May 11 15:54:50 2009 +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. commit f5a97a145e09a16a9b2d3ab485f33f520235b7e9 Author: Jeffrey Altman Date: Mon May 11 15:15:35 2009 +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. commit 5520747790b599bc10013dc78efb81b5d50a3f52 Author: Jeffrey Altman Date: Mon May 11 15:04:43 2009 +0000 windows-fs-getfid-20090511 LICENSE MIT Implement "fs getfid + [-literal]" on Windows. Same as the first line of output as "fs examine ...". commit 326ffcc108e1db32fa2071b66ac9dbf2321ae71d Author: Marc Dionne Date: Mon May 11 14:39:58 2009 +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 commit 8747236d54742c1c2fb8788c1f6aee4e657b3e89 Author: Simon Wilkinson Date: Mon May 11 14:27:42 2009 +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 commit fd0f1f49f27b5f92547a0d15e23efd3b2e46376d Author: Jeffrey Altman Date: Thu May 7 16:02:53 2009 +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. commit 621719905806a5883be5a17ca1af0d1929b874e3 Author: Jeffrey Altman Date: Thu May 7 15:53:14 2009 +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. commit c8ac7d1c499150b3f82a6566e9bbdb7478ddd469 Author: Derrick Brashear Date: Tue May 5 13:30:24 2009 +0000 man-pages-allow-dots-consistent-20090505 LICENSE IPL10 make all server man pages list -allow-dotted-principals (rather than -allow-dotted-principal) commit 5958aa0c4b0a9279a918cda1f37cb7e6c5666d44 Author: Mike Meffie Date: Tue Apr 28 15:37:39 2009 +0000 dafs-vol-offline-20090428 LICENSE IPL10 FIXES 124582 fix a logic error in the dafs vos offline support commit c4006edf4022e4f80cda5afd427d43997299c890 Author: Jeffrey Altman Date: Tue Apr 28 00:37:16 2009 +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. commit 8655541d1eb6ea7d935f50d9256e12bf90db5045 Author: Steven Jenkins Date: Tue Apr 28 00:03:35 2009 +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. commit 4836fd1e374c30b5e3be72e73b3dbd21c0c98548 Author: Jeffrey Altman Date: Mon Apr 27 21:17:59 2009 +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. commit 2f5ac61b0a8775c58536ee954f2208ab88d0b225 Author: Simon Wilkinson Date: Mon Apr 27 20:17:12 2009 +0000 dprintf-rename-20090427 LICENSE IPL10 FIXES 124657 make dprintf be afs_dprintf to fix for fedora 11 and probably others commit 758366c26a0d1b2e97449ab858e15da8cc0d73f0 Author: Jason Edgecombe Date: Mon Apr 27 19:37:25 2009 +0000 netinfo-fake-address-text-20090427 LICENSE IPL10 FIXES 124699 explain fake address support for NetInfo files commit 25f13f38064bf38ed89332b38c53c740475db87d Author: Matt Benjamin Date: Mon Apr 27 19:29:09 2009 +0000 dragonfly-bsd-userland-20090427 LICENSE IPL10 FIXES 124702 add support for dragonflyBSD's userland commit aea52af634dd20c1cff1a6347ac24770ae727328 Author: Marc Dionne Date: Tue Apr 7 17:16:43 2009 +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 commit b4b61821081d809bb3a737f9e23964f4f99b3c58 Author: Jeffrey Altman Date: Tue Apr 7 15:05:30 2009 +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. commit 473149653ee3ef0c67510746131e75839846cf38 Author: Derrick Brashear Date: Tue Apr 7 14:00:56 2009 +0000 rx-internal-use-static-inline-macro-20090407 LICENSE IPL10 some platforms can't use "static inline" commit 62bca1123fb471ca1eec58b448fd39f7f797638a Author: Simon Wilkinson Date: Mon Apr 6 23:52:52 2009 +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 commit 160619505de3dbf70f0f0c4a813098113eb42129 Author: Simon Wilkinson Date: Mon Apr 6 23:50:15 2009 +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. commit 9a0b3da255032f177dfedb650c7a0b65cff24fba Author: Jeffrey Altman Date: Mon Apr 6 22:47:49 2009 +0000 windows-pioctl-subst-unc-20090407 LICENSE MIT Add code to support determining if a drive substitution refers to a UNC path. commit aad7a2c5858a94672db6c23f508e404e236e4142 Author: Jeffrey Altman Date: Mon Apr 6 18:24:48 2009 +0000 windows-smb-trace-20090406 LICENSE MIT include the correct function name in a trace message commit ac199c845e6771c627dfb5e7efc0cdd8c5356df9 Author: Jeffrey Altman Date: Sun Apr 5 13:54:04 2009 +0000 windows-test-torture-stack-overflow-20090405 LICENSE MIT avoid stack overflow. commit 59945d1cb5f14baf9ab0008990079e1dde9a796d Author: Jeffrey Altman Date: Sun Apr 5 06:25:08 2009 +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. commit ffe04f710b41120f1bbd843c73ee2d95bc179d9c Author: Jeffrey Altman Date: Sat Apr 4 21:16:27 2009 +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. commit 4ecaeaac97a48c36df3866f1f71eb8a95c8f6e51 Author: Simon Wilkinson Date: Sat Apr 4 17:43:42 2009 +0000 linux-key-alloc-no-pointer-arith-20090404 LICENSE IPL10 make the key_alloc configure test work commit f6b4902daeb731eb01de44464476cb0a3edb26b1 Author: Jeffrey Altman Date: Fri Apr 3 03:56:36 2009 +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. commit fc408da993e753d33336ab408167383a75ed97f0 Author: Jeffrey Altman Date: Thu Apr 2 08:44:51 2009 +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 commit 0700567eef0c52b1b8892454b72c5123fe0514b1 Author: Jeffrey Altman Date: Thu Apr 2 08:40:06 2009 +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 commit 27aedf7a2cfb04f49b6b8f3c9cabc3d6cdb91c78 Author: Jeffrey Altman Date: Thu Apr 2 06:06:44 2009 +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 commit 8673c0de48140b8cd148bf3ea47094968ffbda8b Author: Jeffrey Altman Date: Thu Apr 2 06:04:48 2009 +0000 windows-config-clean-20090402 LICENSE MIT permit "nmake -f ntmakefile clean" to complete on a clean source tree. commit d86247619136d3080eb6be08fd8c077bc2afc68b Author: Asanka Herath Date: Wed Apr 1 23:56:16 2009 +0000 windows-install-loopback-20090401 LICENSE MIT Define INCLUDE variable and reorder binary link order to ensure compatibility with latest WDK/SDK combinations. commit d8a8bfb5c3b49980135b9da26082fa668640ec0f Author: Jeffrey Altman Date: Wed Apr 1 18:36:29 2009 +0000 windows-talocale-20090401 LICENSE MIT perform proper casting to avoid a warning commit 520fef4278bd43073782e1c75f67900f96fa6ddf Author: Jeffrey Altman Date: Wed Apr 1 18:30:29 2009 +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. commit 37f582326c1c5d5363a988f7038af0b62d0fb3ea Author: Jeffrey Altman Date: Wed Apr 1 18:29:15 2009 +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. commit d7749751df230d919188546106b61bd2dbb8974c Author: Jeffrey Altman Date: Wed Apr 1 17:37:50 2009 +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. commit 3d81394f9106b187c28e35328676e11b662025c6 Author: Jeffrey Altman Date: Wed Apr 1 17:35:29 2009 +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 commit 84871adb4bb3f8d1d50127255da75629e2167977 Author: Derrick Brashear Date: Tue Mar 31 13:41:25 2009 +0000 dynamic-vcache-no-printf-20090331 LICENSE IPL10 no printf in releases commit d0a166bdffce2d2498cab54cc458d9489d05c299 Author: Marc Dionne Date: Tue Mar 31 13:16:17 2009 +0000 linux-2630-maybe-20090331 LICENSE IPL10 FIXES 124560 hopefully support 2.6.30 when it's released commit 07c187c84384635413e6353dc9913a8826f25bb5 Author: Jeffrey Altman Date: Sat Mar 28 23:25:16 2009 +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. commit 4bc36a697fffe78cc0ec93cb9cf98772aeadfcb6 Author: Jeffrey Altman Date: Sat Mar 28 23:17:29 2009 +0000 windows-remove-reset-all-vcs-event-20090328 LICENSE MIT remove the smb reset all VCs message. duplicates the reportSessionStartups functionality. commit 27609fe288eb20f30e1f17a709a07468a74372eb Author: Jeffrey Altman Date: Fri Mar 27 17:58:02 2009 +0000 windows-afsd-symlink-20090327 LICENSE MIT Increase max symlink limit to 64 and remove the repeated fid recursion test. Breaks too many things. commit 977674dfb0470de693e5e7700c614c3b68317efa Author: Jeffrey Altman Date: Wed Mar 25 01:15:20 2009 +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. commit a523710780d54b27fc61db0fd1a561f789871046 Author: Mike Meffie Date: Fri Mar 27 15:47:23 2009 +0000 uss-kvno-warning-fix-20090327 LICENSE IPL10 FIXES 124220 suppress bogus kvno warning in uss commit 9243308990dc93ef3f42b9d024b9b02568881468 Author: Chaskiel M Grundman Date: Fri Mar 27 15:45:27 2009 +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 commit 3fcbdab1889f2674f1229cb551afeafc6f06b66a Author: Garry Zacheiss Date: Fri Mar 27 13:45:49 2009 +0000 bucoord-update-kvno-check-20090327 LICENSE IPL10 update kvno check in bucoord to match what it is elsewhere commit 4ced67ca980218e27aa4033f31a9d238590919d5 Author: Simon Wilkinson Date: Thu Mar 26 23:42:03 2009 +0000 vol-proto-do-not-break-dafs-20090326 LICENSE IPL10 FIXES 12540 Reenable prototype of VolumeExternalName_r for dafs commit 8cc60f4931f1b62c84d0a74d0fbbbfd0ea582a91 Author: Andrew Deason Date: Thu Mar 26 21:33:50 2009 +0000 state-analyzer-usage-20090326 LICENSE IPL10 FIXES 124539 fix usage for state-analyzer commit d4359ad72aee9839ee019165a3fb37c9cfae3b4d Author: Derrick Brashear Date: Thu Mar 26 14:30:13 2009 +0000 return-values-missing-fix-20090326 LICENSE IPL10 FIXES 124194 add return values for functions missing them commit 80494f5096d231e1e032229732f2d94ba569718e Author: Chaskiel M Grundman Date: Wed Mar 25 19:34:38 2009 +0000 cbr-free-what-you-alloc-20090325 LICENSE IPL10 FIXES 124531 dequeue and free items as alloc'd commit 4162ff9d4d733afc788b3c002adc57aac78a3282 Author: Derrick Brashear Date: Tue Mar 24 22:40:05 2009 +0000 shutdown-vcache-avoid-null-deref-20090324 LICENSE IPL10 avoid potential null pointer deref at shutdown commit cc0922c26fcbeebe73d4df422db65a550a9c6bf8 Author: Simon Wilkinson Date: Wed Mar 25 18:42:17 2009 +0000 redhat-spec-update-20090325 LICENSE IPL10 FIXES 123650 install afszcm.cat, update CellServDB commit 78e29484eb67deb8c19e4549eabaa27a3527fcf6 Author: Rainer Toebbicke Date: Wed Mar 25 14:34:38 2009 +0000 copyonwrite-optimization-fix-20090325 LICENSE IPL10 update to do tail case commit db844c458457a0bbcff81e9dbff362784db6958a Author: Jeffrey Altman Date: Tue Mar 24 22:36:09 2009 +0000 vol-split-warnings-no-win-20090324 LICENSE IPL10 remove many warnings disable on Windows since there are missing dependencies in ntops.c commit 5e770d6d18eacd5e4e70dd95853e4f1d99c54df2 Author: Derrick Brashear Date: Tue Mar 24 18:20:23 2009 +0000 volser-split-namei-only-20090324 LICENSE IPL10 make vos split be namei-only commit 1f83528147ee47addd926ae729ee36520d1e82e5 Author: Derrick Brashear Date: Tue Mar 24 17:55:48 2009 +0000 vol-split-nearino-20090324 LICENSE IPL10 add nearInode hint commit 9a697699b487066f04783194771774db42ecfba9 Author: Derrick Brashear Date: Tue Mar 24 14:23:58 2009 +0000 vfsck-needs-fd-t-defn-20090324 LICENSE IPL10 make vfsck build again commit 4df81d17bfbc1e2437883260c350be2631002ec0 Author: Derrick Brashear Date: Tue Mar 24 14:21:56 2009 +0000 volser-prototype-cleanup-20090324 LICENSE IPL10 make prototypes and return values etc match commit ba742892e2102cf545157e9c97df10799a58403e Author: Hartmut Reuter Date: Tue Mar 24 13:36:23 2009 +0000 volserver-split-volume-functionality-20090324 LICENSE IPL10 FIXES 124520 implement the server side of vos split commit 71a73608b1393a5f7f333cb680608d8a1f03a3f6 Author: Derrick Brashear Date: Tue Mar 24 12:43:05 2009 +0000 fssync-enum-syntax-20090324 LICENSE IPL10 no trailing comma commit 63b0d495cfc6362bced7b2492310cf1a0bf684b0 Author: Derrick Brashear Date: Tue Mar 24 04:31:13 2009 +0000 fd-t-definition-fun-20090323 LICENSE IPL10 make FD_t be defined everywhere we need it commit ede1c215d16d394fcd0afb7aacd827680be56cf6 Author: Derrick Brashear Date: Tue Mar 24 03:43:59 2009 +0000 viced-threadnum-return-cast-20090323 LICENSE IPL10 cast return type from threadNum commit a209012f1a3f83959f9df14ebad4aa2b50bacae0 Author: Jeffrey Altman Date: Mon Mar 23 22:47:36 2009 +0000 vol-lock-fd-type-20090323 LICENSE IPL10 the lock_fd field of DiskPartition[64] is a file descriptor. On Windows this is a HANDLE and on *nix platforms an int. OpenAFS uses the FD_t type to provide platform specific type info for file descriptors. Use it for the lock_fd field and the salvageLock in ObtainsSalvageLock(). Finally, the on the wire diskPartition[64] struct in volser/volint.xg also contains a lock_fd field. This is an on the wire field and must be left at a fixed width of 32-bits. Since a file descriptor is not portable across machines we truncate the 64-bit HANDLE value to fit in the 32-bit lock_fd field when necessary. commit aa8d735b8707e2bf9142699fd25034655c821f96 Author: Jeffrey Altman Date: Mon Mar 23 22:42:48 2009 +0000 vol-fssync-server-socket-20090323 LICENSE IPL10 GetHandler() sets up a fdset and returns the max socket fd which is used with select(). Windows ignores the numfd param (first param) of select() and therefore computing the max fd value is meaningless. We can avoid a number of casts by not attempting to treat this value as osi_socket. commit 1d4542f93bae6b59e7d4321c23a2551fa43416ba Author: Jeffrey Altman Date: Mon Mar 23 22:38:16 2009 +0000 libadmin-vos-ihandle-20090323 LICENSE IPL10 include afs/ihandle.h in order to gain access to the FD_t definition commit 4d9f5731c9ec6c50154da9784df0631a65dd9a9d Author: Derrick Brashear Date: Mon Mar 23 19:53:46 2009 +0000 volser-fcn-return-types-20090323 LICENSE IPL10 make internal functions have correct return types commit 3e15ed48d305a5fedb1af552459cf5bbe1b95a40 Author: Derrick Brashear Date: Mon Mar 23 19:39:59 2009 +0000 printf-sanity-args-20090323 LICENSE IPL10 fix type specifier for correct arg commit 62f4c29eef578b7f3df143f3ddd04307d8f2271f Author: Simon Wilkinson Date: Mon Mar 23 19:11:16 2009 +0000 disconnected-put-back-vcaches-we-held-20090323 LICENSE IPL10 if we hold a vcache for shadow, we need to release the ref when we give it up commit ad20213bbba4083160a88c2f65e5e8c8de259266 Author: Simon Wilkinson Date: Mon Mar 23 18:59:53 2009 +0000 disconnected-dont-double-dequeue-shadow-removal-20090323 LICENSE IPL10 FIXES 124496 queue_Remove twice tends to cause things like panics commit 7a7b55658b7c72eef0f9b495f02ce766c9961d6e Author: Derrick Brashear Date: Mon Mar 23 18:46:40 2009 +0000 viced-type-fixups-20090323 LICENSE IPL10 SetLogThreadNum takes a fcn returning int. get_key's first arg is a void* commit c39d0161552bf69affe839fcb36dfb858dbaedc1 Author: Jeffrey Altman Date: Mon Mar 23 18:18:44 2009 +0000 volid-unsigned-int32-20090323 LICENSE IPL10 FIXES 124510 assume volume ids are always unsigned 32 bit values commit 4830a7c8d79c72dcd5d8ce4bab6b8c0a8b249d96 Author: Derrick Brashear Date: Mon Mar 23 15:16:30 2009 +0000 linux-task-becomes-task-struct-20090323 LICENSE IPL10 struct task->struct task_struct. configure needs to cope commit 39c4e32bf484aab2c9cf978cbf5877bdb989e9d6 Author: Derrick Brashear Date: Sat Mar 21 16:29:46 2009 +0000 krb5-run-configure-tests-20090321 LICENSE IPL10 FIXES 124522 --with-krb5=/path caused us to not run configure tests. fix that commit c1d545dff6483369ade640b27b9ab7baaa6faac5 Author: Derrick Brashear Date: Sat Mar 21 15:49:07 2009 +0000 aix-no-aklog-tsm-without-krb5-20090320 LICENSE IPL10 FIXES 124522 don't build aklog_dynamic_auth without krb5 commit 4398d6277dacde8464c0db7a73d5ecb37039823f Author: Derrick Brashear Date: Sat Mar 21 15:45:41 2009 +0000 rx-prototypes-alloc-free-ifdefs-20090321 LICENSE IPL10 don't prototype osi_Alloc/osi_Free if they're just #defines commit 4bf68765b6d2a04c388ae9a5e6f134c0505a785b Author: Derrick Brashear Date: Sat Mar 21 15:39:05 2009 +0000 sig-t-exclude-multiple-20090321 LICENSE IPL10 disallow multiple typedefs of sig_t commit b1aaf822f558236b91e543f03bcf159db1054c0b Author: Derrick Brashear Date: Sat Mar 21 15:07:41 2009 +0000 update-config-guess-20090321 LICENSE IPL10 update from upstream commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd Author: Derrick Brashear Date: Fri Mar 20 22:44:54 2009 +0000 aix51-pag-header-20090320 LICENSE IPL10 FIXES 124522 no sys/pag.h until 5.2 commit 73a57e8013c67d5760c677c6aef36611af076af0 Author: Jeffrey Altman Date: Fri Mar 20 17:25:21 2009 +0000 vol-fssync-server-socket-20090320 LICENSE IPL10 another location where we need osi_socket commit b2db1e83c1b4b66ee4f7fb22a6211f849f0e5dd4 Author: Jeffrey Altman Date: Fri Mar 20 17:21:51 2009 +0000 libadmin-client-prototype-20090320 LICENSE IPL10 correct the prototype for afsclient_RXDebugOpenPort commit 218f08ffedb8c75e0314ab00000adf8419fdfe7b Author: Jeffrey Altman Date: Fri Mar 20 17:10:06 2009 +0000 xstat-printf-ptr-format-20090320 LICENSE IPL10 make use of AFS_PTR_FMT to avoid warnings on Windows. commit 37fc3b01445cd6446f09c476ea2db47fea544b7d Author: Jeffrey Altman Date: Fri Mar 20 17:09:01 2009 +0000 config-afs-ptr-format-20090320 LICENSE IPL10 Define AFS_PTR_FMT to permit per platform printf formats for pointer representation. commit 18da64a45c5f1a069f39f687bd84ee51b77a6bd3 Author: Chaskiel M Grundman Date: Fri Mar 20 15:55:38 2009 +0000 linux-osi-vm-flushpages-use-remote-invalidate-20090320 LICENSE IPL10 use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages commit 6ef7d7dfb8caf4a555c2de480037769783cbe88e Author: Derrick Brashear Date: Fri Mar 20 15:04:08 2009 +0000 dyn-vcache-shake-needs-exporting-20090320 LICENSE IPL10 update to export shakeloosevcaches commit 0cd43484be886721c0c4d9750f0b40015ba60756 Author: Jeffrey Altman Date: Fri Mar 20 12:15:01 2009 +0000 vol-fssync-socket-20090320 LICENSE IPL10 the argument to the function parameter is a socket. fix the type to be osi_socket. commit 64c451cec0ccce8d095109a8697144be093c1259 Author: Jeffrey Altman Date: Fri Mar 20 11:51:55 2009 +0000 libadmin-vos-windows-exports-20090320 LICENSE IPL10 do not export function name arrays that are already exported by other libraries. commit 5eea839b637a120e9b10246511b3d826a1e49a0f Author: Jeffrey Altman Date: Fri Mar 20 11:49:27 2009 +0000 libadmin-client-prototypes-20090320 LICENSE IPL10 fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort commit 14a60754951b7b4920ba1dfcf9c9aac99ae8bce4 Author: Jeffrey Altman Date: Fri Mar 20 11:47:00 2009 +0000 libadmin-windows-socket-20090320 LICENSE IPL10 a socket on Windows is type SOCKET not HANDLE commit df961512e1162188a60cec613dd273e25dbf63c9 Author: Jeffrey Altman Date: Fri Mar 20 11:44:29 2009 +0000 windows-osistatl-20090320 LICENSE MIT Add lock level to osistatl commit e460a6e30539086ff3c4bdb264ab57f6e045ad71 Author: Jeffrey Altman Date: Fri Mar 20 05:30:12 2009 +0000 static-inline-macros-20090320 LICENSE IPL10 FIXES 124515 add back support for AFS_64BIT_ENV commit ef5f6f988c352db58e8b9df422b417cc199b4837 Author: Derrick Brashear Date: Fri Mar 20 03:48:52 2009 +0000 ubik-recovery-use-file-number-not-hardcoded-zero-20090319 LICENSE IPL10 don't hardcode DB0, use the file number which is being recovered commit 4eef62a2f29d81d4fd8c3d28beb0403499f9802e Author: Derrick Brashear Date: Fri Mar 20 03:12:11 2009 +0000 param-file-64-bit-scalar-updates-20090319 LICENSE IPL10 64 bit scalar type availability commit e59b81c984652f7570708831d8b36bdd42f98cf8 Author: Derrick Brashear Date: Fri Mar 20 02:30:49 2009 +0000 dynamic-vcache-allocation-20090319 LICENSE IPL10 FIXES 124334 add dynamic allocation of vcaches when possible (currently just for linux) commit 79d362c77cfc307dc66bfe874952a914e2313e89 Author: Derrick Brashear Date: Thu Mar 19 20:12:53 2009 +0000 cbd-new-magic-version-with-fixed-time-size-and-dump-switch-20090319 LICENSE IPL10 FIXES 124451 make cbd able to select whether time is 32 or 64 bit; when time size is known, have a new magic number so it's obvious commit fe98c927d3888814077b085e53725f15996cd1b9 Author: Derrick Brashear Date: Thu Mar 19 18:03:41 2009 +0000 bozo-fs-create-unused-ptr-20090319 LICENSE IPL10 add an "unused" field so we match the prototype for create in the bnodeops struct commit 101399171b5a5315cb3f1fdd003d56f0ca214bc8 Author: Derrick Brashear Date: Thu Mar 19 17:44:39 2009 +0000 static-inline-macros-20090319 LICENSE IPL10 rework the static inline macros to work with headers, with userspace code, and to have just one copy commit a343f09803a4b3d5c5492c7d52becbd1526c1f8b Author: Derrick Brashear Date: Thu Mar 19 14:58:22 2009 +0000 viced-type-errors-20090319 LICENSE IPL10 use ktc_encryptionKey instead of a char array to avoid prototype issues threadNum should return int, not char commit 3d54f743bce4c1bd603e9572790f51e85905dabb Author: Derrick Brashear Date: Thu Mar 19 14:42:39 2009 +0000 linux-put-back-warnings-20090319 LICENSE IPL10 need to verify this for all platforms at the same time; since the function is portable. should be const anyway; we don't want to change it. commit bf9dc554b366b08ce0bef62ce242c94371938000 Author: Marc Dionne Date: Thu Mar 19 04:02:18 2009 +0000 linux-key-alloc-changes-20090318 LICENSE IPL10 FIXES 124507 Fix the old configure test for key_alloc for the task argument - we can't just rely on the number of arguments anymore. Wish this could be done without using -Werror. Add an additional test for the struct cred argument commit aaae44dfe993d95a253b35f60feab5e9806e51f2 Author: Marc Dionne Date: Thu Mar 19 03:57:42 2009 +0000 mypidxx-not-always-int-20090318 LICENSE IPL10 FIXES 124505 don't assume MyPidxx will be an int; on linux it's current, for instance, a task_struct commit 156f1b8e4a3607a49de45ca43a52f42a21cdaab8 Author: Marc Dionne Date: Thu Mar 19 03:53:31 2009 +0000 discon-ifdef-cleanup-20090318 LICENSE IPL10 FIXES 124508 fix the disconnected ifdefs commit be4d4076f281840070a908a7da10f4cab70cea62 Author: Jeffrey Altman Date: Wed Mar 18 22:46:21 2009 +0000 printf-sanity-20090318 LICENSE IPL10 make it work for Windows commit 85d8bdac7439966a64709724d20dfd487911f7bc Author: Marc Dionne Date: Wed Mar 18 13:41:07 2009 +0000 linux-warning-reduction-20090318 LICENSE IPL10 FIXES 119434 cleanup warnings in linux kernel builds commit 09b23c27a7b59a32b8e39bbc0410ddda373da5d4 Author: Jeffrey Altman Date: Wed Mar 18 03:56:12 2009 +0000 windows-afsd-badsharename-20090317 LICENSE MIT When Dfs support is enabled in the smb server do not return CM_ERROR_BADSHARENAME unless the component that is not found is in fact a share name. Return CM_ERROR_NOSUCHPATH instead. commit f26074cbde320fbc89da291e0aa243c2301bb599 Author: Derrick Brashear Date: Tue Mar 17 15:44:15 2009 +0000 configure-cpp-fallback-to-cc-E-20090317 LICENSE IPL10 if we don't find any cpp whatsoever, fall back to $CC -E, or cc -E commit 57326151f50270695c572afa06c1d4b4b5df40b0 Author: Derrick Brashear Date: Tue Mar 17 15:10:23 2009 +0000 prototyping-fallout-20090317 LICENSE IPL10 clean up to make prototyping code build everywhere commit b7372c3e1473ffcd4ab13451d3861103b51df3af Author: Derrick Brashear Date: Tue Mar 17 15:09:49 2009 +0000 solaris-vnode-path-cache-cleanup-20090317 LICENSE IPL10 declare needed variables everywhere commit 355344253605925972ea032d05dcb5fee3d8c3b6 Author: Simon Wilkinson Date: Tue Mar 17 04:51:40 2009 +0000 printf-sanity-20090317 LICENSE IPL10 FIXES 124239 sanitize the arguments to printf to minimize warnings commit 9fa77320ca368af97162d561bb7560b9fa55666a Author: Jeffrey Altman Date: Tue Mar 17 04:49:35 2009 +0000 vol-socket-abstraction-20090317 LICENSE IPL10 windows needs the abstraction for sockets commit 8aa03f1168c19166333a47e88e667a8ca5138133 Author: Steven Jenkins Date: Tue Mar 17 03:06:52 2009 +0000 tests-update-20090316 LICENSE IPL10 1- make afs-newcell.pl remove KeyFile in unwind 2- correct missing space in volserver setup for DAFS 3- fix klog to not try to use a Kerberos realm name 4- fix minor POD bug in src/tests/OpenAFS/wrapper.pm 5- enhance src/tests/OpenAFS/vos.pm to support On-line/Off-line state commit e7b25342096994520b7cea8eab76791edc68b9aa Author: Derrick Brashear Date: Tue Mar 17 02:31:24 2009 +0000 gtx-x11-init-debug-20090316 LICENSE IPL10 initialize x11 version of gtx correctly commit 85bb464bb46cd87e10a90b75748e164ae683cba0 Author: Jason Edgecombe Date: Tue Mar 17 02:21:14 2009 +0000 man-page-vos-setfields-20090316 LICENSE BSD FIXES 124472 New man page for vos setfields. Also adds -noresolve documentation to the vos(1) common flags. commit d26b3688625231465e17e39f082ed31f230dc667 Author: Derrick Brashear Date: Mon Mar 16 19:59:36 2009 +0000 disconnected-cache-type-genericization-miss-20090316 LICENSE IPL10 the cache type union change missed this town... commit a3125d5752390d424fc828d6f87da3c67589a9bb Author: Derrick Brashear Date: Mon Mar 16 19:50:49 2009 +0000 ubik-header-needs-stdarg-20090316 LICENSE IPL10 like com_err.h, includers now need this commit 143819664227f239c9cc07503c9fad1faa5ba9a3 Author: Jeffrey Altman Date: Mon Mar 16 18:13:21 2009 +0000 windows-afsconfig-20090316 LICENSE MIT add typedef for socklen_t which is not present on Windows. commit 6862d4685510ca618c16ed9c150dcfc7e31d5299 Author: Derrick Brashear Date: Mon Mar 16 17:54:12 2009 +0000 irix-no-inline-20090316 LICENSE IPL10 no inline on irix; deal like elsewhere commit 0e89bfb934863e6ab852b24422fa2c8f8c328120 Author: Jeffrey Altman Date: Mon Mar 16 17:52:31 2009 +0000 rxstat-include-path-20090316 LICENSE IPL10 do something sensible with rxstat prototypes header commit 0097888d53b71ef38491d71c3259ca9b5ac5dfa3 Author: Simon Wilkinson Date: Mon Mar 16 17:21:49 2009 +0000 bucoord-prototypes-20090316 LICENSE IPL10 FIXES 124238 prototype the bucoord directory commit 8377e2e34d750ef1318969f4a59b002920dc2d70 Author: Derrick Brashear Date: Mon Mar 16 17:17:17 2009 +0000 bubasics-prototype-getsize-correctly-20090316 LICENSE IPL10 fix prototype of getSize op commit 2d683a880bf5f30db22862f0f6add14142dbcf9a Author: Derrick Brashear Date: Mon Mar 16 16:14:12 2009 +0000 socklen-t-check-20090316 LICENSE IPL10 verify we have socklen_t and if not, get it commit 3eec4075102b18bac036c33c9acb155e44c23f08 Author: Derrick Brashear Date: Mon Mar 16 16:09:34 2009 +0000 fssync-abstract-fd-type-20090316 LICENSE IPL10 apparently 64 bit windows has 64 bit fds commit 7815171a8d300d550dd61c2db0f329b19390cf16 Author: Derrick Brashear Date: Mon Mar 16 15:48:20 2009 +0000 irix-no-sig-t-20090316 LICENSE IPL10 correct the sig_t checking macro commit a5daae759d6b513f27f4fe3ab255ea7b4497ff41 Author: Derrick Brashear Date: Mon Mar 16 15:17:12 2009 +0000 kauth-needs-sys-for-headers-20090316 LICENSE IPL10 get sys's header for kauth commit 97fad3a313088cb0ca5c4966fb9d24dedbecf146 Author: Simon Wilkinson Date: Mon Mar 16 15:06:54 2009 +0000 rxstat-prototypes-20090316 LICENSE IPL10 FIXES 124235 prototype the rxstat directory commit 92cd63b0b7cd26f05e6f316a6d209e4e5d0bfaa2 Author: Derrick Brashear Date: Mon Mar 16 14:41:22 2009 +0000 vol-no-cast-macro-20090316 LICENSE IPL10 afs_cast_uint32 doesn't exist, not sure we need it commit f076eb4f88a8e3b7633c21edb3921f4f08eefa6b Author: Jeffrey Altman Date: Mon Mar 16 14:19:39 2009 +0000 budb-no-pointer-math-on-void-star-20090316 LICENSE IPL10 can't do pointer math on void*; already casting to char* anyway commit 95d639b19452001835097fe4e0189efe5d8d08be Author: Jeffrey Altman Date: Mon Mar 16 14:12:37 2009 +0000 auth-unistd-not-on-windows-20090316 LICENSE IPL10 don't include unistd on windows commit 6e569d2518dba2f947626b40597c71e9798936b7 Author: Simon Wilkinson Date: Mon Mar 16 14:00:56 2009 +0000 sys-prototypes-20090315 LICENSE IPL10 FIXES 124233 prototype the sys directory commit 129905960db523e0a6365175bf0ce066fdbd60fd Author: Simon Wilkinson Date: Mon Mar 16 13:49:15 2009 +0000 gtx-prototypes-20090316 LICENSE IPL10 FIXES 124243 prototype the gtx directory utilize in scout commit 2b6d173530f38fba6ac9d2cc3459d7088a248f4f Author: Simon Wilkinson Date: Mon Mar 16 13:45:11 2009 +0000 butm-prototypes-20090316 LICENSE IPL10 FIXES 124241 prototype the butm directory commit f239bf808f63bb6a22e53696e9927ba2e4121c75 Author: Simon Wilkinson Date: Mon Mar 16 13:43:34 2009 +0000 uss-prototypes-20090316 LICENSE IPL10 FIXES 124248 prototype the uss directory commit bd00e10eb7caf66de33640bf06722d0169231703 Author: Simon Wilkinson Date: Mon Mar 16 13:41:23 2009 +0000 budb-prototypes-20090316 LICENSE IPL10 FIXES 124240 prototype the budb directory commit 14c3d5ed9179574692a0f7a5cc15d625083e3cf8 Author: Simon Wilkinson Date: Mon Mar 16 13:39:03 2009 +0000 bubasics-prototypes-20090316 LICENSE IPL10 FIXES 124237 prototype the bubasics directory make the volser prototypes available for bubasics to use commit 4fdda50ca7ea47d5b4b8a5cd31797b527deb148f Author: Simon Wilkinson Date: Mon Mar 16 13:28:55 2009 +0000 dir-prototypes-20090316 LICENSE IPL10 FIXES 124242 prototype the dir directory commit cff2da10d6f2c4b568c07a331ceb96cbf952576a Author: Simon Wilkinson Date: Mon Mar 16 13:26:20 2009 +0000 libadmin-prototypes-20090316 LICENSE IPL10 FIXES 124246 prototype the libadmin directory commit 0a8f1e16ae1a18094fa28521f29bee911aa6dcfb Author: Simon Wilkinson Date: Mon Mar 16 13:24:25 2009 +0000 venus-prototypes-20090316 LICENSE IPL10 FIXES 124250 prototype the venus directory commit 379162ec07cc76550e9690f3631cc00b931744f7 Author: Simon Wilkinson Date: Mon Mar 16 13:22:15 2009 +0000 scout-prototypes-20090316 LICENSE IPL10 FIXES 124253 prototype the scout directory commit 0dcdbf6dcda0814a5f24e84d4ef98ffc2279eff1 Author: Simon Wilkinson Date: Mon Mar 16 13:19:47 2009 +0000 bozo-prototypes-20090316 LICENSE IPL10 FIXES 124236 prototype the bozo directory commit 01e03837b81843c4f28eb6cc54811b1bd231514c Author: Simon Wilkinson Date: Mon Mar 16 13:17:33 2009 +0000 auth-prototypes-20090316 LICENSE IPL10 FIXES 124234 prototype the auth directory commit 242aa845a149d5132047e44d074064093fd2d61b Author: Simon Wilkinson Date: Mon Mar 16 13:13:45 2009 +0000 afsd-prototypes-20090316 LICENSE IPL10 FIXES 124231 prototype the afsd directory commit f28659bd826c2bb7311c84122262000caf33316c Author: Simon Wilkinson Date: Mon Mar 16 13:11:42 2009 +0000 vol-prototypes-20090316 LICENSE IPL10 FIXES 124252 prototype the vol directory commit 79448c25acead55728f40beec18e00113d8356f4 Author: Simon Wilkinson Date: Mon Mar 16 13:08:38 2009 +0000 ptserver-prototypes-20090316 LICENSE IPL10 FIXES 124249 prototype the ptserver directory commit a0179b07096014e31ba6ecf1643a9cf67ba45a24 Author: Jeffrey Altman Date: Mon Mar 16 12:37:09 2009 +0000 ubik-prototype-fallout-20090316 LICENSE IPL10 make things happy again commit 61dadb6458ec95b5bf4bd4250520453630fbbe4c Author: Derrick Brashear Date: Mon Mar 16 03:44:36 2009 +0000 irix-lacks-sig-t-20090315 LICENSE IPL10 sig_t is missing on irix commit 596614dd76aa5107f6cd30c67a79b371be48f504 Author: Simon Wilkinson Date: Mon Mar 16 03:10:21 2009 +0000 viced-prototypes-20090315 LICENSE IPL10 FIXES 124251 prototype the viced directory commit d5158b2ccb78fc7df0a346c7a5dd5b7cb5d0b58b Author: Simon Wilkinson Date: Mon Mar 16 03:03:14 2009 +0000 ubik-prototypes-20090315 LICENSE IPL10 FIXES 124245 prototype the ubik directory commit b18ec965dd58331eb32599a21e882fbe43a8257e Author: Simon Wilkinson Date: Mon Mar 16 02:53:55 2009 +0000 fsprobe-prototypes-20090315 LICENSE IPL10 FIXES 124254 prototype the fsprobe directory commit 8952e3d64d8099a5238be3ccf9cb56a7c0d1a2df Author: Simon Wilkinson Date: Mon Mar 16 02:42:34 2009 +0000 libacl-prototypes-20090315 LICENSE IPL10 FIXES 124256 prototype the libacl directory commit 2e4326e20ebadc2cb9b3efd117454bc422cdc63d Author: Simon Wilkinson Date: Mon Mar 16 02:35:29 2009 +0000 kauth-prototypes-20090315 LICENSE IPL10 FIXES 124257 prototype the kauth directory commit 12a60258f5ae680440b2a93369ca676359c888d4 Author: Simon Wilkinson Date: Mon Mar 16 02:26:28 2009 +0000 rxgen-prototypes-20090315 LICENSE IPL10 FIXES 124255 prototype the rxgen directory commit 47451b4c2009c51160686b4aca1b28b7011ba92f Author: Simon Wilkinson Date: Mon Mar 16 02:00:27 2009 +0000 util-prototypes-20090315 LICENSE IPL10 FIXES 124247 prototype the util directory commit 00fd29251e9326bd81d46387337ca014a118f7ec Author: Simon Wilkinson Date: Mon Mar 16 01:38:07 2009 +0000 audit-prototypes-20090315 LICENSE IPL10 FIXES 124232 prototype the audit directory commit c560efe73f79e396866918ee072849065ab70838 Author: Simon Wilkinson Date: Mon Mar 16 01:34:36 2009 +0000 des-prototypes-20090315 LICENSE IPL10 FIXES 124230 prototype the des directory commit 0c39a855a2da7b3e82970c65f835eed38b650215 Author: Rainer Toebbicke Date: Sun Mar 15 18:50:00 2009 +0000 viced-copyonwrite-optimization-20090315 LICENSE IPL10 FIXES 124397 optimize CopyOnWrite to avoid rewriting data if possible commit 6308037dec22d5a141fc64a11472b1a36585deb2 Author: Chaskiel M Grundman Date: Sun Mar 15 18:42:13 2009 +0000 cellservdb-proc-file-glocking-20090315 LICENSE IPL10 FIXES 124407 hold GLOCK appropriately when dealing with the proc file commit 5102d56f080f1284eecb94dbc7c06cb966c27f5b Author: Mike Meffie Date: Sun Mar 15 18:30:41 2009 +0000 viced-improve-host-hashing-20090315 LICENSE IPL10 FIXES 124447 hash based on host byte order so intel machines aren't sad commit fd6d954e95e016a78001e9bc12c4646ba8183e12 Author: Mike Meffie Date: Sun Mar 15 18:19:15 2009 +0000 butc-xbsa-buffersize-20090315 LICENSE IPL10 FIXES 124425 restrict buffer size to allow for header space commit 22c5edb1b22dbeee28b569ceefb543ab5ffed929 Author: Chaskiel M Grundman Date: Sun Mar 15 18:13:25 2009 +0000 solaris-avoid-returning-einval-if-possible-20090315 LICENSE IPL10 FIXES 124426 if we have a better error code, return it. commit fd9e5ffb4653b87f92438574083185a55086b661 Author: Derrick Brashear Date: Sun Mar 15 18:02:31 2009 +0000 aklog-old-principal-conversion-sans-524-20090315 LICENSE IPL10 we'll want to fix this differently later; since 524 is dying perhaps we need to just ship heimdal's version of this code commit d0e4044cfeef3ce1c5d435251de9b584343225f5 Author: Jeffrey Altman Date: Sat Mar 14 04:59:23 2009 +0000 windows-afsd-reset-acl-cache-20090312 LICENSE MIT Modify the cm_ResetACLCache interface to accept an optional cm_cell_t *. At the moment every time a token is set or cleared all of the acl info for all cm_scache_t objects regardless of cell is reset. This is both a performance hit and unnecessary. If we know the cell, only reset the acl info for cm_scache_t objects in that cell. If cell is not specified, reset for all cells. commit 8e01e5a4dbcaaea03fc3af59bec5ef211d5b4684 Author: Jeffrey Altman Date: Sat Mar 14 04:54:59 2009 +0000 windows-afsd-unlock-20090312 LICENSE MIT Modify the cm_Unlock() interface to support the ability to unlock all locks within a range. This is required for the redirector. commit 7ca2785f53d391afa5e7200f2b4d40c79a857443 Author: Jeffrey Altman Date: Sat Mar 14 04:51:11 2009 +0000 windows-freelance-20090312 LICENSE MIT correct error in windows-freelance-20090223. use cpath not filename since that is why we allocated cpath in the first place. commit ef81e9395c171f9dcb8df120991ba65ec1ca5610 Author: Jeffrey Altman Date: Sat Mar 14 04:49:06 2009 +0000 windows-afsd-callback-20090312 LICENSE MIT use cm_HaveCallback() to check for a call back instead of explicit checks on cbExpires and cbServerp. cm_HaveCallback takes into account Freelance mode and offline status. commit 15d4dd0f70925eaf2af333f2215235cb90637457 Author: Jeffrey Altman Date: Sat Mar 14 04:45:22 2009 +0000 windows-afsd-btree-20090313 LICENSE MIT Change cm_BPlusDirEnumerate interface to include a 'FetchStatus' parameter. When set to 0, we do not fetch status for fids for which we do not already have status info. This avoids unnecessary recycling of cm_scache_t objects. commit 77452db304abfc6ad0139769034986dc8bf172d9 Author: Matt Benjamin Date: Tue Mar 10 19:21:12 2009 +0000 dumpcallbackstate-64bit-timet-safe-20090310 LICENSE IPL10 FIXES 124451 on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad commit 581fd18bd9c3fe8e07169c60a7cde9e72e8af89c Author: Jeffrey Altman Date: Sat Mar 7 14:10:23 2009 +0000 avoid-blocking-with-connhashtable-lock-in-reapconnections-20090307 LICENSE BSD instead of potentially blocking waiting for a call lock, assume if the call is locked, the conn is still busy. also, don't even try to get the conn data lock if we don't need to commit 19ffc146fac828cd32b90c4d43d617de6c574556 Author: Jeffrey Altman Date: Mon Mar 2 04:44:43 2009 +0000 windows-afsd-server-uuid-20090301 LICENSE MIT Unlike the unix cache manager, on Windows the server uuid was not recorded as part of the cm_server object. This commit adds the uuid and a flag to indicate if it is set or not. A check is made in cm_UpdateVolumeLocation it confirm that the uuid known to the CM is the same as the one being reported by the vl server. If they differ, this is logged but no action is taken. The contents of the cm_allServers list is now dumped in response to "fs memdump" or a crash. This includes the uuid, addr, type, flags, downtime, caps, etc. The server uuid is not useful at the moment because there is nothing that the CM can use it for. However, it might be useful for debugging and it will be needed for extended callback support. commit 5d147351263be2636ef547f22acb24c7816348c1 Author: Jeffrey Altman Date: Sat Feb 28 16:19:13 2009 +0000 window-afsd-bad-version-20090228 LICENSE MIT create a new cpp symbol CM_SCACHE_VERSION_BAD to represent data version values in cm_scache objects that are known to be invalid. then consistently apply this value throughout the code. Previously some invalid values were set to 0 and others to -1 (0xFFFFFFFF:FFFFFFFF). Also fix at least one location where CM_BUF_VERSION_BAD was not used. commit a32971251670acc7944dcd4b1eade1ab161e587f Author: Jeffrey Altman Date: Sat Feb 28 15:40:56 2009 +0000 windows-afsd-btree-20090228 LICENSE MIT Change how BPlusDir enumerations behave with regards to bulk stat operations. If the number of entries in the enumeration is larger than the number of cm_scache objects, then using the previous model of cm_BPlusDirEnumBulkStat being called for the entire enumeration list results in the early objects being recycled and the status info discarded before the caller of cm_BPlusDirNextEnumEntry() receives the name. The revised model triggers bulk stat operations from within NextEnumEntry() as objects requiring status fetching are about to be returned to the caller. This reduces the thrashing of the stat cache. We should consider adding a flag field to cm_BPlusDirEnumerate() or cm_BPlusDirNextEnumEntry() to permit enumeration without status fetching. commit fbfaaf26890102dbe34315128183c27ce67f77a3 Author: Jeffrey Altman Date: Fri Feb 27 07:26:35 2009 +0000 windows-afsd-error-map-20090227 LICENSE MIT do not permit VNOSERVICE or VOFFLINE or VSALVAGE to leak and be returned as an error code. The resulting NTSTATUS is not valid. commit ab0691760f4cdd2fe8bded4700d051ea1ba51856 Author: Jeffrey Altman Date: Thu Feb 26 17:46:32 2009 +0000 windows-tests-torture-20090226 LICENSE MIT fix error message create a file of the specified size commit 3c1f85820853e9143cab076d735f7d7c27aeaf62 Author: Jeffrey Altman Date: Tue Feb 24 05:06:23 2009 +0000 windows-freelance-20090223 LICENSE MIT Fix another set of edge cases where adding a mountpoint or symlink to the Freelance volume would result in the wrong fid being returned to the request that made the addition. When the Freelance directory is updated, invalidate the cm_scache_t object. that is associated with it. Actually use the data version when checking callback status. The return value from Add Mount/Symlink is not negative on failure. Its an actual error code. Treat it that way. commit 80faa5e93ddc95ca676aa31f5d3522ad6b67f67e Author: Jeffrey Altman Date: Mon Feb 23 14:28:32 2009 +0000 windows-getrootcellname-20090223 LICENSE MIT do not mix and match CELL_MAXNAMELEN and MAXCELLCHARS. They are not the same. commit f83cfcafcbec8a953161fad300073b85a4215a03 Author: Russ Allbery Date: Sat Feb 21 20:51:08 2009 +0000 libafs-tree-clean-target-20090221 LICENSE IPL10 Add clean and distclean targets to the libafs_tree Makefile, based on suggestions by jhutz. commit 2290db5f160a0105005ec0787a002ce71629c3df Author: Mike Meffie Date: Sat Feb 21 15:36:39 2009 +0000 linux-module-build-test-configure-fix-20090221 LICENSE IPL10 FIXES 124381 deal when the module link warning has extra characters commit 8382f8ccb1c14f32318b3d1c587b417cce4c721c Author: Jeffrey Altman Date: Sat Feb 21 04:26:43 2009 +0000 windows-smb-misc-20090220 LICENSE MIT Fix smb_FindFIDByScache() to avoid obtaining the smb_fid_t.mx and smb_rctLock out of order. Doing so requires obtaining references on each smb_fid_t belonging to the smb_vc_t in order to prevent them from being removed from the list while the list is being walked. Reorder tests for CM_SCACHEFLAG_DELETED and smb_fid_t.scp to make them more efficient and consistent. When processing Tran2SetPathInfo do not fail because an smb_fid_t cannot be found for the path object. The PathInfo function is being used because we do not have a file descriptor. Most importantly do not fail by returning success. commit 54a3c85ae44aaaac9dd933893d975199b3cdca70 Author: Jeffrey Altman Date: Sat Feb 21 04:19:23 2009 +0000 windows-rename-cross-dir-invalid-handle-20090220 LICENSE MIT Problems with the cm_Rename() functions: * when a rename occurs across directories, the file server allocates a new vnode which in turn alters the FID. Since the new FID and potentially version number is unknown to the client, it is not possible to update the target directory with the new name and FID thereby avoiding reading the directory from the file server. * when the old vnode is removed, the callback is broken but the client did not discard the cm_scache_t object In order to optimize the client cache AFS requires a RXAFS_RenameEx rpc that is equivalent to the current RPC but returns the new FID and status. This would permit the cache manager to relabel the data buffers and cm_scache_t that are known to contain valid data. commit 4eb808d26b1d417189d363924c4e2e32ed832690 Author: Asanka Herath Date: Thu Feb 19 04:04:24 2009 +0000 smb-vc-reset-on-request-20090218 LICENSE MIT When processing SMB_SESSION_SETUP_ANDX in smb_ReceiveV3SessionSetupX it is possible that the smb client might indicate that it requires an Mpx Count greater than we are configured to support. If so, log it to the Windows Event Log as a warning. It is also possible that the client might specify that its maximum receive buffer is smaller than the SMB_PACKETSIZE. If so, log it to the Windows Event Log as a warning. Finally, if the client specifies a virtual circuit number of zero, the client thinks this is its first time communicating with us. In which case we should invalidate all prior virtual circuits. We also log this request to the Windows Event Log as informational. commit 5bd86a09eb897cf12f0d08442f956f79ec7d15b3 Author: Simon Wilkinson Date: Wed Feb 18 17:48:39 2009 +0000 windows-64bit-printf-sanity-20090218 LICENSE IPL10 FIXES 124265 don't assume %lld works for 64 bit ints on windows commit 733794b4d8be284dcb6f9e60fa4b4abe1f3398f2 Author: Peter Tripician Date: Wed Feb 18 17:27:59 2009 +0000 vos-increment-offline-count-20090218 LICENSE IPL10 FIXES 124333 increment offline volume count, not pointer to it commit da8df5ea2c9311c4e4b263fbdba3aea3141ef075 Author: Derrick Brashear Date: Tue Feb 17 14:34:18 2009 +0000 vldb-check-no-bogus-shadow-decl-20090217 LICENSE IPL10 unfussy compilers treat this as a shadow declare; others thankfully as an error commit 8b74a85b977f379ea94cd01df3fcb553147a42dc Author: Derrick Brashear Date: Tue Feb 17 14:27:48 2009 +0000 aklog-524-vars-20090216 LICENSE IPL10 add missing variables commit b9816e12f7ed8213c9c4eaea09e992e69ce4ee05 Author: Jeffrey Altman Date: Tue Feb 17 04:37:27 2009 +0000 vclosevnodefiles-ihandle-leak-20090216 LICENSE IPL10 FIXES 124359 don't leak ihandles on close. this isn't a complete fix for the issue commit 846919700b90b919d6a12102ae8c6d85ee36b83c Author: Peter Tripician Date: Tue Feb 17 04:32:08 2009 +0000 bozo-corefile-timestamp-fix-20090216 LICENSE IPL10 FIXES 124340 output y2k-correct corefile names commit b1f9b4cb5dd295162ae51704310e9d6058008f0a Author: Evan Broder Date: Tue Feb 17 04:28:53 2009 +0000 aklog-use-native-principal-conversion-20090216 LICENSE IPL10 FIXES 124338 use krb5_524_conv_principal instead of doing it potentially wrong ourselves commit 8bc58a3d6dd531b55c405590e419d2ce4d74b5fc Author: Chas Williams Date: Tue Feb 17 04:25:10 2009 +0000 macos-10-6-support-20090216 LICENSE IPL10 FIXES 124288 support for (32 bit) macos 10.6. no pam yet commit 43bcfaf9cc429cec51a98857d86d870c45759baa Author: Steven Jenkins Date: Tue Feb 17 04:16:56 2009 +0000 vldb-check-meaningful-return-codes-20090216 LICENSE IPL10 FIXES 124321 make vldb_check have meaningful return codes commit 52f3295d32e3a72916ea1f99119967b7279f642a Author: Peter Tripician Date: Tue Feb 17 03:59:28 2009 +0000 fs-lsm-parse-bug-20090226 LICENSE IPL10 FIXES 124319 print correct error on root directory commit 0e05505a8964da2e9d4c4eccab7a3b322e5d02f0 Author: Marc Dionne Date: Tue Feb 17 03:43:37 2009 +0000 linux26-bogus-param-define-20090216 LICENSE IPL10 FIXES 124324 remove orphaned define commit 4817a4a98fe9ccc61c90d8bbc769790ad067339b Author: Tony D'Amato Date: Tue Feb 17 03:29:22 2009 +0000 redhat-rpms-kernel24-20090216 LICENSE IPL10 FIXES 102673 rewrite make rule for 2.4 kernels commit f3080eb7c7c4c4f72d6560b12c3d8cffbb4b2b0d Author: Marc Dionne Date: Tue Feb 17 03:23:27 2009 +0000 rx-head-build-error-20090216 LICENSE IPL10 FIXES 124323 include header so mutex&atomic macros exist commit 8e3b67b9537097928b4fc13844db09d429ac9bed Author: Jeffrey Altman Date: Thu Feb 12 21:44:47 2009 +0000 windows-smb-fidp-scp-race-20090212 LICENSE MIT FIXES 124293 As evident in a crash dump, there is a race surrounding access to the scp field of the smb_fid_t object. Not all access was protected by the smb_fid_t mx and the cm_scache_t object was not always being reference counted within the accessing function. This patch ensures that all initial references to the scp object are performed under the smb_fid_t mx mutex and that the cm_scache_t is prevented from being recycled by obtaining a local reference. Finally, CM_ERROR_BADFD is returned as an error if a request begins after the smb_fid_t scp field has already been cleared by a smb_CloseFID() call as part of a concurrent request. commit 8bb35234aa8469ba93a2171fced503a875c2f1f6 Author: Jeffrey Altman Date: Thu Feb 12 21:30:03 2009 +0000 windows-vmoved-vnovol-failover-20090212 LICENSE MIT FIXES 124276 A readonly volume with multiple instances was being marked alldown when one of the instances resulted in VNOVOL because the vldb and the indicated file server were out of sync. The cache manager would then attempt to re-obtain the volume location info from the vldb for the entire timeout period. This patch: adds trace logging to cm_Analyze indicating which server references are being deleted and which remain in response to a VNOVOL/VMOVED error. adds trace logging to cm_UpdateVolumeStatusInt showing how the new volume status value is determined. corrects cm_Analyze() so that it doesn't corrupt the server reference list during cm_FreeServerList() calls; doesn't orphan the server reference list by setting *serverpp to NULL; and only re-obtains the volume info list once per request. commit 1050049411d1fc47441220c33e6353436fc586e7 Author: Jeffrey Altman Date: Tue Feb 10 22:42:40 2009 +0000 fix-tsfpq-20090210 LICENSE BSD avoid transferring more than the number of packets in a queue commit c12e2fa01912e7950570354c6d059588028c086c Author: Derrick Brashear Date: Tue Feb 10 22:39:58 2009 +0000 restore-unix-rxdebug-20090210 LICENSE IPL10 stale fixes from my sandbox commit c4d5f0a70229f55683735d13523744ad2361f6b8 Author: Marc Dionne Date: Mon Feb 9 23:15:13 2009 +0000 rx-atomic-20090209 LICENSE IPL10 FIXES 124322 add parens commit 0edbc512b52848f076525ede5ff166f3785128a7 Author: Jeffrey Altman Date: Sat Feb 7 17:22:26 2009 +0000 rx-writevproc-wrong-type-20090207 LICENSE BSD In rxi_WritevProc the queueScan that sets RX_PKTFLAG_TQ on the packet really needs to cast the queue objects to rx_packet instead of rx_call. Trashing random fields is not a good idea. commit b842ee3ea521a196652ff2d09d468ca008cececc Author: Asanka Herath Date: Fri Feb 6 03:13:38 2009 +0000 windows-netidmgr-progress-20090205 LICENSE MIT add progress reporting to the provider. commit ffdc7c70889386dca37e207a91791d5d0728d2d7 Author: Jeffrey Altman Date: Thu Feb 5 00:23:54 2009 +0000 windows-freelance-20090204 LICENSE MIT set the correct fid vnode/unique values when adding new symlnks and mount points. commit 58a924fd50e96c827fc6dd3dcea48328b6abe4be Author: Mike Meffie Date: Tue Feb 3 19:44:27 2009 +0000 upclient-cleanup-temp-files-20090203 LICENSE IPL10 FIXES 124221 remove tempfiles in the event of a fetching error commit 1811577fca393c4433de64ea6e1cd5a8d13521a3 Author: Simon Wilkinson Date: Tue Feb 3 19:42:14 2009 +0000 rename-internal-gettimeofday-refs-20090203 LICENSE IPL10 FIXES 124259 switch to using fasttime, instead of wrapper commit 0ac1e741783e0d5b0cbb8ec665e0acab132f6265 Author: Simon Wilkinson Date: Tue Feb 3 19:37:41 2009 +0000 redhat-packaging-non-stable-branches-20090203 LICENSE IPL10 FIXES 124273 make rpm stuff work for other than 1.4.x commit fe3779411ea025d5ecf40687d5c21649e6daabdc Author: Simon Wilkinson Date: Tue Feb 3 19:34:10 2009 +0000 redhat-packaging-updates-20090203 LICENSE IPL10 FIXES 124272 adds fc10, fc11 support commit d4763404655e27098eb4340eca8777b63d8a5847 Author: Russ Allbery Date: Mon Feb 2 01:19:00 2009 +0000 man-page-salvager-fixes-20090201 LICENSE BSD Fix the -parallel example in the main description text: "5all" should be "all5". Reword the description a bit to hopefully make it clearer that there are two separate values set here. Note under the option description of -parallel that multiple partitions on the same device are normally processed serially. commit f204e4e37f39fa15beabf68e68dce1f6425f7513 Author: Russ Allbery Date: Mon Feb 2 01:12:02 2009 +0000 man-page-vos-examine-copy-date-20090201 LICENSE BSD Document the Copy field of vos examine output. commit 7f371c53092b6d9532c2749eefa341616ba6edc6 Author: Jeffrey Altman Date: Sun Feb 1 21:57:10 2009 +0000 windows-tests-torture-enforce-querypath-info-errors-20090201 LICENSE BSD change nb_qpathinfo() 'Flag' to a thread local storage variable 'EnforcePathInfoErrors'. Add new 'Type' values that permit the enforcement to be turned on and off as needed by the test script. Populate the IoBuffer with the low byte of the pid value. ==================== 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 Verified the state of every file's existence at every Query Path Info call in the script. Added 'Type' == 1 (Does not Exist) as needed. Removed the use of 'Type' == 1111 to disable enforcement part way through. commit 652c361054491e1b518451646b45a19dd32f9a69 Author: Jeffrey Altman Date: Sun Feb 1 00:26:40 2009 +0000 windows-tests-torture-scripts-20090131 LICENSE MIT Add some additional example scripts commit 3769240ac4c3c54933245dc09740447b97b6cc2c Author: Jeffrey Altman Date: Sun Feb 1 00:18:26 2009 +0000 windows-tests-torture-source-20090131 LICENSE MIT Do not unload afsrpc.dll as it cannot clean up after itself and become safe to reload. Instead of reporting that the AFS client is off-line, report the path that is unreachable. commit 5981379dea329800f88a12a74ea34402e63b789d Author: Jeffrey Altman Date: Sat Jan 31 17:05:02 2009 +0000 windows-tests-torture-20090131 LICENSE MIT rename torture.exe to wintorture.exe to match the name expected by stress.exe increase length of "Locker" to permit longer paths do not strip \\afs unc server name. treat all unc paths equal add GetLastError values to logged error messages clarify error messages when missing input params print all errors on a single line. quote paths and command strings fix the initialization of the IoBuffer for writes. initialize the whole buffer not just the sizeof(pointer) remove the static declaration of Flag in nb_qpathinfo() obtain real HANDLEs for directories. Do not fake them. commit 1e01bdc8e1b7ee4d9da36a1bb5899ca51daf2748 Author: Jeffrey Altman Date: Sat Jan 31 06:42:39 2009 +0000 windows-tests-20090130 LICENSE BSD build all of the tests commit 7c4ceecbd9d71e7f27ffd81598badeee36e6f17f Author: Jeffrey Altman Date: Sat Jan 31 06:39:48 2009 +0000 windows-tests-torture-20090130 LICENSE MIT Port to Win64 Integrate with OpenAFS build environment Build without warnings Add nb_flush() implementation commit e01ffce669318890484bf468c0b641336d10515b Author: Jeffrey Altman Date: Sat Jan 31 03:42:29 2009 +0000 windows-tests-largefiles-20090130 LICENSE BSD permit the largefiles test to build under the openafs build system commit b557da03d5089749b37ae356cadb4d00ff6d5af5 Author: Jeffrey Altman Date: Sat Jan 31 03:37:18 2009 +0000 windows-test-winflock-20090130 LICENSE BSD permit winflock to build under the openafs build system commit a9bc4bf32c959698e6ec3a361e94382f9500f85c Author: Asanka Herath Date: Sat Jan 31 03:08:55 2009 +0000 windows-tests-nm-20090130 LICENSE BSD A test application that produces verifiable random test files. ==================== 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 make it build in the openafs build tree commit 175393288df30ca88178ee98cdfff364bffbabb7 Author: Simon Wilkinson Date: Fri Jan 30 14:36:13 2009 +0000 linux-vmtruncate-20090130 LICENSE IPL10 FIXES 124128 use linux's vmtruncate feature instead of doing a somewhat-right internal version commit ff795a12c50d0fa59d2b3ad0b383309b9a4e939d Author: Tom Keiser Date: Thu Jan 29 17:06:41 2009 +0000 dafs-vnode-close-race-20090129 LICENSE IPL10 FIXES 124223 address race between VCloseVnodeFiles_r and VGetFreeVnode_r commit 47e99e36fd40c55be7a5d947fb096d6f6f2c0ae4 Author: Derrick Brashear Date: Thu Jan 29 16:05:05 2009 +0000 discon-diskslot-linux-20090129 LICENSE IPL10 build in the linux case on non-disconnected commit df139845e9f83cd15f3b0ab8dcbb27781c811642 Author: Derrick Brashear Date: Wed Jan 28 22:39:04 2009 +0000 discon-remove-fix-20090128 LICENSE IPL10 fix my own error commit 35cc76c21ebb48a2257254798a57afac083896ee Author: Jeffrey Altman Date: Wed Jan 28 22:33:17 2009 +0000 rx-no-more-register-20090128 LICENSE BSD kill off use of register in rx commit 226cf894b65c62225785180dfeeed0ec1c1a160b Author: Jeffrey Altman Date: Wed Jan 28 21:34:33 2009 +0000 rx-pthread-mutex-protects-threadcount-20090128 LICENSE BSD add protection of previously unprotected thread count variables commit 7cd7bcdc4ca6787e19c12485f70fabb8f4f9f00b Author: Simon Wilkinson Date: Wed Jan 28 21:13:58 2009 +0000 discon-avoid-looping-on-replay-20090128 LICENSE IPL10 FIXES 124203 don't defer based on a shadow copy commit cc2f0d2bc52e980c376188888faa27cd37b0eccc Author: Simon Wilkinson Date: Wed Jan 28 21:02:16 2009 +0000 disconnected-reply-no-locking-yet-20090128 LICENSE IPL10 FIXES 124202 don't lock files before replaying changes yet commit 1cca08960b263baabcf7f86b1596f07fb8449223 Author: Jeffrey Altman Date: Wed Jan 28 20:35:50 2009 +0000 rx-atomic-macros-and-variables-20090127 LICENSE BSD adds macros to support accessing some variables as atomics, when atomic support is available; otherwise falls back to mutex-protected access. commit af61732e4aaac8e09369addde0ec31a88fad8964 Author: Derrick Brashear Date: Wed Jan 28 15:52:42 2009 +0000 disconnected-deal-with-unlink-while-open-20090127 LICENSE IPL10 FIXES 124178 treat something as unlinked until a rename suceeds, then let that win commit 50d57f6c7b325cb9576f33845cac60e1523f661e Author: Jeffrey Altman Date: Tue Jan 27 17:49:05 2009 +0000 rx-windows-debugging-20090127 LICENSE MIT separate rx debugging from cache manager debugging. assign bit 5 of the TraceOption registry value to activation of rx debug output via DebugOutputString(). commit 306a7761b3f2f7ec0d2909e1048ecd39e9c9cfd7 Author: Jeffrey Altman Date: Tue Jan 27 17:09:22 2009 +0000 windows-libafsrpc-20090127 LICENSE MIT confirmed that rx_ReadvProc, rx_WritevProc, and rx_WritevAlloc are properly implemented for Windows. Add them to the public export list. Add rx_ReadProc32 and rx_WriteProc32 to the public export list. commit bc558c75dcad12c7f45443c8e191b554b5d0c887 Author: Jeffrey Altman Date: Tue Jan 27 17:06:05 2009 +0000 windows-dcache-20090127 LICENSE MIT Use the optimized rx_Read32 call instead of the slower rx_Read when reading 32-bit integer values. commit 72d502be69ea3208634bb0665fd37e990d1fa38e Author: Mike Meffie Date: Tue Jan 27 14:24:23 2009 +0000 dafs-vol-offline-race-20090127 LICENSE IPL10 FIXES 124215 avoid race when taking volumes offline in dafs commit a4f63a818eea476efa456132ca6112329ef8a484 Author: Jeffrey Altman Date: Tue Jan 27 06:04:32 2009 +0000 rx-windows-xmit-20090126 LICENSE MIT The WinSock API does not include the Posix recvmsg/sendmsg interfaces. Beginning with XP/2003 Microsoft began to support WSARecvMsg which is a mostly compatible implementation of recvmsg. In Vista/2008 Microsoft began to support WSASendMsg a mostly compatible implementation of sendmsg. Neither are part of the WinSock API and therefore they must be loaded at runtime via a WSAIoctl() call to obtain the function pointers. When the functions are available it is now possible to avoid a large number of memcpy() calls. This patch also enables UDP port unreachable messages on XP and above. commit 6e8039e8a55056f19895036ef6784f4fab5ab758 Author: Jeffrey Altman Date: Mon Jan 26 22:53:48 2009 +0000 rx-slow-write-packet-20090126 LICENSE MIT In rx_SlowWritePacket the use of RX_MAXWVECS was incorrect. The niovecs field is allocated as [RX_MAXWVECS+1] with the 0th element reserved for the rx header. niovecs[RX_MAXWVECS] is therefore a valid data buffer and the comparison should be (i <= RX_MAXWVECS). This error has most likely not been noticed previously because nothing in the OpenAFS source tree uses this function. commit 8552f84b8ed0bce52dab1fd168054038d6ce20a9 Author: Simon Wilkinson Date: Mon Jan 26 19:33:06 2009 +0000 discon-allow-saving-vcaches-on-shutdown-20090126 LICENSE IPL10 FIXES 124211 restructure so we can save info necessary to keep dirty changes across offline shutdown commit e42a066da153750077b154e27249b5b4862724db Author: Jeffrey Altman Date: Mon Jan 26 15:50:46 2009 +0000 windows-btree-dir-enum-20090126 LICENSE MIT Modify the cm_BPlusDirEnum interface: * add the cm_scache_t * of the directory being enumerated to the cm_direnum_t object * remove the cm_scache_t * from the cm_BPlusDirEnumBulkStat call now that it is part of the cm_direnum_t object * maintain a reference to the cm_scache_t for the life of the cm_direnum_t object. This ensures that the object cannot be recycled while the enumeration is in use. commit 7a01a35adfc8f3124a259e682ea1555cb9ed7df2 Author: Simon Wilkinson Date: Mon Jan 26 13:42:01 2009 +0000 disconnected-lseek-extension-20090126 LICENSE IPL10 FIXES 124200 make extending a file by lseek make the extension-created parts as cache chunks commit d2960e5442bb7a7f4730d2a918d8cfb5a409d05c Author: Simon Wilkinson Date: Sun Jan 25 14:52:37 2009 +0000 disconnected-symlink-support-20090125 LICENSE IPL10 FIXES 124177 allow creation of symlinks while disconnected commit 58ab0e7c58e1e8cde3fd7595d25b3537062276b3 Author: Simon Wilkinson Date: Sun Jan 25 14:48:14 2009 +0000 disconnected-clear-cstatd-on-reconnect-20090125 LICENSE IPL10 FIXES 124180 don't treat any information we forged as being valid while offline as valid commit b690aa8f8139c2b52a1d0dca12e89aad57a9161d Author: Simon Wilkinson Date: Fri Jan 23 15:20:32 2009 +0000 linux24-update-20090123 LICENSE IPL10 make things work on linux 2.4 again commit c93e751599db8b8b1515a400ce398a4d365be782 Author: Simon Wilkinson Date: Fri Jan 23 14:44:31 2009 +0000 disconnected-allow-larger-directories-20090123 LICENSE IPL10 FIXES 124182 allow directories larger than a chunk commit 9093f0cf1594c72d9849ed6d4d9ab1532d0185c5 Author: Simon Wilkinson Date: Fri Jan 23 14:31:22 2009 +0000 linux-nfstrans-test-20090123 LICENSE IPL10 test for nfs translator before enabling commit 6742f2054ac96bcec19c01d408542c94de9a55f1 Author: Matt Benjamin Date: Thu Jan 22 21:49:03 2009 +0000 fbsd-ustrategy-20090122 LICENSE IPL10 make freebsd ustrategy correct commit 85fa1b132ae93a48dfb73155921245106f31f586 Author: Mike Meffie Date: Thu Jan 22 21:42:28 2009 +0000 hpux-readdir2-prototype-20090123 LICENSE IPL10 FIXES 124187 fix typo in prototype commit 6784222ac1741d9da18ba5d66fdd5057343ab8b1 Author: Matt Benjamin Date: Thu Jan 22 21:38:45 2009 +0000 fbsd-ignore-sigsys-20090123 LICENSE IPL10 FIXES 123867 wrong but a step forward commit 35a760632da0f15240153cb17ae96e0981e2c8c4 Author: Matt Benjamin Date: Thu Jan 22 21:28:29 2009 +0000 obsd44-pass1-20090123 LICENSE IPL10 FIXES 123830 first pass at openbsd 4.4 commit db15872a7ee0d1c666502f8da8c8c27c36159110 Author: Derrick Brashear Date: Thu Jan 22 21:19:47 2009 +0000 klog-krb5-link-order-20090122 LICENSE IPL10 match the (bad) link order used elsewhere commit 90f9073dde7041534d448083eaeabbc61d7563f9 Author: Derrick Brashear Date: Thu Jan 22 20:19:51 2009 +0000 disconnected-no-inline-on-irix-20090122 LICENSE IPL10 make this compile on irix commit 396b573b12a509b7e0d8d5094ebadc12c6aa8b45 Author: Derrick Brashear Date: Thu Jan 22 20:11:45 2009 +0000 disconnected-call-makedir-with-correct-casting-20090122 LICENSE IPL10 another find by the irix compiler. commit d6c5d0bbb09f84476d7928e62921a4aa01cd17ed Author: Derrick Brashear Date: Thu Jan 22 19:33:04 2009 +0000 bcdb-listdumps-argument-fix-20090122 LICENSE IPL10 prototype caught this. oops. commit 92cf4d996f91e895b8995d41419b32843a40b9fb Author: Derrick Brashear Date: Thu Jan 22 19:12:40 2009 +0000 volserver-manage-inuse-better-20090122 LICENSE IPL10 FIXES 124142 V_PEEK/V_SECRETLY should not change inUse. servertype based inUse should not leak past giving back a volume. commit 1d70f4e14e991326d8d7e6d3d3f179179a7aaf45 Author: Jeffrey Altman Date: Thu Jan 22 15:40:07 2009 +0000 bucoord-ubik_call-no-more-20090122 LICENSE MIT replace ubik_Call(RPC, ...) with ubik_RPC(...) commit d4b17a6e2e08c41de8ee07721029469ebcde6f72 Author: Jeffrey Altman Date: Thu Jan 22 15:28:54 2009 +0000 ubik_Call-no-more-20090122 LICENSE MIT remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...) commit 69bab4cc6ee68ab98b6f207f6ab80352250f6b97 Author: Peter Tripician Date: Thu Jan 22 15:15:55 2009 +0000 util-volparse-20090122 LICENSE IPL10 FIXES 84846 avoid some infinite loops on bad input ensure that all partition ids are within the legal limit provide prototypes for strlcat and strlcpy when the openafs implementations are being used. commit f11480748cd682f60e81e8854e254fe964d5955c Author: Marc Dionne Date: Thu Jan 22 14:28:27 2009 +0000 salvager-sensible-chdirlessness-20090122 LICENSE IPL10 FIXES 124154 make salvager look for and create headers in the right place. commit 81e1d5403438929bc6380c05bdacb808a31aaa37 Author: Simon Wilkinson Date: Wed Jan 21 21:33:32 2009 +0000 disconnected-linux-dont-inactive-while-disconnected-20090121 LICENSE IPL10 FIXES 124175 possibly not the ultimate right fix but it will make things work for now commit 0593374e2de0da391ea793e45ca08d6c971d8f86 Author: Simon Wilkinson Date: Wed Jan 21 21:27:42 2009 +0000 disconnected-pioctl-error-recovery-20090121 LICENSE IPL10 FIXES 124174 make reconnection possible by doing error recovery commit 4045f3d5350955de91e019b09ad2ed7941f6dadb Author: Simon Wilkinson Date: Wed Jan 21 21:17:09 2009 +0000 disconnected-shadow-directory-fixes-20090121 LICENSE IPL10 FIXES 124173 fix bugs in disconnected's directory shadowing commit cc42d05324c6a3dc619192a997125ca8f3a595fd Author: Simon Wilkinson Date: Wed Jan 21 21:14:48 2009 +0000 disconnected-replay-fixes-20090121 LICENSE IPL10 FIXES 124172 updates to fix bugs in disconnected change replays commit 0fb28687b498bd4cd7994fd388c3eef2f4cd17f9 Author: Jeffrey Altman Date: Wed Jan 21 21:04:11 2009 +0000 windows-avoid-rwevent-collision-part-two-20090121 LICENSE MIT don't leave out the size of the buffer. commit 10ecf76d281dc90a4f83f0c45404712b62bcea8b Author: Jeffrey Altman Date: Wed Jan 21 21:00:59 2009 +0000 windows-avoid-rwevent-collision-20090121 LICENSE MIT Prevent multiple smb_Server threads from sharing the same EVENT object when they are each waiting for their own packet requests to complete. commit a268678326f3713a0ba41f69a1432bd1fca2872f Author: Simon Wilkinson Date: Wed Jan 21 20:09:07 2009 +0000 rename-conn-to-afs-conn-20090121 LICENSE IPL10 FIXES 124116 based on patch from daleg@elemental.org. rename to avoid conflict with opensolaris ==================== 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 IPL10 FIXES 124116 based on patch from daleg@elemental.org. rename to avoid conflict with opensolar is ==================== LICENSE IPL10 FIXES 124116 based on patch from daleg@elemental.org. rename to avoid conflict with opensolar is commit 9cc62beeb985745475ac7b3ecc5bf61c2fa06a9d Author: Simon Wilkinson Date: Wed Jan 21 14:32:27 2009 +0000 darwin-no-vprintf-20090121 LICENSE IPL10 restore old behavior for mac client commit 541897d10d96805be841e56ad1f824c8abe2c07d Author: Jeffrey Altman Date: Wed Jan 21 14:32:08 2009 +0000 windows-installer-wix-20090121 LICENSE MIT remove man page files that no longer exist on the head commit a0fd9b17334333e257ae9c476c4fbf85ee9fec95 Author: Jeffrey Altman Date: Tue Jan 20 04:35:53 2009 +0000 windows-smb-parse-ascii-block-20090119 LICENSE MIT smb_ParseASCIIBlock() may be called with more than just data type ASCII (0x4). If the type is 2, 3, or 4 the data field is a null terminated string. If the type is 1 or 5 the data field is a counted string. if the type is 2 the data field is never Unicode. In any case, if the type is unrecognized smb_ParseASCIIBlock() will return NULL and all of the callers must be prepared to handle it. If the return is NULL, the smb request will fail with CM_ERROR_BADSMB. commit e5a6c3f62dde6bc1b6a26957b866c3f27dc28c3a Author: Steven Jenkins Date: Tue Jan 20 03:29:01 2009 +0000 undo-rename-residency-from-mrafs-to-osd-20090119 LICENSE IPL10 FIXES 124130 restore the mr-afs names until such time as the pioctl registrations are addressed. commit 8c18c62dffa23557fb521950eede4252cdafc0b5 Author: Jason Edgecombe Date: Mon Jan 19 23:02:36 2009 +0000 man-page-pts-membership-fixes-20090119 FIXES 124157 LICENSE BSD More wording and typo fixes for the pts membership man page. commit 5e1859a88e8133904f1315833c17851d7e6d10a4 Author: Derrick Brashear Date: Mon Jan 19 20:53:42 2009 +0000 linux-init-script-uses-bash-20090119 LICENSE IPL10 FIXES 124056 note the script uses bash commit dc0b96f5b7ee3f5f95639dfd5afb98ecb4ff6885 Author: Simon Wilkinson Date: Mon Jan 19 19:42:32 2009 +0000 disconnected-extend-truncation-20090119 LICENSE IPL10 FIXES 124094 implement extending truncation so disconnected works commit 57744971179a8ee7441e73eeb9e2a56d671fcc37 Author: Simon Wilkinson Date: Mon Jan 19 19:39:12 2009 +0000 abstract-reset-vcache-20090119 LICENSE IPL10 FIXES 124147 abstract vcache resetting code so disconnected can reuse it commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9 Author: Simon Wilkinson Date: Mon Jan 19 19:27:00 2009 +0000 afs-q-improvements-20090119 LICENSE IPL10 FIXES 124134 simplify afs_q macros and allow further reuse in disconnected commit e1cc987ea57c03a93dd02164ecb75cd705fc79b3 Author: Simon Wilkinson Date: Mon Jan 19 18:47:52 2009 +0000 disconnected-flush-before-shadowing-20090119 LICENSE IPL10 FIXES 124149 make touch a fs discon offline rm -f a fs discon online work commit 92c7925b12d7b99e4ff044bc053330e77336a21a Author: Steven Jenkins Date: Mon Jan 19 18:09:06 2009 +0000 rename-residency-from-mrafs-to-osd-20090119 LICENSE IPL10 FIXES 124130 rename mrafs commands into their equivalent osd versions; structures etc are the same. commit 9fa51694c6a41323cfeb7b41bb4dff9e8dac77be Author: Simon Wilkinson Date: Mon Jan 19 17:29:08 2009 +0000 linux-disconnected-avoid-ls-hang-20090119 LICENSE IPL10 FIXES 124152 avoid allowing a non-CStatd vcache to make its way into a readdir which causes an infinite loop commit df71f42b637c5ef2aa266a709720b35e65b8e27f Author: Derrick Brashear Date: Mon Jan 19 03:25:10 2009 +0000 krb5-klog-link-rule-20090118 LICENSE IPL10 this was just wrong commit dbc73f43ee64072509ee0ae66cf7499ff9e5d861 Author: Derrick Brashear Date: Mon Jan 19 03:19:01 2009 +0000 volser-setflags-clear-callptr-20090118 LICENSE IPL10 make things calling SetFlags not error commit d781450cf3c08bf89f3d1490620ed89885f7e518 Author: Russ Allbery Date: Mon Jan 19 03:09:52 2009 +0000 man-page-pts-membership-privilege-20090118 FIXES 124151 LICENSE BSD Add system:ptsviewers to the privilege documentation of pts membership and try to clarify the privilege required by being less verbose and hopefully more direct. commit 24a5d12bae9a2af393f3641055893824c71a4712 Author: Marc Dionne Date: Thu Jan 15 13:26:55 2009 +0000 linux-2629-20090115 LICENSE IPL10 FIXES 124115 add 2.6.29 support commit 86225b60147d58ca71063a72be02236df1257407 Author: Chaskiel M Grundman Date: Thu Jan 15 13:12:58 2009 +0000 osi-probe-check-result-cope-with-enoent-20090115 LICENSE IPL10 in order for probing to work right commit 3394644531fb89b02ffbe0c10f4a51c3a4169a39 Author: Jeffrey Altman Date: Wed Jan 14 06:34:08 2009 +0000 rx-afs-kmutex-kcondvar-20090113 LICENSE BSD The rx_pthread.h defines afs_kcondvar_t and afs_kmutex_t but their use throughout the rx library is inconsistent. Sometimes they are used, other times pthread_cond_t and pthread_mutex_t. This commit ensures that afs_kmutex_t and afs_kcondvar_t are used consistently. commit e6d60f58e2a6b7ac9964cfb1ec753decd5d6ed91 Author: Simon Wilkinson Date: Tue Jan 13 19:37:03 2009 +0000 linux-truncate-cleanup-20090113 LICENSE IPL10 fix the patch to actually be applicable commit f1a13e15625afa324ffc6614eea432dcc89bf768 Author: Jeffrey Altman Date: Tue Jan 13 16:19:11 2009 +0000 rx-make-rxdebug-optional-20090113 LICENSE BSD Permit the rx library to be built without the RXDEBUG preprocessor definition. When RXDEBUG is not defined all of the debugging functions either become stubs or log a message indicating that the library was built without RXDEBUG so that there will be no surprises. There are no changes to the export list. By default RXDEBUG is defined. Eventually the definition of RXDEBUG can become a configuration option to the build system. commit 510b2042b017776366ed33e9590b81fc5c5c8b6c Author: Jeffrey Altman Date: Mon Jan 12 20:22:24 2009 +0000 rx-finer-grained-locking-20090112 LICENSE MIT fix typo in rx-finer-granded-locking-20090112 commit ba9556ff2bbf854bb5c05074032b94973bf339ec Author: Matt Benjamin Date: Mon Jan 12 14:33:09 2009 +0000 freebsd-cleanup-20090112 LICENSE IPL10 FIXES 124107 minor freebsd cleanup commit 45e808945627b36ab1dbb64b6fafa8ed7b1901b6 Author: Marc Dionne Date: Mon Jan 12 14:18:58 2009 +0000 linux-i-size-20090112 LICENSE IPL10 FIXES 124106 use i_size_read macro correctly commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3 Author: Andrew Deason Date: Mon Jan 12 14:11:36 2009 +0000 libuafs-set-fileoffsetbits-20090112 LICENSE IPL10 FIXES 124093 make libuafs work with things which expect to be able to use native file sizes etc commit 434ad307430fc12968abd65e007f8e606aa55917 Author: Marc Dionne Date: Mon Jan 12 13:28:42 2009 +0000 linux24-no-backing-dev-20090112 LICENSE IPL10 FIXES 124100 backing_dev_info isn't in 2.4 commit d158ddb25c769d357d5f58acbd911ec7a7281343 Author: Rainer Toebbicke Date: Mon Jan 12 13:24:13 2009 +0000 fetch64-fstrace-typo-20090112 LICENSE IPL10 FIXES 124113 move l to correct side of % for type printing commit 30cfed8e25dfcc6c423d1e121360f048d6724328 Author: Jeffrey Altman Date: Sun Jan 11 05:53:36 2009 +0000 rx-statistics-active-flag-20090110 LICENSE MIT Permit rx statistics gathering to be disabled by setting the new rx_stats_active variable to 0. This avoids grabbing the rx_stats_mutex throughout the execution of the requests and permits greater concurrency thoughout the library. commit 887a6eb59b5aa87bc8a5c3ec1fc78f80ac19a6f2 Author: Jeffrey Altman Date: Sun Jan 11 05:27:01 2009 +0000 rx-finer-grained-locking-20090110 LICENSE MIT not everything should be under the rx_stats_mutex. doing so results in too much lock contention. add new mutexes: rx_quota_mutex, rx_waiting_mutex, rx_pthread_mutex, and rx_packets_mutex. Each new mutex protects an associated group of variables. commit 5b0e23567e1ed64f448bb3253ad90d39cad31271 Author: Jeffrey Altman Date: Sun Jan 11 04:24:37 2009 +0000 rx-user-socket-buffer-sizes-20090110 LICENSE MIT if the socket buffer size specified by the configuration is too large to be applied, do not drop down immediately to 32766 bytes. Instead try increasingly smaller values trying to find the largest one that works. use the same value for the send buf size as well. commit 3162fdd59201e1615e2fe700ec003e81c7c932bf Author: Jeffrey Altman Date: Sun Jan 11 04:00:07 2009 +0000 rx-rwlocks-no-more-20090110 LICENSE MIT remove the use of rwlock and restore the use of mutexes. the rwlocks are actually slower in performance testing. commit f49bf1d919b48901533da78c9fe38ca0339b7bca Author: Simon Wilkinson Date: Fri Jan 9 15:09:14 2009 +0000 linux-truncate-race-20090109 LICENSE IPL10 FIXES 124094 avoid a race during truncation which trips an issue when fsx is run commit 2d07a62c38fea642d52c20ff86e8f72e3c16bbe0 Author: Andrew Deason Date: Fri Jan 9 14:50:48 2009 +0000 ac-verbatim-include-undefs-20090109 LICENSE IPL10 FIXES 124077 the undefs for things which are not ac macros ended up outside the ac verbatim blob. fix it. commit 80fc888a9223050481de932233fe7121a48df194 Author: Derrick Brashear Date: Tue Jan 6 13:40:04 2009 +0000 netrestrict-no-wildcard-20090106 LICENSE IPL10 don't misadvertise network wildcard support commit 423ab97eee35f57beeb481cac2159d28dea20577 Author: Jeffrey Altman Date: Mon Jan 5 23:12:54 2009 +0000 rx-do-not-race-current-packet-20090105 LICENSE MIT Throughout rx_rdwr.c functions allocate a register variable 'cp' which is used to optimize access to call->currentPacket. Unfortunately, if the call->lock is dropped (for example, CV_WAIT) the synchronization between the two is lost. This delta re-syncs 'cp' and call->currentPacket after each location where the call->lock may be dropped. commit e7edfbbf2204641ba08d0ae5e0d085e5f913f2d2 Author: Jeffrey Altman Date: Mon Jan 5 18:16:44 2009 +0000 windows-license-smgl2rtf-20090105 LICENSE MIT Ensure that the input string is nul terminated and then instruct WideCharToMultiByte to compute the length itself instead of passing in a value that is very likely to be wrong. commit 8c4b06a5b62a07d4d6733b313ad404e1cb6abe8d Author: Jeffrey Altman Date: Mon Jan 5 16:20:08 2009 +0000 windows-afsd-freelance-20090105 LICENSE MIT Bring a bit more sanity to the Freelance code: 1. Add functions cm_FreelanceFetchMountPointString and cm_FreelanceFetchFileType to cm_freelance.c. These functions permit the MountPointString and FileType to be obtained within cm_GetSCache without requiring knowledge of data structures that should be private to cm_freelance.c 2. Enforce the rule that odd vnode values are directory objects. The root directory is 1 and everything else must be a multiple of two. 3. Use the unique field as an index into the localMountPoints array. 4. Fix cm_GetCallback to process freelance data refreshes on all objects in the freelance volume not just the root directory. If this is not done, an access to \\afs\foo prior to \\afs\all being evaluated will cause an unnecessary attempt to send a fetch status request to a file server and produce an alldown error. commit 02cd4c510b2b9e2293e33372c39bd8b62089236b Author: Jeffrey Altman Date: Mon Jan 5 00:00:08 2009 +0000 rx-packet-count-debugging-20090104 LICENSE MIT change C preprocessor symbol required for packet count debugging to RXDEBUG_PACKET commit bf51eaca47db1bbf58490d770f1be105e69f7ea9 Author: Jeffrey Altman Date: Sun Jan 4 19:19:31 2009 +0000 windows-client-config-manifest-20090104 LICENSE MIT FIXES 123889 reverse change from 20081226. removing the auto-generated manifest removes the manifest binding to the run time library. The reason two manifests are specified is that we are merging them. commit 29e3bb5838ee224e8d13bf1e680e1eb9480f1400 Author: Jeffrey Altman Date: Mon Dec 29 22:36:32 2008 +0000 rx-packet-count-debugging-20081229 LICENSE MIT Validating the state of the rx library is hard. This patch makes it a bit easier to validate from within crash dumps (or on Windows in "fs memdump" output) whether rx packets and calls are in a sane state. When the library is compiled with -DDEBUG the rx_call and rx_packet data structures are extended to include a linked list of all allocated objects and counters are added to track the number of packets on each of the transmit, receive, and iovec queues. This compliments the tracking of packet states via RX_PKTFLAGs. For Windows, rx_DumpCalls and rx_DumpPackets functions are added that will dump the state of all allocated calls and packets (in Checked build) in response to a "fs memdump" command. These functions are exported from afsrpc.dll. commit 3d44f93f9a0b1d2d4a07b58b3104420e9c138d12 Author: Andrew Deason Date: Mon Dec 29 21:26:00 2008 +0000 libuafs-updates-20081229 LICENSE IPL10 FIXES 124072 adds ATTR_* constants for UKERNEL code, and makes use of them. Without this in some cases updating file metadata will also update unrelated metadata (e.g. truncating a file changes the mode bits). adds threadsafe positional i/o calls to afs_usrops.c: uafs_pwrite and uafs_pread, allowing for threadsafe libuafs i/o. changes the types of some fs-related variables to be more "correct", I think (off_t for offsets, mode_t for file mode, etc), it fixes a bug where nDaemons is not correctly set from the uafs_Init parameter, fixes a segfault in uafs_open when O_CREAT is specified, initializes a couple of static vars, "#if 0"s out code that copies tokens from kernel-space to user-space (doesn't seem to work from what I've seen, and the current code crashes on clientless Solaris machines from being killed by SIGSYS) commit c11eb4c3336f66a3f0fd92c3df41eb9765de050c Author: Derrick Brashear Date: Mon Dec 29 17:29:06 2008 +0000 macos-103-fixes-20081229 LICENSE IPL10 make macos 10.3 work again commit d0cc6eb2f5f0aea0a6ad88de2d847f93d07cc8b9 Author: Jeffrey Altman Date: Sun Dec 28 21:04:23 2008 +0000 rx-rdwr-writeproc-race-20081228 LICENSE MIT FIXES 123799 prevent rx_WriteProc() from passing a packet to rxi_PrepareSendPacket() that has been freed and possibly allocated to another call. commit 8f3e660270d9c1af268ba45118ab87740fbeeef8 Author: Jeffrey Altman Date: Sun Dec 28 04:41:38 2008 +0000 windows-smb-fs-attr-info-20081227 LICENSE MIT even though the docs for FILE_FS_ATTRIBUTE_INFORMATION state that the MaximumComponentNameLength field is in bytes, it turns out that Windows SMB servers return the value in characters. Reduce the reported value to 255 to match NTFS. commit f70ba203206a2953a3f51b48fe3455b9cad52eae Author: Jeffrey Altman Date: Sat Dec 27 19:22:26 2008 +0000 windows-libafsrpc-makefile-20081227 LICENSE MIT additional defines are to be appended to AFSDEV_AUXCDEFINES, they are not supposed to replace the prior definition commit a09a1709f646087c2ceb6f484b45b48495ea1127 Author: Jeffrey Altman Date: Sat Dec 27 06:01:09 2008 +0000 windows-afsd-fs-attr-info-20081226 LICENSE MIT Pointed out by jason edgecombe. the AFS SMB server failed to report the FILE_UNICODE_ON_DISK characteristic when responding to TRANS2_QUERY_FS_INFORMATION. commit f18b54bfe647cfee6a7072d11df04019161d8223 Author: Jeffrey Altman Date: Sat Dec 27 02:53:55 2008 +0000 windows-install-nsis-20081226 LICENSE MIT permit the location of the NSIS application to be configurable commit 06468cb9393aca2c58cc75ee51bfb50f56957c52 Author: Matt Benjamin Date: Sat Dec 27 02:27:34 2008 +0000 windows-client-config-manifest-20081226 LICENSE BSD FIXES 123889 remove extraneous reference to the output manifest file which resulted in two manifests being generated with conflicting UAC values. commit 61aa1b199c28abc763456b35a644047cb9bafc18 Author: Jeffrey Altman Date: Fri Dec 26 23:40:14 2008 +0000 windows-afsd-btree-lookups-20081226 LICENSE MIT when performing a lookup operation it is acceptable for the data version of the btree to be greater than the data version of the cm_dirOp_t under which the operation is being performed. No change to the btree can take place and the result of the lookup will maintain consistency without requiring an additional restart of the directory operation. commit 4435c4fdcc6ba21b86277cfd09b0dfa1b88989c5 Author: Jeffrey Altman Date: Fri Dec 26 23:34:26 2008 +0000 windows-afsd-dir-prefetch-20081226 LICENSE MIT when prefetching the directory buffers do not call cm_FlushFile to discard locally modified buffers. Instead just set the cm_scache_t bufDataVersionLow to the current version. out of date buffers will therefore be ignored without requiring that locks be dropped and reacquired and without searching all of the buffers associated with the directory. commit 9784a9f0cc35cf485c5f9533db9dd8247df3b7c3 Author: Jeffrey Altman Date: Fri Dec 26 23:29:22 2008 +0000 windows-afsd-max-daemons-20081226 LICENSE MIT permit the number of daemon threads to be increased to 64 instead of a maximum of 8. commit 9e2d9f6fa8862d33dfc7352c961f7945d0e04f4f Author: Jeffrey Altman Date: Fri Dec 26 23:26:09 2008 +0000 windows-afsd-rename-collision-20081226 LICENSE MIT Do not permit cm_Rename() to rename an existing object such that it creates a case-insensitive name collision with another object. This change in behavior is consistent with the restrictions when creating new objects. This change prevents the explorer shell from getting confused when it creates a new folder. commit 238ad07e13a85366bcf49a309e3735d26ff51ff2 Author: Jeffrey Altman Date: Fri Dec 26 21:17:49 2008 +0000 windows-pioctl-drive-subst-20081226 LICENSE MIT GetDriveType() will return "REMOTE" for drive letters that are mapped to network devices via the SUBST command. Recursively check drive letters for the final substitution before checking to see if the drive letter is in fact an AFS device. commit 411a63fb063cf24d6b9aedeb83df2eb58716e239 Author: Matt Benjamin Date: Tue Dec 23 20:42:38 2008 +0000 windows-afsd-findserverbyip-refcount-20081223 LICENSE BSD FIXES 124054 reference count the server object returned by cm_FindServerByIP commit 556b9780517376c688c965dd446506cac1a0353b Author: Derrick Brashear Date: Mon Dec 22 20:34:12 2008 +0000 solaris-largepartition-interface-20081222 LICENSE IPL10 add support for using statvfs64 on solaris commit 72cb3a5f18f0483515dd82f8c851309003cf3a2f Author: Derrick Brashear Date: Mon Dec 22 19:22:57 2008 +0000 ubik-serverinit-clones-correction-20081222 LICENSE IPL10 as pointed out by Simon Wilkinson commit d2ae1c99523ac4150a0d5536593781dbccfc1408 Author: Tom Kula Date: Mon Dec 22 19:01:46 2008 +0000 vol-dump-incr-largefile-support-20081222 LICENSE IPL10 FIXES 123984 add large file support for >2gb dumps; add incremental support commit 0c52c9b3d900f610822249765b6a441422361888 Author: Jeffrey Hutzelman Date: Mon Dec 22 17:30:58 2008 +0000 doxygen-getfid-correction-20081222 LICENSE IPL10 correct out param description commit c69fa8fef4de43182d9e6ebad1d5c1db71148d6d Author: Derrick Brashear Date: Mon Dec 22 17:14:36 2008 +0000 rx-idledead-only-ignore-keepalives-20081222 LICENSE IPL10 critical to not ignore e.g. other acks commit 992ec096332c31f64e8cff66e20d2ab87708485f Author: Jeffrey Altman Date: Sun Dec 21 06:05:12 2008 +0000 rxgen-cpp-definition-20081221 LICENSE MIT FIXES 124011 avoid "ologo" compilation error messages due to buffer overflow in rxgen on Windows. research performed by mlane@sinenomine.net. commit 46abfec0c74e6a1d4c5c76afcd24192484e2d0fa Author: Jeffrey Altman Date: Sun Dec 21 05:58:20 2008 +0000 tweak-vicelog-macros-20081221 LICENSE IPL10 add missing semi-colons left out from DELTA tweak-vicelog-macros-20081218 commit dbc92bde39361c9741828be7a2151e521c9aeef9 Author: Jeffrey Altman Date: Sun Dec 21 05:46:29 2008 +0000 audit-consolidate-open-20081221 LICENSE IPL10 FIXES 123923 fix audit-consolidate-open-20081217 which broke the Windows build. commit 12297b95885d030e5cae6bec2543bdeb3e65b5ee Author: Simon Wilkinson Date: Thu Dec 18 14:05:10 2008 +0000 tweak-vicelog-macros-20081218 LICENSE IPL10 deal with macro semicolon confusion for vicelog commit 539dc6f501459712136f574744dba196598bee0b Author: Steve McIntosh Date: Wed Dec 17 18:14:41 2008 +0000 audit-consolidate-open-20081217 LICENSE IPL10 FIXES 123923 consolidate opening auditlog in one place; make opening nonblock easier commit 8271c1674f75f80804d08e0f4ed3178b61b29eff Author: Steve McIntosh Date: Wed Dec 17 18:11:43 2008 +0000 auditlog-fids-20081217 LICENSE IPL10 FIXES 123922 make auditlog process multiple fids correctly commit dc4429487fbfc7a41f266b36d0f86ab32eb24e75 Author: Jeffrey Altman Date: Wed Dec 17 16:19:22 2008 +0000 windows-afsd-smb-error-mapping-20081217 LICENSE MIT map ENOMEM to STATUS_OUT_OF_MEMORY commit df90f5510a057d77a486a1b667f91ff63ad17fd2 Author: Derrick Brashear Date: Tue Dec 16 21:48:53 2008 +0000 irix-prototype-fixage-20081216 LICENSE IPL10 more cleanup to make prototypes match functions on irix commit dfc38ea7e950990eb4047d49892f4903b5c9b945 Author: Derrick Brashear Date: Tue Dec 16 21:05:20 2008 +0000 irix-close-vnop-typo-20081216 LICENSE IPL10 fix irix close vnop prototype to be correct commit 00d5f88fa5b09b795edf8fdf04b3a19bb577506f Author: Garry Zacheiss Date: Mon Dec 15 22:20:37 2008 +0000 butc-xbsa-64bit-linux-20081215 LICENSE IPL10 use the 64 bit libraries when built for amd64 commit 1754101972ffb9b2d36c39656dac04464c5e9798 Author: Derrick Brashear Date: Mon Dec 15 20:50:57 2008 +0000 fbsd71-like-current-20081215 LICENSE IPL10 FIXES 123917 rpc is in sys now, like in current. tweaked from matt's patch to also deal with amd64 commit c63e2541e5879fe153238ad1d774f60fa00dc0ee Author: Matt Benjamin Date: Mon Dec 15 20:37:51 2008 +0000 amd64-fbsd-20081215 LICENSE IPL10 FIXES 123811 add support for fbsd 7.1, amd64 fbsd commit b147521611a73d0578aca14b3252e062de1e5d8a Author: Derrick Brashear Date: Mon Dec 15 19:12:04 2008 +0000 aix-prototype-fixes-20081215 LICENSE IPL10 make the prototyping changes work on aix commit 7714162e9abb046e67d0fc68578a2e3d68ef2156 Author: Derrick Brashear Date: Sat Dec 13 21:30:55 2008 +0000 solaris-vnop-prototyping-20081213 LICENSE IPL10 make the head sane on solaris again commit 1f9467f9b7e3d6bc49267a32a7e2238c6d829ef0 Author: Derrick Brashear Date: Tue Dec 9 17:04:45 2008 +0000 eliminate-cplusplus-style-comments-20081209 LICENSE IPL10 aix compiler hates // style comments commit 9123966e43bc2f708baba756530aa90fcfe5e93d Author: Jeffrey Altman Date: Mon Dec 8 16:25:40 2008 +0000 windows-afsd-ntstatus-wouldblock-20081208 LICENSE MIT Change the mapping of CM_ERROR_WOULDBLOCK from STATUS_LOCK_NOT_GRANTED to STATUS_CANT_WAIT. STATUS_LOCK_NOT_GRANTED is used to indicate CM_ERROR_LOCK_NOT_GRANTED. commit 8166bd1d199f5a34225a49173b17e4682b5c3a84 Author: Derrick Brashear Date: Sun Nov 30 20:24:12 2008 +0000 missing-comerr-header-includes-20081130 LICENSE IPL10 FIXES 123676 include com_err header in places where it's not so afs_error_message et al exist commit 29457b1ca71518b29bb9e9e934c58e6fa4b9877a Author: Douglas Engert Date: Sun Nov 30 20:20:55 2008 +0000 solaris-fs-agnostic-cache-20081130 LICENSE IPL10 FIXES 123677 make the cache able to be filesystem-agnostic so a ZFS cache is possible commit 4db6293a06ff573eb650cbf9bbf53440a7ee83a2 Author: Andrew Deason Date: Sun Nov 30 20:17:13 2008 +0000 linux-nonfh-cache-file-handling-20081130 LICENSE IPL10 FIXES 123771 go back to referencing f.inode and not ainode when not using the fh cachefiles. put back the dcache reference again. commit fb549013e7bb2cf5cb3da3083349cb559c093e8f Author: Dragos Tatulea Date: Sun Nov 30 20:11:05 2008 +0000 disconnected-refcount-fixes-20081130 LICENSE IPL10 FIXES 123714 fix code which tweaks refcounts on disconnected vcaches to be correct commit 20aff72a7eae704241b67b6cf40fc92648abb1b0 Author: Dragos Tatulea Date: Sun Nov 30 20:06:35 2008 +0000 disconnected-dirty-list-keeps-reference-to-vcache-20081130 LICENSE IPL10 FIXES 123715 avoid putting vcaches on the dirty list unreferenced commit 96996e65fcd569565e78b7af79258dfad3b0d261 Author: Derrick Brashear Date: Sun Nov 30 19:49:16 2008 +0000 uphys-invalidate-returns-void-20081130 LICENSE IPL10 FIXES 123723 thanks to Hartmut Reuter for catching this. commit 0d94742ec33122b83a84eeb7a82bfd1eb8361464 Author: Derrick Brashear Date: Sun Nov 30 19:40:00 2008 +0000 libafs-prototypes-20081130 LICENSE IPL10 fix sun5 prototype for afs_close commit 55ac2b7aa7da8ead2b3457781d9d60958bfad6be Author: Jeffrey Altman Date: Sat Nov 29 18:55:25 2008 +0000 netrestrict-netinfo-20081129 LICENSE MIT Rename rxi_getAllAddrMaskMtu to rx_getAllAddrMaskMtu. Implement rx_getAllAddrMaskMtu for Windows. Add rx_getAllAddrMaskMtu to the libafsrpc exports list. Remove restrictions on use of NetRestrict / NetInfo files from all services on Windows. commit b7e12a1aec9cd3591a02023fb6e87ba6cfcb152f Author: Simon Wilkinson Date: Sat Nov 29 18:20:03 2008 +0000 libafs-prototypes-20081129 LICENSE IPL10 add prototypes missing from libafs commit deb20d02fb76e52210e44fe03e611e5d3a48a8e5 Author: Simon Wilkinson Date: Sat Nov 29 18:15:40 2008 +0000 standard-header-includes-20081129 LICENSE IPL10 add missing standard headers commit 85f1ef34c2533da2f47757bb8d8a3aecb9083283 Author: Simon Wilkinson Date: Sat Nov 29 18:08:33 2008 +0000 rxkad-prototypes-20081129 LICENSE IPL10 add prototypes for rxkad commit 5697e58a07e39eba9609685695e1718cbc9794e4 Author: Jeffrey Altman Date: Wed Nov 26 07:15:01 2008 +0000 windows-pioctl-global-auto-mapper-20081125 LICENSE MIT FIXES 123726 drive letters mapped to \\afs by the global auto mapper do not show up as mapped drives. Add a check for the drive mapping based upon the registry configuration. commit ebb2c8eacaffe25d430c4e3b3eca524ea0b6b103 Author: Jeffrey Altman Date: Fri Nov 21 16:52:40 2008 +0000 windows-afsd-memdump-20081121 LICENSE MIT add the buffer error state to the memdump output commit 9ddb573bbb7b9960430a98f32124c0cb4d5028b2 Author: Adam Vollrath Date: Fri Nov 21 07:09:42 2008 +0000 ubik-doxygen-20081121 LICENSE IPL10 FIXES 123681 restyle comments in ubik to be doxygen qt-style commit ef92a3331f25375387a99fbb690c4473ee91d945 Author: Jeffrey Altman Date: Thu Nov 20 22:56:12 2008 +0000 clones-take-two-20081120 LICENSE IPL10 FIXES 89557 commit jeff's revised version of the patch commit f3384d6378173dbaf550283851a8948654af548c Author: Jeffrey Altman Date: Wed Nov 19 12:36:39 2008 +0000 windows-smb-is-mask-20081119 LICENSE MIT FIXES 123680 Examination of dump shows that smb_IsMask is being called on a non-8.3 input buffer. Separate smb_IsMask() into smb_Is8Dot3Mask() for 8.3 input buffers and smb_IsMask() for non-8.3 input buffers. commit 122833a44eed58273e73992df815c7718ac6e4f7 Author: Tracy Di Marco White Date: Mon Nov 17 23:14:02 2008 +0000 netbsd-acinclude-typo-20081117 LICENSE IPL10 FIXES 123647 fix netbsd version tests for amd64 commit b5fea780fbb0ea12d3d086210d0abbef12e24560 Author: Derrick Brashear Date: Mon Nov 17 23:05:28 2008 +0000 aix6-lam-plugin-20081117 LICENSE IPL10 FIXES 123649 based on suggestion from Hung_Pham@unc.edu build aix5 module for aix6 commit a4177506ce59ffda41ae0cc04aeef581e3f4d305 Author: Jeffrey Altman Date: Mon Nov 17 22:28:43 2008 +0000 windows-smb-rename-20081117 LICENSE MIT FIXES 123673 avoid reference under count when renaming commit 5fe7d9c6d9482651859d91f3022ac5ae0a127835 Author: Jeffrey Altman Date: Mon Nov 17 19:08:23 2008 +0000 windows-smb-vc-uid-missing-20081117 LICENSE MIT FIXES 123655 Protect against an smb packet containing a uid for which we have no active session in the virtual circuit. commit d312166bfd2e7e877ae5559a82050f3ecc3555ee Author: Jeffrey Altman Date: Sat Nov 15 17:10:16 2008 +0000 windows-buf-clean-20081115 LICENSE MIT change the interface to buf_CleanAsync / buf_CleanAsyncLocked to permit errors to be propagated to the caller. commit ab37d70f502e3b5ebdbfe23107ac5006cc0e9a2f Author: Jeffrey Altman Date: Sat Nov 15 17:07:41 2008 +0000 windows-btree-20081115 LICENSE MIT return an error if the enumeration of the directory cannot complete because the btree has not yet been generated. commit 17b8c16000461c5b7908cdb3d923bba9a03122b5 Author: Jeffrey Altman Date: Sat Nov 15 17:05:19 2008 +0000 windows-error-mapping-20081115 LICENSE MIT do not map success (0) to an error commit bac191678f18669df4f2f5e69a033dcce4d2c38a Author: Jeffrey Altman Date: Sat Nov 15 16:47:55 2008 +0000 windows-conn-analyze-20081115 LICENSE MIT Add a delay after receiving a VBUSY before ==================== 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 remove commit 0c3bf45fff85b54f6143d200b2e7884fdc1e2845 Author: Jeffrey Altman Date: Thu Nov 13 15:39:46 2008 +0000 windows-dir-prefetch-locks-20081113 LICENSE MIT cm_DirPrefetchBuffers() did not properly drop and regain the appropriate lock type y ==================== 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 undo premature commit. commit 117066c481e956f7fea53a500271791db5cb375d Author: Marc Dionne Date: Thu Nov 13 13:47:52 2008 +0000 missing-linux-fh-configure-switch-20081113 LICENSE IPL10 FIXES 123620 add missing hunk to acinclude commit a3c9b01f3adae098dbd31e7b9742dec5f8081d2c Author: Russ Allbery Date: Wed Nov 12 02:30:58 2008 +0000 man-page-fileserver-fix-block-size-20081111 After code study, we've decided that additional blocks do add 32 octets, not 16, despite messages to the contrary in the archives. commit 794967ed3ec5a46329375ae19eac21c1c508c1ee Author: Jason Edgecombe Date: Wed Nov 12 02:17:49 2008 +0000 man-page-fileserver-updates-20081111 LICENSE BSD Various file server man page updates: number of partitions, partition size limits, directory file name block size, and a reference to the IBM manual set. commit 196e995b2569c7dceea8748a36431802d4875188 Author: Russ Allbery Date: Wed Nov 12 02:00:27 2008 +0000 man-page-fileserver-octet-20081111 LICENSE BSD The sizing limit on directories is better expressed in octets than in characters in the new possibly-Unicode world. commit 267472a473316fbc37e1fc5dc74e4e7f9edfa4ef Author: Derrick Brashear Date: Tue Nov 11 20:31:19 2008 +0000 viced-helper-thread-count-20081111 LICENSE IPL10 fix the thread count of helpers so we don't go past 128 commit de2044ca66f0de5bcdf0505373fb189b09cd49ef Author: Jeffrey Altman Date: Tue Nov 11 03:33:24 2008 +0000 windows-netidmgr-vs-referrals-20081111 LICENSE MIT kfw referrals logic broke the logic for automated configuration of the workstation cell with a new identity. Now if a referrals response is returned, assume the cell belongs with the new identity. In the long term, we need to change the logic as follows: 1. if realm indicates referrals, try to obtain the krb5 service ticket but do not generate a token 2. if the service ticket can be obtained and a. if the cell is not bound to any other identities, then bind it to this one b. if the cell is bound to another identity, prompt the user to ask which identity (or both) should this cell be bound to and follow the user's instruction commit 041f09e17b7e1760a968c0e38f52d7feac2862ba Author: Marc Dionne Date: Sat Nov 8 16:49:25 2008 +0000 linux-new-aop-20081108 LICENSE IPL10 FIXES 123580 support for 2.6.28 commit 4eab64ebd81305845d10c4a5fdfd1861bc41520b Author: Marc Dionne Date: Sat Nov 8 16:34:24 2008 +0000 linux-fh-based-cache-20081108 LICENSE IPL10 FIXES 123620 use linux fh (exportfs api) to do cache file access. conditionalize based on configure switch. commit 18e78d91e78e541fce6c9295919946af0744aa7e Author: Marc Dionne Date: Sat Nov 8 16:09:25 2008 +0000 linux-disable-readahad-20081108 LICENSE IPL10 FIXES 123604 The code has long contained a backing_dev_info structure, but it was never attached to anything. Initialize its use properly with bdi_init, and attach it to i_mapping for every newly filled inode. bdi_init and bdi_destroy are needed for proper initialization of some percpu counters, otherwise we get some oopses. commit 0ac956b3384842b3c60e72bde78a4baf58a5877f Author: Steve McIntosh Date: Sat Nov 8 15:58:06 2008 +0000 salvager-no-chdir-20081108 LICENSE IPL10 FIXES 123577 make sure salvager cores don't get left in vice partitions commit 35bc549bf9b6d5f1e4628621f0283d68c5808da5 Author: Jeffrey Hutzelman Date: Sat Nov 8 02:28:48 2008 +0000 cellservdb-20081107 new cellservdb from central.org commit aff6ee8987961bc2631fa5dfd599de91a2c51419 Author: Jeffrey Altman Date: Fri Nov 7 21:00:43 2008 +0000 windows-linked-cells-10081107 LICENSE MIT prevent stack overflow commit 99e202b073c35a5c7d76a66a9d9cd2d0b9a6c73d Author: Asanka Herath Date: Fri Nov 7 18:19:38 2008 +0000 windows-nim-afs-longer-cell-names-20081107 LICENSE MIT permit cell and realm names to be longer than the input field. commit fffc8d7016b3f659d111276a1657dad8acc8cf50 Author: Jeffrey Altman Date: Fri Nov 7 16:35:20 2008 +0000 windows-nim-afs-linked-cells-20081107 LICENSE MIT add linked cell support to the NIM afs provider. commit 01c4e08cf8c90c4f01a70e14a73c07e2382d3451 Author: Jeffrey Altman Date: Fri Nov 7 05:40:59 2008 +0000 windows-aklog-linked-cells-20081106 LICENSE MIT Add support for linked cells. Acquire tokens for the linked cell in addition to the specified cell. commit 32c271187ad7045abf376490ec3cbb44a6ce617c Author: Jason Edgecombe Date: Fri Nov 7 00:26:17 2008 +0000 doc-user-guide-acl-example-fix-20081106 FIXES 123331 LICENSE BSD fs sa takes a directory as its first argument. commit 68902640a2eb1d47d7dd13b3fae9d19eddf64a6e Author: Jeffrey Altman Date: Thu Nov 6 22:09:05 2008 +0000 windows-config-ipaddr-parsing-20081106 LICENSE MIT when parsing ipaddrs in CellServDB rejects addrs whose components are values greater than 255. commit a36618213694f37cd1cec660336267a38cee9344 Author: Jeffrey Altman Date: Thu Nov 6 19:18:32 2008 +0000 windows-afsd-hook-20081106 LICENSE MIT When loading the afsdhook.dll require that it be in the same directory as afsd_service.exe. This prevents LoadLibrary() from searching the PATH environment variable if it cannot be found. If the PATH environment variable contains a path in AFS, the library will fail to load and take a very long time doing so. commit eccc12fb07cc5fef660ee29fe5ebcc573b027568 Author: Simon Wilkinson Date: Wed Nov 5 21:29:06 2008 +0000 redhat-packaging-krb-conf-man-page-20081105 LICENSE IPL10 account for the new manpage commit 70fda445bd0fb8bd3e246e859b4582170ea271eb Author: Jeffrey Altman Date: Mon Nov 3 19:55:38 2008 +0000 windows-linked-cells-20081103 LICENSE MIT FIXES 123571 The Windows code base was implemented ignorant of linked cells as defined in the src/auth/cellconfig.h struct afsconf_cell. The code that made use of the afsconf_cell objects would leak the memory from the linkedCell field if is non-NULL. Add cm_SearchCellFileEx which is an extended version of cm_SearchCellFile capable of returning a linked cell obtained from the CellServDB file. Update GetCellConfig to populate the linkedCell field of the afsconf_cell structure. Modify cm_cell_t to support a linked cell name. Modify cm_GetCell_Gen() to populate the cm_cell_t linked cell and enforce that two cells are linked to each other. Modify cm_GetVolumeByID() and cm_GetVolumeByName() to perform fallback to the linked cell if the response is CM_ERROR_NOSUCHVOLUME. commit 303c70efd4cb54ad673bed5a0c438670ae2b97ad Author: Jeffrey Altman Date: Sat Nov 1 03:37:56 2008 +0000 windows-prevent-wow64-execution-20081031 LICENSE MIT prevent the 32-bit build from being executed in the wow64 environment commit 1d18280f20bacf3fa9cc650c7c64d25c72c0507a Author: Jeffrey Altman Date: Wed Oct 29 20:06:54 2008 +0000 windows-release-notes-missing-files-20081029 LICENSE MIT pulled down from 1.5 commit 50e1e59a92f38e0751384b401016ea01fe01ed8f Author: Simon Wilkinson Date: Wed Oct 29 19:43:42 2008 +0000 aklog-attempt-order-comments-20081029 LICENSE IPL10 to clarify what gets tried when and why. commit ef70f73141bf9940ec10d42c2d6ab5b6b341cdc9 Author: Max Cohan Date: Tue Oct 28 17:55:19 2008 +0000 windows-setup-utils-20081028 LICENSE IPL10 correct file name to match the file. committed broken in windows-file-versioning-20030619 commit fc78255c1dc29c55b67f7a7b4599bed141282213 Author: Simon Wilkinson Date: Mon Oct 27 23:53:23 2008 +0000 initialize-variables-to-avoid-logic-issues-20081027 LICENSE IPL10 make sure any variable whose value is used will be initialized before that value is used. (these aren't just warnings) commit f27165f13796a84cdbc36c31714781509ad25ba0 Author: Simon Wilkinson Date: Mon Oct 27 23:41:02 2008 +0000 kill-uninitialized-variable-warnings-20081026 LICENSE IPL10 kill lots of compiler warnings commit aa09aa2be151d44a9fe5008ff5931dd1892ddf35 Author: Jeffrey Altman Date: Sun Oct 26 21:52:29 2008 +0000 windows-pioctl-drive-map-20081026 LICENSE MIT a remote drive connection may not be mapped to a local drive letter. commit a824cbda621151c34dd85d00c3ee2779d839c237 Author: Jeffrey Altman Date: Sun Oct 26 21:16:57 2008 +0000 rx-rdwr-avoid-free-null-packet-20081026 LICENSE MIT avoid a potential call to rxi_FreePacket with a NULL pointer as input commit a614a8d95476ae49642d055cb0ac7942109d021e Author: Jeffrey Altman Date: Sun Oct 26 07:50:39 2008 +0000 ptutils-restricted-accessok-20081025 LICENSE MIT Fix restricted mode test when 'any' is not set on AccessOK commit 8a33059215c00f688ea38fa039b2ac53d8d26dc9 Author: Simon Wilkinson Date: Sun Oct 26 01:45:45 2008 +0000 exporter-call-gethost-method-correctly-20081025 LICENSE IPL10 actually call the correct method for EXP_GETHOST commit 3f08225c6b23f74e98b576a1ed27837989d64707 Author: Simon Wilkinson Date: Sun Oct 26 01:04:12 2008 +0000 rx-rwlock-cleanup-20081025 LICENSE IPL10 make the rwlock patch actually build everywhere commit f2014112bcc27ecc1426ef078af7456285d839d2 Author: Simon Wilkinson Date: Sun Oct 26 00:59:55 2008 +0000 aklog-chatty-20081025 LICENSE IPL10 make aklog not accidentally be chatty commit 069cd726c093d4856dc98353a75080547ea4e751 Author: Derrick Brashear Date: Fri Oct 24 22:07:01 2008 +0000 darwin-kernel-rwlocks-20081023 LICENSE IPL10 convert to kernel rwlocks on darwin commit e73e2ff4b53bfdfe16fec2d65776facae853eddd Author: Derrick Brashear Date: Fri Oct 24 21:59:52 2008 +0000 rx-atomics-for-solaris-and-darwin-20081023 LICENSE IPL10 support atomics on osx and solaris commit 23a511739b431afcec60b7f9ca681236f37b920d Author: Jeffrey Altman Date: Fri Oct 24 21:38:56 2008 +0000 rx-rw-locking-20081024 LICENSE BSD rename RWLOCK_INIT to AFS_RWLOCK_INIT in order to maintain naming consistency and to distinguish them from the new RWLOCK_INIT macros being used in rx. ==================== 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 add rx/rx_internal.h as a dependency ==================== LICENSE BSD define RWLOCK_xxx operations replace MUTEX_xxx operations with RWLOCK_xxx when it is appropriate to do so. This improves concurrency on multi-processor systems. make additional use of atomic operations commit f64ecbf721dbc115103684a3d71a095854607812 Author: Jeffrey Altman Date: Wed Oct 22 02:25:25 2008 +0000 windows-reformatting-20081021 LICENSE MIT reformat some of the recent changes cast away warnings on 64-bit windows commit a7a1846ab7fb049360b2c69486b7c673d09b8b28 Author: Derrick Brashear Date: Tue Oct 21 19:36:35 2008 +0000 fd-setsize-test-20081021 LICENSE BSD a test so we can deal with platforms which don't honor FD_SETSIZE commit 9bca8ce22add91b32f45922650c429404d74797d Author: Derrick Brashear Date: Tue Oct 21 14:44:50 2008 +0000 linux24-writepage-antideadlock-20081021 LICENSE IPL10 also make this work for 2.4.x commit 6d14b44b7c83918bcd7e6e07ec365f8430ad23c5 Author: Derrick Brashear Date: Mon Oct 20 20:29:26 2008 +0000 blacklist-move-init-checks-back-into-req-code-20081020 LICENSE IPL10 revise things so we don't need to check initd outside analyze.c/InitReq ==================== 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 IPL10 since these end up being used, init them too commit 4a587356a31ac5afdf17d329a8598f70cf8bc3af Author: Derrick Brashear Date: Mon Oct 20 13:38:07 2008 +0000 linux-mmap-antirecursion-20081020 LICENSE IPL10 FIXES 120491 avoid deadlocking ourselves due to recursion when flushing pages on an mmap()ed file larger than the cache commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2 Author: Marc Dionne Date: Mon Oct 20 13:34:58 2008 +0000 autoconf-262-support-20081020 LICENSE IPL10 FIXES 118058 fix the quoting and remove the tests we shouldn't need anymore commit 3ad8fba85f5b45cdd6537c3ca71717c9370cc48e Author: Derrick Brashear Date: Mon Oct 20 13:03:44 2008 +0000 blacklist-check-only-existing-servers-20081020 LICENSE IPL10 based on suggestion from haba@pdc.kth.se commit 7366eb3d46506b1fdda5ece843abd96aa76b7936 Author: Marc Dionne Date: Mon Oct 20 13:01:34 2008 +0000 blacklistonce-use-only-initd-vrequest-20081020 LICENSE IPL10 avoid using an un "initd" vrequest for server blacklisting commit 90e4242c2d7d4ce8477061469f4840212c195080 Author: Asanka Herath Date: Mon Oct 20 00:17:41 2008 +0000 windows-handle-invalid-utf16-names-20081019 LICENSE MIT FIXES 116641 Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode and cannot be converted to UTF8. Return bad file name errors in those cases. Make sure all file server strings once converted to UTF16 can be converted back. If not, escape the invalid portions of the string so that the file can be accessed. commit 0c7d7ce3b8386a1aca6d1fc3d738c8621708eb95 Author: Jeffrey Altman Date: Sun Oct 19 23:50:21 2008 +0000 windows-smb-rdr-duration-logging-20081019 LICENSE MIT if an smb request takes longer than 45 seconds, log info to afsd_init.log that might be helpful in determining patterns in the smb client disconnects commit 622f9b0de85f2a45d3a327cd8b8bea470dba9862 Author: Jeffrey Altman Date: Sun Oct 19 23:44:20 2008 +0000 windows-smb-bridge-nowild-error-handling-20081019 LICENSE MIT add the error preprocessor symbol to the error string if both an NRC_BRIDGE and NRC_NOWILD error are received within the smb_Listener thread, try re-adding the NetbiosName to the lana before giving up and quiting. commit 2767cbf773653bffaa63e098cce463ada804d6d7 Author: Jeffrey Hutzelman Date: Sat Oct 18 20:25:56 2008 +0000 newtrans-lock-fix-fix-20081018 LICENSE IPL10 swap in the freshly allocated memory instead of throwing it away commit f9191fdebcf694f1a6afac8c0f4679c35114ce93 Author: Jeffrey Altman Date: Sat Oct 18 18:01:07 2008 +0000 smb-symlink-to-vnovnode-attribute-20081017 LICENSE MIT When reporting the attribute of a directory name which happens to be a symlink object to a file that cannot be accessed or does not exist, use the target name to guess the type of the object. If it has an extension, consider it a file, otherwise report it as a directory. commit 7e8c41d53fcd51ae0ff4420ba1027b354af306c8 Author: Jeffrey Altman Date: Sat Oct 18 16:24:35 2008 +0000 ubik-uninitialized-var-20081018 LICENSE MIT 'pass' must be initialized. do so. commit f69137625fde97e465671978820350d41ca5d5b8 Author: Jeffrey Altman Date: Sat Oct 18 16:23:13 2008 +0000 restore-uninitialized-var-20081018 LICENSE MIT 'last' must be initialized. do so. commit 1bdea5e4707e9c60b949cc55b847c498fc9a7bec Author: Jeffrey Altman Date: Sat Oct 18 16:08:50 2008 +0000 fix-maxmtu-command-line-20081018 LICENSE MIT fix the variable used for maxmtu command line processing commit f5455f74988da78a652f035cd93c3184aa2ce490 Author: Jeffrey Altman Date: Sat Oct 18 14:12:19 2008 +0000 windows-pioctl-wnet-connected-20081018 LICENSE MIT refactor. consolidate netbios name acquistion. commit 75f496df1727a5b1d00809fcf493c7c815c90816 Author: Jeffrey Altman Date: Sat Oct 18 07:19:17 2008 +0000 windows-pioctl-wnet-connected-20081017 LICENSE MIT use WNetEnumXXX functions to list connected disk resources. If the requested drive letter is an AFS resource, perform the pioctl test. If it is not, fail immediately. commit edf7a4020318b305ce8fd3852f09f2f565563f7c Author: Jeffrey Altman Date: Sat Oct 18 05:44:51 2008 +0000 windows-reset-acl-list-20081017 LICENSE MIT Move definition of cm_ResetACLCache from cm_ioctl.c to cm_aclent.c commit 4c79498bc3dd87cb45d1827133aff3c93c2caff8 Author: Jeffrey Altman Date: Sat Oct 18 05:12:25 2008 +0000 windows-shell-extension-20081017 LICENSE MIT windows-afsreg-20081017 wraps strings for wide char usage. use the wide char versions of win32 apis to match. commit 81a921759520b03088ddcc37c1c624c0641981fc Author: Jeffrey Altman Date: Sat Oct 18 05:09:44 2008 +0000 windows-afsreg-20081017 LICENSE MIT wrap all text strings with TEXT() to permit use with wide char functions commit e4b6e4d4a63c036be326e3e933fb7f7c6787275b Author: Jeffrey Altman Date: Fri Oct 17 21:24:19 2008 +0000 windows-pthread-rwlock-20081017 LICENSE MIT Adds pthread rwlock support to the library. commit c3251a3b18a83bf66d4d2f0a549fa573eccbdde2 Author: Jeffrey Altman Date: Fri Oct 17 02:41:12 2008 +0000 windows-install-nsis-20081016 LICENSE MIT update copyright dates remove old AFS IFS entries delete afslogon* and afscpcc.* from $SYSDIR correct install location of afslogon.dll in WinLogon\Notify registry key commit bfd01550bddcce18f6f76e97231e21680a545e3f Author: Jeffrey Altman Date: Thu Oct 16 02:38:35 2008 +0000 windows-netbios-name-logging-20081015 LICENSE MIT log more data to afsd_init.log regarding events that can cause the netbios name registration to become invalid. commit e0298d5f09d7e791aeb0f98438e299ad1faf186a Author: Jeffrey Altman Date: Thu Oct 16 02:26:11 2008 +0000 windows-dnlc-20081015 LICENSE MIT FIXES 116641 Do not use the DNLC if the name when converted from Unicode is NULL. commit 1115e29dacab98ed29ec603edfdaa8f697507daa Author: Jeffrey Altman Date: Wed Oct 15 14:50:51 2008 +0000 windows-checkVCs-20081015 LICENSE MIT FIXES 116641 Do not drop references to 'nextp' until we are done with the object. Dropping the last reference can result in the object being destroyed. commit 9be6b92a17ebe1d125e13c1cbd7bce620e7672ce Author: Mike Meffie Date: Tue Oct 14 15:38:30 2008 +0000 linux-alt-builddir-fix-20081014 LICENSE IPL10 FIXES 121650 correct the if test to include missing x commit 24ce8010cd414c8c573f2b035d186a2418900546 Author: Derrick Brashear Date: Sun Oct 12 19:44:27 2008 +0000 linux-proc-walk-locking-20081012 LICENSE IPL10 FIXES 116603 sort out rcu locking versus tasklist lock. if this fails we probably have to disable walking entirely commit 0195d7c0828e3eae7281aad3b983160089b8846a Author: Dragos Tatulea Date: Sun Oct 12 19:10:05 2008 +0000 disconnected-rmdir-infinite-recursion-20081012 LICENSE IPL10 FIXES 121226 fix infinite recursion when replaying rmdir transaction commit 7c6fac305c81af3e10f48560c03db4d2da630527 Author: Simon Wilkinson Date: Sun Oct 12 19:06:27 2008 +0000 disconnected-getvcache-avoid-duplicate-work-20081012 LICENSE IPL10 FIXES 121254 don't do duplicate work finding a vcache we already had commit 726fc5b8425eb7bbaab4bdde38d977382dc17a9d Author: Stefaan De Roeck Date: Sun Oct 12 19:01:58 2008 +0000 linux-alternate-kernel-builddir-20081012 LICENSE IPL10 FIXES 121354 add support for KBUILD_OUTPUT=... builds. commit 322f7e0e9fff02c5d6cad8d9aded3e40abce93ef Author: Jeffrey Hutzelman Date: Sun Oct 12 18:53:06 2008 +0000 volser-newtrans-racy-20081012 LICENSE IPL10 FIXES 121263 avoid a race on creating new transactions in volserver commit 4b72f8765cdf88540354291e8e7072185538ae5d Author: Dragos Tatulea Date: Sat Oct 11 00:26:47 2008 +0000 doxygen-comments-20081010 LICENSE IPL10 FIXES 98819 99069 add doxygen comments for some parts of openafs cache manager ==================== 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 IPL10 add doxygen comments for some parts of openafs cache manager commit 523dd766ef7ed26c2207c7ec4bebe8f74e4dc408 Author: Derrick Brashear Date: Fri Oct 10 17:25:29 2008 +0000 cachemgr-blacklist-down-servers-20081010 LICENSE IPL10 FIXES 121035 fix to issue suggested by reuter@rzg.mpg.de commit 8b1b390713a79fadd300d17713350f5789879615 Author: Jeffrey Hutzelman Date: Fri Oct 10 15:42:10 2008 +0000 volser-dumpstuff-log-errors-20081010 LICENSE IPL10 FIXES 121040 return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log instead. commit d569a083e337c2971a4ac471d8adeb1788518684 Author: Harald Barth Date: Fri Oct 10 12:50:52 2008 +0000 cmdebug-entry-count-20081010 LICENSE IPL10 raise max number of entries as cache managers routinely have more than 10,000 vnode status objects commit 7034078b3386e074a399f9387ff9b387e479f4f0 Author: Derrick Brashear Date: Thu Oct 9 19:56:43 2008 +0000 hpux-gop-lookupname-20081009 LICENSE IPL10 add missing gop_lookupname macro for hpux commit 2e15aa2b261f49a1d6648c36a34300cade3c968c Author: Derrick Brashear Date: Thu Oct 9 19:54:06 2008 +0000 solaris-gop-lookupname-20081009 LICENSE IPL10 add missing gop_lookupname macro for solaris commit 9f8865744e3f4c1830afdf32b6b38f6b8f584801 Author: Derrick Brashear Date: Thu Oct 9 13:55:19 2008 +0000 bypasscache-fix-linux24-20081009 LICENSE IPL10 no f_mapping in 2.4.x commit 32977eadf12aaec6608ce3457a976a0810da8590 Author: Jeffrey Altman Date: Wed Oct 8 22:14:52 2008 +0000 windows-build-do-not-mix-pthread-and-lwp-20081008 LICENSE MIT The rx library is built in lwp and pthread forms. The methods used to export data symbols are incompatible between the two. The ubik library is built with rx headers but only in the lwp form. As a result it is not possible to link the ubik libs without also including the lwp rx lib. We have pthreaded servers that require linking to the pthreaded rx and ubik. To fix the problem all of the macros that assigned values to variables and were used by ubik have been converted to functions (but only for Windows.) commit e7b06ab695b83114954b58bd8cd25e5c0ad3f395 Author: Jeffrey Altman Date: Wed Oct 8 18:43:03 2008 +0000 windows-cell-name-trailing-dot-removal-20081008 LICENSE MIT FIXES 120318 Lookups of cell names that have a trailing dot should have the dot removed otherwise there is a risk of duplicate cell entries since "foo" and "foo." will not match but both will resolve to the same AFSDB record in DNS. commit ab2d343c31fe41d663c5a5feb796c3a9250c60d8 Author: Jeffrey Altman Date: Tue Oct 7 23:28:40 2008 +0000 windows-libafsrpc-20081007 LICENSE MIT export missing symbols necessary for tbutc and performance testing. commit b8b3bd8d1b7ca1a95c07e2ee3a0004b07a0b9537 Author: Jeffrey Altman Date: Tue Oct 7 23:25:14 2008 +0000 windows-tbutc-20081007 LICENSE MIT do not link to both pthread and lwp rx libs commit 967cbd2628c02060870c2381bd6fca3480f5711a Author: Derrick Brashear Date: Tue Oct 7 22:30:23 2008 +0000 darwin-fake-more-disk-free-20081007 LICENSE IPL10 placate finder. this time for sure commit b3bf4b89e345b991984a416d97e3f9aeacc0e159 Author: Derrick Brashear Date: Tue Oct 7 20:00:31 2008 +0000 linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007 LICENSE IPL10 FIXES 113558 avoid case where revalidate saw a mountpoint which hadn't been rewritten yet and failed to handle it, exposing ENOENT where the entry existed. commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1 Author: Derrick Brashear Date: Tue Oct 7 19:51:25 2008 +0000 find-new-xbsa-first-20081007 LICENSE IPL10 FIXES 119162 change test order commit fe0186dccd4e4d16c0610f211d454a90b0841a83 Author: Derrick Brashear Date: Tue Oct 7 18:43:57 2008 +0000 ubik-notruncate-dont-pollute-fd-cache-20081007 LICENSE IPL10 issue suggested by Chaskiel Grundman; while it should not have been an issue we now behave usefully in the notruncate recovery code. commit 1e3674cafe3c3feea0840c531cc0461d358f87c6 Author: Derrick Brashear Date: Tue Oct 7 16:34:53 2008 +0000 vldb-check-fix-more-kinds-of-corruption-20081007 LICENSE IPL10 work harder to ferret out corruption; still reruns itself so if 2 hash chains are comingled they get split back out correctly without having to flush state continuously commit 2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1 Author: Derrick Brashear Date: Tue Oct 7 04:40:49 2008 +0000 linux-fakestat-revalidate-to-validity-20081006 LICENSE IPL10 we had something which fakestat was faking, but the inode had no ops, so we ended up ENOTDIRing. oops. commit 061634bfc96e70e3c02ce93319f1f269e5c16a44 Author: Jeffrey Altman Date: Sat Oct 4 05:59:32 2008 +0000 rx-varargs-20081003 LICENSE MIT call va_start on Windows commit 5158e8c7aff8f0385edbebb688b6c79b19c604c3 Author: Hans-Werner Paulsen Date: Fri Oct 3 21:39:43 2008 +0000 kdump-rx-stats-20081003 LICENSE IPL10 FIXES 118700 add change to kdump also commit b8caeee989fcc096a1846c87b088263d3db130d9 Author: Jeffrey Altman Date: Fri Oct 3 15:35:15 2008 +0000 rx-windows-dpf-20081003 LICENSE MIT dpf on windows is conditional on rxdebug_active, not rx_debugFile commit a3154fbfc16bf3946b964f03340bca86d1ad657d Author: Jeffrey Altman Date: Fri Oct 3 15:33:19 2008 +0000 rx-prototypes-20081003 LICENSE MIT remove EXT from the function prototype definitions in rx_globals.h because they result in conflicts with the actual function declarations and the prototypes in rx_prototypes.h. commit 82fc110302a7f1b7e7971285777658bdce3735ac Author: Jeffrey Altman Date: Fri Oct 3 15:31:59 2008 +0000 rx-vaargs-20081003 LICENSE MIT define va_list ap where it will be defined on all platforms commit 97176bc65a298a5660fe5fb8ad936ebbc6fbbd5e Author: Jeffrey Altman Date: Fri Oct 3 15:29:37 2008 +0000 windows-client_exp-makefile-20081003 LICENSE MIT define UNICODE commit 0d368d7c0d039d88eaad58dfee51a4b0b086cba9 Author: Jeffrey Altman Date: Fri Oct 3 15:28:07 2008 +0000 windows-update-makefile-20081003 LICENSE MIT add missing reference to cm_nls.obj commit 38800039a7039c3fa832718799667557a5e24f66 Author: Jeffrey Altman Date: Thu Oct 2 13:12:23 2008 +0000 windows-smb_dir_watch_lock-20081003 LICENSE MIT re-order the lock hierarchyfor smb_Dir_Watch_Lock so that the lock does not have to be dropped when sending notifications within smb_NotifyChange(). commit 1e7203940456e783aad215e939c04ed01dd45599 Author: Jeffrey Altman Date: Thu Oct 2 12:51:48 2008 +0000 rx-current-packet-double-free-20081003 LICENSE MIT in rxi_WriteProc() make sure that rx_call currentPacket is set to NULL after the rx_packet is added to a queue or passed to rx_freePacket(). Otherwise we will panic when we attempt to call rx_freePacket twice on the same packet. commit 6acd68f0e88ffa40891be4b908b70af784b397a2 Author: Simon Wilkinson Date: Fri Sep 26 11:16:36 2008 +0000 linux-nfstrans-libafs-tree-20080926 LICENSE IPL10 add missing files needed for nfs variants commit 3853c326155d58613bb1711a10123ac88acce002 Author: Simon Wilkinson Date: Fri Sep 26 09:23:48 2008 +0000 disconn-prototypes-20080926 LICENSE IPL10 add a prototype we need for disconnected commit 3f11790f6ab999be828fb0868b64ea00b98a5ea4 Author: Simon Wilkinson Date: Thu Sep 25 22:40:25 2008 +0000 pthread-ubik-volser-stupidity-20080925 LICENSE IPL10 make volserver build again for not pthreaded ubik commit 3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b Author: Simon Wilkinson Date: Thu Sep 25 21:19:33 2008 +0000 rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues ddddddddddddd AUTHOR LICENSE IPL10 commit 8b50c9d9e3d181f749d0982f57410a5b4906627c Author: Jeffrey Altman Date: Thu Sep 25 21:17:22 2008 +0000 rx-clear-queues-correctly-20080925 LICENSE IPL10 don't potentially leak packets by leaving them behind and initing queues; in fact, if you are cleaning up there is no need to init queues anyway. commit b84da5849261867b201646e957c014e933a2c17f Author: Jeffrey Altman Date: Thu Sep 25 20:54:44 2008 +0000 rx-packet-allocation-debug-20080925 LICENSE IPL10 add field to track allocated packets commit 230dcebcd61064cc9aab6d20d34ff866a5c575ea Author: Jeffrey Altman Date: Thu Sep 25 20:34:41 2008 +0000 rx-change-packet-allocation-calculation-20080925 LICENSE IPL10 don't alloc ourselves to death; try harder to manage growth commit 559ea99b1e6e6e82ec6a77541ef9844ccc764de8 Author: Jeffrey Altman Date: Thu Sep 25 19:59:33 2008 +0000 rx-flag-all-packets-20080925 LICENSE IPL10 flag packets for all queues, and when they are currentPacket somewhere commit 939e070c869b46abc707bbd916d4dfbe1e66a55e Author: Jeffrey Altman Date: Thu Sep 25 18:26:23 2008 +0000 rx-global-lock-macro-correction-20080925 LICENSE IPL10 refer to the same macro everyone else does commit a72eea6bb1758678d25528cd1ab9b439ade2f844 Author: Jeffrey Altman Date: Thu Sep 25 18:21:15 2008 +0000 rx-clear-queues-correctly-20080925 LICENSE IPL10 don't potentially leak packets by leaving them behind and initing queues; in fact, if you are cleaning up there is no need to init queues anyway. commit 7a4041f9404ff27f3e446d7b523086e0938dc6b9 Author: Jeffrey Altman Date: Thu Sep 25 18:15:41 2008 +0000 rename-rx-stats-20080925 LICENSE IPL10 avoid using the same name for the struct and the global so the windows debugger works usefully ==================== 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 IPL10 avoid using the same name for the struct and the global so the windows debugger works usefully ==================== LICENSE IPL10 avoid using the same name for the struct and the global so the windows debugger works usefully commit 883683fc317c5196f2eea1c1baed3b510771f001 Author: Jeffrey Altman Date: Thu Sep 25 18:06:24 2008 +0000 rx-readproc32-avoid-losing-currentpacket-20080925 LICENSE IPL10 when currentPacket is empty, avoid leaking it and instead free and NULL it commit eb875d30340a67af78638cf7f395dfe14c0ed405 Author: Derrick Brashear Date: Thu Sep 25 17:59:52 2008 +0000 ah-verbatim-section-tweak-20080925 LICENSE IPL10 remove PACKAGE and VERSION commit 9d09de799b6efc1a62e0cf28f1b033fd4132b2e1 Author: Derrick Brashear Date: Thu Sep 25 15:41:02 2008 +0000 acfooter-inline-20080925 LICENSE IPL10 based on work by mdw@umich.edu commit 8871c545e3b6785b9f10a5b173c4701813269eae Author: Jeffrey Altman Date: Thu Sep 25 13:29:50 2008 +0000 rx-windows-mutex-is-mine-lwp-20080925 LICENSE MIT mutex is mine for lwp on windows commit 3be628e8fc34c2a047187ce3852c56734f9cfc0a Author: Jeffrey Altman Date: Thu Sep 25 13:04:46 2008 +0000 rx-user-prototype-20080925 LICENSE MIT fix prototype for rx_getAllAddr() on Windows commit ec6dcda473f4699454b3870994f147799044fb80 Author: Jeffrey Altman Date: Thu Sep 25 12:58:45 2008 +0000 rx-prototypes-20080925 LICENSE MIT fix errors introduced in rx-prototypes-20080924 on Windows commit db15c2f1cb6cf02ddf79e3539b6f202c439b92e0 Author: Jeffrey Altman Date: Thu Sep 25 12:49:10 2008 +0000 rx-windows-mutex-is-mine-20080925 LICENSE MIT Add MUTEX_IS_MINE for Windows commit 9d63160cccf88d554e47e4bed8e3bbe26f14f8c2 Author: Matt Benjamin Date: Thu Sep 25 12:42:02 2008 +0000 bypasscache-20080922 LICENSE IPL10 add cache bypass support (currently linux only) commit 84b423e932e05bd6ffb64729900f518091f26ef1 Author: Derrick Brashear Date: Thu Sep 25 10:02:23 2008 +0000 disconnected-fix-ifdefing-20080925 LICENSE IPL10 make disconnected code not be compiled in (and break) when you don't have it enabled commit b5a6e4bf36dbb2099f17318ae09ff38a25687c5f Author: Max Cohan Date: Thu Sep 25 09:57:39 2008 +0000 dafs-vol-offline-status-20080925 LICENSE IPL10 FIXES 117499 This patch makes several alterations to the DAFS volserver. The two major changes are: * a potential information leak whereby random heap contents could be exported over the four listvolume rpc variants is corrected * volume online/offline reporting correctly reports in several additional corner cases (see the comments in FillVolInfo() in src/volser/volprocs.c for the complete list of cases): VOL_STATE_SALVSYNC_REQ: exclusive state while a fileserver is busy requesting a demand salvage over the SALVSYNC protocol V_needsSalvaged(): volume disk header field which is asserted when the fileserver detects that a volume needs to be salvaged pending volume operation with command code FSYNC_VOL_OFF: this command code indicates that a volume utility requires exclusive access to the volume pending volume operation and VVolOpLeaveOnline_r returned false: this indicates that a volume operation is in-progress, and the internal function VVolOpLeaveOnline_r has decided that the volume cannot be served concurrently with this volume transaction commit 1659861640035f5405429194e72665839cff3720 Author: Steven Jenkins Date: Thu Sep 25 08:50:01 2008 +0000 dafs-drop-volheaders-20080925 LICENSE IPL10 FIXES 117470 Under certain demand salvage scenarios, it is possible for a stale header to remain cached with the needsSalvaged flag asserted. Although this will not affect clients accessing the volume over afsint, it is an issue for volser clients. VAttachVolumeByName in volser will always attempt to pull the header over FSSYNC before doing a disk read, under the assumption that a cached entry in the fileserver will be more current than what is on disk. This patch causes the fileserver to aggresively invalidate disk header cache entries when a salvage is in-progress. commit f52f24d6f0027be06d444c1dd7e0d35163b16ef6 Author: Jeffrey Altman Date: Wed Sep 24 23:47:59 2008 +0000 windows-remove-entraneous-commit-20080924 LICENSE MIT remove extraneous commit. maybe later. commit dd05bd3ba7be90a6348b144eb1c0a6ac1c5f43ba Author: Jeffrey Altman Date: Wed Sep 24 23:40:44 2008 +0000 windows-vlserver-updates-20080924 LICENSE MIT if a vlserver returns a ubik error, skip the server and retry commit 8aa9d07e35c132ba5bbc1704fc9c0ba289b277fd Author: Simon Wilkinson Date: Wed Sep 24 22:38:19 2008 +0000 rx-varargs-20080924 LICENSE IPL10 make rx use varargs instead of a large fixed set of parms commit 17d45aa8843c6608d6f98e5defbf0db5aefce66b Author: Simon Wilkinson Date: Wed Sep 24 22:36:29 2008 +0000 rx-prototypes-20080924 LICENSE IPL10 cut down by a few thousand the warnings we get commit af4d05c3a44d5b51dd6ae48e79c135af7efc530f Author: Simon Wilkinson Date: Wed Sep 24 22:34:19 2008 +0000 generic-inline-20080924 LICENSE IPL10 move static_inline macro to generic location commit 2d5987ea2bd96285899f1e5a141dcdaed8008e7e Author: Simon Wilkinson Date: Wed Sep 24 22:31:54 2008 +0000 rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues commit 433afd4779b077a1d0f4b842335e38625e124dcc Author: Dragos Tatulea Date: Mon Sep 22 14:36:16 2008 +0000 disconnected-rw-20080922 LICENSE IPL10 FIXES 114605 114606 114607 add read-write disconnected support commit 41d5a5f7e30b5933408394db6aa107b8de966d33 Author: Derrick Brashear Date: Sun Sep 21 14:03:20 2008 +0000 macos-panic-decoder-format-fix-20080921 LICENSE IPL10 handle new panic format commit 1f686941197c32734acd2531a911b8e5e43cc94e Author: Asanka Herath Date: Tue Sep 16 12:45:22 2008 +0000 windows-local-dir-updates-20080916 LICENSE MIT When a local directory update occurs to the directory pages stored in the dcache, there is no guarrantee that the same modifications will be made to the cached pages as are being made by the file server. In the situation that one or more of the cached pages are recycled, it is not permissible to obtain the missing pages from the file server without first invalidating the rest of the cached pages. This is necessary to prevent mixing of incompatible data representations. Define a new flag CM_SCACHEFLAG_LOCAL which is used to indicate that dcache entries were locally modified even though they are not dirty. As the previous code could have corrupted the contents of the dcache, bump CM_CONFIG_DATA_VERSION in order to force the rebuilding of the cache. Add error CM_ERROR_NOTINCACHE to indicate that a requested directory page is not present in the cache and will not be created on the fly. Prefetch all dcache entries for directories and ensure that a consistent set is being used. commit c4117f6f07b92fcc3a135badb48099a01ba41fe2 Author: Asanka Herath Date: Tue Sep 16 12:32:38 2008 +0000 windows-dir-search-star-dot-pattern-20080916 LICENSE MIT Replicate the FAT and NTFS behavior that the "*." pattern should match all files without an extension. commit 414312a72a9b1f0dd64ba3bfe97865dcc8cd80e3 Author: Jeffrey Altman Date: Tue Sep 16 12:26:45 2008 +0000 windows-lock-order-20080916 LICENSE MIT do not violate lock order when freeing server reference lists commit 2d709220d53fe9c5da23e2dbb32764fd3cbfea48 Author: Jeffrey Altman Date: Sat Sep 13 14:51:16 2008 +0000 windows-byte-range-locks-20080913 LICENSE MIT Replace the int64 key with a struct because process ids on 64-bit Windows can be 64-bit when obtained through the redirector interface. commit 1456a67c5ca024c523e0fc3edcba720780d4be9e Author: Jeffrey Altman Date: Sat Sep 13 05:20:02 2008 +0000 windows-vnovol-20080912 LICENSE MIT The cm_serverRef_t list reference counts were undercounting and prematurely freeing the server lists for volumes that experienced VNOVOL and VMOVED errors. cm_Analyze() must release the server list before forcibly updating the volume location info. Otherwise, the list that gets freed is the old one concatenated with the new one. Add more trace messages. commit fd55471b57bce441454d7b3c72c7be6a66aad65d Author: Jeffrey Altman Date: Fri Sep 12 15:32:23 2008 +0000 windows-service-procs-20080912 LICENSE MIT if we are going to use hot threads it would be useful if there were some additional server threads available to become listeners as needed. commit 11b45ad09b7d257a476ddb57e48133ecf88375f7 Author: Simon Wilkinson Date: Fri Sep 12 14:07:31 2008 +0000 redhat-mockbuild-dksm-20080912 LICENSE IPL10 make mockbuild do the dkms rpms also commit 7ae4174d95a9d90e16f0ddc66648741a119339d2 Author: Asanka Herath Date: Fri Sep 12 05:08:00 2008 +0000 windows-dir-new-pages-20080911 LICENSE MIT A small patch to permit the directory package to allocate additional directory pages when adding new entries that do not fit in the pages that were obtained from the file server. commit 5ea02ad1e2bdb98bea27e11c1372f90d1940de17 Author: Jeffrey Altman Date: Thu Sep 11 18:24:38 2008 +0000 windows-vnovol-20080911 LICENSE MIT Modify MSG_SERVER_REPORTS_VNOVOL to mention that the volume may have been moved or deleted. In cm_Analyze(), do not call cm_ForceUpdateVolume() or force a retry when processing CM_ERROR_NOSUCHVOLUME. This CM error value is the result of a VNOVOL already being processed which would have forced the update. When a VMOVED or VNOVOL error is received, remove the volume id from the server's volume list. If cm_ForceUpdateVolume() returns a failure, do not retry if a VMOVED or VNOVOL error was received. Make sure that if a cm_serverRef_t object is marked srv_deleted that its references not be used. Now that cm_ForceUpdateVolume() is being called only when processing VMOVED and VNOVOL errors, permit it to call cm_UpdateVolumeLocation() immediately. Refactor cm_CheckOfflineVolume() to reduce code duplication. commit 186f1e97d0c15ead6bddae8697161a47ce9a80e4 Author: Jeffrey Altman Date: Thu Sep 11 18:09:34 2008 +0000 windows-flush-btrees-20080911 LICENSE MIT fs flushall, fs flushvolume, and fs flush should tear down directory B+ trees so that when the data buffers are re-read from the file server with the same data version, the B+ trees will be rebuilt. commit d85bdb4c9f9ddf7d287072a3d12e65423e551f40 Author: Jeffrey Altman Date: Thu Sep 11 18:03:52 2008 +0000 windows-cell-list-validation-20080911 LICENSE MIT correct cell list validation now that the free cell list exists commit 8e1b48ad0ab7f3790729ea0feb25256b3a9da709 Author: Jeffrey Altman Date: Thu Sep 11 17:59:18 2008 +0000 windows-rx-jumbo-20080911 LICENSE MIT Disable rx jumbo by default. Permit rx jumbo to be enabled with registry value "RxJumbo" set to 1 or "RxNoJumbo" set to 0. RxNoJumbo has priority. commit 59c1c22747b8aaf1da31f97d8a3ea178a4f7adee Author: Jeffrey Altman Date: Thu Sep 11 17:49:53 2008 +0000 windows-multi-check-server-20080911 LICENSE MIT Permit rx_multi check server to be toggled via a registry setting at checked prior to each invocation. "MultiCheckServers". Default is on. Remove volume status updates for vldb server status changes. commit f51e8e7be5b16f84f0603a0e8bc1be4ffafac617 Author: Derrick Brashear Date: Sat Sep 6 12:58:39 2008 +0000 aix-export-build-fix-20080906 LICENSE IPL10 add missing ; to case actions commit 21006bb844a3a93c7228b65ee4543ff2b8233761 Author: Derrick Brashear Date: Sat Sep 6 12:52:59 2008 +0000 oops-sias-dead-20080906 LICENSE IPL10 while we should try all the auth modules, sia is tru64 only, so, no... commit 4119d9742b3e17fac6a3f1f7ab64ec829f085498 Author: Derrick Brashear Date: Sat Sep 6 12:51:01 2008 +0000 syncserv-syncvldb-manpages-dryrun-20080906 LICENSE IPL10 make syncserv and syncvldb manpages reflect dryrun option commit 0860d5b5b17ef5f58592d739424a4cca8dd91bb5 Author: Jeffrey Altman Date: Sat Sep 6 05:24:31 2008 +0000 windows-vnovol-20080905 LICENSE MIT force a volume location update upon receipt of a VNOVOL error in case the volume was moved. VMOVED is only returned by the file server if the volume is in the process of being moved. Once it has been deleted the file server returns VNOVOL. commit 5c2406070fc08c5fee0a09a1aa25e16af123b81a Author: Derrick Brashear Date: Fri Sep 5 17:57:33 2008 +0000 fileserver-sticky-bit-admin-only-20080905 LICENSE IPL10 do restrict the sticky bit to admins. commit beef54e70cc86672b9971288fe4034829186aa41 Author: Jeffrey Altman Date: Thu Sep 4 21:07:40 2008 +0000 windows-smb-volname-20080904 LICENSE MIT Advertise the correct length for the volume name. Do not include the NUL. Add more create option values as #defines. commit 9689e78d716422970a0ae3ad89d36acaa517072e Author: Derrick Brashear Date: Thu Sep 4 20:41:14 2008 +0000 fileserver-sticky-bit-not-admin-only-20080904 LICENSE IPL10 don't restrict the sticky bit to admins. commit bbd713ad3f403c9137e01797f576f5dbd04a0f08 Author: Jeffrey Altman Date: Wed Sep 3 22:03:54 2008 +0000 windows-cell-locking-20080903 LICENSE MIT fix a lock order issue and protect the timeout and flags field of cm_cell_t with the mutex instead of the global lock. commit 441cc643e027ab98ed14ab486ec077bbbd0c0d4f Author: Jeffrey Altman Date: Wed Sep 3 21:37:00 2008 +0000 windows-smb-lock-order-20080903 LICENSE MIT another lock order violation to fix commit 539535cf679d6e70f34b80b74c127efae1f0bba2 Author: Niklas Edmundsson Date: Wed Sep 3 19:26:29 2008 +0000 aix61-initial-support-20080903 LICENSE IPL10 FIXES 113638 aix 6.1 support commit 7f4e0dfc3ef1464c8d8b422bf00915fa4538090c Author: Jeffrey Altman Date: Wed Sep 3 19:07:11 2008 +0000 rx-mutex-init-once-20080903 LICENSE IPL10 FIXES 114555 because rx_Finalize doesn't clean up, we end up reiniting mutexes. use pthread_once when not in the kernel. (kernel does not now call rx_Finalize, ever) commit 995ee981fd2631d6e1e45311cee0a6d58f4a56be Author: Derrick Brashear Date: Wed Sep 3 17:59:08 2008 +0000 linux26-libafs-makefileproto-trust-kbuild-system-no-really-20080903 LICENSE IPL10 if we are really not using COMMON_KERN_CFLAGS and being trusting, let's do so. commit 9803e84e63c28e87c76e6f4e77343fec4ef4dcf4 Author: Jeffrey Altman Date: Tue Sep 2 23:34:41 2008 +0000 windows-afsd-dns-env-20080902 LICENSE MIT Fix the conditionals so that the right thing happens if AFS_AFSDB_ENV is not defined. commit 8bf17e7c813f9b2aa8a953a8d0251322ee970d2c Author: Jeffrey Altman Date: Tue Sep 2 22:25:25 2008 +0000 windows-fs-setcrypt-auth-20080902 LICENSE MIT fix parsing and display of fs setcrypt auth commit 84e10d582abdf65a5354b1c4b41d7e2ecad532f8 Author: Jeffrey Altman Date: Tue Sep 2 22:20:58 2008 +0000 smb-string-conversion-20080902 LICENSE MIT more cases where -1 should be passed in as opposed to the strlen value when converting between char and wchar forms commit d94b9a78188357f87fa569ec7738d4e69ff05faa Author: Jeffrey Altman Date: Tue Sep 2 22:15:36 2008 +0000 windows-rxkad-auth-20080902 LICENSE MIT Add ability for users to select rxkad auth only mode. "fs setcrypt auth". commit 21abc0e0b51cd3fd014b06b187d497996058ffe4 Author: Jeffrey Altman Date: Tue Sep 2 22:08:24 2008 +0000 windows-afsd-init-20080902 LICENSE MIT report state of "Rx Jumbo" and "RxExtraPackets" more often commit e31826d3331b8eb1893c627ac55eb299df88995b Author: Jeffrey Altman Date: Tue Sep 2 21:17:42 2008 +0000 windows-cell-free-list-20080902 LICENSE MIT add a free list to the cm_cell_t structure. if during cm_GetCellGen() the cm_SearchCellXXX() calls fail, store the allocated cm_cell_t object on a free list so that it can be reused for the next request. commit 829ff4e54f055de1dc26a1508d2abf4a3c72ff75 Author: Jeffrey Altman Date: Tue Sep 2 17:34:00 2008 +0000 windows-cell-alloc-reversed-20080902 LICENSE MIT The approach taken in windows-cell-alloc-20080902 won't work. commit ef64f50fb9f477a0acbe1223ee2b0c9981f9324e Author: Jeffrey Altman Date: Tue Sep 2 16:20:13 2008 +0000 windows-cell-alloc-20080902 LICENSE MIT Perform the initial cm_SearchCellXXX call using a temporary cm_cell_t object in case the search fails. commit a653057ff453a0d340c8153615aa44ae1679c892 Author: Jeffrey Altman Date: Mon Sep 1 13:35:42 2008 +0000 windows-smb-free-lsa-response-20080901 LICENSE MIT Whether or not LsaCallAuthenticationPackage succeeds, it may return a response buffer. If it does, free it. commit 83dadab93adde0812f9ae228667683cfcc761f67 Author: Jeffrey Altman Date: Sat Aug 30 15:13:03 2008 +0000 windows-afsd-init-lock-order-validation-20080830 LICENSE MIT Add TransarcAFSDaemon/Parameters key "LockOrderValidation" DWORD to control lock order validation functionality. Defaults to off for release builds and on for checked builds. commit a36596f10ff4d87d75a808cabe4e0e5ec661c5df Author: Jeffrey Altman Date: Sat Aug 30 15:03:27 2008 +0000 windows-lock-order-validation-20080830 LICENSE MIT Add osi_SetLockOrderValidation(int) to permit lock order validation to be turned on and off. Must be executed before the first lock is obtained. commit ccdf50ade371de595abe20f5a6b0ff149ce9ae79 Author: Jeffrey Altman Date: Sat Aug 30 03:08:20 2008 +0000 windows-buf-shutdown-20080829 LICENSE MIT During buf_Shutdown() all dirty buffers should be written to the file server if they can be. commit 2da64d02a2707a3c9220951a30b5cea8464b9ef9 Author: Jeffrey Altman Date: Sat Aug 30 03:04:53 2008 +0000 windows-afsd-shutdown-20080829 LICENSE MIT reorganize the service shutdown order to permit dirty buffers to be flushed to the file server without competition from incoming requests. commit 00fee5efee68f1647fa810dffa7ad991235d01c5 Author: Jeffrey Altman Date: Thu Aug 28 10:45:45 2008 +0000 windows-check-servers-20080828 LICENSE MIT if the server count is zero, don't both trying commit 43eb87a916b87c6037841ea38cde616014d892a8 Author: Jeffrey Altman Date: Thu Aug 28 00:42:26 2008 +0000 windows-check-server-heap-overwrite2-20080827 LICENSE MIT the incorporation of nconns into the foo incremental was a mistake commit e68255c12c444e36b7ca7f1864d964cd3a0bcda8 Author: Jeffrey Altman Date: Wed Aug 27 23:08:06 2008 +0000 windows-check-server-heap-overwrite-20080827 LICENSE MIT Protect against a heap overwrite that could occur is the number of file servers or vldb servers grows while the maximum number of connections is computed and when the connection list is populated. commit 0affa4b86a08c3be9cb4edc4c9f680ae02a2fcd8 Author: Jeffrey Altman Date: Wed Aug 27 23:01:51 2008 +0000 windows-callback-lock-order-20080827 LICENSE MIT do not hold cm_server_t mutex when calling cm_FindVolumeByID because the cm_volume_t lock must be obtained ahead of the cm_server_t mutex commit c50857b05e6636bef864c9418b21d1bf3c63494a Author: Jeffrey Altman Date: Wed Aug 27 13:17:05 2008 +0000 windows-lock-order-20080827 LICENSE MIT do not hold cm_scacheLock while obtaining cm_scache_t->rw commit bef68684fd7bb4e58e621766a0f2abbdfd15af80 Author: Jeffrey Altman Date: Wed Aug 27 12:47:23 2008 +0000 windows-short-names-20080827 LICENSE MIT plus and equal are not valid characters in short names. we replace them with left and right brace in order to minimize the instability in the file names. commit a123bd8ccde0d6baf04401201b1672b19e9778db Author: Matt Benjamin Date: Tue Aug 26 15:59:42 2008 +0000 freebsd-70-client-20080826 LICENSE IPL10 FreeBSD 7.0 client support (and 8.0 support but that's a moving target) commit 4d245c6a19394d54a241bd612016b10d1113ee7b Author: Tom Keiser Date: Tue Aug 26 15:11:28 2008 +0000 studio12-solaris-updates-20080826 LICENSE IPL10 FIXES 113671 update so we build with studio 12 on solaris commit 82c62ae0e3b6366c9cdef0569e5be4637127e586 Author: Derrick Brashear Date: Tue Aug 26 14:44:31 2008 +0000 linux-rpm-make-dkms-remove-work-20080826 LICENSE IPL10 rpm -e failed because of a typo here when removing our dkms rpm commit e16c4f8a96f0568d5f7155c88f9b877baa500b7d Author: Jeffrey Altman Date: Tue Aug 26 05:55:40 2008 +0000 windows-scache-lock-20080825 LICENSE MIT restore a missing obtain write lock commit e0380d54bad50582b6bc39e2b41e78d72117ec79 Author: Jeffrey Altman Date: Tue Aug 26 05:36:34 2008 +0000 windows-misc-20080825 LICENSE MIT avoid a deadlock in cm_GiveUpAllCallbacks log UAEEXIST / EEXIST in cm_Analyze commit cb455744d49f250c236ab24cdcfffda104ef3774 Author: Jeffrey Altman Date: Tue Aug 26 05:14:14 2008 +0000 windows-client-osi-20080825 LICENSE MIT add more asserts to attempt to catch locks released in threads other than the one that obtained them. commit 12c8abc69030d3368194b148c692215c61b5da9c Author: Derrick Brashear Date: Mon Aug 25 02:14:39 2008 +0000 server-argument-consistency-and-jumbograms-off-20080824 LICENSE IPL10 FIXES 108703 go through and make servers able to take debug log level on command line; add -jumbo; default to -nojumbo commit a88d12746a9e7e8e79a80c5bcafda449810b4e22 Author: Jeffrey Altman Date: Sun Aug 24 22:45:24 2008 +0000 windows-smb-more-check-open-done-20080824 LICENSE MIT call cm_CheckNTOpenDone() in error conditions as well commit 82741251b1f444a1f18e3b9816f8cadac3e168b5 Author: Jeffrey Altman Date: Sun Aug 24 18:46:23 2008 +0000 windows-prefetch-lock-order-20080824 LICENSE MIT lock order violation between cm_daemonLock and cm_scache_t rw lock commit 24f8b1b4c327c3fb01a575ccb46d5ae6bf7edd36 Author: Jeffrey Altman Date: Sun Aug 24 17:31:28 2008 +0000 windows-smb-locks-20080224 LICENSE MIT smb_dirSearch_t refCount field is protected by smb_globalLock not the smb_dirSearch_t mutex. Do not hold the smb_fid_t mutex across calls to smb_NotifyChange() commit cc48a5a3b4d328127ca56c1a5845ec6cac136548 Author: Jeffrey Altman Date: Sun Aug 24 17:25:57 2008 +0000 windows-check-nt-open-lock-sync-20080224 LICENSE MIT Move cm_SyncOpDone(CM_SCACHESYNC_LOCK) from cm_CheckNTOpen to cm_CheckNTOpenDone. This is necessary to synchronize lock operations. commit 25b819543ea4343216b6a2955396719a49ea042f Author: Jeffrey Altman Date: Fri Aug 22 21:57:53 2008 +0000 windows-callback-shutdown-head-20080801 LICENSE MIT When the cache manager is shutting down, return an error to all callback requests. Otherwise, it is possible for a callback to get stuck waiting for a lock and when the lock clears to be left with nothing but invalid memory addresses to crash on. In the meantime, the file server is waiting for the response. commit 186f707378ce0c04705170743cbc67ff44e1c93f Author: Derrick Brashear Date: Fri Aug 22 20:26:38 2008 +0000 darwin-fake-afs-bigger-20080822 LICENSE IPL10 FIXES 112564 set up max uint64 "free" in afs so finder isn't dumb. commit ea81e608bae42ea84d7bc85d289bfe6f24d8d383 Author: Derrick Brashear Date: Fri Aug 22 19:52:44 2008 +0000 analyze-srvr-safety-check-20080822 LICENSE IPL10 FIXES 112681 safety check to make sure a conn's srvr is set before dereferencing it commit ef10390e12ffd697f9eaaacd1d7291e05d16c835 Author: Jeffrey Altman Date: Fri Aug 22 19:06:04 2008 +0000 windows-misc-20080822 LICENSE MIT 1. In multi-threaded applications deadlocking is always a problem. Deadlock avoidance requires a strict adherence to a documented hierarchy. The lock hierarchy for OAFW is described in a file called locks.txt. There are two problems. First, some of the locks are not included in locks.txt. Second, it is nearly impossible given the depth of function calls for any programmer to identify all of the locks that are held at any given time a function is called. This patch implements a new locking order verification mechanism. Each lock is assigned a lock level at initialization. Each thread maintains a queue of held locks. Each time a lock is acquired the queue is checked to ensure that no locks with a higher level than the requested lock has already been acquired. If a violation occurs, the service panics. 2. When the service panics ensure that a minidump will always be generated. 3. Remove unused lock cm_bufGetMutex. 4. The lock order verifier identified approximately a dozen lock order violations that are corrected. 5. A race condition within the function path cm_GetSCache() -> cm_GetNewSCache() -> cm_RecycleSCache() permitted a cm_scache_t object to be issued simultaneously to two threads. This would eventually result in a panic due to the resulting under count. 6. Fix interpretation of the empty string as the ioctl path to mean the current directory. "fs lsm", "symlink list", etc. now return a "not a ..." error instead of "does not exist". 7. Add SMB_STRF_SRCNULTERM flag to smb_ParseStringXXX functions to indicate that the input string is a nul terminated string. Assign it when input strings are nul terminated. 8. The CIFS protocol specification for handling NT_TRANSACT_CREATE does not match the observed behavior. The 'nameLength' is specified in bytes not in characters. Fix the implementation to match. 9. The cm_HaveAccessRights() attempt at deadlock avoidance by calling lock_TryRead() on the parent directory cm_scache_t rw-lock does not avoid the deadlock. Avoid the deadlock by enforcing the lock order of lowest vnode first. Then remove the infinite loop avoidance in cm_SyncOp() that was returning an unwarranted access denied error. commit 46dbd678714110002a36269beca8961e013650ac Author: Derrick Brashear Date: Fri Aug 22 05:31:32 2008 +0000 rx-allow-jumbogram-disabling-really-20080822 LICENSE IPL10 right now, jumbograms can still be sent when -nojumbo is specified. make the current macro a default and override when we're supposed to. commit a00f706eb67c257af9892557cfb6ad35594144cf Author: Jeffrey Altman Date: Wed Aug 20 20:44:56 2008 +0000 windows-list-symlink-20080820 LICENSE MIT Another casaulty of the Unicode transition, the return value of the ListLink operation was not being convered from wchar to char before it was copied into the output buffer. commit 9488898fdb22e8c999ad4f713bd656caba91fe1c Author: Jeffrey Altman Date: Wed Aug 20 20:41:17 2008 +0000 windows-afsd-service-20080820 LICENSE MIT When afsd_service.exe is not running as a service do not call the Service Manager functions. Doing so causes invalid access exceptions to be thrown in the kernel and can corrupt the heap. commit 651f25b9c84b57cb88e2066c91c5234399673164 Author: Derrick Brashear Date: Wed Aug 20 19:45:05 2008 +0000 redhat-spec-default-build-authlibs-20080820 LICENSE IPL10 FIXES 101879 make build_authlibs default usefully commit 03982bd54839f81cdc691ad83e946fac8f8789b7 Author: Derrick Brashear Date: Sat Aug 16 22:37:29 2008 +0000 namei-by-default-on-sol10-20080816 LICENSE IPL10 default to namei, not inode, on solaris 10 except by request commit b080c5d82ba5c7641afeb6836961cacf283e4902 Author: Dan Hyde Date: Sat Aug 16 21:07:30 2008 +0000 volser-initialize-volume-updatedate-20080816 LICENSE IPL10 FIXES 110943 right now this isn't set until a vnode update happens. technically creating the root directory is an update, so let's set it to now. commit 8190e75b38a7cd136ce70050fdd71b1d62888055 Author: Tracy Di Marco White Date: Sat Aug 16 20:46:44 2008 +0000 netbsd-sigwait-broken-til-nbsd5-20080816 LICENSE IPL10 FIXES 111404 work around netbsd sigwait brokenness commit d7a5619e5bd8241dd13611a4be37f04f3aa4ed27 Author: Marc Dionne Date: Sat Aug 16 20:42:34 2008 +0000 linux-2-6-27-20080816 LICENSE IPL10 FIXES 111634 add support for 2.6.27, which removes asm/semaphore.h commit 4274e854c58655ae2d1142ec3e08d62aebb07be0 Author: Jeffrey Altman Date: Sat Aug 16 18:39:33 2008 +0000 windows-build-20080815 LICENSE MIT remove duplicate rules for man-pages commit dbd98583d35d6aea57cb4d9c46790479dc1a137e Author: Jeffrey Altman Date: Sat Aug 16 18:00:50 2008 +0000 windows-rx-extra-packets-20080816 LICENSE MIT Make the default number of pre-allocated rx packets equal to the number of threads times the rx window size. commit ffbee95174ad1fffecff2889e80e168cea60a531 Author: Jeffrey Altman Date: Sat Aug 16 17:48:17 2008 +0000 windows-pioctl-getdrivetype-20080816 LICENSE MIT Use GetDriveType() to check if the current path is a local disk. If it is, fail the pioctl attempt immediately. This should avoid the reported 30 second delay in the AFS Shell Extension. commit 20d38bc268b13258e2358591756824d712cdb403 Author: Jeffrey Altman Date: Fri Aug 15 21:17:02 2008 +0000 windows-freelance-deadlock-20080815 LICENSE MIT avoid a deadlock in cm_reInitLockMountPoints() and make the function useful again by actually using the index value in the construction of the FIDs commit aa011cc0d8bbff96d5772d0069520b41826c3857 Author: Jeffrey Altman Date: Fri Aug 15 00:37:20 2008 +0000 windows-shlibafsauthent-20080814 LICENSE MIT export pioctl_utf8 commit 357223aefd86c007987333b2a8859faa33f21424 Author: Jeffrey Altman Date: Thu Aug 14 21:22:49 2008 +0000 windows-server-dereference-null-two-20080814 LICENSE MIT protect against a potential null pointer dereference of a cm_server_t object commit 90fe95e994efe62175959aab95c276898f1ff54c Author: Jeffrey Altman Date: Thu Aug 14 21:19:34 2008 +0000 windows-server-dereference-null-20080814 LICENSE MIT protect against a null pointer dereference of a cm_server_t object commit f430aee67c4f3d1f3c644f97c30db081d2a9880f Author: Jeffrey Altman Date: Thu Aug 14 18:23:28 2008 +0000 windows-memdump-20080814 LICENSE MIT add locks, waiting lock requests, smb user, smb tid, and cell expiration to the memory dump output (fs memdump) commit 06b5006517c77767a246df2b6d66a344a44cbea1 Author: Jeffrey Altman Date: Thu Aug 14 03:36:43 2008 +0000 windows-free-server-deadlock-20080813 LICENSE MIT avoid a deadloc when freeing servers. cm_serverLock must be released around cm_GCConnections() commit 4e7e66d4dc14513e1beed465fc5180429571921b Author: Jeffrey Altman Date: Thu Aug 14 03:32:54 2008 +0000 windows-search-cell-file-20080813 LICENSE MIT if a cell has been found with addresses and the next cell name is reached before the EOF, return success. If the cell has been found and there are no addresses, return -6 commit 919fb5e14bdcde66218e64cfdd7fecccab67d8f5 Author: Jeffrey Altman Date: Thu Aug 14 03:27:36 2008 +0000 rx-buffer-allocation-corrected-20080813 LICENSE MIT a corrected version of delta rx-buffer-allocation-20080812 commit 844d7e570772ab2bdbfa2d59ac0f48afff37d8b7 Author: Jeffrey Altman Date: Thu Aug 14 03:15:34 2008 +0000 windows-build-man-pages-20080813 LICENSE MIT move building of man pages to installer phase commit 04a25e0a4057b63cf7c700b17b1a6ab28e469547 Author: Derrick Brashear Date: Thu Aug 14 00:49:15 2008 +0000 nfstrans-extra-protection-20080813 LICENSE IPL10 ensure, at least, that there is a filehandle for everything we check commit e5bf9b91eaf8cb930c6cf70419983901907db84d Author: Rainer Toebbicke Date: Thu Aug 14 00:44:16 2008 +0000 salvager-dont-corrupt-dir-lengths-20080812 LICENSE IPL10 FIXES 111585 make the int64 macros work when the "64 bit" number to fill isn't. use the correct variable type for length in salvager commit 156b13f74d4cc4e42644c9c9d7c63cb42f1d4ae3 Author: Jeffrey Altman Date: Wed Aug 13 15:10:42 2008 +0000 rx-buffer-allocation-pulled-20080813 LICENSE MIT remove delta rx-buffer-allocation-20080812 as it leads to data corruption commit 643a632a38d3a9b0b9d4819abb37e227b5946c47 Author: Jeffrey Altman Date: Tue Aug 12 19:39:59 2008 +0000 rx-buffer-allocation-20080812 LICENSE MIT Prevent rxi_MorePacketsNoLock() from dereferencing a NULL pointer if the requested allocation size cannot be satsified. In that case back off the number of packets until osi_Alloc() succeeds or panic if no packets can be allocated at all. In AllocPacketBufs() do not transfer more than rx_TSFPQGlobSize packets. Modify RX_TS_FPQ_GTOL2() macro to protect against transfering more packets that are actually free. Modify RX_TS_FPQ_COMPUTE_LIMITS() to enforce a rx_TSFPQGlobSize maximum value of 64 packets to prevent ever increasing allocation sizes within AllocPacketBufs() commit c19c4b3ebb9460eb373081fcbfcca6b7ae1f1495 Author: Jeffrey Altman Date: Tue Aug 12 05:29:52 2008 +0000 windows-stack-overruns-20080811 LICENSE MIT prevent stack overruns commit 1f6c7ca14a10ec476dc6720c264a004bc2c9d955 Author: Jeffrey Altman Date: Tue Aug 12 00:54:48 2008 +0000 windows-fs-mkmount-20080811 LICENSE MIT fix volume name validity test. strip trailing '.' from volume name commit eaf2843a81839d1431280fa54f05c69135205e5c Author: Jeffrey Altman Date: Sun Aug 10 01:00:59 2008 +0000 windows-make-nls-win2000-compat-20080809 LICENSE MIT make the nls module compatible with windows 2000. cannot use LOCALE_INVARIANT instead must lie and say everyone is US English. windows 2000 does not have normalization functions and now doesn't have case insensitive string comparison functions either for languages other than English. ==================== 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 not all applications that link to cm_nls perform initialization. Call initialization if it has not already been done explicitly. commit d5af3b4236f72349551ce326d615d2e74d993c97 Author: Jeffrey Altman Date: Sat Aug 9 23:31:09 2008 +0000 windows-freelance-deadlock-20080809 LICENSE MIT avoid a deadlock between cm_freelanceLock and cm_scacheLock commit cd316ff51c12b8c6dd5c09384bbe1d700735fe3c Author: Jeffrey Altman Date: Sat Aug 9 05:52:36 2008 +0000 windows-rx-udpbufsize-20080809 LICENSE MIT Set UdpBufSize to 256K. Add RxUdpBufSize registry value to permit runtime configuration. commit 4eea9caac3cf260cf99ec67c30e31dd2d8c623d9 Author: Jeffrey Altman Date: Sat Aug 9 05:48:10 2008 +0000 windows-smb-skip-nuls-20080809 LICENSE MIT rename SMB_STF_IGNORENULL to SMB_STF_IGNORENUL apply SMB_STR_IGNORENUL when copying length tagged strings into the smb response packets. commit 423cdb708f21dcbc28f6563c7c49069f6a6ec155 Author: Jeffrey Altman Date: Fri Aug 8 17:43:37 2008 +0000 windows-lock-corrections-20080808 LICENSE MIT Derrick helped identify a few locations where rw or mx locks where not properly being tracked. As a result there were some locations in which an assertion could be thrown due to releasing the wrong type of lock. Also added lock_AssertXXX calls to some locations to ensure that the correct lock type is being held when the calls are made. volume location updates, cm_SyncOp, cm_SyncOpDone. commit 425d6e2e159798e8d6a6d092d780edef6b3a2220 Author: Jeffrey Altman Date: Thu Aug 7 14:46:11 2008 +0000 windows-max-cell-name-20080807 LICENSE MIT Anywhere cm_GetCell_Gen() is called CELL_MAXNAMELEN must be used otherwise there will be a stack overflow error. commit 467ac5e32d5d57056e6e19a47bb69b9d8ac0ba2d Author: Jeffrey Altman Date: Thu Aug 7 06:35:36 2008 +0000 windows-misc-20080806 LICENSE MIT Return CM_ERROR_READONLY if the caller wants PRSFS_DELETE and the volume is readonly. In cm_CheckNTDelete() do not call cm_SyncOpDone if cm_SyncOp failed Do not force the use of fake directory data if the user does not have PRSFS_READ on the directory. Let the bulkstatus call take place now that it is actually being used efficiently. In ApplyV3SearchDirPatches, use cm_SyncOp(CM_SCACHESYNC_GETSTATUS) to obtain the status info for Freelance entries instead of the bulkstatus call. Fix the truncation of 8.3 names in directory search responses. commit d0ed34baa0e23b7bb24ea009004a527331baf275 Author: Jeffrey Altman Date: Wed Aug 6 21:25:43 2008 +0000 windows-cell-name-length-consistency-two-20080806 LICENSE MIT fix what I broke commit d44f1a17e4e1831ef39b8f5767a2ca7aad870fb2 Author: Jeffrey Altman Date: Wed Aug 6 06:10:14 2008 +0000 windows-afssw-20080806 LICENSE MIT prevent buffer underrun and overrun errors commit 255d055e6123bcce76ef9e531a0c4963da4f0fef Author: Jeffrey Altman Date: Wed Aug 6 06:09:34 2008 +0000 windows-cell-name-length-consistency-20080806 LICENSE MIT make all cell name lengths consistent so that safer string copy/cat functions can be used to prevent buffer overruns commit aab4b2b32f933daf48cc138c0eb5d8cf5a2023b5 Author: Jeffrey Altman Date: Tue Aug 5 16:45:35 2008 +0000 windows-getaccessrights-20080805 LICENSE MIT Do not permit GetAccessRights() to be called multiple times within cm_SyncOp for the same rights check. If the GetAccessRights() succeeded and in the next loop the rights check fails, the user simply doesn't have the rights. Move a call to cm_SyncOpDone(FETCHSTATUS) from GetBuffer() to MergeStatus(). Anytime an RPC completes successfully we get updated status info for the object. Might as well allow threads waiting for status info to us it. commit a021b79556f7918598fc48bcd8742429f5620cc9 Author: Jeffrey Altman Date: Sun Aug 3 04:28:32 2008 +0000 windows-ioctl-make-submount-20080802 LICENSE MIT FIXES 109951 Restore the ascii version of cm_NormalizeAfsPathAscii() so that it can be used by cm_IoctlMakeSubmount(). commit 1fbbaaa8781d0cbdb484ea6c731622e79325fa2d Author: Jeffrey Altman Date: Sat Aug 2 20:46:14 2008 +0000 windows-afsconfig-header-20080802 LICENSE MIT Enable Bos Restricted mode for Windows commit cc8e39872e1663599c1172573c75cd35b839a370 Author: Jeffrey Altman Date: Tue Aug 5 15:29:14 2008 +0000 windows-smb-dir-search-20080802 LICENSE MIT Apply the bulk stat improvements to smb_ApplyDirListPatches() and smb_ReceiveCoreSearchDir() for consistency even though smb_ReceiveCoreSearchDir() is no longer called by any of the platforms we support. ==================== 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 Only return 50 items at a time to the caller. Do not apply patches based on buffer boundaries. Instead apply patches when AFSCBMAX entries are ready to be processed in order to minimize the number of RPCs. commit b9e0ab9f5bc1d45fa5cb6ca9342d06ea29119149 Author: Jeffrey Altman Date: Sat Aug 2 05:56:57 2008 +0000 windows-smb-dir-search-20080801 LICENSE MIT minimize the number of RPCs sent to the file server. only request status for objects that we are actually reporting on and only if we do not already have status for the object and then make sure that we return as much as we can at once but not so much that it exceeds the RDR timeout commit 807a9aa7b20ab4f457f5235513a5ab15828d6e5c Author: Jeffrey Altman Date: Fri Aug 1 22:35:06 2008 +0000 windows-scache-deadlock-20080801 LICENSE MIT do not recycle a deleted scache object unless the refcount is 0 commit 0c0b89e04627cc43ab3e31c607be4470292a1d0a Author: Jeffrey Altman Date: Fri Aug 1 22:01:49 2008 +0000 windows-smb-dumpvars-20080801 LICENSE MIT When dumping the smb data structs, report flags in hex and paths are now wchar_t strings. commit 005077a7e4fdc9ca8bedb357050875df8f1aa898 Author: Jeffrey Altman Date: Fri Aug 1 14:36:54 2008 +0000 windows-smb-warnings-20080801 LICENSE MIT cast away a number of compile time data size warnings commit 1f7ab13b6fffcf236927c7e3173d6e59d1521f4c Author: Jeffrey Altman Date: Fri Aug 1 14:30:21 2008 +0000 windows-smb-vc-refcount-debugging-20080801 LICENSE MIT define DEBUG_SMB_REFCOUNT in smb.h to activate refcount debugging versions of the functions that log the file and line number as well as object and refcount. This is for use in debugging refcount leaks. rename GetPacket and GetNCB to smb_GetPacket and smb_GetNCB, etc., to enforce the name space. Do not confuse with similar Win32 API functions. restructure some code that refers to smb_vc_t references in order to clarify where the refcount is dropped. commit ebf66eff4b0e68e06c26522ae29e33a5b6fb3298 Author: Jeffrey Altman Date: Fri Aug 1 14:14:50 2008 +0000 windows-smb-dead-vc-gc-on-head-20080801 LICENSE MIT deltas windows-smb-dead-vc-gc-20080627 and windows-dead-vc-cleanup-take-two-20080703 attempted to protect against an infinite recursion when cleaning up dead smb virtual circuits. they failed to address the incrementing of the vc refcount in smb_ReleaseVCInternal when it is about to call smb_CleanupDeadVC. If the vc is already being cleaned, then smb_ReleaseVCInternal should not increment the refCount and should not call smb_CleanupDeadVC. (This commit was committed incorrectly to the 1-5 branch first. delta name on the head was modified to avoid the delta name collision.) commit c38036761eef51f26b085ca8bc69f4a0a65a2f4a Author: Jeffrey Altman Date: Fri Aug 1 05:22:08 2008 +0000 windows-osilog-20080731 LICENSE MIT increase the number of parms from 4 to 5 for osi_Log commit 91d1501be5e8ca0f957de2897c4c4ea0782dfbc3 Author: Jeffrey Altman Date: Thu Jul 31 18:01:12 2008 +0000 windows-ioctl-create-mount-point-validate-volume-20080731 LICENSE MIT validate the specified volume to make sure it exists before permitting the mount point to be created. This will catch many instances in which the user swaps the parameters to "fs mkmount". commit 14e516f1d5304a1b00c40321124a6b2067b977f2 Author: Jeffrey Altman Date: Thu Jul 31 13:43:00 2008 +0000 windows-wix-custom-20080731 LICENSE MIT in c++, arrays allocated with new[] must be deallocated with delete[] commit a46b1879dc187b44c48691946479d1e9599abcfb Author: Jeffrey Altman Date: Thu Jul 31 13:37:29 2008 +0000 windows-handle-vl_badname-20080731 LICENSE MIT Process VL_BADNAME so that when a user creates an mount point with an invalid volume name we will do something sane. commit b61ac7dc6ffb05b03011fef8cfdd5e72886fb705 Author: Jeffrey Altman Date: Thu Jul 31 05:45:44 2008 +0000 windows-volume-recycling-race-condition-20080731 LICENSE MIT When recycling cm_volume_t objects, avoid a race condition that could result in the same cm_volume_t object being recycling simultaneously in two threads. The end result would be a reference count miscount and an undercount assertion being thrown. commit aa24715f068dad4dfdc2140bf8f793297ba10ac9 Author: Jeffrey Altman Date: Thu Jul 31 05:39:29 2008 +0000 windows-buf-clean-error-handling-20080731 LICENSE MIT When an error such as access denied, out of space, out of quota, invalid fid, etc. is received while writing a dirty buffer to the file server, apply that error code to all outstanding dirty buffers immediately instead of attempting to write each buffer to the file server only to obtain the same error. commit 24fd571c5210764212e0de30a474f252b46353b3 Author: Jeffrey Altman Date: Thu Jul 31 05:32:57 2008 +0000 windows-remove-unnecessary-malloc-include-20080731 LICENSE MIT remove unnecessary #include commit 8c22d2388af3a2e99aeb70fdb81dbfa158413840 Author: Jeffrey Altman Date: Wed Jul 30 23:16:24 2008 +0000 windows-stat-resource-files-20080730 LICENSE MIT Add version resource info to xstat_cm_test.exe and xstat_fs_test.exe commit 34923419b3d680005375b1598c09b20ec49bcb1e Author: Jeffrey Altman Date: Wed Jul 30 21:00:21 2008 +0000 viced-write-perm-grants-read-lock-20080730 LICENSE MIT Remove extra return(EACCES) added by delta viced-write-perm-grants-read-lock-20070423 on head and 1.5 branch. commit 8cce5d2a61227da8623dcd08b11d997c66815cf1 Author: Jeffrey Altman Date: Tue Jul 29 03:54:34 2008 +0000 windows-buf-overquota-20080728 LICENSE MIT propagate overquota errors through buf_Write() and cm_FSync(). commit b45b059ed9772642489d56372cbd74db4f0cfc02 Author: Jeffrey Altman Date: Mon Jul 28 23:57:24 2008 +0000 windows-large-files-20080728 LICENSE MIT as part of the restructuring of code to separate the smb layer from the cm layer, large file support was broken. Define AFS_LARGEFILES in the right place so that it will be used in the cm. commit 674e94b29c09cf87496d74a01ebeada14413daac Author: Hartmut Reuter Date: Mon Jul 28 13:58:30 2008 +0000 salvager-avoid-directory-issues-and-mark-volumes-busy-20080728 LICENSE IPL10 FIXES 107767 avoid corrupting length in vnodeds when salvaging directories. avoid tag reuse leaving data behind (not verified) avoid not marking something busy during salvage commit eb1ff11bf14cfc64b4e224ef574d62e6e3757bc1 Author: Jeffrey Altman Date: Sun Jul 27 03:43:14 2008 +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. commit 61d1578324b8b4f4a18fc12a3d199155692e8e4b Author: Jeffrey Altman Date: Fri Jul 25 21:25:55 2008 +0000 windows-build-20080725 LICENSE MIT update README-NT and src/ntbuild.bat build instructions. commit ba846eb82994469b904c104d52369fb55b985a20 Author: Jeffrey Altman Date: Fri Jul 25 20:43:36 2008 +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. commit c10b26ca355e47bfb486de971ac275fb281461ca Author: Jeffrey Altman Date: Thu Jul 24 20:32:58 2008 +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. commit 0ca9a136a79d78a81fb6a2e941b2a6feef0d4952 Author: Jeffrey Altman Date: Thu Jul 24 18:54:53 2008 +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. commit 70bfb2c59b0f989a643a51ceac1fca86ef50b5dc Author: Jeffrey Altman Date: Wed Jul 23 22:40:34 2008 +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. commit 8f75470349f4e9ce4b861bac10e2816edb69f15d Author: Jeffrey Altman Date: Wed Jul 23 22:24:51 2008 +0000 windows-cm-rename-debugging-20080723 LICENSE MIT Add some trace log statements to cm_Rename() that can be used for debugging. commit a9c00f2638d44e1d077fbd953bf153df9cc319c4 Author: Jeffrey Altman Date: Wed Jul 23 22:19:19 2008 +0000 windows-btree-enum-20080723 LICENSE MIT Fix next enum to return an invalid param error when beyond the end of the list. commit 2ed0ee573c2b36cc6979693827e36f1ce6bdfa1b Author: Jeffrey Altman Date: Wed Jul 23 05:55:36 2008 +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. commit 5db162c8dcb6ae81a631d5ae6e95959428b61a6a Author: Jeffrey Altman Date: Tue Jul 22 16:01:22 2008 +0000 windows-build-system-20080722 LICENSE MIT Move the man-pages build out of the 'install' step. commit 44379715638563f6271cf1853d7081cea18a6824 Author: Jeffrey Altman Date: Tue Jul 22 07:42:20 2008 +0000 windows-volume-vlgetaddrs-deadlock-20080721 LICENSE MIT A missing tilde makes a huge difference. commit b7398a8a50522fe15f8a30dead6487b219c7b5f5 Author: Jeffrey Altman Date: Mon Jul 21 21:55:06 2008 +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. commit 0172a6aa2637a6f7d2df584f4dba60cce0285c9e Author: Jeffrey Altman Date: Mon Jul 21 19:34:05 2008 +0000 windows-cm_conn-20080721 LICENSE MIT callp -> rxconnp commit a92cd4ec76509a84a93764b94831114e00bbc3d5 Author: Jeffrey Altman Date: Mon Jul 21 17:18:41 2008 +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. commit ab1ddbe803005004978b86516e4bcd68ef668e67 Author: Jeffrey Altman Date: Mon Jul 21 10:19:26 2008 +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. commit ff0f4a596554bf4b09224ca000663b596a034013 Author: Jeffrey Altman Date: Sat Jul 19 15:47:40 2008 +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. commit af5e519e8e72c37b732474e08b6648bbdf458e95 Author: Russ Allbery Date: Sat Jul 19 07:41:06 2008 +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. commit 9682d4c1073846b13ae0825c8d6b020e5b31559c Author: Russ Allbery Date: Sat Jul 19 07:11:05 2008 +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. commit c797e0844328f2ee437e3c659eab52fc590388b3 Author: Jeffrey Altman Date: Sat Jul 19 06:58:02 2008 +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. commit d3900e4f357cbd8a475ee3e8a786e646bdb43a01 Author: Russ Allbery Date: Sat Jul 19 06:44:49 2008 +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. commit 227f7e8eda70fbd62d0747a4334149fcd43deaf8 Author: Russ Allbery Date: Sat Jul 19 06:42:23 2008 +0000 more-no-unconditional-pthreaded-ubik-20080718 LICENSE BSD More directories should be conditional on pthreaded ubik. commit d811361ce9b64938c0eeb4ab4ca7ad77f6502c60 Author: Russ Allbery Date: Sat Jul 19 04:27:33 2008 +0000 no-unconditional-pthreaded-ubik-20080718 LICENSE BSD Don't compile pthreaded Ubik by default and instead actually require the --enable-pthreaded-ubik flag. commit 5bbdc3fb6904825f75ebdb1f2a17ed0ee6aefcfe Author: Simon Wilkinson Date: Fri Jul 18 15:54:22 2008 +0000 discon-prototype-correction-20080718 LICENSE IPL10 correct prototype for disconnected afs commit 8009b045aa5d20c527f1fa1fec0642f9ca0f9cd5 Author: Russ Allbery Date: Fri Jul 18 07:14:12 2008 +0000 man-page-fileserver-long-line-20080717 LICENSE BSD Fix long line in the SYNOPSIS for the fileserver man page. commit a8e8287b755ab9cd8e6904f66334b8a5cd1bcb39 Author: Russ Allbery Date: Fri Jul 18 01:21:44 2008 +0000 demand-attach-vos-install-location-20080717 LICENSE IPL10 In the tvolser case, install vos in ${afssrvsbindir}/vos, not ${afssrvlibexecdir}/vos. commit 24ac19c606f28642d0ea5f339a7d0eb0a2526b96 Author: Asanka Herath Date: Wed Jul 16 16:22:31 2008 +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. commit 6a749b71f7908129189ef10019372edc5b400c61 Author: Jeffrey Altman Date: Wed Jul 16 05:43:06 2008 +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. commit 4d7cfa129353001759c6224cc5c590be7e043fe9 Author: Derrick Brashear Date: Wed Jul 16 05:25:09 2008 +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 commit b4ce530d365e97342a92f4a8d59de12b0570c699 Author: Derrick Brashear Date: Wed Jul 16 05:15:44 2008 +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 commit 447915ce6a6f07a84affc22611287fe00b057534 Author: Asanka Herath Date: Wed Jul 16 00:58:28 2008 +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 commit 66754898d93c1b7c2862dd78801f8b14b5e74e72 Author: Jeffrey Altman Date: Tue Jul 15 22:17:37 2008 +0000 windows-wix-html-cmdref-20080715 LICENSE MIT Add new files to the installer. commit 5c762d3b7672a88fcf4df85e919ac11be7946d4f Author: Tom Keiser Date: Mon Jul 14 14:37:58 2008 +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(). commit 03fb36bd534a1ff13340e8d322c1e13eeef8ef43 Author: Jeffrey Altman Date: Mon Jul 14 14:36:44 2008 +0000 windows-smb-misc-two-20080714 LICENSE MIT Fix the assignment of SMB_ATTR_DIRECTORY. Apply it to the correct field name. commit 077c788275bff6b17e5ba44d487135f74dbedaee Author: Jeffrey Altman Date: Mon Jul 14 14:10:19 2008 +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". commit 33429756c14ed006566d01ad4ee070a4c040b424 Author: Jeffrey Altman Date: Mon Jul 14 13:59:48 2008 +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. commit faeb953142a15866f0a35e908114a2443f0ac703 Author: Russ Allbery Date: Mon Jul 14 06:53:14 2008 +0000 readme-devel-doxygen-20080713 LICENSE IPL10 Document the preferred Doxygen comment style. commit f49395a30adef98cb0deaea128393448565d364f Author: Russ Allbery Date: Mon Jul 14 06:46:27 2008 +0000 readme-fix-demand-attach-spelling-20080713 LICENSE IPL10 Fix the punctuation of the --enable-demand-attach-fs option. commit 1ed9e36ffc34fa5ea41b72131a222d0ab8195b54 Author: Russ Allbery Date: Mon Jul 14 06:35:04 2008 +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. commit db9f59e9be12f791c122c4b8c6a8b8ecca8ce239 Author: Russ Allbery Date: Mon Jul 14 05:12:46 2008 +0000 threaded-ubik-cvsignore-20080713 LICENSE BSD Add .cvsignore patterns for threaded ubik builds. commit 2b7d9ab5d7c7947b1a45974d9a3252ce7e203a3b Author: Russ Allbery Date: Mon Jul 14 05:05:46 2008 +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. commit 6a322e4eb7e79896e3322e0ace16a6ed99668162 Author: Russ Allbery Date: Mon Jul 14 03:27:00 2008 +0000 man-page-html-index-underscores-20080713 LICENSE BSD Remove underscores from the anchor in the index for all section 5 manual pages. commit 2a92f43987cd08dc0134b775e0d118894d22d3e5 Author: Russ Allbery Date: Mon Jul 14 02:45:14 2008 +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. commit 298fb5ce52f3f5296c24ed1300287b5fa5870a3c Author: Jason Edgecombe Date: Mon Jul 14 00:51:35 2008 +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 commit c766e74fd63a58e714d7b15ef1abfbc48b2a5a85 Author: Jason Edgecombe Date: Mon Jul 14 00:33:59 2008 +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. commit df9f2455fbe34ac105179797f85aacc63a8b8da8 Author: Jeffrey Altman Date: Sat Jul 12 06:54:58 2008 +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. commit 30ba65bc5c216f73f89acf2aa97a4287a4de1f1f Author: Jeffrey Altman Date: Fri Jul 11 23:25:21 2008 +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. commit 5baf817a31e72d85415222af5c3dee70ed1f6bd3 Author: Todd DeSantis Date: Fri Jul 11 10:49:33 2008 +0000 butc-xbsa-update-20080711 LICENSE IPL10 update xbsa support for current tsm commit 4f5b808414c958e7629c83f93d610b57c54274ac Author: Jeffrey Altman Date: Thu Jul 10 19:17:44 2008 +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. commit f52f1522367819712ea678b4e3cdf4644571fc57 Author: Tom Keiser Date: Thu Jul 10 19:14:40 2008 +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 commit 078f966e6293504dc7fd0a7c6b49997b6739be71 Author: Derrick Brashear Date: Mon Jul 7 18:14:58 2008 +0000 solaris-udp-modname-20080707 LICENSE IPL10 older solaris 10 lacked this commit acf76ac85f55e268e9a99d12dc89bad4b763038b Author: Dale Ghent Date: Mon Jul 7 18:14:26 2008 +0000 solaris-nevada-vfsdev-type-20080707 LICENSE IPL10 FIXES 105495 in nevada, struct vfsdev_v4 -> vfsdev_t. cope. commit 9f3629b018f9d25b205f911464789ed0a14103b4 Author: Chas Williams Date: Mon Jul 7 17:53:48 2008 +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. commit 9946c027a33b89cdf128748b9fd3000b31bee48f Author: Simon Wilkinson Date: Mon Jul 7 17:42:14 2008 +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. commit e5e9463568bcbf9aa574e15cf47d231fef44685b Author: Jeffrey Altman Date: Sat Jul 5 16:48:36 2008 +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. commit 44cd9c4e4cf6ef468e7e5880c8cb71ed277085c7 Author: Jeffrey Altman Date: Sat Jul 5 07:33:38 2008 +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. commit 99471963b3a035898419ace7bfafb24de464714c Author: Jeffrey Altman Date: Sat Jul 5 07:26:22 2008 +0000 windows-afskfw-20080704 LICENSE MIT if ktc_GetToken() fails, do not switch to krb524, just fail commit a4e3fb21f0fd8f02ffd2c01b4d39ac55cd3474b1 Author: Benjamin Bennett Date: Thu Jul 3 21:32:49 2008 +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 commit be32aef3831529f30f59088be5ea2060b55a95f6 Author: Jeffrey Altman Date: Thu Jul 3 06:53:10 2008 +0000 windows-dead-vc-cleanup-take-two-20080703 LICENSE MIT Prevent an infinite recursion when attempting to cleanup a previously dead vc. commit 08974551cb5257caea7315bcf726e0dba1a4d052 Author: Jeffrey Altman Date: Thu Jul 3 02:24:54 2008 +0000 windows-config-ntmakefile-i386_w2k-codesign-20080702 LICENSE MIT no underscore prepending CODESIGN_USERLAND macro commit 41927c3cbf068f71c2ef5f880f21a459477c62a0 Author: Jeffrey Altman Date: Thu Jul 3 00:00:37 2008 +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 commit 65bf7cdb6d20a1ff4e71c79347782aa3b5f1e3f8 Author: Jeffrey Altman Date: Wed Jul 2 13:41:07 2008 +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 = CODESIGN_TIMESTAMP = CODESIGN_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. commit 1c96127e37c0ec41c7a30ea3e4aa68f3cc8a24f6 Author: Simon Wilkinson Date: Tue Jul 1 23:44:14 2008 +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. commit c61a8f37c9957034961aed8abc2a1adb046247d3 Author: Andrew Deason Date: Tue Jul 1 23:28:26 2008 +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 commit 0d343077ac1ca8bd35921de2a2b19cac4eb75496 Author: Andrew Deason Date: Tue Jul 1 20:41:13 2008 +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 commit 19551ae3a541644013f6e9e92d9354ec14cbc00e Author: Derrick Brashear Date: Tue Jul 1 19:33:26 2008 +0000 volutil-partitionname2-r-return-value-20080701 LICENSE IPL10 return 0 and not tbuffer on success since tbuffer is already returned via a pointer commit c733e2e07aeb0cc981d53d843a1ffb787f43ed64 Author: Russ Allbery Date: Tue Jul 1 19:06:41 2008 +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. commit fb3490cdea7e45dbac4a8aa820f35bf1723af764 Author: Derrick Brashear Date: Tue Jul 1 18:45:01 2008 +0000 linux-nfstrans-updates-20080701 LICENSE IPL10 FIXES 105019 make libuafs also include afs_warn.c commit 5e1459f431fc046dfd3b25aca87709193ccca211 Author: Russ Allbery Date: Tue Jul 1 06:47:27 2008 +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. commit 7b3967db163a5c9f79cb0637883f8a6708796acc Author: Derrick Brashear Date: Tue Jul 1 05:58:38 2008 +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 ./ commit daf6b1cf282c895bb7cd3cb090e5bee06648cd16 Author: Marc Dionne Date: Tue Jul 1 04:33:38 2008 +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) commit e22a5cc8afe889d5d76ecf44a63860e12f1effbf Author: Thomas Galliano Date: Tue Jul 1 04:05:58 2008 +0000 ubik-lwp-createprocess-64-bit-20080630 LICENSE IPL10 FIXES 104732 use NULL and not (void *)0 to avoid issues on 64 bit platforms commit c0124d51796de2c7790b702cf7805b499ff28c99 Author: Derrick Brashear Date: Tue Jul 1 03:38:03 2008 +0000 revert-pinstall-collateral-damage-20080630 LICENSE IPL10 we'll fix this another way (with install-sh) commit 1ec104280d4a4b0a7544a99a7366f59cd3a2cc5f Author: Russ Allbery Date: Tue Jul 1 00:00:40 2008 +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. commit 99c1e0beb1b7aebfe7f3f10b73da8b6795d11464 Author: Russ Allbery Date: Mon Jun 30 23:53:22 2008 +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. commit 9b61f58fa78259eb092350599a0a26d75ac14fa8 Author: Russ Allbery Date: Mon Jun 30 23:35:18 2008 +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. commit 9f94f89a7a894651f18947ec7ac20959f9326478 Author: Russ Allbery Date: Mon Jun 30 21:50:23 2008 +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. commit d82169c51cc1d4db5de1c51dabeb1d6fe712fb79 Author: Russ Allbery Date: Mon Jun 30 20:55:40 2008 +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. commit 6331d37125428956586610b8e514e1b304a16022 Author: Russ Allbery Date: Mon Jun 30 20:49:19 2008 +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. commit 2b48a4c67acee5c25128d5f2fc9371fe0a89dd1f Author: Jeffrey Altman Date: Mon Jun 30 20:48:32 2008 +0000 windows-wix-cmdref-subdirs-20080630 LICENSE MIT Construct the directory hierarchy correctly. CmdRef/{1,5,8} commit cf816d535a60a7a5f7efa5564b647ee87e33b7d7 Author: Russ Allbery Date: Mon Jun 30 20:47:30 2008 +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. commit db13ad4de73814e90b108faa0d1246e224836ece Author: Tom Keiser Date: Mon Jun 30 18:28:35 2008 +0000 dafs-state-analyzer-setup-cursor-20080630 LICENSE IPL10 avoid an uninitialized cursor commit 1b98b43127e3286b7842de4c59ea50f5a7de4424 Author: Jeffrey Altman Date: Mon Jun 30 14:59:30 2008 +0000 windows-nsis-cmdref-subdirs-20080630 LICENSE MIT install and remove the subdirectories of the CmdRef commit 7460987e758fa299849d877633053c05cb431977 Author: Asanka Herath Date: Mon Jun 30 14:38:17 2008 +0000 windows-wix-install-idn-redist-20080630 LICENSE MIT Only install IDN redistributables on XP and 2003 commit fed6593bf343425807f425aeb8315886feeb8670 Author: Jeffrey Altman Date: Mon Jun 30 03:55:36 2008 +0000 windows-nsis-install-idn-redist-20080629 LICENSE MIT Install IDN on XP and 2003 only commit 5da4137cbe2574fc8602bd7ffaeaf8d85bd9e010 Author: Jeffrey Altman Date: Sun Jun 29 06:08:00 2008 +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. commit dff0d834a7c03d19d572d74849599ac89c2a058e Author: Chaskiel M Grundman Date: Sun Jun 29 04:38:59 2008 +0000 afs-blacklist-initialize-volume-ptr-always-20080628 LICENSE IPL10 always initialize this commit 618a180164c7f1f2772f722f40191e3d99028e90 Author: Jeffrey Altman Date: Sun Jun 29 02:48:18 2008 +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 commit ee8a5d7019ca88114455412e58dab83b1bd1736b Author: Jeffrey Altman Date: Sun Jun 29 02:27:14 2008 +0000 windows-cmdref-20080628 LICENSE MIT Reference cmdref/index.html from the en_US documentation commit 4af6e48bdb69ceb8de8f2da7fd8a98944632ede9 Author: Jeffrey Altman Date: Sun Jun 29 02:21:10 2008 +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. commit 6a34c5c4f6a77be71043fa3f4aecccf5f7051d93 Author: Jeffrey Altman Date: Sun Jun 29 00:41:00 2008 +0000 windows-build-doc-manpages-20080628 LICENSE MIT build the manpages for windows commit da989e5d95f1cfee9b0823b184b9aa6f86ed5a0c Author: Jeffrey Altman Date: Sun Jun 29 00:30:43 2008 +0000 windows-generate-html-cmdref-makefile-correct-20080628 LICENSE MIT commit the correct version of the NTMakefile commit d600d661ad495678423fd56a7fc2d5ee340a65ae Author: Jeffrey Altman Date: Sun Jun 29 00:23:48 2008 +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. commit 62ffbc2a464521eeee4c244d2555c316dfae180f Author: Russ Allbery Date: Sat Jun 28 07:32:45 2008 +0000 remove-administration-reference-20080627 LICENSE IPL10 Purge the old AFS Administration Reference documentation. This has now been completely replaced by the manual pages. commit 3b273dd55291b28c698990001370a97c413c2673 Author: Russ Allbery Date: Sat Jun 28 06:19:22 2008 +0000 install-and-document-klog-krb5-20080627 LICENSE IPL10 Install the Kerberos v5 klog as klog.krb5 and install a man page for it. commit 49db6afe0aeb646d712a5319a7ea1a511f66f298 Author: Jeffrey Altman Date: Fri Jun 27 20:42:57 2008 +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. commit e381e1d07822639ba4ce00c96ff483034104afb5 Author: Jason Edgecombe Date: Fri Jun 27 04:49:45 2008 +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. commit d9dc7e28fe73b1e3ac2773fb1efd44e67de5e21d Author: Jason Edgecombe Date: Fri Jun 27 04:29:12 2008 +0000 man-page-vldb_convert-20080626 FIXES 104192 LICENSE BSD New man page for vldb_convert. commit fbe10c80860ce9f456a056e0d397a10411f22369 Author: Jason Edgecombe Date: Fri Jun 27 04:19:07 2008 +0000 man-page-vos-clone-20080626 FIXES 104110 LICENSE BSD Add man page for vos clone. commit 0e04d01891eb2269653a84f86b066ebe10eb8a54 Author: Asanka Herath Date: Fri Jun 27 03:04:12 2008 +0000 windows-wix-install-idn-redist-20080626 LICENSE MIT Install the Microsoft IDN Redistributables which are required for Unicode Normalization on XP and 2003. commit 149fd85b205911c2393a570eac6d5a811c9ffd72 Author: Asanka Herath Date: Fri Jun 27 02:58:36 2008 +0000 windows-nsis-install-idn-redist-20080626 LICENSE MIT Install the Microsoft IDN Redistributables which are required for Unicode Normalization on XP and 2003. commit c051bf547636be32372d5eb01afc0b1c55f25c43 Author: Jeffrey Altman Date: Thu Jun 26 18:04:04 2008 +0000 windows-vlserver-makefile-20080626 LICENSE MIT more consistency changes to get the make rules for headers right commit bc2836058afd44d237e602c1746d1d71c95951c5 Author: Jeffrey Altman Date: Thu Jun 26 17:46:35 2008 +0000 windows-nls-includes-20080626 LICENSE MIT Add include for cm_nls.h commit 3b41209be7a1470e186a87764621c9980ae7448a Author: Asanka Herath Date: Thu Jun 26 06:43:49 2008 +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. commit ef58ff2ea67323e5260484597abe6bdfa63d8c72 Author: Asanka Herath Date: Tue Jun 24 14:41:13 2008 +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. commit 9d1863dae7ee6675c77c7ecf398c6c4c4cc811c1 Author: Matt Benjamin Date: Tue Jun 24 13:58:10 2008 +0000 tubik-build-fix-20080624 LICENSE IPL10 add missing build dependencies commit 98b87a2ac1ce5673142b26ae5aad2ef640efe51f Author: Matt Benjamin Date: Mon Jun 23 18:50:06 2008 +0000 tubik-build-fix-20080623 LICENSE IPL10 add missing build dependencies commit e5f9eba38634c2b07da1d7b20fb45cfdd772a27c Author: Derrick Brashear Date: Mon Jun 23 04:40:56 2008 +0000 doc-nfs-translator-instructions-20080622 LICENSE IPL10 FIXES 103459 clarify instructions for the translator commit 583b267eb0025bd78e7dd325775428557e3934ad Author: Marc Dionne Date: Thu Jun 12 21:08:18 2008 +0000 linux-2626-updates-20080612 LICENSE IPL10 FIXES 102821 fixes which went into 1.4.x already commit bb617c649cd18c30db40f7e1976eeddf0ae1545b Author: Marc Dionne Date: Thu Jun 12 21:00:12 2008 +0000 cvsignore-updates-20080612 LICENSE IPL10 FIXES 102819 add missing things to cvsignore files commit a33cd20d1b19c8c8587a5850d1239900d02db3d7 Author: Marc Dionne Date: Thu Jun 12 20:58:23 2008 +0000 tubik-no-pinstall-on-head-20080612 LICENSE IPL10 FIXES 102819 no more pinstall on the head commit a7b33b55bb34027262fb5deb686a86fba1d2f832 Author: Tom Keiser Date: Thu Jun 12 20:12:06 2008 +0000 dafs-updates-20080612 LICENSE IPL10 pending changes from tom to avoid a deadlock issue commit e2ce8710efc93f7172b9d4daaf685c6f2669f7c3 Author: Derrick Brashear Date: Thu Jun 12 19:36:15 2008 +0000 ptserver-simple-corrupt-protection-20080612 LICENSE IPL10 protects against direct loops, which we have seen in the wild, but not more (yet) commit bc47951c9ec0845eafe0d1634f56b761cbf8b06f Author: Derrick Brashear Date: Thu Jun 12 18:24:25 2008 +0000 volume-limit-higher-20080612 LICENSE IPL10 allow more volume lookups to be cached commit 15ff831e4dfa8d2942536d002b86579f6128a5df Author: Jeffrey Altman Date: Thu Jun 12 17:04:38 2008 +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. commit d8c3a598184df6066c330769e49fb1e301464e52 Author: Jeffrey Altman Date: Thu Jun 12 15:54:23 2008 +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. commit 52490d7968c2008912ab0887bdcde7fbba43b837 Author: Jeffrey Altman Date: Thu Jun 12 15:20:46 2008 +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(). commit 3306c0887b62ca940808174906c2579b3b7d939a Author: Jeffrey Altman Date: Thu Jun 12 15:00:08 2008 +0000 windows-vnodeops-wrong-logfile-20080612 LICENSE MIT Use afsd_logp instead of smb_logp in osi_LogX() calls. Do not violate layer abstraction. commit ef48d6343d9ac929a4a2ae88184f7801ace1e3d1 Author: Jeffrey Altman Date: Thu Jun 12 14:33:36 2008 +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. commit bed3e31ca4da711649d6c6b9ab828515cd3418fc Author: Marc Dionne Date: Mon Jun 9 04:38:58 2008 +0000 linux-2626-support-20080608 LICENSE IPL10 FIXES 101091 add 2.6.26 support commit 0da0a9d4d2e5b2d39495e57b9840ce0acdd961e2 Author: Rainer Toebbicke Date: Mon Jun 9 04:30:11 2008 +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 commit ad05cdf649044dcc0b1db39aed8652338fb8c945 Author: Jeffrey Altman Date: Fri Jun 6 14:36:16 2008 +0000 windows-check-server-memleak-20080606 LICENSE MIT Found a memleak in the cm_CheckServers routine. Plug it. commit 39d2ac1438c5708dc64098e5de10cd55efd6e93b Author: Jeffrey Altman Date: Fri Jun 6 00:22:03 2008 +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. commit 1473a8747a104af3938a14393f73da666149b114 Author: Russ Allbery Date: Thu Jun 5 21:19:10 2008 +0000 man-page-readme-fileserver-20080605 LICENSE BSD Remove the note about missing file server options. We think we got them all. commit 1fdfac7065b85feafcfa3f9fc382cfd90680d67f Author: Jason Edgecombe Date: Thu Jun 5 20:31:13 2008 +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. commit b5d888ed404840e5a25a26880daaf47ab415b282 Author: Jeffrey Altman Date: Wed Jun 4 09:02:21 2008 +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. commit 79b7b4eaded831a33d85f580e9e4155528fbd35f Author: Derrick Brashear Date: Tue Jun 3 03:53:54 2008 +0000 linux24-hlist-unhashed-configure-test-fix-20080602 LICENSE IPL10 make the hlist_unhashed test actually work commit 2b937b867f3420972b3f617710b44184df7bacc2 Author: Jeffrey Altman Date: Thu May 29 18:19:21 2008 +0000 windows-vlserver-remove-extraneous-make-targets-20080529 LICENSE MIT remove extraneous make targets commit 749ae65481ebc70f310fdd79d2cb0139a636f27e Author: Jeffrey Altman Date: Thu May 29 14:31:41 2008 +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. commit 11350e8024c8413dab5f91cfcd2155d26356329f Author: Jeffrey Altman Date: Thu May 29 05:02:36 2008 +0000 strftime-portability-20080528 LICENSE MIT %T is not portable to Windows. Replace it with the equivalent %H:%M:%S format string. commit c5bce0f87dc11cfaf5a7fabe16fe7efd24a4d200 Author: Jeffrey Altman Date: Thu May 29 04:35:19 2008 +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. commit 5ad08dc1662c9c7eeea10dadd39f7a1f793f761b Author: Jeffrey Altman Date: Wed May 28 19:37:09 2008 +0000 windows-vlserver-headers-20080528 LICENSE MIT make sure the headers are copied to the correct location by providing explicit rules commit dc835c2d5397cc2b310dea374b043032b779ee3a Author: Jeffrey Altman Date: Wed May 28 18:40:06 2008 +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. commit 5930abcbe169db3a8e676ebe558249af9ccdfa0f Author: Jeffrey Altman Date: Wed May 28 18:33:17 2008 +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. commit 54c0f2f8370c129a01b99233c98a758ba0eb2f17 Author: Jeffrey Altman Date: Wed May 28 18:27:32 2008 +0000 windows-unused-var-20080528 LICENSE MIT remove unused var cm_CachePathLen commit 7b8c8a48a354a45ec34ed672aef1ea0255e4b4f1 Author: Jeffrey Altman Date: Wed May 28 18:21:33 2008 +0000 windows-btree-20080528 LICENSE MIT add cm_btree.h to afsd.h include list commit c5911d25f8772aa1bb9b28a6cd58b8b781b479c1 Author: Asanka Herath Date: Tue May 27 21:33:14 2008 +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. commit b1549f29a9515de09d4a64bfb28bf5afdfee2615 Author: Jeffrey Hutzelman Date: Fri May 23 15:55:29 2008 +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. commit 18a36a3f624755fbcaee776102177f47e26711b7 Author: Simon Wilkinson Date: Fri May 23 15:57:18 2008 +0000 disconnected-20080523 LICENSE IPL10 add readonly disconnected support commit b26f133a56911c4a20e848cf85d40640aa37253a Author: Derrick Brashear Date: Thu May 22 22:03:16 2008 +0000 darwin-rc-common-does-set-minus-u-20080522 LICENSE IPL10 we need to cope with an unset variable commit c34822d6105cef7f68423e4ebbf485b2d11b9635 Author: Jeffrey Hutzelman Date: Thu May 22 19:28:37 2008 +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. commit 8450a1eb1da3e2b77f9ae86b5adee4aaa7136e14 Author: Derrick Brashear Date: Thu May 22 04:51:27 2008 +0000 dafs-volumestats-conflict-20080521 LICENSE IPL10 avoid symbol conflict in volume.h commit dcafea769a1cb70c7b1f8763ae4f7b7744b2a436 Author: Derrick Brashear Date: Wed May 21 21:15:41 2008 +0000 vos-sync-flag-voltype-properly-20080521 LICENSE IPL10 when adding a backup volume to a vldb entry, flag it as such. commit 1705bda53e4ca198cf78d70ff424fc7af69b1879 Author: Simon Wilkinson Date: Wed May 21 16:40:52 2008 +0000 tweak-regen-20080521 LICENSE IPL10 make regen quieter if you don't want man pages commit 30f65085f7a53ae073e2c4649a462a3a555ebb61 Author: Derrick Brashear Date: Wed May 21 14:51:56 2008 +0000 macos-tuning-20080521 LICENSE IPL10 be more aggressive to get better performance commit 1206e7538be86f073b21cd289266286b60a95d0a Author: Derrick Brashear Date: Wed May 21 05:22:13 2008 +0000 pmtu-and-prefetch-20080520 LICENSE IPL10 try hard to optimize using the wire for high latency connections commit c761f248397334400f8b4bb71cc4d01d3e4fc6ff Author: Derrick Brashear Date: Tue May 20 22:02:49 2008 +0000 linux-hlist-unhashed-opencoding-20080520 LICENSE IPL10 FIXES 93871 if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) work around it. ==================== 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 IPL10 FIXES 93871 if we can't use hlist_unhashed (which is dumb) or we don't have it (less dumb) w ork around it. commit f00df529b79d9df64b77dd7b054eb362a92c279e Author: Matt Benjamin Date: Tue May 20 21:24:16 2008 +0000 rx-connection-clones-20080520 LICENSE IPL10 FIXES 89557 add connection clones to allow more than maxcalls per "connection" commit 3edb97360b7d971750e54471037584d7a9a74993 Author: Derrick Brashear Date: Tue May 20 20:48:34 2008 +0000 aix-unpin-after-free-20080520 LICENSE IPL10 FIXES 99456 in order that cleanup be safe we need to do it this way commit 090b2eebfa9fb48deea94bf7b511e693a251e041 Author: Jeffrey Altman Date: Wed May 14 05:14:57 2008 +0000 windows-smb-parse-string-20080513 LICENSE MIT if the input length is 0, smb_ParseString should return the NUL string not NULL. Do not permit unprotected DebugBreak() calls. commit 53cffb32ab7cc5a650d0bbaa66686a44ea206888 Author: Jeffrey Altman Date: Mon May 12 04:02:28 2008 +0000 windows-unicode-normalize-btree-20080511 LICENSE MIT Attempt to normalize afs directory strings before inserting them into the B+tree. commit 9e67c4f766892f7c0b79a2d6a1d8b96a7e4b7100 Author: Asanka Herath Date: Mon May 12 02:36:36 2008 +0000 windows-unicode-support-normalize-20080511 LICENSE MIT Actually normalize when normaliz.dll is present. commit 9d28d95151418189e8004734eca0edd498edd46b Author: Jeffrey Altman Date: Sun May 11 14:15:51 2008 +0000 windows-unicode-support-20080511 LICENSE MIT In NTCreateX a zero length name is permitted. This can occur when opening the root directory of a share. Change cm_NameEntries() to accept a size_t* instead of long* since that permits better type safety. commit b5dc1903a4bca5bae099beec0b95840df7282250 Author: Jeffrey Altman Date: Sat May 10 16:19:35 2008 +0000 udebug-display-lastyeshost-order-20080510 LICENSE MIT lastYesHost is already in network byte order. do not reorder it again when displaying it. commit c26dc0e6aaefedc55ed5c35a5744b5c01ba39ea1 Author: Derrick Brashear Date: Fri May 9 19:50:39 2008 +0000 server-meltdown-avoidance-20080509 LICENSE IPL10 if the server is melting down or otherwise unable to reply with data, it will cut itself off. commit a36ec90cff608c3805f524070eb21aacc118f9e2 Author: Asanka Herath Date: Fri May 9 15:49:36 2008 +0000 windows-unicode-support-20080509 LICENSE MIT This delta provides a fairly complete implementation of Unicode character set support for the Windows Cache Manager and supporting tools including fs.exe, symlink.exe, the pioctl library, and the explorer shell extension. New Build requirements: In order to build the Microsoft IDN Mitigation APIs SDK 1.1 is now required. This SDK provides the normalization.h header and the redistribution install packages required to install normaliz.dll. The AFSDEV_INCLUDE path must be modified to point to the directory containing normalization.h. There are no lib files for this package. Cache Manager: The CM SMB server has been modified to negotiate the use of UNICODE. By default it is on. The "fs smbunicode" command can be used to disable UNICODE at runtime. cm_utils now contains UNICODE normalization and conversion routines built on top of the IDN Mitigation APIs. All input strings are normalized with UNICODE Normalization Form C. The pioctl interface now supports UTF8 strings in addition to ANSI. UTF8 strings are prefixed with % 8 as per the ISO 2022 extension. Pioctl Library: New apps should use the pioctl_utf8() function instead of pioctl(). pioctl() is for ANSI strings and provides backward compatibility with third party apps. fs.exe and symlink.exe: Converted to Unicode applications. All strings are now communicated using UTF-8. Explorer Shell Extension: Converted to a Unicode DLL. All strings are now communicated using UTF-8. Fonts on U.S. Windows distributions are not fully populated. As a result not all of the characters can be displayed in all of the dialog boxes. Still to do: 1. Add Unicode normalization to AFS directory entries and mountpoint and symlink target strings. 2. Use the Unicode version of GetCurrentDirectory in fs_utils.c 3. Update the installers to install the IDN Mitigation APIs on XP and 2003. Vista already has them and they are not supported on pre XP SP2 releases. commit 048ae7c7e63e03af16925613aeec8243b45ffe70 Author: Jeffrey Altman Date: Fri May 9 04:53:08 2008 +0000 windows-have-snprintf-20080509 LICENSE MIT Visual Studio provides [v]snprintf. No need to define and export it. commit 3feee9278bc8d0a22630508f3aca10835bf52866 Author: Derrick Brashear Date: Thu May 8 22:24:52 2008 +0000 rx-retain-windowing-per-peer-20080508 LICENSE IPL10 we learned about the peer in a previous connection... retain the information and keep using it. widen the available window. makes rx perform better over high latency wans. needs to be present in both sides for maximal effect. commit e6c818f070022529c362e42dfed340f54b2fd26e Author: Jeffrey Altman Date: Thu May 8 22:17:49 2008 +0000 viced-avoid-infinite-loop-with-altaddr-unset-20080508 LICENSE IPL10 if we return leaving a non HOSTDELETED host while it does not have ALTADDR set, a loop can happen. avoid it by simply setting ALTADDR again when we're done, if we believe some addresses are still good this is fine. commit ef619db804d471fda3bf3f77d55e8cd4e4699b29 Author: Jeffrey Altman Date: Thu May 8 06:25:42 2008 +0000 windows-buf-invalidate-on-vnovnode-20080507 LICENSE MIT Once we know that an attempt to stablize a buffer has failed due to VNOVNODE, stop trying to Stablize future buffers and just invalidate all of them belonging to the same FID. commit c847fb4964c0ec24c404cf1fb353b08af81b5eac Author: Derrick Brashear Date: Tue May 6 16:01:05 2008 +0000 viced-large-more-threads-20080506 LICENSE IPL10 fileserver -L should imply -p 128, not -p 12 commit 98e658b7821f5020c67c05503f9e2c61c945554a Author: Jeffrey Altman Date: Fri May 2 20:29:43 2008 +0000 windows-server-retry-20080502 LICENSE MIT do not retry if there is no server available for the current attempt commit abff169b58764380650e6e162707be68d3aa9bf1 Author: Derrick Brashear Date: Fri May 2 01:59:27 2008 +0000 butc-xbsa-lwp-protoize-damage-20080501 LICENSE IPL10 make xbsa variant work again commit 7915302f28091dd0a6547f0f58fa5ceb581cc21a Author: Derrick Brashear Date: Thu May 1 20:00:00 2008 +0000 uuid-corrected-duplicate-check-20080501 LICENSE IPL10 apply check to chain, not input commit 0a2c144307d2471450c0660e141906a1f7b1ea36 Author: Derrick Brashear Date: Wed Apr 30 20:07:43 2008 +0000 client-idledeadtime-support-20080430 LICENSE IPL10 in the event a server is "melting down" and not responding with data to RPCs this adds the ability to time out the calls rather than letting keepalives effectively hang the client forever. does not mark the server down since... it's not down. Side effect: adds similar tracking for authentication errors so tokens need not be discarded if one server's clock has drifted. commit 888bc28b1886e994d430ddc61657e60a910208a6 Author: Derrick Brashear Date: Mon Apr 28 22:48:00 2008 +0000 ubik-recovery-swap-in-new-fd-20080428 LICENSE IPL10 when recovery is done, forcibly invalidate the old fd commit 668cd5331e4857a73ba1d849446e0dfcae97eadf Author: Hans-Werner Paulsen Date: Mon Apr 28 17:14:55 2008 +0000 tbutc-wrong-lp-getrwindex-20080428 LICENSE IPL10 FIXES 96575 The pthread butc crashes with SIGSEGV, when I restore to a volume which already exists. This does happen with OpenAFS 1.4.7pre4 on i386_linux26. Looking into the code I think butc is using the wrong function Lp_GetRwIndex (at volser/vsprocs.c:4394). It uses the one in the library lib/libvosadmin.a, but should use the function defined in volser/lockprocs.c. commit 25d9dbb6be970d54c4711890b2085c153eda15fa Author: Jeffrey Altman Date: Mon Apr 28 16:18:52 2008 +0000 udebug-64bit-time_t-vs-printf-20080428 LICENSE MIT 64-bit time_t values cannot be passed to printf() for evaluation by a %d variable. To avoid the problem we cast the value to int. commit 2f2d5fd8a7e80802fead9ee944e33c1a0c818abd Author: Jeffrey Altman Date: Mon Apr 28 16:04:38 2008 +0000 windows-rx-idle-timeout-20080428 LICENSE MIT Add "IdleDeadTimeout" registry value and call rx_SetConnIdleDeadTime() with it when creating new rx connections. This forces the Rx stack to return RX_CALL_TIMEOUT if the file server has returned VBUSY for longer than the IdleDeadTimeout. When RX_CALL_TIMEOUT is received, the cache manager will now attempt to find another server for the object that might be less busy. commit 7a6751c08800da5d49bf3def9175174499f6337e Author: Chaskiel M Grundman Date: Mon Apr 28 04:45:03 2008 +0000 kdump-install-fixups-20080427 LICENSE IPL10 FIXES 96465 The install rule: - installs the empty 'kdump-build' file instead of the binary on all platforms except irix - overwrites the selection script with the binary on linux and hpux - doesn't have an alpha_linux branch - installs the wrapper script as kdump32 and the binary as kdump on solaris (instead of vice-versa) The dest rule: - overwrites the selection script with the binary on alpha_linux and hpux commit c8f4d9f0079b7eeacf831061a0c39310aafaa045 Author: Derrick Brashear Date: Sun Apr 27 04:59:51 2008 +0000 redhat-cellservdb-update-20080423 LICENSE IPL10 take update from upstream commit 2aa615fed2b801a7ed3abf7da5aaa293a4f783bf Author: Derrick Brashear Date: Sun Apr 27 04:53:59 2008 +0000 zero-uio-len-when-trimming-20080426 LICENSE IPL10 make it match ufsread case. should change this later. commit b1bf96f7581e58137f49e2b685cf6e91ff4f7dda Author: David Botsch Date: Fri Apr 25 12:39:45 2008 +0000 macos-afscell-configurator-20080423 LICENSE IPL10 not ready for release, but, add a tool which installer can run to ask for a cell name AUTHOR LICENSE IPL10 ==================== 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 IPL10 not ready for release, but, add a tool which installer can run to ask for a cell name commit b87935a4c5f26357e29f1db46eff8b1cf9185f3b Author: Derrick Brashear Date: Thu Apr 24 23:44:01 2008 +0000 vos-move-avoid-spurious-unlock-20080424 LICENSE IPL10 lightly modified from what Bren Mills submitted; the second unlock call after mfail may be entirely useless. commit 088eb9158bf553d5b3dcea8f37d3bec439419d44 Author: Jeffrey Altman Date: Thu Apr 24 17:21:01 2008 +0000 windows-buf-refcount-20080424 LICENSE MIT Implement DEBUG_REFCOUNT refcount tracking code to debug refcount issues in the cm_buf module. Fix a refcount leak caused by buf_IncrSyncer() incorrectly removing cm_buf_t objects from the dirty list. Fix the dumping of the dirty list to actually dump the dirty list. commit 6143f2eb5c85f5c428578b60b3b8892321f7fbe1 Author: Jeffrey Hutzelman Date: Thu Apr 24 04:08:03 2008 +0000 windows-cellservdb-20080423 LICENSE IPL latest greatest CellServDB commit 6809ba29fadbd0d84ff6a9bf2ccd909b2f54b186 Author: Dan Hyde Date: Wed Apr 23 19:56:52 2008 +0000 vol-setaside-one-fd-per-thread-20080423 LICENSE IPL10 FIXES 87977 kids these days share badly. give each one their own fd otherwise they fight. commit d18f5104f57152dfb6d1125a2d3a8bf17a266f44 Author: Simon Wilkinson Date: Tue Apr 22 13:50:23 2008 +0000 linux-fedora9-packaging-updates-20080422 LICENSE IPL10 make build system able to cope with fedora 9 commit 8bf142ae2a979447b259b0945187379812883bee Author: Derrick Brashear Date: Mon Apr 21 20:40:22 2008 +0000 libadmin-vos-irix-fixes-20080421 LICENSE IPL10 irix is cranky about missing prototypes commit 92b5087b42653d5358433c06d60f3adc67a11015 Author: Derrick Brashear Date: Mon Apr 21 19:53:45 2008 +0000 dafs-irix-prec99-20080421 LICENSE IPL10 unless/until we build c99, irix needs this commit a6ef7fed731628a5e5b8af62f7e986d6f7ccf444 Author: Jeffrey Altman Date: Mon Apr 21 16:35:12 2008 +0000 windows-cache-version-20080421 LICENSE MIT increase the cache version because the cm_volume_t data structure was modified. commit 0caa578a05150451c706c2ec6c3d095c671a7043 Author: Simon Wilkinson Date: Sat Apr 19 22:55:02 2008 +0000 linux-fc9-20080419 LICENSE IPL10 add in needed changes for fc9 kernels commit 194067be89293d2f3ee4e791515c3ac020d3a551 Author: Derrick Brashear Date: Fri Apr 18 21:49:45 2008 +0000 klog-deal-with-aix-stupidity-20080418 LICENSE IPL10 aix krb5 is broken. deal. commit 2a0f8bfda8b00de429cb15481e3e20d5d140a81c Author: Derrick Brashear Date: Mon Apr 21 19:59:14 2008 +0000 ppc64-linux-26-thread-info-20080418 LICENSE IPL10 thread_info is dead commit c3eb805fc0309efca059a26b946eb4350417867e Author: Jeffrey Altman Date: Fri Apr 18 17:43:19 2008 +0000 windows-volume-status-20080418 LICENSE MIT A problem was discovered with cm_Analyze when serverRef instances are marked offline. cm_CheckOfflineVolume() was not resetting the serverRef state. cm_Analyze was also waiting in sleep calls when it was it is clear that waiting would not result in a change of state. cm_CheckOfflineVolume() was updated to always reset the serverRef state and indicate that the volume should be considered online for the purpose of retrying when the serverRef state is reset to srv_not_busy. The problems identified in the MIT dev.mit.edu stress test environment are resolved by these changes. commit f3056feadbd6866bddc20e040b5005baeb4c8cad Author: Derrick Brashear Date: Fri Apr 18 14:55:33 2008 +0000 klog-aix-missing-symbols-20080418 LICENSE IPL10 aix's krb5 isn't heimdal or mit. it has dangling symbols. yay! commit 8ea0eef2d6807d2ad51d29853335f115439e616c Author: Derrick Brashear Date: Fri Apr 18 14:54:30 2008 +0000 lwp-fix-protoize-20080418 LICENSE IPL10 make this cast correct. commit 5f6b59f4601e9892e082a145a75e5872818d2e06 Author: Rainer Toebbicke Date: Tue Apr 15 13:29:20 2008 +0000 linux-fakestat-avoid-mtpt-fillin-issue-20080415 LICENSE IPL10 FIXES 93898 "It is actually the detection of a "cell" in the mount point string which triggers the (loosely consistent) fakestat handling - it's treated like a foreign cell and the mount point is never "completely evaluated", i.e. logically replaced by the root directory of the volume in question. As a result, callbacks are ignored, as they go against the directory and not the mount point." commit 4440b9a61247a0da020042b4262695f0ef7d35de Author: Jeffrey Altman Date: Mon Apr 14 22:32:27 2008 +0000 windows-volume-20080414 LICENSE MIT 1. Convert cm_volume_t mutex to a rwlock (rw). 2. Don't hold cm_volume_t lock across RPCs 3. Add CM_VOLUMEFLAG_UPDATING_VL flag to prevent multiple threads from performing volume update calls at the same time on the same volume set. 4. Convert the .rw, .ro, and .bk cm_vol_state_t members of cm_volume_t to an array of cm_vol_state_t members indexed using the pre-existing RWVOL, ROVOL and BACKVOL preprocessor symbols. This will permit consolidation of code and make it easier to add new volume types to the volume set in the future. commit 7936739f44372458fffb86058b3279d53995bd8b Author: Derrick Brashear Date: Mon Apr 14 21:25:41 2008 +0000 volser-prototype-include-fix-20080414 LICENSE IPL10 so tvolser can build again commit 7bfe889eb2e900719c70cd9fd29f82569ef4c04c Author: Jeffrey Altman Date: Fri Apr 11 18:44:47 2008 +0000 windows-freelance-20080411 LICENSE MIT Do not set the DV on the rootSCachep because doing so disables the use of MergeStatus(). Do not remove the rootSCachep from the hash table because doing so makes causes a second cm_scache_t object for that fid to be created that is not the root. commit 40d41c191bdb64256d4ccf6a5f1bab8124249e63 Author: Jeffrey Altman Date: Thu Apr 10 18:50:49 2008 +0000 vos-noresolve-option-20080410 LICENSE MIT Add a -noresolve option to all vos commands. This permits the display of servers by IP address instead of DNS name. Very useful when 127.0.0.1 is registered as the server address or when trying to eliminate multi-homed addresses. commit fab6653cf714ee6121cd7a22857f22f86a969559 Author: Simon Wilkinson Date: Wed Apr 9 17:39:36 2008 +0000 void-return-casts-20080409 LICENSE IPL10 do apporpriate casts for void returns to placate irix cc commit 7faf596b439cce022cfa4b3174cd17a1f0a0901e Author: Jeffrey Hutzelman Date: Wed Apr 9 14:38:47 2008 +0000 linux-nfstrans-avoid-access-deadlock-20080409 LICENSE IPL10 avoid deadlocking in access while we're already holding locks as filldir is doing its work commit 494568ea929af96bf2b641e31b970cf695f13240 Author: Asanka Herath Date: Wed Apr 9 05:34:22 2008 +0000 windows-nsis-vs2005-20080409 LICENSE MIT Add support for building with VS2005 Runtime Libraries. For the release build use the vcredist_.exe package. For the debug build, build an msi from the merge modules and then install that package. commit 1495088e4168a2ddf35135db872777b9e51823b3 Author: Simon Wilkinson Date: Tue Apr 8 19:35:51 2008 +0000 redhat-spec-updates-20080408 LICENSE IPL10 FIXES 93616 update to correctly fill in specfile from source tree commit 0d2e36cac80d4c49db8e6b12988344107b7b1cd4 Author: Jeffrey Altman Date: Mon Apr 7 15:19:10 2008 +0000 windows-strlwr-cellname-20080407 LICENSE MIT cellnames are case insensitive and by convention they are lowercased. commit c108d606f59b6f5edcb863de3f3d9d7ecc44f04a Author: Jeffrey Altman Date: Mon Apr 7 15:16:48 2008 +0000 windows-freelance-three-20080407 LICENSE MIT deliver notification events to watchers when adding mount points or symlinks to the freelance root.afs volume. commit 8f57819a99273812c1d9ba7ec504689b05b83b14 Author: Jeffrey Altman Date: Mon Apr 7 07:00:16 2008 +0000 windows-freelance-two-20080407 LICENSE MIT do not add the scp into the hash table twice. commit a642541b960f601d7396c28ca08ee7fd32975ce6 Author: Jeffrey Altman Date: Mon Apr 7 06:42:44 2008 +0000 windows-freelance-20080407 LICENSE MIT When freelance symlinks and mountpoints were modified the target string value was not being updated and the old data was not being invalidated. commit c7ee4828e0d7c631fcd827d1a4c9af8bebb2fc2d Author: Marc Dionne Date: Mon Apr 7 04:48:45 2008 +0000 linux-no-syscall-probe-with-no-init-mm-20080406 LICENSE IPL10 FIXES 88000 no better idea for this, got to do something... push this for now commit ef19cea44c433ec7c1d214e8229b5fb4ea4b6ef6 Author: Jeffrey Altman Date: Sun Apr 6 14:33:12 2008 +0000 windows-fid-hash-20080406 LICENSE MIT 1. During the conversion to hash based FID comparisons the cm_GetSCache() lookups from the cm_ioctl.c (CM_IOCTL_QOPTS_HAVE_FID) and from FIDs returned by cm_LookupSearchProc() were broken. 2. In cm_LookupInternal(), ensure that an error is returned if rock.found is FALSE. A failure to return an error was resulting in cm_GetSCache() producing an object for FIDs with vnode=0,unique=0 3. cm_GetSCache(), remove the warning check for vnode=0,unique=0 4. reapply the synchronization logic to async store requests in cm_SyncOp(). The lack of synchronization is causing requests to complete out of order which is confusing the SMB redirector when under heavy load. commit 5dd7e65c6fd233e70d98b271cbf48ac2356efe0f Author: Derrick Brashear Date: Sat Apr 5 19:02:59 2008 +0000 revert-ubik-changes-20080405 LICENSE IPL10 these changes are unneeded; remove them commit 5640c4a1b5bea4e61ff2e6c2da02265c3e1ba612 Author: Kevin McBride Date: Fri Apr 4 20:58:35 2008 +0000 volser-preclude-alternate-partition-clones-20080404 LICENSE IPL10 patch based on work from shadow@dementia.org the idea is to preclude multiple copies of a volume replica on a server, as there's nothing to indicate which copy is correct and you can end up serving stale data when you think you've just released and are serving something good commit e62727e328c8fad2a5b7b305745a248d9aabe19a Author: Derrick Brashear Date: Fri Apr 4 16:39:53 2008 +0000 tubik-more-makefile-fun-20080404 LICENSE IPL10 kill off library name reuse commit ece59f688a8820e3ea0601f77ed1b99af7ae7cfd Author: Derrick Brashear Date: Thu Apr 3 17:58:11 2008 +0000 tubik-head-makefile-compat-20080403 LICENSE IPL10 match new style install stuff commit 65e701fee4968b17066bb81e25b7adaa4024d4f3 Author: Kevin McBride Date: Thu Apr 3 17:41:12 2008 +0000 tubik-vos-20080403 LICENSE IPL10 build pthreaded vos commit 5f67c569455f0597d42b5a2cccf89e470ed74c53 Author: Derrick Brashear Date: Thu Apr 3 15:20:41 2008 +0000 tubik-20080403 LICENSE IPL10 avoid bogus dependency here too commit bc1a7f1ee8fb12eeb7b54f89987e6f240627a579 Author: Derrick Brashear Date: Thu Apr 3 04:54:34 2008 +0000 tubik-one-more-20080402 LICENSE IPL10 handle the rest of the issues commit 33161360381d5ec67f884c087da26bd8009a0511 Author: Derrick Brashear Date: Thu Apr 3 02:20:25 2008 +0000 tubik-makefiles-fun-20080402 LICENSE IPL10 these fixes brought to you by delicious beer. commit ec02ff4342844c0d83ed3e9e5e27aef7c3af7204 Author: Derrick Brashear Date: Wed Apr 2 22:45:05 2008 +0000 tubik-makefile-fixes-20080402 LICENSE IPL10 don't use gmake macros. ick commit 9fbbc3f50cc6f04796a8a444bc06acc66a9c55a6 Author: Steven Jenkins Date: Wed Apr 2 20:47:27 2008 +0000 pthreaded-ubik-20080402 LICENSE IPL10 add pthreaded ubik and various binaries commit 93c326ef08cacc730470a7af75041d943825260b Author: Marc Dionne Date: Wed Apr 2 19:19:57 2008 +0000 linux-flush-compare-20080402 LICENSE IPL10 because i let this slip out like this. sigh. commit 31d06c78b2f8ea14877bebf05097b33cc7e233f2 Author: Harald Barth Date: Wed Apr 2 14:08:19 2008 +0000 linux-flush-unlock-20080402 LICENSE IPL10 because i let this slip out like this. sigh. commit 5fe4de574dba287b8197263028ac49014955a483 Author: Tom Keiser Date: Tue Apr 1 21:28:05 2008 +0000 salvageserver-init-handler-lock-20080401 LICENSE IPL10 init lock commit 0faa1e0412c4cb22e6820473fa60cdea5d516550 Author: Derrick Brashear Date: Tue Apr 1 21:15:46 2008 +0000 tsalvaged-clean-20080401 LICENSE IPL10 make clean target work here commit 48838bab91b50a5cf8cd3fb7d1902e6b7525bb86 Author: Derrick Brashear Date: Tue Apr 1 21:05:19 2008 +0000 vol-osi-assert-20080401 LICENSE IPL10 undo the old windows afs assert undoing commit 695d1aa896cf38cfe9856ba1c45b6b3cca7565a2 Author: Derrick Brashear Date: Tue Apr 1 19:15:29 2008 +0000 aklog-debug-text-dont-deref-null-ptr-20080401 LICENSE IPL10 yeah, this is sort of dumb commit 3f54c934b9c933d5f34644a096c821375db17d97 Author: Simon Wilkinson Date: Tue Apr 1 18:44:28 2008 +0000 aklog-tidyup-20080401 LICENSE IPL10 FIXES 92643 remove windows code (osolete) from unix branch do other minor cleanup commit 94aa281af8c9cb74561a32a34cb7cd5b5da97cdf Author: Derrick Brashear Date: Tue Apr 1 17:49:42 2008 +0000 vlserver-checksignal-returns-voidstar-20080401 LICENSE IPL10 FIXES 92662 CheckSignal returns void*, don't try to return an int directly. commit 9bdb8599c094821d0dfb29505cc63aa2a8460ae2 Author: Tom Keiser Date: Tue Apr 1 15:09:54 2008 +0000 synvageserver-no-rx-server-refs-20080401 LICENSE IPL10 FIXES 92648 remove reference to rx service mutex and thread tracking. we need to ensure there's nothing else either but this is true now commit 4bcb7d01b2a8aa6ce53cf1c0b093058b4e5072f1 Author: Jason Edgecombe Date: Tue Apr 1 07:50:28 2008 +0000 man-page-vos-shadow-20080331 LICENSE BSD Man page for vos shadow. commit a26d7f1403d7d41d51836442a7a4759f4fc2bfe4 Author: Mike Meffie Date: Mon Mar 31 16:54:14 2008 +0000 test-updates-20080331 LICENSE IPL10 update tests directory commit 99a29903c8b77e2e3260bf06d913367fadbc4fed Author: Jeffrey Altman Date: Sun Mar 30 17:19:01 2008 +0000 windows-aklog-cross-cell-20080330 LICENSE MIT report the new ID after a successful cross cell registration commit 2169423f6821672be5506ab388d6faa0ed37f0d0 Author: Jeffrey Altman Date: Sun Mar 30 15:10:05 2008 +0000 windows-aklog-robustness-20080330 LICENSE MIT Fix the order of parameters to strncpy ==================== 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 Fix the order of parameters to strncpy Add error checking to all krb5 functions. Initialize the global ccache variable to NULL. commit aff582765a8af5ce8743e28ee4d33bf8e4396d63 Author: Jeffrey Altman Date: Sun Mar 30 05:16:17 2008 +0000 windows-vlserver-makefile-20080329 LICENSE MIT make references to INCFILEDIR consistent commit c6897cee01063d6d6ad302e6527794130f007d74 Author: Jeffrey Altman Date: Sun Mar 30 04:30:52 2008 +0000 windows-use-client-realm-for-tokens-20080329 LICENSE MIT Two recent changes to the AFS/Kerberos landscape have been causing problems for aklog and related modules. First, the support for multiple local realms for the cell has broken the pts auto-registration code when the realm used for the token acquisition does not match the realm belonging to the selected vldb server. Second, Kerberos referrals prevents detection of the realm of the vldb server. This commit adds a new method of searching for the afs service principal. The first attempt is for afs/@. If found, the is used as the realm of the cell. The patch adds error handling for KRB5_ERR_HOST_REALM_UNKNOWN which is returned when krb5_get_host_realm() can't determine the realm. Duplicate queries are also avoided and copy_realm_of_ticket() is properly employed. commit 07d806845e1bf790c8cbe8e6a711e99e0958235b Author: Tracy Di Marco White Date: Fri Mar 28 17:11:19 2008 +0000 nbsd-update-20080328 LICENSE IPL10 FIXES 92073 fix nbsd30 param file, add nbsd40 param file commit b2e3e6427522c92ce4132abf2ca08ce18599b16b Author: Jeffrey Altman Date: Fri Mar 28 14:01:03 2008 +0000 windows-freelance-20080328 LICENSE MIT 1. return CM_ERROR_NOSUCHFILE when attempting to remove a symlink or mount point that does not exist 2. When adding a new symlink or mountpoint, be sure to increment the number of local mount points 3. When re-initializing the fake root.cell the unique value is always one, not two. Use cm_FidCmp() to compare fids. The use of the value two prevented the invalidation of existing values because all of the directory entries are created with the unique set to one. commit be49dbe89161415a4a78f2f6b588fb94ee940ae9 Author: Derrick Brashear Date: Fri Mar 28 04:41:00 2008 +0000 pinstall-collateral-damage-20080327 LICENSE IPL10 it's really easy to get into install-sh relative path hell. work around it. commit e0021180665fa75af88c3ebf0d7f58f93918ceab Author: Douglas Engert Date: Thu Mar 27 18:48:22 2008 +0000 krb5-klog-solaris-krb-20080327 LICENSE IPL10 FIXES 91573 no krb5_mcc_ops on solaris krb5. cope commit 87e959e87df52e026ffcb2de8ecfcbf4889f7bd8 Author: Derrick Brashear Date: Thu Mar 27 18:39:57 2008 +0000 ptutil-swap-epoch-version-as-needed-20080327 LICENSE IPL10 FIXES 90869 do byteswapping of epoch and version so we print and compare sensibly commit 7c05046f1f097a6ded89a5928ea48aca224f520a Author: Derrick Brashear Date: Thu Mar 27 16:20:29 2008 +0000 volser-higher-thread-limit-20080327 LICENSE IPL10 with tvolser we can increase this and actually *see benefit*, so... commit 6c9647cc614cfdf9b2c9cc8adb7b3c6b741e1f4e Author: Alistair Ferguson Date: Thu Mar 27 16:16:02 2008 +0000 dafs-vshutdown-match-id-to-params-20080327 LICENSE IPL10 we track shutdown thread parms as index rather than device; deal correctly commit 1cf6c12a075cb0705cd8680291d78d215d4fe996 Author: Chas Williams Date: Wed Mar 26 04:16:51 2008 +0000 linux-dont-flush-writes-on-exec-20080326 LICENSE IPL10 FIXES 17509 because of when fds are NULL'd in file_table this should work except when one process has the same file open for read and for write in different FDs; otherwise, the last write fd to close collects the error. commit 3f8be40525ae84980f1519e60f4b9f73bd4cc676 Author: Marc Dionne Date: Wed Mar 26 04:10:26 2008 +0000 linux-restore-iget-cachemgr-20080326 LICENSE IPL10 FIXES 88000 restore the d_alloc_anon we need commit f3776341151ad2c9b439567411e908836b16d415 Author: Jeffrey Altman Date: Sun Mar 23 14:10:42 2008 +0000 windows-vlserver-include-path-20080323 LICENSE MIT Fix the INCFILEDIR definition so that the INCFILES actually exist commit 76494a572e504c426fe9dabc8e68115f7ee6a05c Author: Marc Dionne Date: Sun Mar 23 00:53:29 2008 +0000 linux-2625-update-20080322 LICENSE IPL10 FIXES 88000 update 2.6.25 patch to hopefully cover what we need better commit 887f2869e309d00dff095b033dabf59231ef3300 Author: Jeffrey Altman Date: Sat Mar 22 00:19:03 2008 +0000 windows-aklog-cleanup-20080321 LICENSE MIT make krb5_context global. wrap all calls to exit() in a new function, akexit(), which performs cleanup of the krb5_ccache and the krb5_context. commit 493afd1e59661e64120a8d655d6503ac396ca46b Author: Tom Keiser Date: Fri Mar 21 16:59:03 2008 +0000 aix-unix-sockets-fix-200803221 LICENSE IPL10 FIXES 88088 use aix's macro for the size of sockaddr_un commit 94f32208af8896e144e18aa34d80bf2924b4ac36 Author: Jeffrey Altman Date: Fri Mar 21 12:20:21 2008 +0000 windows-aklog-20080320 LICENSE MIT Windows Error Reports indicate that sometimes the krb5_cc_default() call must be failing because krb5_cc_principal is being called with a NULL ccache value. Perform error checking and cleanup that was not previously implemented. commit 77c1e986369c8151ec19e74dccbd2b40de6270d9 Author: Jeffrey Altman Date: Fri Mar 21 04:15:47 2008 +0000 windows-pioctl-disable-service-mgr-check-20080320 LICENSE MIT Adds HKLM\\Software\\OpenAFS\\Client DisableIoctlSMCheck For use in setting tokens when afsd_service.exe is started without use of the NT Service Manager. Permits profiling authenticated operations. commit edbde00d6c3be0228b1647505d8483632cceaf39 Author: Jeffrey Altman Date: Thu Mar 20 00:00:28 2008 +0000 windows-max-cells-20080319 LICENSE MIT Add CM_CONFIGDEFAULT_CELLS (1024) to cm_config.h and a "Cells" registry value that can be used to alter the limit at runtime. No longer tie the number of cells to the number of stat cache objects. 1024 should be more than sufficient. commit d24b177765f2955a7c54ecdc33744ecee069f25e Author: Jeffrey Altman Date: Wed Mar 19 20:17:04 2008 +0000 windows-volume-dotdotFid-20080319 LICENSE MIT The volume dotdotFid field should have moved into the cm_volstate_t object as there can be different parents for rw, ro, and bk volumes. commit b2667be49d31a26517f3c7a192091847434e6151 Author: Jeffrey Altman Date: Wed Mar 19 15:34:48 2008 +0000 windows-no-more-afsdifs-20080319 LICENSE MIT do not include a header that no longer exists commit e3f9fcdeaaf35363c0b3d3a8004892aa4ce9233f Author: Jeffrey Altman Date: Wed Mar 19 13:57:36 2008 +0000 windows-remove-umich-afsifs-20080319 LICENSE MIT The UMich AFS IFS code has never been made ready for production. An alternative approach is currently being worked on that will be. commit e6d7e165886122dc4cee850632ee2c1f55165258 Author: Jeffrey Altman Date: Wed Mar 19 13:22:02 2008 +0000 windows-parseacl-20080319 LICENSE MIT Protect against invalid data being passed into ParseAcl and corrupting the stack. This affects both fs.exe and the explorer shell extension. Windows Error Reporting in recent weeks has begun to report several instances of stack corruption in the explorer shell extension from Denmark and Germany. commit e7e2a3bd0691e3da78a36c8f3332577290f59a64 Author: Jeffrey Altman Date: Tue Mar 18 16:44:39 2008 +0000 windows-remove-umich-afsifs-20080318 LICENSE MIT The UMich AFS IFS code has never been made ready for production. An alternative approach is currently being worked on that will be. commit 6c81286368e17bdde543d4d6e5d19512cab62ba3 Author: Tom Keiser Date: Tue Mar 18 16:05:09 2008 +0000 dafs-kill-xcpu-dump-vlru-stats-20080318 LICENSE BSD this will dump the current dafs vlru state on kill -XCPU (just as we dump other fileserver state) that state is VLRU is a garbage collection facility which automatically offlines volumes in the background. The purpose of this facility is to proactively offline infrequently used volumes to improve shutdown and salvage times. The process of offlining a volume from the "attached" state to the "pre-attached" state is called soft detachment. VLRU works in a manner similar to a generational garbage collector. There are five queues on which volumes can reside: new, intermediate, old, held, and candidate: held: queue for volumes which are administratively barred from VLRU activity candidate: queue for volumes which have not been accessed recently, and are thus candidates for soft detachment new, intermediate, old: generational queues for active volumes; state transitions controlled by inactivity timers. State transition timeouts are as follows: candidate->new activity present new->candidate (1*vlruthresh) minutes since last transition; no activity new->mid (2*vlruthresh) minutes since last transition; activity present mid->old (4*vlruthresh) minutes since last transition; activity present old->mid (2*vlruthresh) minutes since last transition; no activity mid->new (1*vlruthresh) minutes since last transition; no activity commit db4c703131c4fe68e699d873525f1055845545f7 Author: Kevin McBride Date: Tue Mar 18 15:58:40 2008 +0000 pts-process-input-file-and-exit-20080318 LICENSE IPL10 The pts program has a command 'source' to read commands from a file. In the interactive "shell" mode, this command works, reading and executing commands until the end of the file and then returning to the command shell. This command is valid for use as a command line option, but does not work. It requires a valid filename as an argument, but does not process the file, instead just dropping the user into the interactive mode. When given as a command line option, pts source SHOULD read the file, execute the commands and then exit, according to the documentation. It does not currently do this and should be fixed. commit 7ffe6a97ff0453c2cae8b15a9d7e2084e3a864d4 Author: Chaskiel M Grundman Date: Mon Mar 17 18:07:36 2008 +0000 hpux1123-sysname-detection-20080317 LICENSE IPL10 FIXES 89125 add the 11.23 sysname commit 2c3cbd499ad4461511f2181e1ac0a0cfa6768821 Author: Chas Williams Date: Mon Mar 17 18:02:53 2008 +0000 afs-nostats-xstats-start-cmtime-noop-20080317 LICENSE IPL10 FIXES 90528 add missing noop so we can build with stats disabled commit eee60dd38d1be14be052178816aea36b2f8de3ff Author: Chas Williams Date: Mon Mar 17 17:56:38 2008 +0000 rx-nacks-increment-with-all-newacks-20080317 LICENSE IPL10 don't "lose" newacks, apply all of them to the ack count commit ec5a43b08686680b9d9c0552e3a912871dac4cc8 Author: Jeffrey Hutzelman Date: Mon Mar 17 17:48:35 2008 +0000 linux-nfstrans-readme-20080317 LICENSE IPL10 readme for linux nfs translator and extensions commit 449756f8a26f1b30147851f98ac67b2a2642abf8 Author: Derrick Brashear Date: Mon Mar 17 17:14:01 2008 +0000 volser-handle-malloc-failure-20080317 LICENSE IPL10 allocate memory for all rx OUT parameters in stubs to avoid crashes. commit 680123d70c98d7d9e5884e3d43ed5298d6aad11d Author: Mattias Pantzare Date: Mon Mar 17 16:51:55 2008 +0000 solaris11-update-20080317 LICENSE IPL10 update solaris 11. probably we should do configure tests instead for these things, since they're sort of "moving target" commit f776cb96f97e5995a3a58074f2bf913e8ea4be00 Author: Steven Jenkins Date: Mon Mar 17 16:39:03 2008 +0000 dafs-readme-20080317 LICENSE IPL10 update README to mention DAFS setup and build options commit c7bce5882a685fcc6ecac53fb54ec7047f21ec6c Author: Tom Keiser Date: Mon Mar 17 17:06:30 2008 +0000 dafs-accurately-track-inuse-20080317 LICENSE IPL10 keep accurate tabs on whether a volume is "in use" so we don't end up with volume state that's nonsensical. ==================== 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 IPL10 keep accurate tabs on whether a volume is "in use" so we don't end up with volum e state that's nonsensical. ==================== LICENSE IPL10 keep accurate tabs on whether a volume is "in use" so we don't end up with volum e state that's nonsensical. commit 3a84b02172800e7c172e04718fb109d1f5f1c014 Author: Derrick Brashear Date: Mon Mar 17 15:38:15 2008 +0000 rx-clock-backward-detection-20080317 LICENSE IPL10 if the clock goes backwards, detect it and reset any rx events to run in a timely manner commit 8cad4305acb787500f9434949cfb3c6500f3287b Author: Steven Jenkins Date: Fri Mar 14 18:05:00 2008 +0000 demand-attach-docs-20080314 LICENSE IPL10 Additional documentation for the demand attach file server, plus a state diagram. commit 6fef8b74299e4ed75a1da45d7fdb948581ab2434 Author: Jeffrey Altman Date: Fri Mar 14 16:53:37 2008 +0000 windows-callback-20080314 LICENSE MIT Protect against a null volp commit 3a0fa5627bd5254f37aa5c2fb04ca7d27f0a06c1 Author: Jeffrey Altman Date: Fri Mar 14 16:16:14 2008 +0000 windows-max-volumes-20080314 LICENSE MIT Propagate the max volumes value into cm_memmap commit 53a57b79b567aed990eb27d0b4a24109a65a993e Author: Tom Keiser Date: Fri Mar 14 04:41:20 2008 +0000 vol-dafs-aix-fixes-20080313 LICENSE IPL10 FIXES 88087 * xlc doesn't support the inline keyword unless C99 is enabled * xlc won't parse enumerations with trailing commas commit 2d29c51167b50286e94bda35275e62cfc3c04dfd Author: Simon Wilkinson Date: Thu Mar 13 13:42:06 2008 +0000 lwp-fixprotos-20080313 LICENSE IPL10 FIXES 89857 make everything match, and make *ep take void and not a pointer commit e1fb328b9ae509316ce8fff81691f6b738929ee9 Author: Jeffrey Altman Date: Thu Mar 13 12:56:31 2008 +0000 rx-mutex-interlocked-macros-20080312 LICENSE IPL10 fix from sxw@inf.ed.ac.uk commit f9cc51fb40f1797b72ba5b05d7d0249b9a3b2e27 Author: Jeffrey Altman Date: Thu Mar 13 04:37:44 2008 +0000 windows-remove-scache-volp-20080312 LICENSE MIT The cm_scache structure has included a reference to the associated cm_volume_t, volp. By doing so the reference count on the cm_volume_t objects never hits zero unless all of the cm_scache_t objects in that volume have been reused. This prevents cm_volume object recycling. This commit removes the hard reference and instead adds a function cm_GetVolumeByFID which obtains a reference to the cm_volume that matches the cm_scache fid value as needed. A new "Volumes" registry value is added to permit explicit specification of the number of volume objects to be allocated. commit 5378bf47efdb9abb056a0111cf38b9b6c73c7bc8 Author: Marc Dionne Date: Thu Mar 13 02:23:57 2008 +0000 linux-2625-20080312 LICENSE IPL10 add missing bits commit f69a15c7a8e286ead1d7a3e444214a1553fa01e5 Author: Jeffrey Altman Date: Wed Mar 12 05:46:01 2008 +0000 windows-client-config-pt-20080311 LICENSE MIT typo in pt_BR language resource file commit 9cc4a8e02cd6b244c34f04ba9526183edd358bf7 Author: Jeffrey Altman Date: Wed Mar 12 05:12:54 2008 +0000 rx-no-interlockedadd-20080311 LICENSE IPL10 InterlockedAdd is only supported on Itanium commit 0e91773fd769f2c5ce69eef1e795993f963ab3ee Author: Steven Jenkins Date: Wed Mar 12 01:28:00 2008 +0000 man-page-fileserver-update-20080311 LICENSE IPL10 Update the fileserver documentation for demand-attach and add documentation of other missing options and notes where some options are only applicable with particular builds. commit c86ae86a53c8a8e5acc099e1ea437e3571b2e63d Author: Jeffrey Altman Date: Tue Mar 11 18:23:23 2008 +0000 rx-mutex-interlocked-macros-20080311 LICENSE IPL10 Introduce a new set of macros that can be used to permit either mutex based protection or Interlocked operation protection increments, decrements, or additions. rx_MutexIncrement(object, mutex) rx_MutexAdd(object, addend, mutex) rx_MutexDecrement(object, mutex) rx_MutexAdd1Increment2(object1, addend, object2, mutex) rx_MutexAdd1Decrement2(object1, addend, object2, mutex) For Windows these are implemented with the Interlocked operations for other platforms the existing mutex is relied upon. Only a subset of the rx_stats parameters have been transitioned at the current time. commit ff988ead4ee3986c1db9f983e4f25ba79469a4e4 Author: Simon Wilkinson Date: Tue Mar 11 17:46:58 2008 +0000 lwp-protoize-20080310 LICENSE IPL10 protoize lwp. make it match pthreads' idea of createprocess commit 9473128eb375b3ec31560613842220b934e07de6 Author: Jeffrey Altman Date: Tue Mar 11 17:00:18 2008 +0000 windows-lwp-proto-20080311 LICENSE IPL10 Fix breakage caused by recent lwp prototyping. commit cadbebc2e50aedea01475620a3add4c315c13faa Author: Derrick Brashear Date: Mon Mar 10 18:50:47 2008 +0000 linux-2625-20080310 LICENSE IPL10 adapted from marc dionne's patch, but works more directly like the darwin port, further, i'm guessing iget_locked will go away evewntually. maybe this is too conservative? commit 2cee2d88a8573f1b8eb336993d9acf6417cda4e2 Author: Jeffrey Altman Date: Mon Mar 10 18:16:29 2008 +0000 windows-client-config-misc-dlg-20080310 LICENSE MIT The Daemon and Server Threads fields were swapped. commit b7fb842b1cd11ceaa492201ad9a38052e424f6a8 Author: Simon Wilkinson Date: Mon Mar 10 16:44:16 2008 +0000 keyring-updated-20080310 LICENSE IPL10 revise keyring patch to avoid detection problems with keyring_type_key commit 9959232682d05f410dc0fae91f790b2ebed3273a Author: Derrick Brashear Date: Mon Mar 10 16:22:12 2008 +0000 hpux-param-updates-20080310 LICENSE IPL10 based on suggestion from cg2v@andrew.cmu.edu commit 5f6546ecbbe946f2275e07d87351968105c176a1 Author: Jeffrey Altman Date: Sun Mar 9 15:21:39 2008 +0000 windows-afs-execute-only-20080309 LICENSE MIT If we want to enforce the open for read flag in smb_ReadData we must also check for execute access. We map execute access to read access because AFS doesn't have a separate permission for that. commit 6e18cd4108e6367fe9766d5f2cfda48569c9ebbf Author: Jason Edgecombe Date: Sun Mar 9 05:57:29 2008 +0000 man-page-afsd-afsdb-20080308 LICENSE BSD FIXES 89288 89289 Reference RFC 1183 in the AFSDB documentation. commit 84a928ddd46b1b77c655b21ce7e9fc8d775b96db Author: Simon Wilkinson Date: Sun Mar 9 01:40:14 2008 +0000 pt-util-com-err-20080308 LICENSE IPL10 prototype afs_error_message() to ensure correct behavior on 64-bit systems with 32-bit int. commit cdd1e8b878c669927b7e2b8f06cd20b62f6bec51 Author: Jeffrey Altman Date: Sat Mar 8 23:38:08 2008 +0000 windows-installer-rxmaxmtu-setting-20080308 LICENSE MIT change the RxMaxMtu setting to 0 to restore default behavior (aka performance). The Cisco VPN 5.0.01.0600 client no longer requires a reduced mtu size for compatibility with AFS. commit f94e0d5688be0778d346711b6698e2ef567e1969 Author: Jeffrey Altman Date: Sat Mar 8 23:31:52 2008 +0000 windows-config-20080308 LICENSE MIT raise the daemon count to 4 now that we have a means of avoiding contention raise the tracebufsize to 10000 entries commit 801b670734e254665576dcb71756ea64a123abc9 Author: Jeffrey Altman Date: Sat Mar 8 23:23:48 2008 +0000 windows-syscfg-getifinfo-20080308 LICENSE MIT syscfg_GetIFInfo() obtains the current list of IP addresses. Its a really expensive operation. Call the function once and cache the data until the next IP address change instead of calling it everytime we receive a WhoAreYou or construct a new server object. Adds a new global rw lock, cm_syscfgLock commit 27008912ec2a0526e71f174b9e4e6d8dd1fc8f19 Author: Jeffrey Altman Date: Sat Mar 8 23:17:45 2008 +0000 windows-scache-20080308 LICENSE MIT do not discard data buffers we wish to keep commit c32f5466f0cf7150d8bbe286fa51834108dce63f Author: Jeffrey Altman Date: Sat Mar 8 23:15:54 2008 +0000 windows-performance-deadlock-20080308 LICENSE MIT correct a deadlock when calling HaveCallback commit 694202f29e5eafbcf0a07908ebdc2c67a2eecc3b Author: Jeffrey Altman Date: Sat Mar 8 15:43:45 2008 +0000 windows-cm-callback-remove-call-mutex-hold-20080308 LICENSE MIT Remove all of the code in #ifdef HOLD_CALL_MUTEX as we no longer use it. commit 526babc882364573be745b717c32fa1da29acaa2 Author: Jeffrey Altman Date: Sat Mar 8 14:15:43 2008 +0000 windows-eventlog-20080308 LICENSE MIT we need set privilege not query privilege commit fdcf6bba5546f2a09e972323be9469a49ce04c6f Author: Jeffrey Altman Date: Fri Mar 7 22:22:21 2008 +0000 windows-cm-performance-tuning-200803007 LICENSE MIT This is a first cut at a cache manager statistics monitor that can be used to determine the necessary cache parameters to support the working set. Off by default the performance package can be activated by setting "daemonPerformanceTuningInterval" in the service Parameters key. As with the other daemon interval values the unit is in seconds. At service start and each succeeding interval the cache manager will write statistics to %TEMP%\afsd_performance.txt showing the relative usage of cm_scache_t, cm_volume_t and cm_buf_t objects. The FID statistics keep track of all FIDs seen by the cache manager during the service session whether or not they are backed by any live object in the cache. These statistics are not stored in the cache file. commit 1f4ca0f488d765d5d09de9edf8a8fc4fbe6b09b1 Author: Jeffrey Altman Date: Fri Mar 7 22:14:41 2008 +0000 windows-cm-conn-20080307 LICENSE MIT Convert cm_conn_t reference counts to use Interlocked operations. This permits several cm_serverLock holds to be converted to read locks. Add string translation for VL errors to cm_Analyze(). Permit RXKAD errors other than RXKADEXPIRED to be treated as non-fatal. Instead immediately retry an alternate server if there is one. This will permit the client to continue to access replicated data from an alternate site if one of the file servers is misconfigured. commit 0479c650c17f35a4cf0de523cfc036b8d21629ce Author: Jeffrey Altman Date: Fri Mar 7 22:07:40 2008 +0000 windows-cm-server-interlocked-20080307 LICENSE MIT Convert cm_server_t reference counts to use Interlocked operations. This permits almost all of the cm_serverLock holds to be converted to read locks. Add missing cm_PutServerNoLock() calls in the multi_Rx version of cm_CheckServers(). (Thanks to Asanka) commit 757ee6da75123653dd094a6e1fdd374edf0c55f1 Author: Jeffrey Altman Date: Fri Mar 7 22:02:22 2008 +0000 windows-vl-noent-response-20080308 LICENSE MIT Prior to looking up a volume in the vldb the cm_volume_t object is constructed. If the response is VL_NOENT the cm_volume_t object should be removed and place at the head of the recycling list so that we do not recycle something we might actually care about. Convert more cm_volumeLock holds to read locks now that we are using Interlocked operations to manipulate the reference counts. commit 45200a26985678ccad051385f50f94321eb98256 Author: Jeffrey Altman Date: Fri Mar 7 17:44:40 2008 +0000 windows-scache-verification-20080307 LICENSE MIT Add a hash value verification check for stat cache entries commit 73c2fa385a6f61483189dc68c4a10a49d65c8bf5 Author: Jeffrey Altman Date: Fri Mar 7 17:37:35 2008 +0000 windows-rxstats-default-20080307 LICENSE MIT set the defaults for RxEnablePeerStats and RxEnableProcessStats back to 1 (on) so admins are not surprised. commit f637b6292d3723cd2cf672ecaba6f179813ab64b Author: Simon Wilkinson Date: Fri Mar 7 17:30:19 2008 +0000 fakestat-access-for-nautilus-20080307 LICENSE IPL10 in order that nautilus' .directory checks can work without stat()ing every damn thing, do what we do for the mac, basically. commit 5589875561e0062b2f06fc4ce0a8fad37a0d8eb5 Author: Jeffrey Altman Date: Fri Mar 7 15:35:38 2008 +0000 windows-smb-writedata-crash-20080307 LICENSE MIT FIXES 88731 If an application opens a file for read only and then attempts to write to it, we would attempt to release an scp mutex without having obtained either the scp or the mutex within smb_WriteData There was no check in smb_ReadData to ensure that the file was opened for reading. Add one. commit fb154e60e3cb6cf9e934f9a75c5ca67473ac36a2 Author: Jeffrey Altman Date: Fri Mar 7 01:03:45 2008 +0000 windows-interlocked-volume-refcount-20080306 LICENSE MIT Switch cm_volume_t objects to InterlockedIncrement/InterlockedDecrement for reference counting. Remove protections against null pointers being passed into cm_GetVolume() Instead, do not call cm_GetVolume() if the pointer is NULL. Fix a buffer data version comparison that should be bad version number instead of <= 0. commit 2137631fb44d934d51979850ebfcb6a50076b095 Author: Derrick Brashear Date: Thu Mar 6 16:54:33 2008 +0000 dafs-restarting-error-change-20080306 LICENSE IPL10 on VSALVAGE the client will correctly resort its list and fail over to other replicas, but only for RO where there is more than one replica, obviously; since in dafs we expect to only delay on salvage this is the most useful course of action commit f58e08baae0a5ee9be516e9e220a12b78e5bf414 Author: Derrick Brashear Date: Thu Mar 6 16:41:14 2008 +0000 pioctl-settoken-malloc-fail-check-20080206 LICENSE IPL10 avoid malloc failure panic (oops) commit 6a631075c478794e998ad67d90e33d304521fbd3 Author: Jeffrey Altman Date: Thu Mar 6 14:33:09 2008 +0000 windows-afsd-misc-20080306 LICENSE MIT (1) an attempt to make better use of bandwidth from the BkgDaemon threads by preventing the thread from blocking on a vnode that is already storing data in another thread (2) prevents CM_SCACHEFLAG_ASYNCSTORE from being reset on a write failure. (3) fixes cm_EvaluateSysName to avoid accessing uninitialized memory (4) prevents a lock leak if the symlink's mountpointstring is too long. (This could never actually happen but better to correct the code.) commit b651ece9bdb2ea9dc19907a5686e9d084f3c03d6 Author: Derrick Brashear Date: Wed Mar 5 21:51:19 2008 +0000 large-partition-support-20080305 LICENSE IPL10 FIXES 88811 support partitions over 2tb commit 69f9b46e69bb7c8c9356b062a8f4908fe38ad14b Author: Jeffrey Altman Date: Mon Mar 3 04:24:17 2008 +0000 windows-scache-mx-to-rw-20080302 LICENSE MIT Replace the cm_scache_t mutex with a rwlock permitting a small amount of additional parallelization in places where it is safe to use read locks instead of write locks. All functions that eventually call cm_SyncOp must use write locks. commit ba94313f4030184890194c84f8d5c2f3f69f52d1 Author: Jeffrey Altman Date: Sun Mar 2 21:53:42 2008 +0000 windows-cm_buf-20080302 LICENSE MIT remove unused constants, data structures and fields commit af2318cfde026f5dc6b479089689dba63f7b8abc Author: Jeffrey Altman Date: Sat Mar 1 18:58:54 2008 +0000 windows-asyncstore-again-20080301 LICENSE MIT must write the entire asyncstoresize otherwise dirty buffers are left for writing by buf_IncrSync thread. commit b47407ae72491a129fc9ed6990585e426fc2a223 Author: Jeffrey Altman Date: Sat Mar 1 18:56:23 2008 +0000 windows-buf-more-clean-vnode-speedups-20080301 LICENSE MIT do not call buf_CleanAsync if you know the buffer isn't dirty commit 7083ceec5c21e500f23110152dcc994c7ccfab92 Author: Jeffrey Altman Date: Sat Mar 1 17:43:16 2008 +0000 windows-freelance-20080301 LICENSE MIT when support for multiple valid buffer data versions was added forget to remove the force dv change from the freelance code. this broken automatic additions of new mount points. commit fb3f10f3297c08807c0a3f0b345d88cd19742726 Author: Jeffrey Altman Date: Sat Mar 1 16:28:53 2008 +0000 windows-buf-mx-20080301 LICENSE MIT further reductions in buffer mutex acquisition churn commit 3b5a1acef030ad9208111511813a0b69c6a0de99 Author: Jeffrey Altman Date: Sat Mar 1 15:59:07 2008 +0000 windows-eventlog2-20080301 LICENSE MIT set the registry values on each start. otherwise, we will never update the incorrect entries left over from previous installs. commit e4df679d1bcc6fb7e3c3eb4169e489c172910628 Author: Jeffrey Altman Date: Sat Mar 1 15:37:09 2008 +0000 windows-eventlog-20080301 LICENSE MIT somewhere along the way Microsoft stopped opening Event Message files explicitly. Instead they search the PATH environment variable for the specified file. I think this is broken but simply registering "afsd_service.exe" instead of the fully qualified path works. commit b8cacec96969b044c1cfdd1919ca9e2e36999243 Author: Jeffrey Altman Date: Sat Mar 1 04:29:17 2008 +0000 windows-smb-asyncstore-20080229 LICENSE MIT fix it commit 114de458ca7717cf0bcda90df61f24495fe8f922 Author: Jeffrey Altman Date: Fri Feb 29 22:50:54 2008 +0000 windows-cm-buf-misc-20080229 LICENSE MIT (1) Add an undocumented store behind mode for use in testing. Set EnableSMBAsyncStore to 2. When set all smb_WriteData calls are background writes, all calls to cm_FSync are skipped and file close operations do not block for dirty buffers to be written. This permits all writes to be performed in the buf_IncrSyncer thread. (2) Do not use I64 in osi_Log() format strings as all parameters are converted to size_t which is 32-bit on 32-bit Windows. (3) Reduce the number of times the cm_buf_t mutex is obtained, dropped, obtained, dropped in buf_IncrSyncer (4) In buf_CleanAsyncLocked, request that a full chunk be written instead of just the current buffer. cm_SetupStoreBIOD will stop at the first clean buffer. This reduces the overall number of RPCs that must be performed. (5) Define CM_BUF_VERSION_BAD and use it instead of -1. commit fccf05a96d038a1a911a95d309ecb08090d2c6a1 Author: Jeffrey Altman Date: Fri Feb 29 15:45:21 2008 +0000 windows-dnlc-20080229 LICENSE MIT even if dnlc is not going to be used, the data structures must still be initialized as they are in the cache file. commit 737c03a75c62b3cd0ec92b33aea84d33dc39c2e7 Author: Simon Wilkinson Date: Fri Feb 29 15:07:08 2008 +0000 configure-enable-warnings-20080228 LICENSE IPL10 add a switch to turn on warnings when using gcc commit 8ffc274282fa40c6e2d35ba861b9dc932afa032d Author: Kevin McBride Date: Fri Feb 29 04:41:50 2008 +0000 checkauth-unlock-before-return-20080228 LICENSE IPL10 only matters once you have pthreads, but... commit 502aca9e8ccff36d0c10203c66200e526d2273b3 Author: Jeffrey Altman Date: Fri Feb 29 01:26:45 2008 +0000 windows-libadmin-closesocket-20080228 LICENSE MIT On Windows close() does not apply to sockets, use closesocket() instead. commit 0546641c0da59289d03a9417984fe5f7e5636a75 Author: Jeffrey Altman Date: Thu Feb 28 18:21:53 2008 +0000 windows-buf-deadlock-20080228 LICENSE MIT avoid deadlock in buf_FlushCleanPages(). cannot obtain buffer mutex after a successful Stabilize call because the scp will be be locked and obtaining buffer mutex after scache mutex is a lock order violation. commit e9f7894e3576ef9e01234966f7869440f1823718 Author: Jeffrey Altman Date: Thu Feb 28 17:16:28 2008 +0000 windows-smb-lock-timeouts-20080228 LICENSE MIT Attempts to open files which are already write-locked by another client took forever to return a lock not granted error. This was because cm_Analyze() would retry the lock request for up to the RDRtimeout in response to the EAGAIN error. The problem was that cm_IntSetLock() was not setting the CM_REQ_NORETRY flag. While examining this issue, discovered two other things: (1) the infinite wait logic on lock request processing was broken (2) the cancel outstanding lock request logic wasn't implemented (3) cm_Analyze() would put the thread to sleep even when retries were not permitted. Also removed a number of compile time warnings. commit 023d3f3bae273d7af16d52fd0c468fc05653abe5 Author: Derrick Brashear Date: Wed Feb 27 22:26:31 2008 +0000 arm-lwp-adm-20080227 LICENSE IPL10 don't use ucontext lwp on arm linux commit 72687c02b6ee5ff3029937b0278733b252f14550 Author: Jeffrey Altman Date: Wed Feb 27 17:03:30 2008 +0000 windows-osi-convertRToW-and-logging-optimizations-20080227 LICENSE MIT Add lock_convertRToW which permits a read-lock to be upgraded to a write lock. If the caller is the only reader it permits a fast transition otherwise it adds the caller to the waiters queue. In the osi_Log macros, check to see if the log is enabled before making the function call. This avoids significant function call overhead. In the cache manager, make use of the above. commit 107899cefaeebe693f8025e9c0d88784facd2236 Author: Jeffrey Altman Date: Wed Feb 27 04:53:45 2008 +0000 windows-dnlc-20080226 LICENSE MIT Remove race conditions in the statistics code by switching to Interlocked functions. Speed up cm_dnlcEnter() by searching first with a read lock and then switching to a write lock if not found. Add HKLM\SOFTWARE\OpenAFS\Client registry values "UseDNLC" and "Debug"DNLC". I suspect with the B+tree code that the DNLC is unnecessary overhead but leave it on by default for now. commit 428cac5d6dfc287452af51c08eba0f0fca276864 Author: Jeffrey Altman Date: Tue Feb 26 04:13:16 2008 +0000 viced-cleanup-old-addresses-as-they-become-invalid-20080225 LICENSE IPL10 otherwise we can end up with stale addresses when a client uses then leaves an address never to return commit dd72e06bf11fccd70cba32c4b6411a5e6ff3914c Author: Jeffrey Altman Date: Mon Feb 25 22:19:49 2008 +0000 windows-force-anon-vldb-20080225 LICENSE MIT For organizations with krb5 aware file servers but transarc or old openafs vldb servers, add force anonymous vldb lookup option HKLM\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemon\Parameters DWORD "ForceAnonVLDB" (default is 0) commit f4f7ac048c52f859000a0d42640f0a6d43cc942a Author: Jeffrey Hutzelman Date: Mon Feb 25 20:38:09 2008 +0000 threadquota-enforcement-fixes-20080225 LICENSE IPL10 FIXES 87416 correctly set and unset HWHO_INPROGRESS as we pass through host probing package. also, do not block on lock checking for HOSTDELETED. instead, return a null host and VBUSY; restructure code to allow returning a null host with prejudice. commit d8c932ed73039777f5e21e70d6850325061f8241 Author: Jeffrey Altman Date: Mon Feb 25 19:34:44 2008 +0000 windows-volume-logsavestring-20080225 LICENSE MIT remember to save the volume name when logging commit 704fddccd0f714c848b37ccee427f8eeded53bd6 Author: Jeffrey Altman Date: Mon Feb 25 15:31:21 2008 +0000 windows-smb-asyncstoresize-20080225 LICENSE MIT Further testing on the 115KB AT&T Edge connection shows that 128KB provides reasonably robust performance with six simultaneous copies of multi-MB files to AFS. commit f95915a55ae579bab4052f24f6fedca21d114567 Author: Jeffrey Altman Date: Mon Feb 25 05:33:54 2008 +0000 windows-smb-async-store-20080224 LICENSE MIT Add two new configuration knobs to control the behavior of smb_WriteData. HKLM\SOFTWARE\OpenAFS\Client DWORD EnableSMBAsyncStore (default: 1) DWORD SMBAsyncStoreSize (default: 32K) Instead of tying the async store size to either the chunksize (too large) or the buffer block size (too small) provide an intermediate value that can be independently controlled. In the future it would be desireable for the async store size to be dynamically determined based upon measurable characteristics of the network. In the meantime, 32KB is an acceptable performance compromise that should work well on 1Gbit networks and low-speed cellular networks. commit 27dc7b13aa6356ba76916e47c6ddb48aa4b99846 Author: Derrick Brashear Date: Mon Feb 25 04:57:47 2008 +0000 nulluuid-check-only-valid-input-20080224 LICENSE IPL10 as reported by jhutz@cmu.edu commit f52c6e1bc020a0985d2bc168d06b2c87fe7a2797 Author: Jeffrey Altman Date: Sun Feb 24 15:33:52 2008 +0000 windows-scache-clean-bufs-20080224 LICENSE MIT In MergeStatus, only remove clean buffers from the hash table. commit 9e41258fad54e3122a0722b3f1c24810590c8d0a Author: Jeffrey Altman Date: Sun Feb 24 06:31:54 2008 +0000 windows-buf-data-versions-20080224 LICENSE MIT An implementation of Asanka's idea. Avoid the need to update the data version number on each buffer associated with a scache when MergeStatus is called after a StoreData by maintaining a range of valid data versions as part of the cm_scache_t object. commit 812ac61cfd3601abb1373f6d3f9e4d52c2ff61b9 Author: Jeffrey Altman Date: Sun Feb 24 06:27:38 2008 +0000 windows-optimize-access-20080224 LICENSE MIT profiling shows large numbers of blocked calls in cm_HoldSCache from cm_HaveAccess... We can safely avoid the call so do so. commit c73b73ee33c37aee2c52051005a12ad36fde70d4 Author: Asanka Herath Date: Sat Feb 23 21:35:56 2008 +0000 windows-checkntopen-20080223 LICENSE MIT do not forget to call cm_SyncOpDone if cm_SyncOp succeeded commit 8bddb4892bb815076861507f8ae781ae2c3f3310 Author: Jeffrey Altman Date: Sat Feb 23 21:12:54 2008 +0000 windows-buf-createlock-20080223 LICENSE MIT Do not leak a read lock on the bufCreateLock Add logging to cm_CheckNTOpen[Done] commit 12c6cfd4435c5a491e613e6394fabeeed4d81447 Author: Jeffrey Altman Date: Sat Feb 23 07:27:17 2008 +0000 windows-buf-scache-interlock-20080222 LICENSE MIT Improve parallelism by using InterlockedIncrement and InterlockedDecrement to adjust the refCount fields of cm_buf_t and cm_scache_t objects. This permits read locks to be used for increments and decrements but requires a write-lock to perform any actions based upon the refCount hitting zero. Inline cm_FidCmp to further improve performance. Remove unused variables. commit dcef8fa4adc4c2cdc166494979d77d91c40c1f06 Author: Jeffrey Altman Date: Sat Feb 23 00:15:22 2008 +0000 windows-afsd-20080222 LICENSE MIT 1. Change RxEnableHotThread default to 'on' 2. Add a 'hash' value to the cm_fid_t structure in order to speed up cm_FidCmp(). Add cm_SetFid() for use in constructing a fid complete with the hash. 3. Redefine the BUF_HASH and BUF_FILEHASH in terms of the cm_fid_t hash which has a better distribution 4. Modify cm_ConsiderPrefetch to evaluate the amount of data in the most recent read request instead of the next chunkSize. cm_chunkSize can be dozens or hundreds of buffers. As a result too much time is spent performing the evaluation. 5. Fix the usage of cm_scache_t bufCreateLock. The purpose of this lock is to prevent the creation of new buffers while a truncation is being performed. All references to bufCreateLock have been removed except in two places: i. a write-lock surrounding the function that calls buf_Truncate() ii. a read-lock within buf_GetNewLocked() that actually allocates new buffers 6. Modify the CM_CONFIG_DATA_MAGIC value to include a CM_CONFIG_DATA_VERSION number which value be used to force the replacement of the cache file contents when incompatible changes are made between releases. 7. CM_SCACHESYNC_ASYNCSTORE should not be ordered by cm_SyncOpCheckContinue 8. Avoid calls to multi_Rx if nconns == 0 9. Modify smb_WriteData to perform background writes based upon the crossing of buf_blockSize boundaries instead of cm_chunkSize boundaries. This will slow down writes from the SMB interface but will avoid the risk of the CIFS client disconnecting from the AFS client SMB server. commit cd9ce022ee97bee809e840be8612aafb2cbfc6b8 Author: Derrick Brashear Date: Wed Feb 20 21:31:02 2008 +0000 debian-packaging-update-20080220 LICENSE IPL10 Russ' metadata, repacked into our tree commit 49d77d8d4b8c26a56143a3655d460a6495f7d57a Author: Derrick Brashear Date: Wed Feb 20 20:18:03 2008 +0000 vos-addsite-pod-error-20080220 LICENSE IPL10 Item is not item commit d5c32c97a01f02cd69e2167964b43d83c6d413fb Author: Derrick Brashear Date: Wed Feb 20 20:07:51 2008 +0000 urecovery-invalidate-without-truncate-20080220 LICENSE IPL10 critical to label the database invalid when we don't truncate so recovery finishes. issue in 84609 remains. commit d48e3d1e7a5a5d065a0046b9115043bed47510a7 Author: Jeffrey Altman Date: Wed Feb 20 17:35:45 2008 +0000 windows-smb-locking-20080220 LICENSE MIT minor improvements to smb_rctLock usage. commit dd4ecb4ca0467d9f5727de1bfe9082f195330b99 Author: Jeffrey Altman Date: Wed Feb 20 17:32:53 2008 +0000 windows-rx_enable_hot_thread-20080220 LICENSE MIT Add RxEnableHotThread registry option to permit rx_enable_hot_thread to be set. The default is off for the moment but turning it on does provide significant performance benefits. commit 5067e6786dc93b8760edf6b1b9d92c3999caea7e Author: Jeffrey Altman Date: Wed Feb 20 17:17:21 2008 +0000 rx-osi_socket-20080220 LICENSE MIT The portable type to be used for sockets is osi_socket not int. On 64-bit Windows this caused failures when hot threads were enabled. commit 897c36027476843db988b9d0625a8fc189c8716d Author: Jason Edgecombe Date: Tue Feb 19 15:25:17 2008 +0000 man-page-updates-20080219 LICENSE IPL10 FIXES 86677 note 2tb limit, add fs minidump document commit 4bd64596caebf79962db441782082d07c2de9e4e Author: Mike Meffie Date: Tue Feb 19 15:07:24 2008 +0000 s390x-not-s390-20080219 LICENSE IPL10 don't try to link multiple things to asm commit 19b829d21934d60ab0b1af3ef0c7eefb2cce17b6 Author: Rainer Toebbicke Date: Tue Feb 19 14:29:42 2008 +0000 viced-rmdir-fid-leak-20080219 LICENSE IPL10 FIXES 86786 commit c2de3a1623441f93b119dbdbd772bfa81973b230 Author: Derrick Brashear Date: Tue Feb 19 04:10:44 2008 +0000 windows-name-entries-20080218 LICENSE IPL10 restore the original behavior. Fixes smb_ReceiveTran2SearchDir(). commit 1e4c03deecee1671703af891dbaf11e11b0dd5c8 Author: Derrick Brashear Date: Tue Feb 19 03:39:06 2008 +0000 arm-linux26-syscall-missing-20080218 LICENSE IPL10 there's nothing non-political about this. whatever. commit 7421feda944d5fa05f5223528a69f23a7bb0b724 Author: Derrick Brashear Date: Mon Feb 18 19:19:12 2008 +0000 viced-qsort-cba-before-multibreakcallback-to-avoid-lockup-20080218 LICENSE IPL10 my code, though, this is a result of a problem reported by Chaskiel Grundman and analysis by him, Jeff Altman and myself. I'm just checking in my implementation. In any case, the issue this addresses is one where we can end up in makecall_waiting in rx on multiple connections when we multibreakcallback because the lists are sorted differently and each has "pending" calls on a different connection. by sorting by index we will not block on another caller while also holding what they're after commit 7a290f39ec303cb3473f63f7d9c634e767191279 Author: Jeffrey Altman Date: Mon Feb 18 17:33:45 2008 +0000 windows-do-not-discard-badtickets-20080218 LICENSE MIT The RXKADBADTICKET error is returned when a krb5 derived token is sent to a server that does not support them. In a mixed cell it is possible that some servers were not updated. Discarding the token does not make it possible to perform the request successfully and adversely affects the user experience because those servers that do support the token can no longer be accessed in an authenticated manner. Users can't determine what the cause is, all they see are their tokens disappearing and there is nothing they can do about it anyway. From now on return STATUS_NO_KERB_KEY and do not retry. commit 5fd85f53f26ba1f0649b8a8c68d3abb1c5159eb9 Author: Jeffrey Altman Date: Mon Feb 18 17:27:48 2008 +0000 rx-stats-optimization-20080218 LICENSE IPL10 Do not grab the peer mutex or the rpc stats mutex if we are not intending to collect stats. Doing so is a bottleneck. commit f5645ccffe05f2c1b44d5ba1adb32ba45e26aae8 Author: Jeffrey Altman Date: Mon Feb 18 14:13:59 2008 +0000 windows-afskfw-20080218 LICENSE MIT if we are going to insert the full ccache name then we must search by it as well. commit 72da5c434c8caef0cb81523091915738e7e930ed Author: Jeffrey Altman Date: Mon Feb 18 05:52:34 2008 +0000 windows-share-parse-20080217 LICENSE MIT add srvsvc and wkssvc to reserved names in smb_ShareParse. include slash in ipc$ reference in dfs referrals check. commit 55aa6f04dcfebae134b3459944e005599d06ef05 Author: Asanka Herath Date: Sun Feb 17 14:33:26 2008 +0000 windows-netidmgr-extension-sample-20080217 LICENSE MIT A sample template for constructing Network Identity Manager OpenAFS Provider Extensions for obtaining and identifying new token types. commit 38c2524bd16f1e535ea28f9d0788b7eaa8d26c3d Author: Jeffrey Altman Date: Sun Feb 17 05:58:13 2008 +0000 windows-invalidate-file-locks-vnovnode-20080217 LICENSE MIT Upon receiving a VNOVNODE error from a file server, be sure to invalidate any file locks. This prevents on-going attempts to extend the locks and will cause subsequent attempts to access the file to receive a invalid handle error. commit 33bed6296114e16914cecf312c762774d44386c8 Author: Jeffrey Altman Date: Sun Feb 17 05:26:51 2008 +0000 windows-buf-consistency-20080217 LICENSE MIT All calls to buf_Get() must be protected by a read lock on the cm_scache_t bufCreateLock When a MergeStatus results in the invalidation of buffers, do not remove buffers from the hash tables that have active references. commit 935c49a2a6efa476c327e8a24fc4895f0c8f623d Author: Jeffrey Altman Date: Fri Feb 15 03:31:04 2008 +0000 windows-check-offline-volumes-20080214 LICENSE MIT when checking offline volumes, update the cell vlserver info if required and don't perform a check if there are no servers in the list. commit 4aad2a7b6bcf97af384de36994af94b7b4b07f98 Author: Jeffrey Altman Date: Fri Feb 15 03:24:52 2008 +0000 windows-afsd-rx-extrapackets-20080214 LICENSE MIT Add support for specifying rx_extraPackets in the Windows client commit 9babb9f88f0e101d06f6b447a4b5ad4316fa2d07 Author: Simon Wilkinson Date: Thu Feb 14 19:26:39 2008 +0000 mockbuild-20080214 LICENSE BSD driver script for mock massbuilds commit 093433b981cd1917215a4ee6196c5a0a55352d92 Author: Jeffrey Altman Date: Fri Feb 15 03:23:44 2008 +0000 windows-volstat-vl-unknown-20080214 LICENSE MIT Add volumes in the vl_unknown state to the list of objects to be checked as offline or retried when an allbusy error is received in cm_Analyze. commit 1133cc441862f3f0d44f0ab380a7274ead672b0f Author: Jeffrey Altman Date: Thu Feb 14 19:19:38 2008 +0000 windows-vnovol-20080214 LICENSE MIT avoid a crash when logging VNOVOL errors returned from cm_CheckOfflineVolume commit 00bada9c5eb803c13a6b930e79684a470cf94278 Author: Jeffrey Altman Date: Fri Feb 15 03:18:42 2008 +0000 windows-osilog-savestring-20080214 LICENSE MIT When osi_Log is disabled, osi_LogSaveString will no longer copy the provided string into the circular log buffer. This saves a huge amount of time. commit 588a229110c92bd82b819916260ee9727759c4a0 Author: Jeffrey Altman Date: Wed Feb 13 05:57:27 2008 +0000 windows-smb-special-share-names-20080212 LICENSE MIT Treat srvsvc, wkssvc and ipc$ as pseudo files. Permit them to be opened and closed without actually existing. For now we treat them as equivalent to ioctls but this should eventually change. Fix RAP processing to not reject names that exist in the root.afs volume for GetInfo queries. commit 44c20384ed5c0fdb4bce737a2a3c2b9c0af4472b Author: Jeffrey Altman Date: Wed Feb 13 05:43:16 2008 +0000 windows-dfs-referrals-20080212 LICENSE MIT Add "ipc$" to the list of names that must not be automatically added as a share name. If the sharename is a partial match and therefore will not be added automatically to the share list, make sure that we return an error to the requestor. commit 31990decdef84adc1c9033944fcc59910720c834 Author: Derrick Brashear Date: Wed Feb 13 05:27:15 2008 +0000 redhat-openafs-kmodtool-20080213 LICENSE IPL10 rename to be specific to us. commit e9e1d1a39bfe047a38f153afdc2fe8951174135c Author: Jeffrey Altman Date: Tue Feb 12 14:00:41 2008 +0000 windows-no-wx-20080212 LICENSE MIT Warnings as errors are nice, but when different compiler versions stop building simply because a parameter is not being referenced in a meaningful way its time for the option to be turned off commit a5e5736c67cdf3d08bce548447bc7635b65329c2 Author: Jeffrey Altman Date: Tue Feb 12 13:29:36 2008 +0000 windows-no-more-rpcns4-dll-20080212 LICENSE MIT Remove all references to rpcns4.lib and its included functions RpcNsXXX. These APIs are no longer supported on Vista. Except for TaAfsAdmSvr they had been commented out for a long time but we still continued to link to the library. Loading the library generates a no longer supported error on Vista. So lets get rid of it. commit 512ec8f51880d4e9e1cc5564bd27991a2c2915d6 Author: Jeffrey Altman Date: Tue Feb 12 13:16:20 2008 +0000 windows-afscreds-username-20080212 LICENSE MIT Use GetUserNameEx to obtain the username instead of searching the registry. Try UserPrincipalName first and fallback to SamCompatible. commit 7a8d8da95f5bd23fbb97d93840f3a2c5a145a695 Author: Jeffrey Altman Date: Mon Feb 11 16:42:45 2008 +0000 windows-afscreds-vista-uac-20080211 LICENSE MIT FIXES 82701 Modifying the registry and the startup shortcuts is not permitted under Vista UAC. Generate an error dialog and notify the end user. commit 61bb3b7f096f3b10075dcb1403879e3ec518276b Author: Jeffrey Altman Date: Mon Feb 11 14:45:43 2008 +0000 windows-freelance-20080211 LICENSE MIT Do not return BAD_NETWORK_ERROR in response to attempts to create directories or files in the Freelance root.afs volume. Instead return ACCESS_DENIED. BAD_NETWORK_ERROR was being sent because the Freelance cell has no vldb servers. Short circuit the error by testing for freelance in CreateFile and MakeDir commit a5dbdd03b8187f0c2c146f330e9adc42e103432c Author: Derrick Brashear Date: Mon Feb 11 03:58:49 2008 +0000 magic-vnodes-20080210 LICENSE IPL10 add magic vnodes like the magic mounts we already have. you can now cons up any afs vnode if you know the cell and fid. commit b44afa839b7c5dd33ab83958f0871edac32fc7ac Author: Derrick Brashear Date: Mon Feb 11 03:42:40 2008 +0000 vos-syncv-dryrun-20080210 LICENSE IPL10 add a dryrun mode to vos syncvldb and syncserv commit c61712de68f6bcb59eac29cb59e9ae78d98cf179 Author: Tom Keiser Date: Mon Feb 11 03:35:43 2008 +0000 dafs-vol-updates-20080210 LICENSE IPL10 make sure status is consistent in vol package when doing dafs commit d7235b1493917250a163dc4336f8b6ac83c6a07e Author: Jeffrey Altman Date: Mon Feb 11 00:13:50 2008 +0000 windows-windows-pipes-20080210 LICENSE MIT do not search for cellnames that match srvsvc or wkssvc pipes commit cd82af9d4e50798e8fe5cf0f2f022f1f40e2b59e Author: Jeffrey Altman Date: Sat Feb 9 02:30:17 2008 +0000 windows-wow64-registry-20080208 LICENSE MIT Enable the 32-bit tools that are distributed for use in the WOW64 environment to access the 64-bit registry keys instead of the 32-bit versions. This will remove the need to support both 64-bit and 32-bit versions of the values. commit 0caf7c54dfac30c92587031af6a902f4d33b2e22 Author: Jeffrey Altman Date: Sat Feb 9 02:26:28 2008 +0000 windows-vnodeops-20080208 LICENSE MIT Add support for returning RANGE_NOT_LOCKED errors Do not attempt to add a mount point for share names of the form . Its just a big waste of time. DNS queries and CellServDB file searches are expensive. commit 607c0959f085a6d8283f78a9969c450930cab084 Author: Derrick Brashear Date: Fri Feb 8 21:19:02 2008 +0000 rx-kill-void-stupidity-20080208 LICENSE IPL10 remove VOID since it conflicts with this. and we shouldn't need it anymore anyway commit 629feb40c46658d08e5dc3e6dcd1114996b8c734 Author: Jeffrey Altman Date: Fri Feb 8 01:20:01 2008 +0000 windows-scache-locks-20080207 LICENSE MIT add lock assertions to ensure we are holding write locks when manipulating scache refcounts commit 1c0c38b91836db8e90c73f340dd302000950a539 Author: Jeffrey Altman Date: Thu Feb 7 21:40:08 2008 +0000 windows-fs-utils-20080207 LICENSE MIT Use ismeta() correctly when parsing integer strings. commit bb2dc54732c865f37b0e9c5b928c850daa795b4d Author: Jeffrey Altman Date: Thu Feb 7 21:20:02 2008 +0000 windows-scache-refcount-race-20080207 LICENSE MIT if we are going to call a NoLock function better be holding the lock commit f2be22f71001852d5d461b34ba2c13d3d53d5e10 Author: Jeffrey Altman Date: Thu Feb 7 20:27:47 2008 +0000 windows-multi-check-servers-20080207 LICENSE MIT for multi must compute the host string from the ip address for each server commit 1a95df210c51a4e1416e5996b99c5640e4265255 Author: Jeffrey Altman Date: Thu Feb 7 14:47:25 2008 +0000 windows-volstat-20080207 LICENSE MIT When updating the volume status do not introduce a deadlock by holding cm_serverLock commit 04cac1963a4716e57447b28c00629f0ef5a15258 Author: Jeffrey Altman Date: Thu Feb 7 06:13:11 2008 +0000 windows-volstat-20080206 LICENSE MIT Ensure that the volume status is always updated after a server_ref status change. commit 5d61f37949fd561f4c9d777cc67c5fd3db835e29 Author: Jeffrey Altman Date: Wed Feb 6 19:29:44 2008 +0000 windows-multi-check-servers-20080206 LICENSE MIT do not leak references remove signed vs unsigned warnings retry all RXGEN_OPCODE responses regardless of whether or not the entry had to be moved to consolidate the list. commit d78bff3dbd561f9d0f4976eeb264e601216a37c6 Author: Jeffrey Altman Date: Wed Feb 6 17:53:12 2008 +0000 windows-shell-add-symlink-20080206 LICENSE MIT No longer attempt to validate the target of the symlink. There is no method of doing so reliably. commit a0e454bd41ec8b363f7669d620d4ff3caa8caf1d Author: Jeffrey Altman Date: Wed Feb 6 16:45:29 2008 +0000 windows-vnovol-20080206 LICENSE MIT VNOVOL means the volume could not be attached which from the client perspective is the same as being offline. The VLDB should not be queried in response to this error. commit 0254b1a8810c3ef9692c0c77f9851b563ea70832 Author: Derrick Brashear Date: Wed Feb 6 12:20:07 2008 +0000 hpux-dafs-inline-functions-20080206 LICENSE IPL10 fix this for hpux commit 66d8633b460448d538178719206bf0b7b3989406 Author: Jeffrey Altman Date: Wed Feb 6 02:08:32 2008 +0000 windows-cleanup-head-20080205 LICENSE MIT cleanup junk that does not belong commit 8274eb91f1c0fd94f3982ae6f12d8dcb8f388f44 Author: Derrick Brashear Date: Wed Feb 6 01:23:50 2008 +0000 linux-rx-kernel-listener-kill-task-directly-20080205 LICENSE IPL10 as reported by cg2v@andrew.cmu.edu commit 9732b4bb94a921a2a6bff0f985e44d04afacebd9 Author: Jeffrey Altman Date: Wed Feb 6 01:13:47 2008 +0000 window-wix-dependencies-two-20080205 LICENSE MIT afsvosadmin.dll is required by translate_et.exe commit b85428263c75316ff8fd15c188617f4eb02670a8 Author: Jeffrey Altman Date: Tue Feb 5 20:48:30 2008 +0000 windows-pioctl-path-charset-translation-20080205 LICENSE MIT FIXES 84279 Do not translate the character set of the pioctl path data. These paths were not provided by the file system but by the end user. Therefore, they were not converted to the OEM character set. With this change the AFS shell context menu will be displayed for non-ASCII file names when ANSI file names are being used as well as the fs commands will work. commit df5cfb3de1deae455d264780d3987c7fa6f33d2c Author: Jeffrey Altman Date: Tue Feb 5 17:37:21 2008 +0000 windows-multi-checkservers-20080205 LICENSE MIT Instead of probing servers one at a time, use multi_rx versions of RXAFS_GetCapabilities, RXAFS_GetTime and VL_ProbeServer to permit simultaneous probing of servers in constant time regardless of the number of servers. commit 5c7dfcad135a1c34942d264be2b72196e3b96003 Author: Jeffrey Altman Date: Tue Feb 5 17:24:15 2008 +0000 multi-rx-calls-20080205 LICENSE MIT Add multi versions of RXAFS_GetCapabilities, RXAFS_GiveUpAllCallBacks, and VL_ProbeServer. commit 0088e5cb20c90a899aacb62cd13b57a7bbe13432 Author: Jeffrey Altman Date: Tue Feb 5 17:17:44 2008 +0000 rxgen-multi-prototypes-20080205 LICENSE MIT When 'multi' is applied to an RPC definition, rxgen produced split prototypes, Start and End, but failed to produce the prototype for the normal RPC call. commit ac614c7609f61394da1ea425940a09bf98fbc0ea Author: Jeffrey Altman Date: Tue Feb 5 17:10:34 2008 +0000 windows-down-time-20080205 LICENSE MIT use clock time instead of osi_Time() for server down time tracking for proper comparison with expiration times. commit db20cd6b718096530e8b2a5f7df7818c4a07783b Author: Jeffrey Altman Date: Tue Feb 5 17:07:13 2008 +0000 windows-check-offline-volumes-20080205 LICENSE MIT Do not hold the cm_volume_t mutex across the RPC commit 48fe8ad6ab68620dbfc26ad44f078c01ba5174c5 Author: Jeffrey Altman Date: Tue Feb 5 16:56:49 2008 +0000 windows-wix-translate_et-20080205 LICENSE MIT Install the dll dependencies for translate_et as part of the client component. commit 08ca5fc1e1c883a5fc6b55cb076540845585243f Author: Jeffrey Altman Date: Mon Feb 4 22:41:28 2008 +0000 dafs-windows-vnode-locking-20080204 LICENSE MIT allow Windows to build with dafs-vnode-locking-20080204 commit 496b5e4c978dec000c5f1e318968d74f8818d60b Author: Simon Wilkinson Date: Mon Feb 4 19:41:49 2008 +0000 pts-localauth-20080204 LICENSE IPL10 distilled from changes by mdw@umich.edu commit ed25934c1fe96b143715025b49104e75dce9a361 Author: Tom Keiser Date: Mon Feb 4 18:50:54 2008 +0000 dafs-vnode-locking-20080204 LICENSE IPL10 FIXES 84778 * Vnode package concurrency model was overhauled. Unlike the old model, where concurrency was controlled via reader/writer locks, the new model uses a per-vnode finite state automata. * add several new volume states to deal with volume vnode list operations * a new FSSYNC command code was added to allow volume utilities to close out a volume operation without causing the fileserver to mount the volume * a new FSSYNC command code was added to allow volume utilities to transition a volume into a hard error state * the salvageserver has been modified to keep volume group partition path data coherent with the fileserver (like many other parts of the volume package, this code assumes all members of the group are stored on the same vice partition) * make salvageserver correctly handle volume state when a child worker process terminates abnormally * update volume pre-attachment code to deal with move volumes across partitions on the same server * add volume state sanity checks to more volume package interfaces * original vos online patch introduced a race condition; rearchitect vos online/offline to eliminate race condition, and reduce i/o load caused by operation * unify duplicate code in volserver related to servicing vos examine and vos listvol requests * add doxygen formatted comment blocks to numerous volume package elements * various updates to fssync-debug to allow dumping vnode state, and updates to deal with added volume and vnode states * several 1.5-specific fixes related to fssync and salvsync commit 647bbb509ddf59b80ce9965e89ac13ea26952e0f Author: Jeffrey Altman Date: Mon Feb 4 04:05:00 2008 +0000 rx-xdr_rec-type-error-20080203 LICENSE MIT x_inline second parameter is unsigned commit f68eb88ac0af27371232903de837de57f0790056 Author: Jeffrey Altman Date: Mon Feb 4 03:56:13 2008 +0000 kauth-windows-handle-leak-20080203 LICENSE MIT close() does not close sockets on Windows commit 80fc057c4dc0b3373723a19eeb6a9fa12a71f301 Author: Jeffrey Altman Date: Mon Feb 4 03:50:05 2008 +0000 rxmaxmtu-printf-format-error-20080203 LICENSE MIT correct improper format string commit 270cb6a9c9903d92b9b6276a542968667056066a Author: Jeffrey Altman Date: Sat Feb 2 22:25:40 2008 +0000 windows-vista-resume-smb-binding-20080202 LICENSE MIT another plane trip, more tweaks to the logic for handling re-binding of the netbios name after a power management resume event. commit d52f19ca0aacdbfdf64bdeaae4153c1f2ec7f385 Author: Jeffrey Altman Date: Sat Feb 2 22:22:20 2008 +0000 windows-dfs-referrals-symlinks-20082002 LICENSE MIT another small tweak to ensure that we don't create a symlink for "fo" when a mountpoint or symlink for "foo" exists commit d094c65f14e674dfc334b9c6b3f5ac871e3dd1e6 Author: Jeffrey Altman Date: Sat Feb 2 13:38:50 2008 +0000 windows-cellservdb-location-20080202 LICENSE MIT Modify the search order for determining the location of CellServDB and other client configuration files. 1. AFSCONF environment variable 2. registry setting 3. NEW - use All Users\AppData\OpenAFS\Client only if CellServDB exists 4. use Program Files\OpenAFS\Client commit 753ba70cf257aded0fae158c556a25ca72243214 Author: Jeffrey Altman Date: Sat Feb 2 02:46:16 2008 +0000 windows-more-cellservdb-consolidation-20080201 LICENSE MIT Merge cellconfig.c and the afsreg library. Redefine the location of the client cellservdb directory in dirpath in terms of the cellservdb direction and not the install directory. (although they point at the same thing now by default.) Future changes to the location of the cellservdb directory should be made in afsreg. commit c9339265f7036dd465a4bbf8e762fc246f45d6a4 Author: Jeffrey Altman Date: Sat Feb 2 00:23:44 2008 +0000 windows-client-config-cellservdb-20080201 LICENSE MIT modify cellservdb.c to use cm_GetCellServDB() from libafsconf.dll. This results in both libadmin and the afs client control panel using the same CellServDB as the rest of the system. commit f224734230f6bfd27f1a1dfa159d1f38797c7999 Author: Jeffrey Altman Date: Sat Feb 2 00:18:27 2008 +0000 windows-build-system-20080201 LICENSE MIT re-order the building of directories so that libafsconf.dll is built before other directories that might want to use it. commit 0f41a173925407cc7f6a597477ba25691f73d119 Author: Jeffrey Altman Date: Fri Feb 1 21:42:17 2008 +0000 windows-refactor-cm_config-20080201 LICENSE MIT cm_config.c was a nightmare. there were several functions that each computed the location of the OpenAFS Client configuration directory in a slightly different way. Now there is a single exported function that determines the directory, and another that determines the name of the CellServDB file. All of the other functons in cm_config.c and throughout the src/WINNT/afsd directory now use those two functions. The new rule for determining the location of the OpenAFS Client configuration directory and hence the CellServDB file location is: 1. check the AFSCONF environment variable 2. check the HKLM\SOFTWARE\OpenAFS\Client CellServDBDir registry value 3. use AFSDIR_CLIENT_ETC_DIRPATH which currently refers to \Program Files\OpenAFS\Client commit 4fe2978f69f6314284d5689ea1d9169360155450 Author: Derrick Brashear Date: Fri Feb 1 21:31:32 2008 +0000 h-enumerate-less-heavyhanded-check-20080201 LICENSE IPL10 if hostCount is too small this is fine or at least not fatal commit 4ad35bd5aa431332bea866775278a6ae9d65a5e2 Author: Jeffrey Altman Date: Fri Feb 1 21:14:40 2008 +0000 windows-netidmgr-20080201 LICENSE MIT afs/stds.h before all others commit 43aa2bd2ba63e778f78d80b2a6a7d5ff991b0f97 Author: Simon Wilkinson Date: Fri Feb 1 15:25:52 2008 +0000 poll-drop-fsync-lock-20080201 LICENSE IPL10 update to drop fsync lock if we're using poll commit 462f1fb90defcb351657655442024f971705d945 Author: Derrick Brashear Date: Thu Jan 31 20:17:45 2008 +0000 solaris10-cleanup-friendliness-20080130 LICENSE IPL10 based on patch from mib@unimelb.edu.au clean up taskq after ourselves and don't leave ourself marked system processes commit 3d17e10e007ea3b4c3bd4a536a7e47c264d4701f Author: Jeffrey Altman Date: Thu Jan 31 16:09:56 2008 +0000 windows-noprobe-20080131 LICENSE MIT do not mark servers down if they are not probed. commit 03e72233178bf18a8978d62c3bcc4ebb743e6710 Author: Jeffrey Altman Date: Thu Jan 31 07:26:26 2008 +0000 windows-edquot-20080131 LICENSE MIT For Windows, EDQUOT == WSAEDQUOT. Define it in the right places so that in the end STATUS_OUT_OF_QUOTA can be returned to the application. commit 02a80e05a73d9df50fbd427e30ca862706afcbc1 Author: Jeffrey Altman Date: Thu Jan 31 05:47:34 2008 +0000 windows-fs-newcell-20080130 LICENSE MIT prevent the afs client service from crashing when fs newcell is executed commit 3d0ebe1f7841ac6ca9db593b587a13d85a950ac5 Author: Jeffrey Altman Date: Thu Jan 31 03:01:46 2008 +0000 windows-nsis-installer-20080130 LICENSE MIT move afslogon.dll, afscpcc.exe and afs_cpa.cpl to \Program Files\OpenAFS\Client\Program in order to get them out of the %windir% tree commit 9ce814aa99b6877843f38c7fdd8fde09cb2a743c Author: Jeffrey Altman Date: Thu Jan 31 00:25:59 2008 +0000 rx-edquot-20080130 LICENSE MIT Conditionalize error translation on the existence of EDQUOT not on platform macros commit 9751c68faaff4ab5e4fae7aaad082073ca4daebf Author: Simon Wilkinson Date: Wed Jan 30 17:30:23 2008 +0000 linux-keytype-exports-20080130 LICENSE IPL10 try to work even if key_type_keyring isn't exported commit c5afa335a8ffb86cf17c32173eb0e1c26500dd80 Author: Simon Wilkinson Date: Wed Jan 30 17:25:42 2008 +0000 linux-rx-kernel-listener-kill-task-directly-20080130 LICENSE IPL10 based on work from shadow@dementia.org since the tasklist lock and rcu stuff can/will be de-exported, and we don't need it anyway... commit 162cb95707f739170ab4a025a801a430c86ae70a Author: Jeffrey Altman Date: Wed Jan 30 14:53:44 2008 +0000 windows-ipaddr-change-server-deadlock-20080130 LICENSE MIT avoid a deadlock during server probes initiated by the ipaddr change daemon thread. (missed a case in DELTA windows-ipaddr-change-server-deadlock-20080106) commit 9023049040e5705ac5dc26800022973a1acefff2 Author: Alistair Ferguson Date: Tue Jan 29 20:39:31 2008 +0000 syncvl-fix-bogus-rw-update-20080129 LICENSE IPL10 pass in a ref to entry correctly commit 2542c5e07f52c89f25f290153f0b4669076ae654 Author: Jeffrey Altman Date: Tue Jan 29 00:20:33 2008 +0000 windows-lanahelper-20080128 LICENSE MIT The algorithms that were used to produce a Netbios name were broken. The name that was produced when the hostname was too long was in fact longer than the maximum permitted netbios name. Also, the "NetbiosName" value was not used as a suffix when the loopback adapter was not installed. The hardcoded string "AFS" was used instead. commit fffcc1dec3d4fc905239b2890cb4f960efdff4ba Author: Jeffrey Altman Date: Mon Jan 28 19:49:51 2008 +0000 windows-network-type-allocation-20080128 LICENSE MIT Microsoft has defined for us: #define WNNC_NET_OPENAFS 0x00390000 commit a0fd168db5e24fca5f08ccf67d53f58c6f05fa35 Author: Derrick Brashear Date: Mon Jan 28 19:29:49 2008 +0000 revert-linux-2624-rc5-updates-20080127 LICENSE IPL10 FIXES 83716 the generic 2.6.24 patch should address all this. commit 5a93678e3943fa2c71d51f25f84b4efd5f3700e6 Author: Marc Dionne Date: Mon Jan 28 19:13:46 2008 +0000 sysctl-table-checking-modpost-fun-fun-20080127 LICENSE IPL10 FIXES 83890 try again to do something sensible so we don't default wrong commit 36bdf1ccd859fb0039d8ae9abd04f9eea08d704d Author: Jeffrey Altman Date: Mon Jan 28 07:22:32 2008 +0000 windows-freelance-improved-dfs-handling-20080127 LICENSE MIT Cell names are published as share names. As a result they are searched for as part of the Dfs Referral evaluation. If share "foo" can not be reached, the CIFS client will fallback to searching for "fo" as well. Since the freelance client automatically adds a symlink for prefixes of the cell name, this results in both "foo" and "fo" being added to the freelance root.afs volume. This patch prevents that negative side effect. commit 3f3545024100f3efd7bb76925d3cb1b1c15ae3f4 Author: Jeffrey Altman Date: Mon Jan 28 07:12:09 2008 +0000 windows-afskfw-20080127 LICENSE MIT when tracking ccache names be sure to include the cache type prefix. commit 7526681ef5c57a4ffe0c343717c3ed65a9120768 Author: Derrick Brashear Date: Mon Jan 28 01:37:38 2008 +0000 afsdb-fix-20080126 LICENSE IPL10 pull bugfix from 1.4 commit 711dc57c7fa053efa58c02df8788da1a2c7889bf Author: Jason Edgecombe Date: Sun Jan 27 18:44:28 2008 +0000 macos-panic-decoder-20080127 LICENSE BSD panic log decoder from Jason. Still needs some work for Leopard but we should be able to make a go of this commit 7dc71d1154294cdc5f5aba4c3e58a00972318960 Author: Derrick Brashear Date: Thu Jan 24 23:55:02 2008 +0000 redhat-support-dkms-20080124 LICENSE IPL10 attempt to provide dkms support. this does work on my fc8 test host. it may not work in all cases. commit 80f7294490e1d1423a5f7482ed924dda8bab1ba8 Author: Mike Meffie Date: Thu Jan 24 23:44:38 2008 +0000 tests-update-20080124 LICENSE IPL10 update test scripting commit 89d93d9ad7862c5de0587a84d99c567bf5a61d14 Author: Jeffrey Altman Date: Thu Jan 24 16:05:58 2008 +0000 rxkad-v5-dot-check-20080124 LICENSE MIT Export rx_SetSecurityConfiguration on Windows commit d32156e5c1fb36994650754a11379df6ccc94909 Author: Jeffrey Altman Date: Thu Jan 24 15:29:56 2008 +0000 windows-get-volume-no-reset-flag-20080124 LICENSE MIT There are circumstances where a volume object is being accessed and the volume is marked indicating that the volume location information is out of date but where it is also pointless and perhaps dangerous to block waiting for the rpc to complete. One example is when processing the cmdebug requests. If we know that we are not going to use the volume object to contact a server, then we can now set the CM_GETVOL_FLAG_NO_RESET flag. commit 16a90b2f8dfe875991bca0dee516c531fcc3aeee Author: Jeffrey Altman Date: Thu Jan 24 15:17:57 2008 +0000 windows-symlink-dot-dot-20080124 LICENSE MIT when moving up in the directory tree we search the recorded fid list to find a matching fid that we have already crossed. we must also reset the fid count based upon what we discover. commit ef6fc588bcab9a59e54050899937407be962b074 Author: Derrick Brashear Date: Wed Jan 23 21:37:01 2008 +0000 redhat-spec-more-arches-20080123 LICENSE IPL10 support sprc, sparc64, ppc, ppc64, s390, s390x. we should be able to cope with all these. if not, fix it. commit 9a45a546747dad7a70b24b76b1a02bf398c22762 Author: Derrick Brashear Date: Wed Jan 23 13:47:23 2008 +0000 linux-key-type-detection-once-20080123 LICENSE IPL10 doubled configure test from 2 sources. commit 434c25fee15162dff64f2c18a971023b146d6118 Author: Simon Wilkinson Date: Wed Jan 23 05:29:03 2008 +0000 redhat-kmodtool-20080122 LICENSE IPL10 install simon's modified kmodtool commit 98a68f9b021a06d056fb3b97681b9cfc04873d55 Author: Simon Wilkinson Date: Wed Jan 23 04:13:55 2008 +0000 rxkad-v5-dot-check-20080122 LICENSE IPL10 FIXES 75101 give an option to not enforce the dotted principal check. document it. commit 0e8adf69538638b8caa56d9b1fa72beba74734bd Author: Derrick Brashear Date: Wed Jan 23 03:20:13 2008 +0000 viced-fsync-glock-creation-20080122 LICENSE IPL10 create fsync glock and cond before we initialize volume package. oops? commit 0fab6d9600769dd219fd6e968c4a6bae9ed5d497 Author: Derrick Brashear Date: Tue Jan 22 21:03:51 2008 +0000 redhat-packaging-keep-up-with-the-joneses-20080122 LICENSE IPL10 track new manpages commit e1c4e77d13122c2bb66d532ffd9dfc2e75318c04 Author: Derrick Brashear Date: Tue Jan 22 05:15:15 2008 +0000 vos-volser-enhancements-20080121 LICENSE IPL10 add option to addsite to allow adding a site where there is already a release- equivalent volume resident, where thus we don't want to mark unreleased (possible by dumping an existing RO and restoring with -readonly at the new site) add ability to vos clone to a readonly or backup with the correct ID and name add ability when restoring a RW to a new site to leave the volume at the old site intact all changes are internal to vos and can be used with any OpenAFS from 2006 or later (supporting changes in namei to not create volumes with bad parent id went in in December 2005) commit 1181ea034623541765fbc5c23df55ebaf577c083 Author: Mike Meffie Date: Mon Jan 21 21:04:35 2008 +0000 tests-update-20080121 LICENSE IPL10 update test scripting commit 82e389f56fe86f8db25c1ceb1f15df4070451538 Author: Evan Broder Date: Mon Jan 21 21:03:48 2008 +0000 macos-packaging-using-afs-conf-when-possible-20080121 LICENSE IPL10 FIXES 81825 switch to afs.conf as other ports use instead of afsd.options, when possible commit 6a7461e6f8dad79894c6d2ad11edfdba689c4c77 Author: Derrick Brashear Date: Mon Jan 21 18:36:02 2008 +0000 make-avoid-double-slash-20080121 LICENSE IPL10 avoid having double / in make commands commit fc91cf4314eb768a2f83f198645e553b5fa778de Author: Jeffrey Hutzelman Date: Mon Jan 21 17:34:00 2008 +0000 solaris-vfsroot-refcount-issue-20080121 LICENSE IPL10 fix issue with afs root vnode refcount dropping to 0 commit 75c10322ff3a3ef5e735d8821051678526e42275 Author: Simon Wilkinson Date: Mon Jan 21 17:08:22 2008 +0000 redhat-spec-update-20080121 LICENSE IPL10 update specfile to default to fedorakmod commit 9d22f7702e22d028e8c503cd96d26850ff617ba9 Author: Derrick Brashear Date: Mon Jan 21 14:18:11 2008 +0000 libafs-linux-dest-right-things-20080121 LICENSE IPL10 "duh" make it like the install rules commit 22c059a9138be33eeeed910badcac3ebfeea24b5 Author: Derrick Brashear Date: Mon Jan 21 14:04:34 2008 +0000 vos-restore-incrementals-no-orphans-really-20080121 LICENSE IPL10 FIXES 46937 based on comments from jhutz@cmu.edu; runnign thread in the ticket commit efba39ead059458d222f923db83c660f23c20b80 Author: Jason Edgecombe Date: Sun Jan 20 00:06:49 2008 +0000 man-page-fileserver-limits-20080119 LICENSE BSD Document the 2TB volume and partition limits and the -abortthreshold flag to the AFS fileserver. commit 88e915d8f976898e75a6afe8bc7b6d7c33b8a121 Author: Jeffrey Altman Date: Wed Jan 16 03:16:19 2008 +0000 windows-cm_ioctl_query_opts-20080115 LICENSE MIT The path ioctl operations have several issues: (1) the specified path for "fs examine, whereis, whichcell, flush" and so always has the follow symlinks and mount points semantics. This makes it impossible to determine what the FID of a symlink or mount point is. (2) "fs examine" out is not the result of a single pioctl operation but is actually the combined output of half a dozen operations. Path evaluation is an expensive operation. It would be faster if the caller could evaluate the FID first and then perform all of the rest of the operations by specifying the FID instead of the path. (3) fs output reports all objects as files. By adding a GetFileType pioctl more informative output can be provided that indicates what type of object the path evaluates to. (4) the Windows fs command includes a number of commands that do nothing but exist only because the Unix cache manager supports them. This delta adds a new extendible data structure cm_ioctl_query_opts_t which can be optionally specified with pioctls that do not already require input data. The first two fields of this structure are 'literal' and 'fid'. The literal field is used to indicate whether the last component of the path should be evaluated following symlinks and mount points. The fid field permits a fid to be specified. A new GetFileType pioctl has been added. The type of objects are now output. A new "-literal" option is available for "fs examine, flush, whereis, and whichcell. Unimplemented fs commands have been removed. commit 64ef3f518eee22b167ff5043b01dc1f3251f10bd Author: Derrick Brashear Date: Tue Jan 15 23:42:08 2008 +0000 redhat-makesrpm-deal-with-cellservdb-20080115 LICENSE IPL10 autofetch the CellServDB based on the spec or let one be provided commit c386499fbeab36f5292e196563a4887fa06068ac Author: Matt Benjamin Date: Tue Jan 15 06:04:49 2008 +0000 fbsd-70-updates-20080115 LICENSE IPL10 FIXES 82847 updates to make us build on freebsd 7.0 commit 08d71812fed3cc9f37d516d8f5d5b4ba9ccfb032 Author: Derrick Brashear Date: Tue Jan 15 05:20:49 2008 +0000 arm-linux-20080115 LICENSE IPL10 make an arm linux port. commit 110d5702ea51ce43fca6a5962d9ef8a0ec56d6eb Author: Jason Edgecombe Date: Mon Jan 14 04:55:21 2008 +0000 man-page-cmdebug-updates-20080113 LICENSE BSD Add -ctime and -cellservdb options to the cmdebug man page and improve example host names and SEE ALSO references. commit d5811091995b78d65e891b134aa0ad6955bbc30c Author: Jeffrey Altman Date: Sun Jan 13 15:32:24 2008 +0000 cmd-nname-20080113 LICENSE MIT Nname() is used to concatenate two strings and is frequently used with the first string being the name of the executable perhaps with a full path. The static buffer specified is too small for a full path and there was no protection against writing beyond the end of it. commit 84989e6584e3808ae3f1959330b267feff2661f6 Author: Jeffrey Altman Date: Sun Jan 13 14:37:04 2008 +0000 windows-pioctl-parse-path-20080113 LICENSE MIT Apply the desired "follow symlinks/mountpoints" semantics to the single component non-UNC case. commit 7a40c73476e270aac9d76663ff71e956bb630328 Author: Jeffrey Altman Date: Sat Jan 12 23:29:59 2008 +0000 windows-explorer-shell-symlinks-show-20080112 LICENSE MIT Add AFS->Symlnks->Show dialog to the explorer shell menu commit b3fe9727b3e775348561bcbe0cf0c14cff82e597 Author: Jeffrey Altman Date: Sat Jan 12 15:43:37 2008 +0000 cmdebug-cellservdb-20080112 LICENSE MIT Add -cellservdb option to the cmdebug command. This option will retrieve the volume location database information for all cells known to the cache manager and output the data in the format required by the CellServDB file. This functionality is supported by the UNIX cache managers and Windows cache managers 1.5.31 and later. commit bda66877dd88bcc78eba646b4f6a1131266e33d4 Author: Derrick Brashear Date: Fri Jan 11 22:38:48 2008 +0000 config-cvsignore-update-20080111 LICENSE IPL10 ignore generated Makefile.SYSNAME.in commit ae9dc9ad4ddd8313d24e457faf48bc15ccd2c86c Author: Jeffrey Altman Date: Fri Jan 11 19:09:20 2008 +0000 windows-callback-getcellservdb-20080111 LICENSE MIT Add support for RXAFS_GetCellServDB. Implemented by generalizing RXAFS_GetCellByNum and special casing the index values to do the right thing. Conditionalize grabbing the callp->lock in the callback functions. The race conditions in rx have long since been fixed and the potential for deadlocks are too great. Add a new flag CM_FLAG_NOPROBE for use in calls to cm_GetCell. When set the newly discovered servers will not be immediately probed. Useful when setting tokens, setting server preferences, or responding to cmdebug callbacks. commit 8b82cbeef760992c6e3d27f9f6ea1f4e0bb559ab Author: Jeffrey Altman Date: Thu Jan 10 23:48:02 2008 +0000 windows-smb-synchronization-20080110 LICENSE MIT 1. prevent stopping the smb_Listeners due to an ip addr change when the LANA is determined either by registry assignment or loopback detection 2. add synchronization logic to prevent smb_Listener restarts prior to smb_Listener thread stoppage 3. no longer permit panics from smb_Listener threads 4. move the probe logic from cm_IPAddrDaemon thread to the cm_Daemon thread in order to avoid the loss of ip addr change events. If an adapter stops and restarts fast enough there might not be anything for us to do. commit 8569f67aee8ee0de26259397818ab3af69f18007 Author: Matt Benjamin Date: Thu Jan 10 16:58:30 2008 +0000 linux-2624-rc5-updates-20080110 LICENSE IPL10 FIXES 80463 Include linux/key-type.h in osi_groups.c, if it exists. Fix do_sync_read test for recent kbuild (maybe break it for [some older 2.6]). commit 5011ea88badac8d393c4566a69e30f74c85e13ab Author: Simon Wilkinson Date: Wed Jan 9 19:36:59 2008 +0000 redhat-make-srpm-script-20080109 LICENSE IPL10 srpm builder script commit a1b7be4ac3f073a2d64f46649e54a1ff99d2567b Author: Jeffrey Altman Date: Wed Jan 9 15:25:07 2008 +0000 windows-smb-name-deleted-20080109 LICENSE MIT if the smb_Listener receives NRC_NAMERR (name deleted) it must be because an smb shutdown has occurred. do not panic. commit 845fb28de656d9886dd44cbf335833985ffc7d3b Author: Jeffrey Altman Date: Wed Jan 9 06:03:10 2008 +0000 windows-pioctl-follow-mountpoints-registry-20080108 LICENSE MIT Add a registry value "PioctlFollowMountPoint" to permit the use of the old pioctl path evaluation behavior that always followed mountpoints and symlinks. commit f2fd97bfb02d1d2ed46304b5864d71a8759892a4 Author: Jeffrey Altman Date: Tue Jan 8 22:28:39 2008 +0000 smb-even-less-chatty-20080108 LICENSE MIT remove the smb_RestartListeners message entirely commit 110f74bcb85928d274ad2608662434304ff4ffae Author: Jeffrey Altman Date: Tue Jan 8 22:03:12 2008 +0000 windows-daemon-20080108 LICENSE MIT sleep 10 seconds between cycles. should make this configurable. commit 05e5b9129f18fa717132dc1b0932acc1ed3f72c9 Author: Jeffrey Altman Date: Tue Jan 8 21:59:28 2008 +0000 windows-smb-logging-20080108 LICENSE MIT Be less chatty commit 69c9ab66a41236e987b44af9a3cb141adb1c2817 Author: Jeffrey Altman Date: Tue Jan 8 21:26:46 2008 +0000 windows-callback-missing-bang-20080108 LICENSE MIT Insert a missing bang that results in a null pointer dereference when processing a callback from an unrecognized server. commit a731801899b5f81314e4f4bf49aa55703d7a4ef4 Author: Jim Rees Date: Tue Jan 8 17:18:57 2008 +0000 obsd-more-stack-20080108 make stack bigger in volserver and fileserver eliminates overflow in k5 library commit 2927287f13f99c8453f64839d20877769d768264 Author: Jim Rees Date: Tue Jan 8 17:04:30 2008 +0000 obsd-lock-no-interlock-20080108 restore lock vnode op, but without vnode interlock for obsd 4.2 commit 521f139a89c2f078888b8bad37a495d23723a789 Author: Asanka Herath Date: Tue Jan 8 17:04:19 2008 +0000 windows-nim-afscred-identity-initialization-20080108 LICENSE MIT One of the challenges to deploying NIM has been the configuration of AFS token acquisition. This patch adds a new registry key hierarchy HKLM\SOFTWARE\OpenAFS\Client\Realms which is used to configure the AFS Provider for a new identity based upon the realm of the identity. The Realms key contains subkeys for each realm for which configuration data is being provided HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName" "RealmName" contains one optional value, "AFSEnabled", and subkeys for each Cell that is to be added to the configuration. "AFSEnabled" defaults to 0x01. HKLM\SOFTWARE\OpenAFS\Client\Realms\"RealmName"\"CellName" In "CellName", there are two optional values, "Realm" and "MethodName". If the values are not specified, the automatic realm and method determination algorithms are used. These values can be added to an MSI transform or deployed via Group Policy. commit 5979a37e4e361bd9d2c52b6f6ef4bcce20a3124c Author: Jeffrey Altman Date: Tue Jan 8 07:04:51 2008 +0000 windows-smb-started-synchronization-20080108 LICENSE MIT Add a new mutex "smb_StartedMutex" which is used to protect the transitions between the various smb_ListenerState values. commit a05df915505ab3e77e46e39a5b232086c43fc8bf Author: Jeffrey Altman Date: Tue Jan 8 06:27:36 2008 +0000 windows-printf-format-string-protection-20080108 LICENSE MIT Do not pass strings generated from incoming network data to ??printf as the format string. Instead use a format string of "%s". This protects against %? expansions being inserted in the string. commit be4da54fa06c0a6f43c0be09e1339d29cc4b5e5a Author: Derrick Brashear Date: Mon Jan 7 20:22:10 2008 +0000 viced-hpr-error-handling-20080107 LICENSE IPL10 fix ubik reinit issue reported by jhutz@cs commit 777a2840878af313e062c4885ae7002bad62bdf4 Author: Derrick Brashear Date: Mon Jan 7 20:10:27 2008 +0000 sys-syscall-object-dependency-20080107 LICENSE IPL10 make syscall.o always be created, some makes don't deal with the implicit requirement commit 58efc5029c832e6b1456c36b599e7e33d62cd9c6 Author: Russ Allbery Date: Mon Jan 7 18:14:54 2008 +0000 linux-probe-warning-case-20080107 LICENSE MIT Some older Linux kernels prefix warnings with "Warning:" rather than "WARNING:", so do the grep case-insensitively when finding missing symbols. commit b19c56edfa5f0e3ff95f32b006b9403f53dd406f Author: Jeffrey Altman Date: Mon Jan 7 17:54:06 2008 +0000 windows-bkg-prefetch-buf-refcount-leak-20080107 LICENSE MIT Close a refcount leak in bkg prefetch. Do not stop prefetching simply because a buffer we want is already being fetched. Instead skip the buffer and try to fetch the next one we require. commit 049bc4a637334c6e94661a60067ff6a27e5ad481 Author: Jeffrey Altman Date: Sun Jan 6 23:11:01 2008 +0000 windows-ipaddr-change-server-deadlock-20080106 LICENSE MIT avoid a deadlock during server probes initiated by the ipaddr change daemon thread. commit 342595b2aa712ca7c0f2c160f9cba304dd27d574 Author: Derrick Brashear Date: Sun Jan 6 15:57:05 2008 +0000 viced-threadquota-release-holds-20080106 LICENSE IPL10 release a hold when we decline to service a host commit 6887c0e5b2b766b06c7e76a5ce28b84ed52df1d5 Author: Jeffrey Altman Date: Sun Jan 6 06:25:08 2008 +0000 windows-power-mgmt-20080105 LICENSE MIT Log more power mgmt events. Do not permit a smb reinitialization when in a suspended state Periodically check to see if the LAN adapter is -1. If so, try to reinitialize the smb stack. commit d27e82c8e2dcdf81ce8e8e6e849828881256f5fc Author: Jeffrey Altman Date: Sat Jan 5 22:19:12 2008 +0000 windows-follow-backup-path-20080105 LICENSE MIT parens are required in order to get the desired behavior commit f789f943f6967094f921b1b1b232be22925e3849 Author: Jeffrey Altman Date: Sat Jan 5 18:55:55 2008 +0000 windows-nim-afscred-referrals-two-20080105 LICENSE MIT compatibility with Visual Studio 2005/2008 commit f970985bc35ade50371a9299ad580d96ad04e979 Author: Jeffrey Altman Date: Sat Jan 5 17:55:20 2008 +0000 windows-vista-network-change-20080105 LICENSE MIT After a network change, test to see if the desired LAN adapter to bind the Netbios Name to has changed. If so, stop the Netbios Network and restart with the new LAN adapter. This can happen on Vista after a suspend if the service wakes up before the Loopback adapter re-initializes. commit 53acd2042d53d947b213ba4ee58378c89555a868 Author: Jeffrey Altman Date: Sat Jan 5 17:28:59 2008 +0000 windows-nim-afscred-referrals-20080105 LICENSE MIT If the requestd realm name is the empty string, copy the realm from the resulting ticket for use in pts registration. commit 8e3940c461f29483dcd71a5ba7cc59db89ea38e1 Author: Derrick Brashear Date: Sat Jan 5 16:59:56 2008 +0000 windows-aklog-referrals-20080105 LICENSE IPL10 If the realm name of the requested ticket is the empty string, decode the actual service ticket to determine the actual realm. Obtaining the actual realm prevents unnecessary pts registration failures. commit 2d15ac79349678e025f407b863f2911cd20e6f4e Author: Marc Horowitz Date: Sat Jan 5 04:43:09 2008 +0000 aklog-referral-support-20080104 LICENSE IPL10 with updates and configure support from Simon Wilkinson. make aklog able to cope with referrals. commit 02dc91892c41163f24c818615d13271b074df3ca Author: Derrick Brashear Date: Fri Jan 4 18:37:28 2008 +0000 pag-allocation-dont-throttle-when-time-reverses-20080104 LICENSE IPL10 avoid pag allocation throttling when time is set back by e.g. ntpd to avoid starving everyone. commit 5d453a987581158e9398061703d5a4b4b81e1dd3 Author: Jim Rees Date: Fri Jan 4 18:07:35 2008 +0000 xbsd-include-systmh-20080104 include systm.h for xbsd commit 034f698ebf21854c8dfb46567fc4ec2ac21457f0 Author: Jim Rees Date: Fri Jan 4 17:56:11 2008 +0000 obsd-resid-type-20080104 use correct type for resid when calling vn_rdwr() commit e192814db3a754aa5fe24acf10aa24030c57fa55 Author: Jim Rees Date: Fri Jan 4 17:39:05 2008 +0000 setuuid-return-20080104 return success (0) from setuuid() commit d2c62877ebd9b8481d7822fcd64f0803eaef9e9f Author: Jim Rees Date: Fri Jan 4 17:27:23 2008 +0000 obsd-time-20080104 update kernel time functions for OpenBSD 4.2 commit 068233cf4ab90a173e04de94605490e651d2f686 Author: Jeffrey Altman Date: Fri Jan 4 07:56:45 2008 +0000 windows-fs-test_volstat-20080103 LICENSE MIT Add a hidden command that can be used to test volume status handlers. fs test_volstat. commit 23318f425ca8ccdc9b67bfc1be0a28c0f724f52a Author: Jeffrey Altman Date: Fri Jan 4 07:51:31 2008 +0000 windows-fs-path-avail-20080103 LICENSE MIT fix the reporting of volume status as a result of the VIOC_PATH_AVAIL pioctl call. Switch on errno instead of the pioctl return value. commit d851dda5b7a84fa1acf5ccc93313df90922ce6b1 Author: Jeffrey Altman Date: Fri Jan 4 07:48:37 2008 +0000 windows-fs-prototype-20080103 LICENSE Fix types in prototypes to be consistent with function definitions commit 6034868e79f85e0143caa40669244cb8e442587b Author: Jeffrey Altman Date: Fri Jan 4 07:46:29 2008 +0000 windows-smb-20080103 LICENSE MIT ensure type consistency between 32-bit and 64-bit processes by replacing 'long' with 'afs_uint32' commit ae8e701952ae029672f2d7acfaf94cd44c1e4df4 Author: Jeffrey Altman Date: Fri Jan 4 07:44:10 2008 +0000 windows-volume-status-20080103 LICENSE MIT when performing offline volume status checks handle CM_ERROR_NOACCESS conditions by restoring the volume status to vl_unknown. commit 3a541eb11d1bc7bd05b85635315214218d3b5d6f Author: Derrick Brashear Date: Thu Jan 3 18:02:30 2008 +0000 aix-lam-aklog-update-20080103 LICENSE IPL10 make the aklog lam plugin work correctly in e.g. the CDE screenlocker, which is part of the long-running and not-run-by-user dtsession; this means we do wackiness to 1) not pag ourselves in that case 2) setuid to the user to set uid tokens if we got a username and are root 3) do not use pr_mumble get the the AFS ID to put in the tokens, as multiple initializations of Rx in the process space of dtsession crashes it commit dbb3f1d0b6e2e1e42b1f0ef4c29c21d8090e605a Author: Jim Rees Date: Thu Jan 3 17:46:08 2008 +0000 obsd-buf-fixes-20080103 use new b_data field in struct buf commit 7793d4e5183993f8c5fa01cf5c099405757fa183 Author: Jim Rees Date: Thu Jan 3 17:12:21 2008 +0000 obsd-lock-vnops-20080103 use generic vnops for lock/unlock (for obsd 4.2) commit b2a34dd35fc1e49918342e500a5bf8b74510e999 Author: Jim Rees Date: Thu Jan 3 17:11:22 2008 +0000 obsd-uvm-1-20080103 long overdue fixes for uvm on openbsd commit ff21ae91b248873ff1ac5347f84c180d0817a0b4 Author: Jim Rees Date: Thu Jan 3 02:28:29 2008 +0000 use-k5-klog-20080102 use k5 klog for OpenBSD commit 5baef6f6fe55ca81a28bc22023b06ee6c50d453d Author: Jeffrey Altman Date: Wed Jan 2 15:53:46 2008 +0000 windows-64bit-20080102 LICENSE MIT do not disable the signature verification of binaries when using large cache sizes on 64-bit systems cm_config_data values are unsigned and some are 64-bit. when logging them use the correct data format types. commit 558acfe359188e21f4956dcccdd7f7a4adbca3f1 Author: Derrick Brashear Date: Wed Jan 2 15:10:08 2008 +0000 redhat-spec-cvsignore-20080101 LICENSE IPL10 as reported by mdw@umich.edu commit d59d1db605280bfa9b2234f5272d61152ca7d7de Author: Jeffrey Altman Date: Wed Jan 2 14:58:35 2008 +0000 windows-nim-afscred-supports-krb4-20080102 LICENSE MIT Do not trust the registry to determine whether or not krb4 support is available. In a roaming profile the user data can say 'yes' even if the plug-in or the kerberos library does not exist. commit cfcaa0be3cc22fce97737ae4f6387a8200de770d Author: Jeffrey Altman Date: Wed Jan 2 07:06:58 2008 +0000 windows-nim-afs-krb524-20080102 LICENSE MIT Don't call krb524_convert_creds_kdc if it doesn't exist. 64-bit KFW doesn't support krb4 and the function isn't present. commit 2e135307b52b04003a22aa9985807a70b407accc Author: Derrick Brashear Date: Fri Dec 28 22:13:42 2007 +0000 vgetvnode-debuglog-vio-20071228 LICENSE IPL10 provide a way to log otherwise unlogged VIO error cause commit 4d2c1d532bb44320afcf4debfee9ded403647e1e Author: Jeffrey Altman Date: Fri Dec 28 15:46:05 2007 +0000 windows-syncop-20071228 LICENSE MIT avoid a race condition between cm_SyncOpCheckContinue and cm_SyncOpDone that can leave a request on an scp stuck in the waiting state even though there are no other requests to wake it up. commit 33aeecd83f8ce670269868145648ae6e277cf3cb Author: Jeffrey Altman Date: Fri Dec 28 07:24:48 2007 +0000 windows-get-buffer-20071228 LICENSE MIT cm_BkgPrefetch() contained two errors. First, the loop at the top of the function that ensures that a cm_buf_t is allocated for each of the offset positions failed to actually obtain the buffer for the specified offset. Instead, it repeatedly obtained the buffer for the starting base address. Second, cm_GetBuffer() would reserve all of the buffers associated with the cm_scache_t even in the case where we already have a callback and the existing buffer has the proper data version number. In that situation reserving the buffers simply wastes valuable time. commit d942d97ed82b9f4b86fdea8443912ec64b28dd96 Author: Jeffrey Altman Date: Fri Dec 28 07:11:59 2007 +0000 windows-cell-aliases-20071228 LICENSE MIT Fix the lookup of cell aliases to: 1. avoid re-reading CellServDB each time a cell alias is specified 2. avoid reconstructing the vlserver list for the cell each time an alias is specified 3. permit aliases to be used when AFSDB records were used previously with the full cell name commit 7a1253d1d180716f2aace6e8c115f845fbfe003d Author: Jeffrey Altman Date: Fri Dec 28 07:07:53 2007 +0000 windows-bkg-daemon-threads-20071228 LICENSE MIT Reduce the default number of background daemon threads used for prefetch and store operations to one. Given the current implementation when more than one thread is allocated they step on each other's toe while fighting over locks. A better model might be to divide up threads based upon cells or volumes as a means of preventing contention. commit 1e262e133d2fa0464d6419b1acc6fd2c075f9dbd Author: Jeffrey Altman Date: Thu Dec 27 20:58:49 2007 +0000 windows-default-chunksize-20071227 LICENSE MIT Drop the default chunksize to 18 (256KB) from 20 (1MB) due to the increased propensity to timeout reads on slow network connections. commit 56a82598b19e4232b0095c2b5778d4571c8aa9b2 Author: Jeffrey Altman Date: Wed Dec 26 16:18:37 2007 +0000 windows-callback-restore-multi-cell-servers-20071226 LICENSE MIT The case of openafs.org and grand.central.org is a hideous abuse of the AFS cell name space. There are many negatives associated with trying to support two different cell names pointing at overlapping vlserver lists: (1) The CM can store duplicate entries for all of the data simply because the cell name that was used is different (2) If the CM attempts to optimize the data storage by aliasing or otherwise combining the cell names as part of one cm_cell_t object, then future attempts to separate the two cell names will require the destruction of the cache. (3) If the CM does not associate a callback revoke with a particular cell, then the status data associated with any entry that matches the revoked AFSFid will be discarded. For volume callbacks this can have a serious impact because volume IDs are not unique across cells and discarding status data for readonly volumes that are in use can result in a significant number of FetchStatus requests being sent to the associated file server. There are other issues as well involving authentication. The case of openafs.org advertising the vlserver addresses of grand.central.org should be considered a hack; a hack that the Windows client will no longer ensure will work. Additional debugging messages have been added to assist individuals attempting to debug why callback revokes do not appear to take affect when two cell names share the same vlserver data. commit b41b3bb52eaba52bba8fda0c49083322d6959238 Author: Jeffrey Altman Date: Tue Dec 25 23:05:17 2007 +0000 windows-pthread-20071225 LICENSE MIT The pthread_cond_timedwait/wait implementations were broken. Not only did they return the wrong error values but more importantly, they did not always return with the mutex locked. commit 6b1537b246732e4f7f67661d8230d051db8f3f8d Author: Jeffrey Altman Date: Tue Dec 25 22:59:06 2007 +0000 rx-event-handler-20071225 LICENSE MIT Update event_handler() for Windows. The return code of pthread_cond_timedwait() is not limited to 0 and -1 because 'errno' cannot be set. Instead of setting 'errno' the error code is returned directly by the function as the return code. This patch is only for debugging purposes to track the number of success, timeout, and other errors experienced by the routine. commit 7dc4925cd35036e7f7b448d15a291791cd025e86 Author: Jason Edgecombe Date: Tue Dec 25 22:22:22 2007 +0000 man-page-license-change-20071225 LICENSE BSD Update man pages submitted by Jason Edgecombe to the BSD license. commit 84ef02b0f392c761211adc7d5876217ad835c6c0 Author: Jason Edgecombe Date: Tue Dec 25 22:15:07 2007 +0000 man-page-misc-updates-20071225 LICENSE BSD Add some additional cross-references, add some missing man pages, fix a few references to the OpenAFS manuals, document the -live flag to vos move, and add an example for rxdebug. commit 9f97c5cf74358116a109a4982588d61164456714 Author: Andrew Deason Date: Tue Dec 25 22:02:19 2007 +0000 man-page-fileserver-debug-20071225 LICENSE BSD The file server debug flag is -d, not -debug. commit 69d62d59689c7cd9758177f1f23d3b60df3a8a40 Author: Jeffrey Altman Date: Tue Dec 25 21:58:51 2007 +0000 windows-callback-revoke-multi-cell-servers-20071225 LICENSE MIT Remove the callback revoke optimization that prevents a (vol,vn,uniq) tupple from invalidating entries from multiple cells. We cannot reliably determine the cell from the server because the server might be identified as belonging to more than one cell. For example, openafs.org and grand.central.org. commit b0bae13aec9acb944d5d6a64c11df857ffc40eb3 Author: Jeffrey Altman Date: Mon Dec 24 05:29:15 2007 +0000 windows-hold-server-mutex-for-vol-list-20071223 LICENSE MIT When walking or modifying the cm_server_vols_t associated with a given cm_server_t the mutex must be held. Otherwise, races can occur. commit 8a923a199d91aae6d1fc9bb6a2f1856fe5dbcb07 Author: Jeffrey Altman Date: Mon Dec 24 05:23:28 2007 +0000 windows-daemon-threads-shutdown-sync-20071223 LICENSE MIT Windows Error Reporting received crashes caused by a failure to synchronize the shutdown of the AFS client service with the background daemon threads. The daemon threads (cm_Daemon, cm_BkgDaemon+, cm_IPAddrDaemon) could be accessing data structures as they were being freed or unmapped. Add synchronization mechanisms to signal the termination of the threads with the shutdown of the service. commit 815cd6f19ec37330e7829506c1208c9426b3a41f Author: Jeffrey Altman Date: Mon Dec 24 05:17:50 2007 +0000 windows-update-volume-status-20071223 LICENSE MIT Refactor cm_UpdateVolumeStatus. Revise behavior to treat volid 0 as update the volume status for all volumes in the volume group. commit 1b90fc5329dc7dd2055ab9150e3709b2b2cfac06 Author: Jeffrey Altman Date: Mon Dec 24 05:14:11 2007 +0000 windows-server-lock-error-20071224 LICENSE MIT The cm_serverLock must be write locked to modify the refCount commit 150919d690eca9ee00d3ce549554a058662c360c Author: Jeffrey Altman Date: Sun Dec 23 04:51:59 2007 +0000 windows-volstat-and-vista-dfs-support-20071222 LICENSE MIT This patch completes the implementation of smb_ReceiveTran2GetDFSReferral() which is called by Vista even if we do not advertise the support of DFS referrals. It also adds DFS link mapping notifications to the volstat interface which can be used by volstat plug-ins to redirect requests to the dfs target path. Other miscellaneous items: (1) return EAS_NOT_SUPPORTED instead of EA length 0 and silently accepting but not storing EA data (2) Call cm_VolStatus_Service_Started() before smb initialization instead of afterwards (3) During directory enumeration and link assembly push the UNC path into the lower levels by storing references to the tidPath and the relative paths within the cm_req_t object. (4) During directory enumeration make absolutely sure that we do not reference an unallocated cm_dirEntry_t object (5) publish a prototype for cm_FollowMountPoint() (6) return ERROR_RETRY instead of BAD_NETWORK_PATH if the server returns VBUSY (7) return PATH_NOT_COVERED instead of BADSHARENAME for DfsLinks when a volstat plugin is in use commit bb77b085ff420d8b13c1a71b3144b6b31258ad3d Author: Jeffrey Altman Date: Sun Dec 23 04:15:33 2007 +0000 windows-freelance-scache-20071222 LICENSE MIT (1) remove a race condition caused by holding and releasing the cm_Freelance_Lock while using a pointer into a private freelance data structure (2) do not reference a localMountPoint object that is not allocated (3) properly assign the DFSLINK file type (4) update the buffer data versions when we update the contents of the stat cache object and its buffers to match the registry contents commit 111fb3a0a9525bb9d618dfa23cd1df3eb8eb61c5 Author: Jeffrey Altman Date: Sun Dec 23 03:43:49 2007 +0000 windows-pioctl-listlink-20071222 LICENSE MIT In the error case (1) reference the mountPointString instead of the output of cm_AssembleLink() which was not generated and (2) do not free memory and objects that were not allocated nor reference counted. commit 0421cb2afcc19f05e83a2e415c3e93df8516da98 Author: Jeffrey Altman Date: Sun Dec 23 03:38:45 2007 +0000 windows-freelance-20071222 LICENSE MIT remove unused next field in cm_localMountPoint_t commit 89203eb7065d7bd4e2a40f2afd5fab979ddf1008 Author: Jeffrey Altman Date: Sun Dec 23 03:25:56 2007 +0000 windows-fix-cb-expiration-20071222 LICENSE MIT corrects cb expiration that was broken by the osi_Time() -> time() change in delta windows-readonly-volume-callbacks-20071109 commit f54187bfc59797fe955e779d432d155ab3792022 Author: Derrick Brashear Date: Wed Dec 19 20:56:23 2007 +0000 darwin-dont-assert-on-lock-state-in-remove-20071219 LICENSE IPL10 remove panic due to lock being grabbedin another thread can't be accurately covered with this test on darwin, as e.g. proc_selfthread() is not in the KPI commit b072deb257da24746e8c1ec2b01ff3b779e866c8 Author: Derrick Brashear Date: Tue Dec 18 15:16:20 2007 +0000 fix-verbose-vos-dump-20071217 LICENSE IPL10 fix verbose vos dump to not put garbage in the stream when dumping to stdout commit 49a968ab68c9f0014d3d5801893c280d00696940 Author: Chaskiel M Grundman Date: Mon Dec 17 21:12:45 2007 +0000 shlibafsrpc-export-more-20071217 LICENSE IPL10 shlibafsauthent uses these, export them commit c2da8a61dda3063fea2dedfa83a8db3e45c9622e Author: Derrick Brashear Date: Mon Dec 17 18:02:58 2007 +0000 put-relnotes-on-head-20071217 LICENSE IPL10 add 1.4.6 relnotes, put reast on head commit f72145f79a2f9b04a042de93940456a41cb6e8b0 Author: Adam Megacz Date: Fri Dec 14 21:33:56 2007 +0000 java-admin-interface-updates-20071214 LICENSE IPL10 pdate java admin interface including support for 1.5 commit 77c86d6fd39cb8e21f2028292e682155dd587803 Author: Jeffrey Altman Date: Fri Dec 14 13:33:57 2007 +0000 windows-make-cleanup-20071214 LICENSE MIT Modify the dependencies for building the cbd and file server resource files and delete the resource files as part of 'clean'. commit 059031b3c6ff61340daad288deb378dc48cbd43a Author: Jeffrey Altman Date: Fri Dec 14 13:06:48 2007 +0000 emulate-vsyslog-20071214 LICENSE IPL10 Do not include vsyslog on Windows. Include syslog.h for the syslog() prototype. commit bf26bc9486de7831ae298b11e9ca33ac14ed92a7 Author: Derrick Brashear Date: Thu Dec 13 23:04:54 2007 +0000 aix-lam-aklog-set-token-name-20071213 LICENSE IPL10 so we set an afs id in the tokens here also commit ea3d49eaea3d825e5b328e0fbb4382fe5b0249cd Author: Derrick Brashear Date: Thu Dec 13 22:41:11 2007 +0000 emulate-vsyslog-20071213 LICENSE IPL10 aix 5.3 lacks vsyslog. the fixed buffer is poor, but... commit af3a4e78523596427235b45fc1892725a29bd1d6 Author: Derrick Brashear Date: Thu Dec 13 21:21:56 2007 +0000 aix-curpag-redux-20071213 LICENSE IPL10 add curpag() support for aix, based on work by tom keiser commit fcc8aa021f6305209fb8cf638d5446206029f581 Author: Simon Wilkinson Date: Thu Dec 13 20:04:41 2007 +0000 redhat-rpm-mockable-20071213 LICENSE IPL10 make us able to autobuild with mock. (may need krb5-devel outside the if krb5support; if we do more thought will be involved) commit 51d6d9cbbc5971623097624a58e400cf8ab5e5ab Author: Derrick Brashear Date: Thu Dec 13 19:46:06 2007 +0000 vcache-track-maxvcount-accurately-20071213 LICENSE IPL10 if we can alloc more vnodes, and we are looking for vlru cycles, a legit vnode is not indicative of a cycle. commit b33fb96fff39c421064d03ff058dde76f2aeed8b Author: Derrick Brashear Date: Thu Dec 13 19:18:06 2007 +0000 shutdown-cleanup-20071213 LICENSE IPL10 get rid of cold_shutdown; it's in afs_prototypes.h. log when we don't clean up memory commit 8f84815d0d8c9cc0b49eb29bfceeb03a7ae7f04f Author: Jeffrey Altman Date: Wed Dec 12 04:24:26 2007 +0000 windows-afslogon-null-pointer-deref-20071211 LICENSE MIT 'tokenUser' can be dereferenced when NULL if GetTokenInformation() fails. commit 319ad227d12b8ab301d464c2460be74f7a44ec4d Author: Mike Meffie Date: Tue Dec 11 21:28:26 2007 +0000 afs-serveriprank-return-void-20071211 LICENSE IPL10 can't return 0 from void function commit 2e057314d957a8854ee3c912715a916c3f002863 Author: Mike Meffie Date: Tue Dec 11 20:42:34 2007 +0000 vldb-check-dont-return-int-from-void-20071211 LICENSE IPL10 void functions shouldn't return 0 commit bc70f0f0abcc0843c23a0f63ee6b2ad6b842983d Author: Derrick Brashear Date: Tue Dec 11 16:25:55 2007 +0000 butc-no-retval-in-void-func-20071211 LICENSE IPL10 fix the build again commit 96ea2c11b486ea947e69bd440782560a99c93086 Author: Derrick Brashear Date: Tue Dec 11 14:53:30 2007 +0000 revert-clean-felater-when-rechaining-20071211 LICENSE IPL10 revert this for now, put it in all in one piece when we commit the ifdef'd out test code. commit 0f9529171c37c4ef1e76156da111d83d04b38505 Author: Derrick Brashear Date: Mon Dec 10 22:45:42 2007 +0000 ubik-avoid-truncating-live-database-during-recovery-20071210 LICENSE IPL10 FIXES 77183 currently we can truncate the live database while we are doing recovery. address that. commit f5fde5736f333e284a244467641f08727481b4ae Author: Derrick Brashear Date: Mon Dec 10 22:41:22 2007 +0000 afs-shutdown-cleanup-20071210 LICENSE IPL10 FIXES 74479 clean up allocated resources when we shut down commit e26be7b8e3c8ca73e6ef6640c7d2b8d8200a0c65 Author: Mike Meffie Date: Mon Dec 10 22:24:55 2007 +0000 find-cpp-from-slash-20071210 LICENSE IPL10 find cpp using a full path, not the user's path, at least for now commit 649194188e4af21370faa1bf1217a887adae2572 Author: Jeffrey Altman Date: Mon Dec 10 20:43:58 2007 +0000 windows-remove-out-of-date-buffers-from-hash-tables-20071210 LICENSE MIT When a cm_MergeStatus operation determines that the current data buffers are out of date, remove them from the buffer hash tables in order to speed the lookup of valid data buffers. commit ef5e9a4dd7a4977d7d9f41266f2a0c491720e387 Author: Jeffrey Altman Date: Mon Dec 10 20:33:34 2007 +0000 windows-buffers-20071210 LICENSE MIT after removing cm_buf_t objects from the hash tables, clear the HT list pointers to make debugging easier. when modifying data version values in buf_ForceDataVersion() grab a read lock on buf_globalLock instead of a write lock. A write lock is only required if the hash table linked lists are being modified. The dataVersion itself is protected by the cm_scache_t mx mutex being held. commit c057063abea93733170c1b31c91b52050a150a98 Author: Carsten Jacobi Date: Mon Dec 10 18:26:30 2007 +0000 pam-expires-setting-should-be-32bit-20071210 LICENSE IPL10 store as a 32 bit value explicitly so 32 bit routines don't leave garbage around here. commit 8114be0c6a311007125d6c01b9e0ee7a16b71c29 Author: Mike Meffie Date: Mon Dec 10 18:20:50 2007 +0000 uss-lex-more-forward-decls-20071210 LICENSE IPL10 forward declare this so picky compilers will do their jobs. commit c6db6a90bee37f91c56d1aa1c4ed5657c353b3a0 Author: Derrick Brashear Date: Sun Dec 9 23:33:42 2007 +0000 cnvldb-prototypes-20071209 LICENSE IPL10 forward declare these commit 40307b60236c8e43321a31ab524ec6edd61cbabf Author: Derrick Brashear Date: Sun Dec 9 06:05:51 2007 +0000 aklog-no-dummy-write-on-aix5-20071209 LICENSE IPL10 don't do the dummy write on aix5. we are better off actually working commit c0a04c21cf36e4c8e25be9703f715f30d1bf55a6 Author: Derrick Brashear Date: Sat Dec 8 17:57:33 2007 +0000 writedcache-enforce-xdcache-writelock-20071208 LICENSE IPL10 FIXES 59136 in order that the writes to CacheItems not be addled, we need to *actually* hold a *write* lock when we write. not even just read as the comment says. and certainly not none as was happening in the dir package. commit 55e581824fceea149b9a48ee928aa76e97c009a8 Author: Derrick Brashear Date: Sat Dec 8 17:44:00 2007 +0000 linux24-kernel-configure-test-20071208 LICENSE IPL10 on linux 2.4 the try kbuild macro needs to try harder to notice what symbols we don't have commit 68021a6f2bf692e20044bb932501112934a09bac Author: Jeffrey Altman Date: Fri Dec 7 21:32:53 2007 +0000 windows-wix-afslogon-20071207 LICENSE MIT Move afslogon.dll and afscpcc.exe to the OpenAFS\Client\Program directory commit ab939a6216161cd6afab74e60ca87d376145651c Author: Jeffrey Altman Date: Fri Dec 7 16:03:56 2007 +0000 windows-follow-backup-path-20071207 LICENSE MIT Add a registry value, FollowBackupPath, that provides the Windows cache manager with functionality equivalent to the UNIX afsd -backuptree option. commit 974ad01826f39c817834c6377cf2872177fa7031 Author: Jeffrey Altman Date: Wed Dec 5 20:38:38 2007 +0000 viced-cbstuff-20071205 LICENSE IPL10 Keep track of AddCallBack calls in cbstuff. Increment cbstuff.DeleteCallBacks after holding H_LOCK commit 946f416577914aef5b31e398994fb8876b4ee5e9 Author: Jeffrey Altman Date: Wed Dec 5 20:31:56 2007 +0000 cbd-20071205 LICENSE IPL10 Windows requires open() to be called with O_BINARY otherwise Ctrl-Z means EOF which breaks dumpfile processing. Be consistent about writing/reading time as afs_uint32 instead of writing as afs_uint32 and reading as time_t since time_t can be 32-bit or 64-bit depending on the platform. commit d13cd42cb4e0b2fe3f91565eac37dc3f3e6d3270 Author: Derrick Brashear Date: Tue Dec 4 21:08:10 2007 +0000 largefile-avoid-wraparound-write-to-old-server-20071204 LICENSE IPL10 FIXES 73720 apply analogous check that's in fileserver to clients writing to old servers commit 58dd384ba4020c924604ab612276948803333549 Author: Derrick Brashear Date: Tue Dec 4 21:01:12 2007 +0000 inode-convertro-dont-include-volser-code-in-viced-20071204 LICENSE IPL10 FIXES 77574 viced isn't an fssync client; avoid the convert volser code there commit ebbd12f3ab83eafa0d8cd6978a45a4cc0b248334 Author: Derrick Brashear Date: Tue Dec 4 20:39:18 2007 +0000 linux-nfs-translator-dont-lose-nfs-pag-on-write-20071204 LICENSE IPL10 avoid issue where nfs writes through the translator could become unpag'd because a background daemon came into play commit a342c531a24544988e1a2c2ad1de6d555787989d Author: Derrick Brashear Date: Tue Dec 4 20:18:50 2007 +0000 afsdb-avoid-cross-task-stack-use-20071204 LICENSE IPL10 really for aix, but simplified code universally. commit 1c33df3870bffd4aa2eaf43d8ec56a75a1a3cd0f Author: Jeffrey Altman Date: Tue Dec 4 15:44:56 2007 +0000 windows-giveupallcallbacks-20071204 LICENSE IPL10 Add a registry value, GiveUpAllCallBacks, that can be used to enable/disable the use of the GiveUpAllCallBacks RPC. Due to the fact that calling this RPC can destablize pre-1.4.6 file servers since they do not include DELTA giveupallcallbacks-locking-20071121, the default is being set to disabled. We can re-enable the functionality by default only after sufficient time has been given for orgs to update their file servers. commit 1daa2c0b4fd25f959f6436a9d9eb9a45b7cab379 Author: Tracy Di Marco White Date: Sat Dec 1 05:40:51 2007 +0000 nbsd-new-version-20071201 LICENSE IPL10 FIXES 75602 add support for new version(s) of netbsd commit f9fddc03ec2f36528953f5264263458bf730506e Author: Derrick Brashear Date: Fri Nov 30 19:13:38 2007 +0000 aix-pin-small-allocs-20071130 LICENSE IPL10 we assume the small alloc pool is pinned. maybe we should pin it. commit 8070286d6c9f4f99b7d77627fa2fedf042e47451 Author: Hartmut Reuter Date: Thu Nov 29 21:37:00 2007 +0000 namei-allow-ufs-20071129 LICENSE IPL10 allow ufs again for namei. oops. commit e260ccde93009f7536d25ff6a42dcc1d126f08ec Author: Jeffrey Altman Date: Thu Nov 29 20:53:53 2007 +0000 windows-aklog-no-panic-if-no-kfw-20071129 LICENSE MIT commit a6fd54900e9ac9f5bf2a419338341ad355639034 Author: Jeffrey Altman Date: Thu Nov 29 19:25:04 2007 +0000 viced-drop-core-on-shutdownandcore-20071129 LICENSE IPL10 FIXES 74708 when we call ShutDownAndCore, actually drop a core. commit 7515efb9c390089b4ad4563b939785c5c05793c5 Author: Jeffrey Altman Date: Thu Nov 29 18:40:12 2007 +0000 clean-felater-when-rechaining-20071129 LICENSE IPL10 FIXES 74708 in order that this not be continually rechained, clear this here; we are handling it now. commit 262d1d1c70222b8378109674cd5090f602c52971 Author: Derrick Brashear Date: Thu Nov 29 18:32:29 2007 +0000 zero-uio-on-zero-read-20071127 LICENSE IPL10 avoid leaking random data in a read of a 0 length object. commit 7da027754463f7040c89b6a04c35d13d5fbe31d3 Author: Jeffrey Altman Date: Thu Nov 29 16:10:24 2007 +0000 windows-volstat-headers-20071129 move the enum volstat definition to cm_volstat.h from cm_volume.h. fix the copyright. commit ee839a167eea5c0b3e2a45bf1e47b268419dc04e Author: Jeffrey Altman Date: Thu Nov 29 16:06:48 2007 +0000 windows-smb-out-of-memory-20071129 It turns out that LsaCallAuthenticationPackage can succeed but still fail with an extended error. The one case that we have seen reported is STATUS_NO_MEMORY which would be produced when the paging file is full. This could be a transient error that will be resolved after Windows increases the paging file size. Instead of crashing under this condition we should force the authentication to fail and permit the client to retry. WER 567093715-1-0405174244 commit baef5ba97f4d042d75fe1ac8e11325be459a3d9a Author: Jeffrey Altman Date: Thu Nov 29 16:00:19 2007 +0000 windows-daemon-shutdown-20071129 The cm_Daemon() thread did not check after each operation whether or not the service is in the process of shutting down. As a result the thread could access data, locks, etc. that had been freed by other threads. WER 572098933-1-0407879071 commit 1ee37a57d3d343b8d7a1ab26b6783d396624c856 Author: Jason Edgecombe Date: Thu Nov 29 05:05:37 2007 +0000 man-page-symlink-20071128 Add man pages for all the symlink commands (Windows-only). commit 6cd96f678e12570205d2cbf532b86219b1737c49 Author: Russ Allbery Date: Thu Nov 29 04:57:05 2007 +0000 man-page-vos-convertrotorw-fix-20071128 Don't say that inode file servers are only available on Solaris and AIX. commit 3be37f4d1ca1e3fae238e58d07708577d5653ae2 Author: Jason Edgecombe Date: Thu Nov 29 04:17:10 2007 +0000 man-page-fs-sysname-improvements-20071128 Update the fs sysname man page to document the behavior of multiple @sys values. commit f78f007dc593ec6948bf904d7903223bd6046081 Author: Jason Edgecombe Date: Thu Nov 29 03:54:44 2007 +0000 man-page-fs-rxstatpeer-20071128 New man page for fs rxstatpeer. commit a7291b33490ce62a9ea5b93fab268e3c669a6051 Author: Steven Jenkins Date: Thu Nov 29 03:32:52 2007 +0000 man-page-fileserver-auditlog-20071128 Remove duplicate -auditlog in the fileserver synopsis. commit 2ecef5038e81386a002740f6b0112330117c4f6e Author: Jason Edgecombe Date: Thu Nov 29 03:30:41 2007 +0000 man-page-additions-20071128 Add new man pages for vos convertROtoRW, vos copy, and read_tape and add a troubleshooting section to the fileserver man page. commit 5743116d700ce279cde3a8dee962757df509d557 Author: Russ Allbery Date: Thu Nov 29 02:56:13 2007 +0000 man-fs-uuid-tweaks-20071128 Some minor capitalization and formatting tweaks to the fs uuid man page. commit 031369cd322d5dae4d1e8284c104e69a903c7995 Author: Derrick Brashear Date: Wed Nov 28 05:03:03 2007 +0000 getpag-prototype-20071127 forward declare this function ==================== 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. ==================== returns void, but, whatever commit eee1f81821656ed85720523750b312eaf0dd71b4 Author: Mike Meffie Date: Tue Nov 27 20:44:47 2007 +0000 linux-try-kbuild-deal-with-old-modpost-20071127 the pre 2.6.20.1 modpost issued warnings and not errors for unresolvable symbols. not overly useful. commit 746aab982ae3b7b6e1fb8109e5e9892a1821d6ec Author: Derrick Brashear Date: Tue Nov 27 20:01:00 2007 +0000 macos-no-read-on-directories-20071127 thanks to quentin@mit.edu for pointing this out. no read() on directories commit 89261e8b84697f3b5158e197ca9946c6fe9f45ed Author: Marc Dionne Date: Tue Nov 27 19:26:42 2007 +0000 linux-hash-inodes-for-mmap-20071127 FIXES 78544 inodes are only added to the superblock dirty list if hashed. do so. commit 4172d60820fdf3375091b0a451e8d25809019d8d Author: Asanka Herath Date: Tue Nov 27 17:28:44 2007 +0000 windows-nim-afscred-double-free-20071127 fix a double free on error condition commit 3c401f4724bea0b39baabfb3e38168886925e358 Author: Derrick Brashear Date: Mon Nov 26 22:19:02 2007 +0000 redhat-cleanup-authlibs-correctly-20071126 when not packaging authlibs, correctly discard them commit 4f98eb48fccde9dd70708b2dd6b0903745d16b7a Author: Derrick Brashear Date: Mon Nov 26 22:10:34 2007 +0000 volprocs-alloc-vnode-instead-of-using-stack-20071126 don't use stack here; alloc memory for short term use commit 48bcb88ddc8fe7baa7a2b0f8decee7e704ad32ef Author: Rainer Toebbicke Date: Mon Nov 26 21:47:00 2007 +0000 namei-avoid-spurious-emfile-20071126 FIXES 77531 before we did not handle the fd cache runnign dry. "oops" commit da18bb147b25e62ed69c6f88fa6331161018d9fb Author: Christof Hanke Date: Mon Nov 26 21:03:31 2007 +0000 assorted-warning-cleanup-20071126 add missignheader files, missing return values, correct a few calls to printf commit 5d8c44bc09fde707dc6aaaf037b2c8805cce0ed1 Author: Christof Hanke Date: Mon Nov 26 20:38:14 2007 +0000 kauth-ubik-wrap-pad-requisite-args-out-20071126 of course, if Date is larger than 32 bits, the wrapper is broken anyway. we should really get rid of the wrapper commit b776352e3b824d7c733ef05a71eac85c025b290b Author: Derrick Brashear Date: Fri Nov 23 14:29:51 2007 +0000 enhance-afsdb-debugging-20071123 allow cmdebug to show locks on cells. add fstrace event for afsdb commit aa5c3518df8d73c2b0aa625e77179f33df97c2af Author: Sean O'Malley Date: Fri Nov 23 13:55:49 2007 +0000 krb5-klog-solaris-20071123 FIXES 77575 make this work on solaris commit af7cf697ef8c0a416251d3fbfd516738e14c290b Author: Marc Dionne Date: Fri Nov 23 13:37:24 2007 +0000 linux-2624-20071123 FIXES 77370 support linux 2.6.24 commit dda101f22d4690f2c7c8731740fd9676f2a85c66 Author: Derrick Brashear Date: Fri Nov 23 13:00:42 2007 +0000 macos-buildpkg-cleanup-cruft-20071123 don't leave the old dmg around since it makes a new one bomb commit b0b3565b69b0b8fda46b25e7bd73c5116b32d83e Author: Jeffrey Altman Date: Wed Nov 21 19:30:51 2007 +0000 giveupallcallbacks-locking-20071121 FIXES 74708 Hold H_LOCK across calls into GiveUpAllCallbacks_r commit 5d84c50e5eb754eb33de0e53eab3fd64d170bb36 Author: Jeffrey Altman Date: Wed Nov 14 17:18:25 2007 +0000 windows-dv-logging-20071114 64-bit data version logging updates commit 5d245327f057389950c30bb36af6d12f6f96c73a Author: Jeffrey Altman Date: Wed Nov 14 06:22:04 2007 +0000 windows-64bit-data-version-20071114 Add support for 64-bit AFSFetchStatus data version values commit 473b0345210c98a44cffb8c5de1d0da5980969f4 Author: Derrick Brashear Date: Wed Nov 14 04:34:53 2007 +0000 dafs-inode-convert-20071113 the dafs version of this commit b98b51185dbd46ef6d9ef0249b032bbc49d13bfb Author: Derrick Brashear Date: Tue Nov 13 22:15:03 2007 +0000 inode-convert-ro-to-rw-20071113 so this functionality works with inode fileserver, also. corrected abstraction from previous versions so vol and volser have correct bits. commit 524f749430e78edab581ad84978d13870911b6f8 Author: Derrick Brashear Date: Tue Nov 13 00:46:09 2007 +0000 redhat-spec-no-strip-20071112 suggested by simon. debuginfo support in rpmbuild strips for us. deal here. commit 606ce43066bf1d818a990982f9704a973371c456 Author: Simon Wilkinson Date: Tue Nov 13 00:29:31 2007 +0000 redhat-reunrevert-fedora-build-change-20071112 "oops" commit 9f284c66a9ad685eab201e480372633d538938b3 Author: Derrick Brashear Date: Tue Nov 13 00:00:57 2007 +0000 redhat-packaging-updates-20071112 FIXES 76890 various updates to deal with fedora 8 and remove obsolete stuff commit d284c0e7c11e8ee4755ac152e5e47d4abf304afc Author: Jeffrey Altman Date: Mon Nov 12 19:03:15 2007 +0000 viced-accurately-track-file-callbacks-20071112 FIXES 74708 this should fix the issue with cbfree being corrupted. a more exhaustive pointer-blunting patch should probably be pulled in, but, this is simple and obvious commit 8593c52c2787587110865287937750e51c48afa5 Author: Kevin McBride Date: Mon Nov 12 18:25:54 2007 +0000 autoconf-strip-debug-options-sanity-20071112 To prevent stripping, specify the '--disable-strip-binaries' option on the ./configure command line. fileserver and volserver are never stripped. When --enable-debug is specified, binaries will not be stripped by default. commit cd8311641fd32328dd1d8a07b1318ecb53726bd1 Author: Tom Keiser Date: Mon Nov 12 18:17:43 2007 +0000 dafs-optimize-shutdown-20071112 optimize shutdown case as is done elsewhere, for dafs. commit f2bff0e675a2ca0b583264d59d288c62636a06b8 Author: Jeffrey Altman Date: Mon Nov 12 03:24:59 2007 +0000 windows-readonly-volume-callbacks-20071111 disable the option by default. require the daemonCheckVolCBInterval registry value be set in order to activate it. do not renew .readonly volumes whose callbacks are less than 30 minutes old. commit e61efde3236b9cd09a09cb9e869b27a14b68c4ac Author: Russ Allbery Date: Mon Nov 12 00:12:28 2007 +0000 man-page-name-underscore-more-20071111 Missed fs apropos when fixing NAME entries to eliminate spaces. commit 6ef9f3933595e4fef5c4af334ab580dbb08212c3 Author: Russ Allbery Date: Sun Nov 11 22:54:56 2007 +0000 man-page-name-underscore-20071111 The NAME heading for man pages can't contain a space in the program side or the man pages won't index with some man implementations. commit b5935d47fb5b06c4f1c74c3671af4b1a481b8ab3 Author: Jeffrey Altman Date: Sat Nov 10 22:50:44 2007 +0000 windows-readonly-volume-callbacks-20071110 avoid a deadlock commit dd1535d31509d48d961085809c132b398edd80ff Author: Simon Wilkinson Date: Sat Nov 10 20:13:27 2007 +0000 libafsrpc-makefile-fix-20071110 FIXES 76836 fix double / in makefile commit 76c886b574b7d21db2557872be8af8e6ca549f34 Author: Dan Hyde Date: Sat Nov 10 00:33:41 2007 +0000 viced-missing-lock-20071109 FIXES 76713 Add missing lock that needs to protect an in use 'host' from having HOSTDELETED added to the hostFlags and HWNO_INPROGRESS removed. commit 578e0d957547e4ac7f39b0559e166fd9eea5f150 Author: Jeffrey Altman Date: Sat Nov 10 00:18:11 2007 +0000 cmdebug-human-readable-expiration-time-20071109 add -ctime parameter which produces human readable expiration times. Doesn't work with OpenAFS for Windows prior to 1.5.28 because time() was not used in those versions for tracking expiration times. commit b43d778e9342dd19c010354cf6db854fdf1f7d22 Author: Jeffrey Altman Date: Sat Nov 10 00:14:26 2007 +0000 windows-readonly-volume-callbacks-20071109 A .readonly volume callback applies to the entire volume. Track it in the cm_volume_t cbExpiresRO field and apply it to all cm_scache_t objects with valid callbacks that are associated with that volume upon each daemon callback check. This will prevent premature callback expiration. Also, attempt to automatically refresh the callbacks every 30 minutes by obtaining a callback on the volume root. This value is configurable with the "daemonCheckVolCBInterval" registry value. Change from osi_Time() to time() for expiration values in order to permit conversion to human readable values in cmdebug. commit 15a52f254b8c079a1e640e18ce90508861ec5d96 Author: Derrick Brashear Date: Fri Nov 9 20:15:46 2007 +0000 clean-platform-20071109 clean platform dir commit 10ff33e6092a63107600b3b58c44c8d15849bbe6 Author: Derrick Brashear Date: Fri Nov 9 19:47:18 2007 +0000 macos-packaging-updates-20071109 make the readme correct. make dmgs which have a useful name commit 757bdb092ec4e1db9c7dc949499cc761982bd105 Author: Derrick Brashear Date: Fri Nov 9 19:18:49 2007 +0000 hpux11-thread-lock-tracking-20071109 do this for hpux also commit bb900e97df905c9805d9e7dc53a9303c671cf819 Author: Derrick Brashear Date: Thu Nov 8 14:38:48 2007 +0000 darwin-vfs-context-pullback-20071108 again, commit fix we have in 1.4 commit 7f8f251c3f252e352096f972e71c93db5cd9d3d9 Author: Derrick Brashear Date: Thu Nov 8 14:26:47 2007 +0000 reconvert-aklog-to-afs-com-err-20071108 make this match what we're shipping in 1.4 commit 277c37f48c8126ba9cb986ffc7361fcb98e2bbf2 Author: Derrick Brashear Date: Thu Nov 8 14:21:06 2007 +0000 aix5-revert-kcred-20071108 pull this back to 1.5 and head commit 044b90beb46177691fd05e08d552a37a48ad2ac8 Author: Derrick Brashear Date: Wed Nov 7 04:23:47 2007 +0000 shutdown-cleanup-not-yet-20071106 commit ad30730abd77fa489a6d3777e26621357724af9f Author: Jeffrey Altman Date: Wed Nov 7 04:01:36 2007 +0000 linux-nsec-timestamp-zero-20071106 don't leave garbage in nsec commit 1951d7d6c773aead0ea6e9d120e23d15fee4a29f Author: Anders Kaseorg Date: Tue Nov 6 18:30:19 2007 +0000 linux-splice-support-20071106 support splice in kernels new enough to support it (sendfile is deprecated) commit e06a144f33347bcac29131cd450d828c2803b9c0 Author: Derrick Brashear Date: Mon Nov 5 22:09:12 2007 +0000 aklog-no-kimpersonate-in-more-cases-20071105 aix's NAS kerberos can't support kimpersonate. deal commit bf7787ba99d5cae9a9413ba59dd4c01996a6d557 Author: Derrick Brashear Date: Mon Nov 5 21:43:00 2007 +0000 krb5-klog-no-err-table-yet-20071105 right now we don't have this everywhere, until we reorder libraries, and test usefully with configure, forget it. commit 564be8601c1447b85984eb3773b48ccaa22b4343 Author: Thomas Mueller Date: Mon Nov 5 20:27:24 2007 +0000 cbd-use-callback-size-for-callbacks-20071105 FIXES 76408 cast correctly commit 55149d5e2b69cd6dfa7f6fd3d02e0d488b3fd69d Author: Jeffrey Altman Date: Mon Nov 5 18:25:33 2007 +0000 windows-bplus-tree-20071105 Migrate search key into thread local storage commit 981f984b2dd675bab31d5d0374592c9e0fa12bbb Author: Jeffrey Altman Date: Mon Nov 5 18:23:30 2007 +0000 windows-afsd-notification-20071105 fidp->cell is not a pointer commit 89ac3ec2f68db045cf719d619eea1fb97a6364a3 Author: Jeffrey Altman Date: Mon Nov 5 00:23:54 2007 +0000 windows-afsd-notification-20071104 the difference between osi_assert() and osi_assertx() is whether or not a description is specified as part of the call. When no message is specified afsd_notifier() is called with a NULL msgp parameter. This results in a null pointer dereference during the EventLog() call. As a result, none of the information describing the assertion is written to the log file. This commit sets a default message for use when no other message is provided and it replaces all calls to osi_assert with osi_assertx and adds descriptions. commit bc7a0be8eb24f5347b8a5b51067b15270aa84691 Author: Jeffrey Altman Date: Mon Nov 5 00:16:58 2007 +0000 windows-osi-lock-assert-msg-20071104 modify lock_AssertXXX macros to call osi_assertx() and provide a descriptive message. commit 45e2d81aa3f62927adc85e4e23daf511478829e4 Author: Asanka Herath Date: Sat Nov 3 16:31:50 2007 +0000 windows-scache-syncop-waiters-20071103 One of the issues that has become a serious problem since the addition of the local directory updates is that although cm_SyncOp synchronizes operations, it does not preserve the order of requests. This has always been a problem in that it has been possible for a request to fail to complete due to its worker thread's bad luck. When a request takes longer than the Windows SMB Redirector's timeout, the SMB Redirector tears down the SMB virtual circuit. When using the local directory updates it is really important that the directory update operations complete in the order that they were sent to the file server. If they don't, then the local directory state and the file server state will not match and the local directory state must be discarded which in turn forces a new read of the entire directory contents over the network. This patch adds a new cm_scache_waiter_t object that is used to store the current thread, buffer, and syncop flags within a waiters queue on each cm_scache_t object. If a thread is forced to sleep in cm_SyncOp, upon waking it will check to see if there are any other threads waiting that are attempting to perform a similar task ahead of it in the queue. If yes, the thread goes back to sleep. If not, it goes ahead and enters the cm_SyncOp conflict resolution block. This patch has the additional side effect of reducing the number of competing threads that must obtain the cm_scache_t mutex and process the cm_SyncOp conflict resolution block. As a result, the overall CPU utilization of the service and the clock time associated with processing requests will be reduced. commit 2c45d9ec9fc888c2c6eed46538fe4a9c440e3c8c Author: Jeffrey Altman Date: Sat Nov 3 16:18:14 2007 +0000 windows-dir-20071103 Reorganize the locking for cm_BeginDirOp and cm_EndDirOp. There are a number of locations where locks are obtained, dropped, and reobtained. This reorganization attempts to accomplish several things: (1) be optimistic for the most common case so it will be fast (2) add consistency checks after each location where locks are dropped and re-obtained. If we lose a race in cm_BeginDirOp and the bplus tree is out of date, retry until we get to a consistent state that we can use. (3) Ensure that all operations take place with the correct locks. commit ef6684d005b3858dd6a1a94deee48b4bbd167932 Author: Jeffrey Altman Date: Sat Nov 3 16:08:03 2007 +0000 windows-buf-20071103 assert that the cm_scache_t mutex is held when calling buf_ForceDataVersion(). commit e4ddca6854f7bd4b4ce153b2377bb6ca31f44b8f Author: Jeffrey Altman Date: Sat Nov 3 16:05:43 2007 +0000 windows-bplus-tree-20071103 rename findNode to leafNode in bplus_Lookup replace all OutputDebugString calls with osi_LogX calls modify bestMatch to special case the return values for leaf nodes. If an entry is above or below the values available in the leaf node return BTLOWER or BTUPPER instead of BTERROR. In insert and delete operations check for BTLOWER/BTUPPER and isleaf, if true convert to either slot 0 or Max and perform the insertion. This produces easier to read code when performing lookups. commit a08f0f4dc05890147eb58d8420ada45d2bf69864 Author: Jeffrey Hutzelman Date: Sat Nov 3 15:59:12 2007 +0000 windows-cellservdb-20071103 GCO Public CellServDB 25 Oct 2007 commit 75729fa4ae564f1c5e9efb6f387840ab4b24263f Author: Jeffrey Altman Date: Sat Nov 3 01:05:53 2007 +0000 windows-install-des-prototypes-20071102 required by auth-getkey-prototyping-20071102 commit 32828680ae0342b91bea9fc2c4ecceb25510d7f3 Author: Derrick Brashear Date: Fri Nov 2 18:01:32 2007 +0000 auth-getkey-prototyping-20071102 make this sane commit 6b5146db5b111aca5ab0b3f6423f67fb01303627 Author: Ken Raeburn Date: Thu Nov 1 19:12:38 2007 +0000 viced-new-host-reup-h-lock-20071101 FIXES 69384 don't leave lock dropped commit 20a837c5cc0a093b3c74622056cca9f3f561bd6b Author: Dale Ghent Date: Thu Nov 1 17:05:33 2007 +0000 solaris-cc-deal-with-new-64-bit-arch-specifier-20071101 FIXES 75908 switch from -xmarch=amd64 to -m64 commit 7a0df48baf351eb2aaa2b6c4da0054d111facdb9 Author: Dale Ghent Date: Thu Nov 1 16:57:26 2007 +0000 solaris-nevada-update-20071101 FIXES 75896 update for current solaris nevada commit 089a02bcbc9df2090c275e5620248f478be1e286 Author: Simon Wilkinson Date: Thu Nov 1 16:09:22 2007 +0000 auth-cleanup-20071101 kill warnings in auth directory commit 8b8e0935e474cc2f79638b97134fa9e2d55adee8 Author: Simon Wilkinson Date: Thu Nov 1 15:58:59 2007 +0000 rxgen-ansi-again-20071101 another look at lettign rxgen do ansification commit eea1cb08145b2669384b2380e0878067f826d3dd Author: Tom Keiser Date: Thu Nov 1 14:59:38 2007 +0000 dafs-salvage-deal-with-clones-20071101 FIXES 75591 cope with trying to salvage a clone correctly commit c5678a4af78305cac2246480cc0c038655db324d Author: Chaskiel M Grundman Date: Thu Nov 1 03:23:09 2007 +0000 linux-afs-unlinked-file-dentry-flagging-20071031 fix case: perl -e 'open FOO, ">foo"; unlink(foo); @stat = stat(FOO); print "inode for foo(unlinked) is $stat[1]\n"; system("/bin/ls -ali | grep $stat[1]");' commit 8214014855be3fb99c00c23400a2a3325b2b4a57 Author: Simon Wilkinson Date: Wed Oct 31 22:31:38 2007 +0000 more-anonymous-pointer-cleanup-20071031 more char*->void* conversion commit 27ce37c7a0ea23c46c72484719697a900ac0a714 Author: Jeffrey Altman Date: Wed Oct 31 15:33:27 2007 +0000 windows-btree-20071031 Add additional validation and error handling code after each call to getSlot(). If an invalid slot is returned, return NONODE. If the invalid slot is returned when extracting a data node, invalidate the tree. Modify compareKeys() to always perform a case-insensitive comparison and only perform a case sensistive comparison if the case-insensitive one matches. This ensures the ordering is consistently reported. Add lock assertions to ensure that all calls are being performed with the correct locks being held. There have been some crash reports that provide stack data that does not appear to be possible unless there is a race. However, there are no obvious locations where the race is taking place and the test suite indicates that all of the correct locks are being held. We shall see what happens in the field. For consistency replace all calls to findKey in which the range is (1,numentries) with calls to getSlot(). Optimize the depth search loop by testing the slot value in the for statement instead of forcing the loop to be broken later. commit cf0d1393f4df2c0a8840aa00db05de7bd221c275 Author: Jeffrey Altman Date: Wed Oct 31 15:23:42 2007 +0000 windows-begindirop-20071031 Avoid a race condition in cm_BeginDirOp() caused by the failure to hold the cm_scache_t mutex while copying status data from the scp to the dirop commit ff4c519c789af1c4b126d926dd94f3efab1ebd14 Author: Jeffrey Altman Date: Wed Oct 31 15:20:14 2007 +0000 windows-cm_analyze-ewouldblock-20071031 Add support for EWOULDBLOCK to cm_Analyze. If the file server returns EWOULDBLOCK, retry the request every two seconds for up to the RDRtimeout. commit d16d5c031274e05ea27f12965e094ae42d8af9e5 Author: Jeffrey Altman Date: Wed Oct 31 15:18:10 2007 +0000 windows-uaewouldblock-20071031 Reorganize the order of the includes to ensure that EWOULDBLOCK is not assigned the same value as EIO. commit 3e1646fed23cb58a7220e622aeb8afd519bb9840 Author: Simon Wilkinson Date: Wed Oct 31 12:36:33 2007 +0000 util-cleanup-20071031 kill the warnings in src/util commit 3f449eb48eb0f4069062401a6a27f7481c0e88d3 Author: Simon Wilkinson Date: Wed Oct 31 04:20:33 2007 +0000 openafs-bozo-varargs-20071031 convert bozo to be prototypable commit 855e6442615ad2c42ca8f485d8a7efbcdb8f2105 Author: Simon Wilkinson Date: Wed Oct 31 04:05:27 2007 +0000 openafs-void-star-pointers-20071031 convert anonymous pointers from char* to void* commit 7d05bd439e144aa3bc5fd68908d1a359182897b0 Author: Simon Wilkinson Date: Tue Oct 30 15:10:37 2007 +0000 openafs-string-header-cleanup-20071030 include only what we need commit 7fe8131c049186e8340890a1effdf109d87f0611 Author: Simon Wilkinson Date: Tue Oct 30 03:53:08 2007 +0000 redhat-packaging-update-20071029 update rpm packaging stuff for what shipped in 1.4.5 commit 5a0dfa46f0a02f2c23fc187ab71745fa5cf21964 Author: Jim Rees Date: Fri Oct 26 17:41:54 2007 +0000 update-bsd-readme-20071026 Update build info for Open/FreeBSD. commit 1b3ecae23c87a0d97b561169ca33a6e7eca449ee Author: Simon Wilkinson Date: Fri Oct 26 17:20:22 2007 +0000 redhat-fedora-build-driver-20071026 driver script for fedora builds commit 2ced26c8badb79a81152523bbfb4ef2cc476cb03 Author: Derrick Brashear Date: Fri Oct 26 17:09:40 2007 +0000 redhat-spec-fix-hugemem-modpath-20071026 make this match other kernsls commit ed42d1f71a9c4b2f1dd74227fafce763d5e30ea9 Author: Derrick Brashear Date: Thu Oct 25 06:19:17 2007 +0000 release-notes-1-4-5-20071025 release notes for 1.4.5 commit fb7595ad1d31c5ccafa18de854f2bf8bc8c067de Author: Jeffrey Altman Date: Thu Oct 25 05:47:23 2007 +0000 windows-aclent-remove-extraneous-code-20071024 Microsoft provided a dump showing cm_data.aclLRUEndp == NULL in GetFreeACLEnt(). Couldn't find any reason why that would be true. However, there is extraneous code that manipulates the value of aclLRUEndp when it should be left to osi_QRemoveHT() to update the pointer values. Also add an additional explicit test for aclLRUEndp == NULL in GetFreeACLEnt(). commit 511aed14e0d18aa8c3a9a3742d79443912a4d9ff Author: Derrick Brashear Date: Thu Oct 25 04:42:07 2007 +0000 macos-installer-crap-20071025 put it back the way it was commit d78b844133549b530273fc7ad1ea376d582985d9 Author: Simon Wilkinson Date: Wed Oct 24 16:44:26 2007 +0000 linux-nfstrans-20071024 FIXES 75233 better track changes so we can build an nfstranslator module for new linux kernels commit 1d9ba682a5533bb720ef033287f78cff467aac11 Author: Dan Hyde Date: Wed Oct 24 16:33:31 2007 +0000 cblater-bitmask-bug-20071024 FIXES 75304 add missing () commit 3973d822379ca3af99db43d34d8d3468740cf5a7 Author: Derrick Brashear Date: Wed Oct 24 06:40:12 2007 +0000 darwin-allow-finder-to-unlink-rsrc-files-20071024 finder tries hard to clean up resource fork files it creates when you drop something in a dropbox that don't then get updates. let it think it won commit f814c8a9636b2939da9d0f17de4d71c6fd23ae6c Author: Chaskiel M Grundman Date: Wed Oct 24 06:25:46 2007 +0000 finder-and-tiger-cp-deal-with-dropboxes-20071024 FIXES 69363 this way copying finishes commit 57b28bb8eed956e1fe27cef81efd4cb30e63837d Author: Jeffrey Altman Date: Wed Oct 24 04:49:07 2007 +0000 windows-wix-nsis-uninstall-20071023 At somepoint windows installer broke the use of the 'file' RegistrySearch type. Instead of returning the full file name path we are only getting the directory. Switch to using the 'raw' type since we know we aren't prefixing the file name with a hash. commit 15f6e3170ce8e0c6f8e92f1fe046e2293cf8e833 Author: Mike Meffie Date: Tue Oct 23 23:36:06 2007 +0000 afs-shutdown-free-resources-20071023 try hard to free resources commit 3b3ccef28eb19079e73f78779e2778d3aa44bb83 Author: Derrick Brashear Date: Tue Oct 23 18:37:58 2007 +0000 darwin-uio-64-20071023 use the 64 bit awareness in the KPI commit 66a19a512e2a015b39089343288881a108b8d637 Author: Jason Edgecombe Date: Tue Oct 23 17:59:16 2007 +0000 pod-man-fs-uuid-20071023 FIXES 75175 add man page for fs uuid commit 4526c6a4f7e6f627249580cac0ba9373735ae667 Author: Derrick Brashear Date: Tue Oct 23 15:28:22 2007 +0000 darwin-afsd-cleanup-power-notification-nicely-20071023 don't drop a core on shutdown commit 79e51892fe1d6fe115a9ae6301f4553e6b6dc07c Author: Derrick Brashear Date: Tue Oct 23 15:19:07 2007 +0000 vos-restore-check-doesnt-apply-to-pipes-20071023 as pointed out by hung pham commit 6aaca73002214ff8b7a757322a9bffa3d5af0e3e Author: Derrick Brashear Date: Tue Oct 23 01:30:03 2007 +0000 darwin-modify-cp-workaround-20071022 more work will be needed to fool finder into just copying the d**n file, since it's checking too hard. commit 4456aa773929fa959e998058bfafc14d6309ff49 Author: Derrick Brashear Date: Tue Oct 23 01:02:39 2007 +0000 change-default-probeint-for-rfc4787-20071022 an RFC compliant port mapping device guarantees less time than we previously probed. commit d0285a2193de9868024eb0f432a495bd1802663f Author: Simon Wilkinson Date: Mon Oct 22 18:29:28 2007 +0000 fssync-poll-interface-20071022 FIXES 74708 support a poll interface otherwise, the fd setsize can screw with us commit e25e21e909c5684025a1c6066dedaffa2666c3c7 Author: Simon Wilkinson Date: Mon Oct 22 14:21:26 2007 +0000 cpp-avoid-cc-E-20071022 finding the right cpp is good. having it not be cc -E is better commit fd1bf06004bc698242d8ceec88126384bba8f30f Author: Jeffrey Altman Date: Mon Oct 22 04:32:09 2007 +0000 windows-ntstatus-warnings-20071021 suppress warnings caused by multiple definitions of NTSTATUS values commit f90153625efee1e5589df5e6b66a1162e07ddbfa Author: Jeffrey Altman Date: Mon Oct 22 04:27:14 2007 +0000 windows-del-symlink-20071021 The cmd.exe "del" command operates by opening a file and then setting the file disposition to delete on close followed by closing the file. When the filename is a symlink, the smb_fid_t scp refers to the final destination object and not the symlink. In smb_CloseFid() the correct object would be removed from the directory by name, but the wrong cm_scache_t would be marked deleted. This would result in subsequent references to the target file being considered invalid. Fix it by looking up the cm_scache_t of the symlink prior to performing the deletion. commit 20cfc16e3d6d874a6a21f6ed68ff904dd45142d5 Author: Jeffrey Altman Date: Sat Oct 20 04:58:40 2007 +0000 windows-registry-OfflineReadOnlyIsValid-20071019 Add registry value "OfflineReadOnlyIsValid" option. When set to non-zero value, an offline or down read only volume will be treated as if it has a valid callback even if it doesn't. commit 6122c757e1902baabc35d0ce0f6de336c2576b22 Author: Arno Schuring Date: Sat Oct 20 01:20:51 2007 +0000 cpp-autoconf-located-20071019 let autoconf find cpp commit 7e752ba085729991101782fe40f9db8c6f384734 Author: Derrick Brashear Date: Fri Oct 19 21:37:15 2007 +0000 darwin80-dnlc-dont-return-deadvnodes-20071019 FIXES 41550 obvious. if we are going to be like GetVCache, we should commit 05ee11d3155489bf28ca35b8b1ea4f32c97bf76b Author: Jeffrey Altman Date: Fri Oct 19 05:25:39 2007 +0000 windows-pioctl-parse-path-20071018 cm_ParseIoctlPath() moves the ioctlp->inDatap past the ioctl path to the next data value if there is one. Make sure we move the pointer before we alter the contents of the buffer. Otherwise, the caller uses the wrong string for its next data blob. commit 53baa78733c01dfcf842a7d8339bc3e8c55d517e Author: Jeffrey Altman Date: Thu Oct 18 23:06:35 2007 +0000 windows-pioctl-error-codes-20071018 add knowledge of new cm error codes commit 91855b82c75f7a9d840eb7e47663dd2c41eb561b Author: Jeffrey Altman Date: Thu Oct 18 06:27:40 2007 +0000 windows-freelance-symlink-20071018 More tweaking of the IoctlPathParsing code. Add special handling for many more pioctl operations performed on the Freelance root.afs volume. Add informative error values for symlink freelance operations. commit 8598b81a6904e4a7d3436d5545fdfd7f1ee99890 Author: Jeffrey Altman Date: Thu Oct 18 06:24:39 2007 +0000 windows-smb-20071018 refactoring, suppression of duplicate status value definition warnings, and removal of old pattern matching code commit deced1c9328ee5451c7f6927afb5b08b5d9e4ed4 Author: Jeffrey Altman Date: Thu Oct 18 06:20:08 2007 +0000 windows-afskfw-20071018 Add SOFTWARE\OpenAFS\Client AcceptDottedPrincipalNames registry value to control whether the use of Kerberos v5 principal names with dots in the first component are permitted. commit 930f1d7ad79b9fbc6f329eb85d84a7263b8908d6 Author: Derrick Brashear Date: Thu Oct 18 05:11:16 2007 +0000 redhat-spec-require-bison-flex-20071018 require everything we need to build commit bc1cc5a65b4096d8d489c1d20e0cb3a6f8b5b556 Author: Derrick Brashear Date: Thu Oct 18 05:02:42 2007 +0000 redhat-packaging-updates-20071018 make the buildall script know centos and new fedora; make the spec file include it commit d8faa623f7ae0c26efd9923953f10b80eaed8042 Author: Derrick Brashear Date: Wed Oct 17 21:32:38 2007 +0000 darwin-fsref-other-races-20071017 FIXES 41550 not clear this is exactly correct but testing seems to vet it. commit 49630f29571b5d602e8d57aa1b48e3fe710e2a53 Author: Chaskiel M Grundman Date: Wed Oct 17 18:16:19 2007 +0000 darwin-finalizevnode-get-vnode-inside-lock-20071017 FIXES 41550 the ovp initialization should happen while we have the vnode locked, regardless. commit eac13cbb48a95170a310dedb5d7efd1eeb4350b3 Author: Derrick Brashear Date: Wed Oct 17 15:32:50 2007 +0000 afs-shutdown-free-resources-20071017 try hard to free resources commit 30193a043e0b3d965139ec92227f73ce31f24403 Author: Derrick Brashear Date: Wed Oct 17 04:46:19 2007 +0000 darwin90-disk-cache-20071016 FIXES 43303 don't break memcache, also commit 62689b013451c38843d369ae86e46ab37099648a Author: Douglas Engert Date: Tue Oct 16 22:55:38 2007 +0000 translator-sysnamelist-bugfix-20071016 FIXES 74478 fix sysname list support bug when the list is empty commit 89c8d7e125a5b46f57081000fcbc698eba9e5daa Author: Jeffrey Altman Date: Tue Oct 16 18:24:31 2007 +0000 windows-fs-uuid-20071016 do not require afs client administrator access to display the current Uuid value. commit 7b2fc6e8d53d1ca8f111cd757e723ab27e9a31d9 Author: Jason Edgecombe Date: Tue Oct 16 18:18:28 2007 +0000 fs-uuid-20071016 FIXES 74473 Change "fs uuid" to "fs uuid -generate" where "-generate" is a required parameter. This command requires root access to execute it. Unlike the Windows variant, the UNIX version does not yet support displaying the current UUID to the user. When this functionality is added, "-generate" should become an optional parameter. commit b8ecf28e22b24cf220bbae8042ca3c2d16c7e080 Author: Jeffrey Altman Date: Tue Oct 16 17:55:10 2007 +0000 restore-20071016 FIXES 74531 afs_com_err() was called without specifying the error code. commit 38719a218c44dd78300afe179bf051e3fbd08e0f Author: Derrick Brashear Date: Mon Oct 15 20:19:03 2007 +0000 darwin-access-avoid-confusing-cp-20071015 FIXES 69363 it wants EPERM; EACCES, and it just retries forever. "no means no. now go away" commit d66f71cc08fe1d992e4354938a8968cae03d1ce0 Author: Derrick Brashear Date: Mon Oct 15 18:23:54 2007 +0000 darwin-install-fstrace-catalog-20071015 fstrace needs the message catalog to be useful. install it. commit 38a653ea0d4d3ba8307f50c1ba6637b10d90d176 Author: Derrick Brashear Date: Mon Oct 15 18:00:58 2007 +0000 redhat-spec-no-kdump-really-20071015 make really, really sure it's not there commit 14e71a12b6da596880debc21c224b94c33a5b6f2 Author: Rainer Toebbicke Date: Mon Oct 15 15:13:42 2007 +0000 volser-return-extended-stats-to-callers-20071015 FIXES 74398 make sure when we roll over stats we return the new values commit 707c164a6fb30dad05333c7346cc7d3970270445 Author: Jeffrey Altman Date: Mon Oct 15 04:18:30 2007 +0000 windows-clean-eventlog-20071014 delete AFS_component_version_number.h in the lang subdirectory commit 8a50a53fdf1ec2374bb5b68cfa42b6a3aa3ee84c Author: Jeffrey Altman Date: Mon Oct 15 03:32:12 2007 +0000 windows-pioctl-two-20071014 Two more locations where an intermediary path of length zero should be ignored. commit 7504c664028a3df8bbf5ba682c8b39a8fc05aae2 Author: Jeffrey Altman Date: Sun Oct 14 06:54:06 2007 +0000 windows-pioctl-20071014 do not parse an intermediary path if the path length is 0 commit b6cfa8d6c8e193edafc607a34e338cc62c386a51 Author: Derek Atkins Date: Fri Oct 12 05:28:55 2007 +0000 rpm-kmodule-patch-20071012 install the openafs module in the kernel module area, in rpms commit 7832148ae0e8c9f17a2ac2eb879c7b2fdf69403e Author: Marc Dionne Date: Thu Oct 11 18:44:53 2007 +0000 gcc42-integer-overflow-fix-20071007 fix issue where gcc 4.2 compiled kernel modules were breaking on linux ==================== 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. ==================== with fix from Hans-Werner Pulsen ==================== with fix from Hans-Werner Pulsen commit e1b1f4655f537427369c996b22816b0e5426da82 Author: Derrick Brashear Date: Thu Oct 11 17:51:56 2007 +0000 macos-version-generation-20071011 make release time simpler commit c4ad02b69aae927f1444f7386c040d48ee7abc17 Author: Simon Wilkinson Date: Thu Oct 11 17:38:56 2007 +0000 rpm-files-update-20071011 updates for the specfile and rpm generation commit 4a80289db728d5a4c41144fd7ef8a567f30263d2 Author: Jeffrey Altman Date: Wed Oct 10 19:50:25 2007 +0000 windows-freelance-pioctl-two-20071010 explicitly process the last component of the path separately and do not follow symlinks or chase mountpoints on the last component. commit 63e1761b992e25fa305e6d621b31bd1113f5cbe7 Author: Derrick Brashear Date: Wed Oct 10 18:38:45 2007 +0000 darwin90-disk-cache-20071010 FIXES 43303 support disk cache in darwin90 commit b7030276f7f3a2df538e40b842f04219b23b2ee4 Author: Jeffrey Altman Date: Wed Oct 10 17:05:47 2007 +0000 windows-build-xstat-20071010 build xstat directory commit 9991a731e01426909fed050c1e292bb8a859978c Author: Jeffrey Altman Date: Wed Oct 10 16:43:30 2007 +0000 windows-clean-eventlog-20071010 clean eventlog/lang/AFS_component_version_number.h commit 58627b15ebae4ecd6e574d11e1848fab53ffc2d1 Author: Jeffrey Altman Date: Wed Oct 10 16:37:25 2007 +0000 windows-installer-wix-20071010 Later versions of the wix toolset require that all variables be defined with a value. commit fae48bb39bbcb2366bc4087d7a67126c9d21c525 Author: Jeffrey Altman Date: Wed Oct 10 16:20:29 2007 +0000 windows-freelance-pioctl-20071010 pioctl commands were failing with CM_ERROR_NOSUCHCELL because the Freelance cell object was not being added to the Cell Name and ID hash tables. ParseIoctlPath was not consistently returning the FID of the specified symlink or mount point object. The was still one more case in which CM_FLAG_FOLLOW was being specified left over from windows-parse-ioctl-path-20070629. Changed the use of CM_FLAG_FOLLOW into a 'follow' variable to ease testing and permit easy migration to adding a 'follow' parameter to the function. RXAFS_GetVolumeStatus is always going to fail for Freelance volumes. Fake the response data. UpdateVolume() was performing the wrong test for Freelance volumes. Freelance volumes should not be marked offline even though they have no servers. commit 604838e7d43f4cd65d4eb70208bea57db2e93026 Author: Derrick Brashear Date: Tue Oct 9 22:28:18 2007 +0000 darwin90-debug-harder-20071009 stab the stabs commit 9240a1e2525971e6eb419e5be2ea98a16342b657 Author: Derrick Brashear Date: Tue Oct 9 22:26:24 2007 +0000 taking-rx-back-into-the-20th-century-20061228 ken's patch is now on the ipv6 branch commit b4b2b74d145140fb785170dfbab5ca50ef24f045 Author: Derrick Brashear Date: Tue Oct 9 16:58:47 2007 +0000 darwin90-dsym-and-ppc-cputype-support-20071009 build for all ppc cputypes. also, support dsym debug info instead of stabs, when appropriate commit e4adbbc79b016b3fa4e83ad0e261a4c47aad55a5 Author: Derrick Brashear Date: Fri Oct 5 23:16:36 2007 +0000 sol10-abstraction-20071005 abstract things as needed commit f6e59be4dc203f4662d723ab42ed7f07c3367678 Author: Tom Keiser Date: Fri Oct 5 04:30:19 2007 +0000 dafs-listen-after-restoring-state-20071004 don't start rx server until the previous state has been loaded commit 409a3457033c4fe00074f22def3b29f630367dad Author: Derrick Brashear Date: Fri Oct 5 04:22:27 2007 +0000 vol-salvager-avoid-logging-to-nothing-20071004 check for logFile before using commit 127cebfacdaf84292fc1ecfd64c0e8d259aba474 Author: Marc Dionne Date: Fri Oct 5 04:07:27 2007 +0000 linux-2623-support-20071004 FIXES 70773 update for support for 2.6.23 commit 4ac01ec1ed2ce588185c055acfa3d73095a5b444 Author: Dale Ghent Date: Fri Oct 5 03:22:11 2007 +0000 solaris10-network-updates-20071004 FIXES 72759 This patch removes use of the non-Public ILL structures by OpenAFS to gather network interface information in order to make RX packet size and server locality decisions. commit 3c216378cba651dcb6519d7e615be37b534b56c8 Author: Jeffrey Altman Date: Thu Oct 4 15:11:07 2007 +0000 windows-btree-rename-case-only-20071004 Attempts to rename by case only would fail when there are more than one ambiguous matches. The list of data nodes would be corrupted and future tree manipulations could result in a crash. commit a7abca15b09561a0d9fda11c0cb99c9edd535d1d Author: Jeffrey Altman Date: Wed Oct 3 16:27:53 2007 +0000 libadmin-minimize-dns-lookups-20071003 Some cells have a large number of servers listed in the vldb that no longer exist and/or do not have PTR records in DNS. The algorithm used to obtain the "server names" from IP addresses involves opening a cell handle, creating an iterator of all servers, and then iterating over them until a match is found for the IP address. This is done for every server reference. Each time the iterator was constructed the vldb would be queried and gethostbyaddr() would be called on every listed ip address. This patch stores a copy of the server list in the cell handle along with an expiration time generated from a 10 minute TTL. This significant reduces but does not eliminate the number of times that the caller is blocked on reverse dns lookups. commit a4b995b61811ccfbe0586ad8ab3c096cf817d9b7 Author: Jeffrey Altman Date: Wed Oct 3 16:17:43 2007 +0000 windows-tviced-resfile-20071003 Add explicit build rules for TVICEDRES since we do not build the non-threaded file server on Windows commit 6cc29578b0a7d3ba06003070dce7e1df6cfeb327 Author: Tom Keiser Date: Tue Oct 2 01:14:08 2007 +0000 dafs-cbstate-tracking-fix-20071001 fix this the rest of the places it happens commit 7890ce9eade282398c06c00166b43e7d23151944 Author: Jeffrey Altman Date: Mon Oct 1 21:02:03 2007 +0000 windows-lanahelper-20071001 uninitialized variable in lana_IsLoopback commit aecaddba376c5e2f15a7cb52f1777b07546695d4 Author: Dan Hyde Date: Fri Sep 28 00:15:30 2007 +0000 vollistpart-init-error-20070927 FIXES 72144 correct an initialization failure in VolListPartitions commit 29d5a11a1fad9d93baab18409faed02547df5a63 Author: Tom Keiser Date: Thu Sep 27 17:30:32 2007 +0000 dafs-avoid-volhdr-leak-20070927 when there's an error don't leak the loaded header; release it commit 0ef8174a29d8963eee46b9deddc9cc465925ae88 Author: Jeffrey Altman Date: Thu Sep 20 12:56:54 2007 +0000 readme-nt-20070920 update wix and nsis instructions commit c984f03a9185e5b1b69e182ad891caa83541d08c Author: Jeffrey Altman Date: Thu Sep 20 12:44:23 2007 +0000 windows-version-info-20070920 add version info to the threaded version of butc.exe that we ship commit a0fa3b559836d134c44eae20cbd6d7d1d04a0d10 Author: Derrick Brashear Date: Thu Sep 20 05:52:23 2007 +0000 krb5-aklog-kimpersonate-conditionalize-20070920 make kimpersonate conitional commit 1aad009863a20306faae2996523a7a4c5efab18b Author: Derrick Brashear Date: Thu Sep 20 05:01:44 2007 +0000 dafs-loadvolumeheader-before-we-need-it-20070920 make sure we have a header instead of potentially dereffing null commit 87d87d33ea0b38cfa11ded288e6c24a1db7f13b1 Author: Jeffrey Altman Date: Thu Sep 20 04:54:14 2007 +0000 windows-fs-memdump-20070919 add directory lookup stats to "fs memdump" output commit a186b0d65c00a338995ad1f6379ef232742ab224 Author: Jeffrey Altman Date: Wed Sep 19 22:27:53 2007 +0000 windows-hex-dump-20070919 remove the broken percent quoting from OutputDebugHexDump as it is not required. We never use the resulting string as a print format string. commit feab12b929564a27a77bb84278291493003b605f Author: Jeffrey Altman Date: Wed Sep 19 18:55:55 2007 +0000 windows-version-info-20070919 FIXES 71397 Many of the OpenAFS binaries that are installed on end user machines did not have version information. This is problematic as it is impossible to determine which version of a binary the crash report was filed against when a report is received by Microsoft Windows Error Reporting service. commit b8abf04a45a82cc880d2ad59d3bbf2217fa08c11 Author: Jeffrey Altman Date: Tue Sep 18 17:57:31 2007 +0000 windows-vnovnode-while-file-in-use-20070918 Discovered another case where VNOVNODE errors were not being handled. If there are dirty buffers and a VNOVNODE error is received while writing the buffer, the buffer would be left in the dirty buffers queue. This caused a couple problems: (1) any attempt to flush the file, volume, or cache would fail because there were unflushed dirty buffers that could not be flushed. (2) shutdown of the service would hang because the buffers could not be flushed. In addition, while a VNOVNODE error would result in the cm_scache_t being marked CM_SCACHEFLAG_DELETED, this state was not being checked at the SMB layer. As a result, if a smb_fid_t was allocated and it referenced the deleted cm_scache_t, the SMB operations would continue to be processed and report success even if the actual file or directory no longer existed. We now clear the dirty state on buffers which cannot be written due to VNOVNODE errors. We also check the cm_scache_t for deletion prior to use whenever a smb_fid_t is looked up. If the cm_scache_t is deleted, the smb_fid_t is closed and the error CM_ERROR_NOSUCHFILE is returned for files or CM_ERROR_NOSUCHPATH for directories. commit a47f4bacd8b091a7917ffefe405a6f0f036499d9 Author: Jeffrey Altman Date: Tue Sep 18 07:36:04 2007 +0000 windows-afs-config-vista-uac-vs2005-20070918 merge the manifests for vs 2005 commit 9bf29bbe1e0f8eabe4586dc3bdb5afceb2c19c30 Author: Jeffrey Altman Date: Tue Sep 18 07:13:08 2007 +0000 windows-afs-config-vista-uac-20070918 Mark afs_config.exe via a manifest with requestedExecutionLevel = HighestAvailable This will ensure that when Vista UAC is active, that a member of the Administrators group must run the AFS Control Panel with Administrators privileges. commit 8ba598cd84988f049535b3f9ded3bafa3cfde4ff Author: Jeffrey Altman Date: Tue Sep 18 07:07:16 2007 +0000 windows-cl1310-manifests-20070918 add support for manifests to .NET 2003 builds commit eae26ab6b2b618d55ffbd2498e37a53fddf59ed7 Author: Jeffrey Altman Date: Tue Sep 18 07:04:02 2007 +0000 windows-nsis-20070918 fix error in NTMakefile that used the CL_1310 configuration for the VS 2005 compiler force RequestExecutionLevel to admin for Vista commit 70fa2d2499fbe687e55559fd6d154601645734d6 Author: Jeffrey Altman Date: Thu Sep 13 18:58:00 2007 +0000 windows-down-servers-20070913 Do not assign a new downTime to a server that is already down. Doing so breaks the logic to preserve callback validity until the server comes back up. commit b06335911bb203b74ab7129266680d8d2b97739b Author: Jeffrey Altman Date: Thu Sep 13 02:41:07 2007 +0000 windows-afsmaxpath-20070912 ensure that all path stack buffers are of size AFSMAXPATH commit f15a9a2788a2de589adda1a990a34d36851c4978 Author: Jeffrey Hutzelman Date: Wed Sep 12 19:25:53 2007 +0000 dafs-shutdown-state-fix-20070912 clean up the dafs shutdown code to not read bogus info into the id commit a6d7cacfdca82815af2cc0fda570340802a73dc3 Author: Derrick Brashear Date: Wed Sep 12 19:09:42 2007 +0000 aklog-kimpersonate-20070912 inline kimpersonate support, to make testing easier. commit 5647c133e938a7985365163ccac722119660e97f Author: Jeffrey Altman Date: Wed Sep 12 18:28:00 2007 +0000 windows-dir-bplus-shortnames-20070912 When a file name does not conform to 8.3 notation, an 8.3 notation alias is generated for it. This short name form must be searchable in the B+ tree. This commit adds a longname field to the data node which is used both to identify the real name associated with the short name as well as whether or not the short name is in fact an alias. Being able to determine whether or not a data node is an alias will be important when we support using the B+ tree for directory enumeration. For insertion, if the name does not conform to 8.3 notation, a second entry is inserted into the B+ tree using the shortname as the key and the longname stored in the data. For deletion, we lookup the data node for the provided key. If there is a longname we remove the longname entry first and then the shortname entry. If the key is a longname, we lookup the data node so we can acquire the FID and then use that to compute the shortname. We then remove both the shortname and longname entries from the B+ tree. commit 40090977d270f6113cca4925b9564f57c4917f35 Author: Jeffrey Altman Date: Tue Sep 11 17:11:54 2007 +0000 windows-getcell-deadlock-20070911 don't hold the cm_scache_t mutex across calls to cm_GetCell() since cm_GetCell() can block in an RPC call. If that cm_scache_t must be accessed to revoke a callback, it can result in a deadlock. commit c22f945bb783ba003c12ce73574568a9c4b80304 Author: Chaskiel M Grundman Date: Tue Sep 11 16:37:01 2007 +0000 namei-protect-against-extra-files-20070911 if someone is monkeying in the filesystem, sometimes they shoot themselves. save them if they renamed foo to foo.bak (where foo is a full 64 bits) commit bf6c13352abf39e53e723e60aae11d6e246c0cfd Author: Jeffrey Altman Date: Tue Sep 11 06:02:42 2007 +0000 windows-prefetch-executables-20070911 avoid prefetch race condition in CreateX functions do not permit reference underflow when ending background prefetch ops commit 049c95d74cab7ba99b99f9634a32f38058c86fb1 Author: Derrick Brashear Date: Mon Sep 10 22:54:25 2007 +0000 namei-fsync-less-20070910 remove sync() call from Windows build commit 3b7188b326292c8161048108b2355c4acdc44f30 Author: Jeffrey Altman Date: Mon Sep 10 20:06:58 2007 +0000 windows-prefetch-executables-20070910 This code defines a new service parameter "PrefetchExecutableExtensions" of type REG_MULTI_SZ. By default it is undefined and does nothing. If it is defined, files that match the extensions will be prefetched in their entirety. All of the prefetch functions now pay attention to the length parameters. Previously, length parameters were specified on some functions in the chain but they were ignored. The reality was that the chunksize was used regardless of what was indicated. Prefetching is still optional. If the prefetch fails during the initial attempt you lose. Otherwise, as many buffers as are required to satisfy the requested prefetch length will be requested from the file server in chunksize units. If buffers have already been acquired, they are skipped during the prefetch operation. commit 22da0dd5f8025d8e842229290e3e07207483ce1a Author: Jeffrey Altman Date: Mon Sep 10 20:00:55 2007 +0000 windows-largeinteger-20070910 Fix the function type so that assignment of return values are properly applied. Add missing comparison routines. commit 7a6e406b803115176b9d8d2c235f5c729631103f Author: Jeffrey Altman Date: Mon Sep 10 05:53:48 2007 +0000 windows-callbacks-20070909 when suspending only clear callbacks for servers that are in an up state. if they were in a down state, then we couldn't send the clear callbacks message but more importantly, we need to leave the callback info current because the callbacks should not be cleared until the server is once again reachable. commit 4914e45f26d88f9087a055721020bec9444c731f Author: Jeffrey Altman Date: Mon Sep 10 05:12:10 2007 +0000 windows-readme-nt-20070909 update NSIS version to 2.30 commit 36414528add4f7e30147e19ef9777478ca9f60ef Author: Jeffrey Altman Date: Mon Sep 10 04:33:44 2007 +0000 windows-wix-20070909 make the service display name consistent with the NSIS installer. commit 4913dd6b78d8715bf33af230573e883c6abdabf9 Author: Jeffrey Altman Date: Mon Sep 10 04:30:34 2007 +0000 windows-nsis-20070909 do not link object files twice commit dbbd59495bcda2a93d640f8cf5adf0b587f4591b Author: Rainer Toebbicke Date: Fri Sep 7 05:02:09 2007 +0000 namei-fsync-less-20070907 FIXES 30632 we call fsync() too much. call it less, and fsync in the background commit b3e385fc1093818c59d7f46477bb723132fcfd93 Author: Derrick Brashear Date: Wed Sep 5 22:49:30 2007 +0000 consolidate-cellservdb-20070905 step 1. one place. step 2 is coming: fix the scripts to update it when we do a release commit edaa34d3a0ea74bffd886ec40e1c13af7c38a4af Author: Jeffrey Hutzelman Date: Mon Sep 3 04:58:40 2007 +0000 dafs-savestatefe-avoid-overflow-20070902 The problem is that cb_stateSaveFE() overflows an iovec array on its stack. When it returns, the PC is loaded with garbage and the process crashes. commit a8eddfb0f57ba390d5941608a4689dba8f7f0c0b Author: Jeffrey Altman Date: Sun Sep 2 17:36:23 2007 +0000 windows-64bit-ms2mit-20070902 add ms2mit support for 64-bit windows commit 6270294d49bb1d55630a1a98a8a948ec3b585597 Author: Jeffrey Altman Date: Sun Sep 2 17:21:25 2007 +0000 windows-win64-kfw-20070902 leashw32.dll has been ported to win64 as leashw64.dll commit 7cbd3a320a0d133e171e2625ca9365c768ceea8b Author: Jim Rees Date: Fri Aug 31 18:22:11 2007 +0000 obsd-rm-pinstall-20070831 skip pinstall commit 8056e9347ac139263cdc4b051ec7763d80c11214 Author: Jeffrey Altman Date: Fri Aug 31 15:30:27 2007 +0000 dafs-commit-updatelist-change-20070831 actually save the changed value commit cd7ac781bc7fcc301af837f4fc2b2d3629fb1095 Author: Jeffrey Altman Date: Fri Aug 31 05:02:23 2007 +0000 windows-afscreds-win64-20070830 disable krb4 and ms2mit for win64 commit 084ade0a987589593e2066394f35ebd98ee2137f Author: Jeffrey Altman Date: Fri Aug 31 03:55:53 2007 +0000 windows-afsd-dirop-20070830 Do not attempt to obtain a write lock on a directory if we already know that we aren't going to perform any local directory updates. Add the CM_ERROR_BPLUS_NOMATCH error which has the same meaning as CM_ERROR_NOSUCHFILE except that it indicates that we came to that conclusion as the result of a bplus search. This provides us the ability to short circuit additional directory searches since we know the answer is final. commit d8db0aa8eb313cd6727e392e42fa3ba78a169054 Author: Asanka Herath Date: Fri Aug 31 03:26:13 2007 +0000 windows-wix-20070830 permit instloop.exe to be extraced to Client/Programs/instloop.exe from the installer by using "msiexec /a". commit ad8a1cc2162aa484b9ec0f335c91d4d84dd12aad Author: Jeffrey Altman Date: Wed Aug 29 22:51:35 2007 +0000 windows-64bit-afskfw-20070829 Disable the use of krb524, leash, and ms2mit (because it depends on leash) for 64-bit builds. We will need to implement our own replacement for the ms2mit functionality. commit 0d81b9662e75a36a76b2b708499b101abb9b3bb5 Author: Jeffrey Altman Date: Wed Aug 29 07:53:51 2007 +0000 windows-wix-64bit-aklog-20070829 enable the installation of aklog.exe and asetkey.exe on 64-bit windows. commit d62316facd903af07303845686cfdbb05fc7551a Author: Jeffrey Altman Date: Wed Aug 29 07:45:12 2007 +0000 windows-64bit-aklog-no-krb4-20070829 disable krb4 and krb524 functionality in 64-bit aklog because there is no support in 64-bit kfw. commit 20914ba284846d59c09dd4849d0305e07f939f02 Author: Jeffrey Altman Date: Wed Aug 29 06:31:03 2007 +0000 windows-nim-afs-file-ccache-20070829 make the afs network identity provider compatible with FILE: credential caches. this is mostly of importance to 64-bit Windows users since there is no CCAPI implementation for 64-bit KFW. commit cad4d1137b60c72b108fa97c266115d5dc7dc370 Author: Jeffrey Altman Date: Tue Aug 28 22:22:53 2007 +0000 windows-64bit-nim-no-krb524-20070828 do not load krb524.dll on 64-bit windows commit 1c264430ff8efa1afe7a61162d12cd499d6d30ee Author: Jeffrey Altman Date: Tue Aug 28 18:48:49 2007 +0000 windows-bplus-disable-20070828 In preparation for 1.5.24, disable B+tree support by default. It can be enabled with the "BPlusTrees" registry parameter. commit 43d5267be5c2649110b160d82cf12bed4a60742a Author: Jeffrey Altman Date: Tue Aug 28 18:30:08 2007 +0000 windows-wix-amd64-nim-provider-20070828 Add network identity manager afs provider for amd64 commit 822ad3eb72cca27b7d90f628186290d96c06756d Author: Jeffrey Altman Date: Tue Aug 28 17:59:48 2007 +0000 windows-amd64-20070828 add amd64 build dependencies commit 3eb4ef6301b055135d6420dbf5a6f0e1560f89a8 Author: Jeffrey Altman Date: Tue Aug 28 17:53:26 2007 +0000 windows-nim-amd64-20070828 Add support for 64-bit Windows. commit ac7471cc333bf1676ac0467f6b01995b293fac3c Author: Jeffrey Altman Date: Mon Aug 27 01:10:15 2007 +0000 windows-bplus-20070826 add more DEBUG_BTREE debugging code in placeEntry() protect against slot equal to zero fix compareKeys() to only return -1, 0, or 1. commit cd0a515e9f68604ab0fef15a9b7110402d2bc8a9 Author: Jeffrey Altman Date: Mon Aug 27 01:04:09 2007 +0000 windows-recursion-fix-20070826 protect against a null pointer dereference commit 8f9b810bf0fd2d47d6ff074d816f2b66db1ae1f6 Author: Jeffrey Altman Date: Sat Aug 25 17:55:07 2007 +0000 windows-bplus-tree-20070825 == ! = fix the return code in cm_Rename() commit c8bf408ced50cf9fba1595ec94368e4060223d89 Author: Jeffrey Altman Date: Fri Aug 24 04:19:18 2007 +0000 windows-bplus-tree-20070823 Windows uses case-insensitive file name pattern matching but AFS is a case sensitive file system. The AFS3 directory format is block based, uses network byte order and includes a hash table for fast case sensitive lookups. This causes several problems for the Windows AFS client. (1) Traversing the directory blocks is cpu expensive (2) A hash table miss does not indicate that the desired entry does not exist. (3) Determining whether a non-ambiguous inexact match or the entry does not exist requires a linear traversal of the entire directory. These issues often result in 100% CPU utilization. These issues are addressed by building a modified B+ tree for each directory and then using the B+ tree for searches. Further improvements can be made by using the B+ tree leaf nodes for directory enumeration. commit e5ec3ad4fc7009fec4a0760738a6b23c250d5d83 Author: Jeffrey Altman Date: Thu Aug 23 21:42:55 2007 +0000 windows-recursion-fix-20070823 for . and .. find the last time we saw the fid in the list instead of moving back a fixed count since the parent might be a symlink or a mount point or both commit c675454e7f6b105d1433663a29ef2a9471f0a173 Author: Jeffrey Altman Date: Thu Aug 23 17:50:58 2007 +0000 windows-makedir-uninitialized-var-20070823 scp must be initialized to NULL to prevent improper evaluation commit 985a2e34d60a803c11cce4729b16484847aec97b Author: Jeffrey Altman Date: Thu Aug 23 17:47:46 2007 +0000 windows-volstat-log-20070823 must save the log string when it comes from a buffer on the stack otherwise garbage is logged in afsd.log commit 1727d4928fa71c82d95e0bbd8d5db10baa795f97 Author: Jeffrey Altman Date: Thu Aug 23 17:44:43 2007 +0000 windows-smb-max-path-20070823 the actual max path is 260 not 256 commit 5cae22ea3aa2580aaac1b465c024854791d3d8d7 Author: Derrick Brashear Date: Thu Aug 23 17:28:54 2007 +0000 checkhost-use-reentrant-list-traversal-20070823 rather than making a copy of the whole hostlist and holding every host, hold what we need, the _r (not really reentrant) version. commit 314b3abaff30fb6a359944f14dca3716b8572547 Author: Derrick Brashear Date: Wed Aug 22 20:37:10 2007 +0000 linux-nfs-pag-handling-20070822 don't mishandle pag argument when passed in from e.g. knfs don't make keyring pag for nfs clients commit 10c60218471b1312f4235135aa2e74cd9687a0a4 Author: Jeffrey Altman Date: Wed Aug 22 17:09:53 2007 +0000 windows-fix-recursion-detection-20070822 handle symlinks to absolute paths commit d467431115d6db57fe8dd29c2c0308486997a1ad Author: Jeffrey Altman Date: Wed Aug 22 16:59:16 2007 +0000 windows-newfiles-20070822 add place holders for the B+ tree source files. commit c31cfea03d95779cf334c7aa0c08067e49dc5d47 Author: Derrick Brashear Date: Wed Aug 22 03:16:26 2007 +0000 linux-module-error-handling-20070821 be more careful about what we call when, and clean up after ourselves commit 34bbb13160e0d1fc2155f9fc1a906469d7aa3fde Author: Derrick Brashear Date: Wed Aug 22 03:12:13 2007 +0000 nfstrans-updates-20070821 FIXES 1480 fix the knfs error from the v/c/o pioctl changes commit 2a9ef007a3271ef2e49af13093d4e30c147c0b31 Author: Derrick Brashear Date: Tue Aug 21 22:27:02 2007 +0000 linux-modparam-269-updates-20070821 be consistent on 2.6.9 about which MODULE parm family used commit 8dd2300a788465035ea695d7de81362609d0a5a8 Author: Jeffrey Altman Date: Tue Aug 21 09:42:53 2007 +0000 windows-afskfw-20070821 return required value that was missing commit d0f62da48417989040986a0bd6539d9696616229 Author: Jeffrey Altman Date: Tue Aug 21 09:27:37 2007 +0000 viced-remove-asserts-20070821 remove asserts testing the number of alternate interfaces. commit e9607dcbc7d95c47ee75d8ce6b94220016ef0513 Author: Jeffrey Altman Date: Mon Aug 20 19:47:05 2007 +0000 windows-smb-20070820 correct location of brace due to mis-application of patch commit d0a92c7bdeeac96a0d09e02a1494ff398f57f1bb Author: Derrick Brashear Date: Mon Aug 20 18:50:16 2007 +0000 find-dcache-just-hold-the-lock-slightly-longer-20070820 we go out of our way to hold xdcache to protect indexTimes elsewhere... there's no reason to drop it here just before this... commit da79b76e7d5807330b0fc3c2b9518b150beba312 Author: Jeffrey Altman Date: Mon Aug 20 18:35:59 2007 +0000 tviced-windows-20070820 build serialize_state.c commit 5eff5f4ee8b02d17be64b46f8fb8669a40bf1666 Author: Alejandro R. Sedeño Date: Mon Aug 20 18:26:15 2007 +0000 krb4-64bit-tf-kth-or-mit-20070820 based on his patch for mit kerberos commit 4a9d15a2e4d3e91261dfa1c9fe08f75d88fd166d Author: Jeffrey Altman Date: Mon Aug 20 02:00:48 2007 +0000 windows-fix-recursion-detection-20070819 the recursion detection code did not take "." and ".." into account. commit d71d37bad8f1ce7fea59d537464d1d82ce8f2508 Author: Jeffrey Altman Date: Mon Aug 20 01:06:31 2007 +0000 windows-fs_utils-20070819 update prototype for util_GetInt32 for consistency with src/utils/vosparse.c commit a6fe83d9a661743b11ee1eb7cc8f3f46810475da Author: Russ Allbery Date: Sun Aug 19 23:04:31 2007 +0000 no-kseal-20070819 Don't build or install kseal by default. It's a debugging tool with very limited utility. commit dfb2961b677299a726be33e63b29476f003d03a7 Author: Jason Edgecombe Date: Sun Aug 19 23:02:27 2007 +0000 man-page-fixes-20070819 More details on how to run check-pod. Restore the [] markup in the vos changeloc SYNOPSIS since the flags really are optional. commit fb1cc324a498908f823e3c8ceb2b2be29cc785c3 Author: Jason Edgecombe Date: Sat Aug 18 03:28:54 2007 +0000 man-page-vos-changeloc-more-20070817 Mention vos changeloc in the vos man page. Also include an incidental fix to pts source's man page. commit dc5adbeaac1548a7649ee81cb87d9eea88021b93 Author: Jason Edgecombe Date: Sat Aug 18 03:24:24 2007 +0000 man-page-vos-changeloc-20070817 Add a man page for vos changeloc. commit 024442b020043501f14069d762ecefbf7feef59a Author: Jason Edgecombe Date: Sat Aug 18 02:05:42 2007 +0000 man-page-fs-updates-20070817 Add man pages for fs flushall and fs getcalleraccess. commit 815ac3c773d9312f2abf6e7903aa3d723618485a Author: Jason Edgecombe Date: Sat Aug 18 01:41:39 2007 +0000 man-page-bos-util-20070817 Add a man page for bos_util. commit 87efbab4e8c0dc37c1938503eea88f7f319b7e5d Author: Jason Edgecombe Date: Sat Aug 18 00:35:44 2007 +0000 man-page-updates-20070817 Add new man pages for pts interactive, quit, sleep, and source. Fix POD errors in a few other man pages and update the to-do list in README. commit a8172fca24f91e2b5ab10f66d62d766b7e5d46c1 Author: Jason Edgecombe Date: Fri Aug 17 20:57:20 2007 +0000 man-page-check-pod-20070817 Add check-pod script to test for POD syntax errors. commit 25ace7c2c79705a59be4aded829aaf8d1dc003e2 Author: Derrick Brashear Date: Thu Aug 16 04:51:06 2007 +0000 aix-dont-use-root-vfs-for-anything-20070815 the cache may not be in /; we basically never need rootvfs commit b20488de08d230125b3110ec51fe753ef514ddb7 Author: Jeffrey Altman Date: Mon Aug 13 20:20:31 2007 +0000 windows-fs-utils-prototypes-20070813 use ANSI prototypes and function declarations commit 35f91f1203717f8ab9f00f0914025fc6606e102d Author: Jeffrey Altman Date: Mon Aug 13 03:52:21 2007 +0000 windows-service-manager-20070812 provide the windows service manager with shutdown hints in addition to startup hints commit a9e7bedcc91a9cb00b2cb1af80fe273fc70664f6 Author: Jeffrey Altman Date: Mon Aug 13 03:25:33 2007 +0000 viced-dafs-20070812 include viced_prototypes.h commit c677b79931efb672a439993f32571c53ce17c56e Author: Jeffrey Altman Date: Mon Aug 13 03:11:55 2007 +0000 windows-remove-is5-20070812 remove last trace of InstallShield5 from build rules commit 58d5f38b10b35ab3712eacde60f2a06fb2f2a062 Author: Jeffrey Altman Date: Sun Aug 12 00:39:33 2007 +0000 pts-20070811 remove SUPERGROUPS condition for compilation of pts commands: Interactive, Quit, Source, Sleep fix the assignment of 'source' to permit it to function rename functions to avoid conflicts with Win32 API on Windows replace bcopy and bzero with memcpy and memset to permit compilation on Windows replace ubik_Call(xxx) with ubik_xxx() (testpt.c) add -DSUPERGROUPS and map.c to NTMakefile commit e7ff4185a5e978798b194f8214056425debc8fbc Author: Jeffrey Altman Date: Fri Aug 10 21:38:20 2007 +0000 windows-adjustable-block-size-20070810 New registry value "BlockSize" can be used to specify an alternative block size. The default is 4K. A larger blocksize will be needed if you want to support a 6TB cache. Also extend the service startup timeout hint to two minutes to give the AFS client service more time to startup successfully when the cache is really large. commit 7a042f3ce4914079ade3c159a7b541445acf758b Author: Jeffrey Altman Date: Fri Aug 10 13:36:24 2007 +0000 windows-wix-20070810 add a separate description string for the 32-bit afs shell extension commit 493cad12aa00c321ad125118a9bd9b037a651863 Author: Derrick Brashear Date: Fri Aug 10 05:11:35 2007 +0000 viced-cleanup-head-20070810 fix demand attach rwlock code on macos, fix host tracking code everywhere only applies to head and 1.5 commit 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc Author: Jeffrey Altman Date: Thu Aug 9 23:53:07 2007 +0000 windows-aklog-20070809 correct an error message commit 6811175f37ba51691556d64309d59dbff8a1a29c Author: Rainer Toebbicke Date: Thu Aug 9 15:56:51 2007 +0000 64bit-ticket-file-20070809 fix the ticket files we write on 64 bit commit 377689b39a1821eb268b25cebc9e6cb1ccc0d88a Author: Jeffrey Altman Date: Thu Aug 9 06:33:17 2007 +0000 windows-dirty-buffer-optimization-20070808 when storing dirty buffers only store the bytes that are dirty increase the default chunksize from 128KB to 1MB remove OVERLAPPED field from cm_buf_t. It was unused. add a dummy pointer in order to ensure data structure compatibility between the checked and release builds. commit d51feff4b2c79fb25666559abbb007823d938d57 Author: Jeffrey Altman Date: Wed Aug 8 17:30:20 2007 +0000 viced-hash-20070808 (1) fixes a bug that could cause a 'host' structure to not be removed from the global host list if the 'host' did not possess an interface list. This would happen with older AFS clients that do not support the WhoAreYou family of RPCs. Windows clients older than 1.3.80 and old Transarc UNIX clients. (2) fixes a bug which could result in ViceLog being called with an uninitialized 'hoststr' buffer as a parameter. (3) ensures that only addresses known to belong to the 'host' are added to the address hash table. The list of addresses provided by the client are stored as alternates and are only used when searching for a client that is no longer accessible on the primary address. These addresses are not stored in the address hash table within initInterfaceAddr_r(). The addresses provided by the client should not be added to the hash table because they have not been verified as belonging to the 'host' that provided them. The contents of the list may in fact be completely unreliable. Consider the existing UNIX clients that generate the list at startup and never alter it even after the client has migrated to a different network. If two client's both claim the same address, lookups by address may fail to find the correct one. a. The client list might contain private address ranges which are likely to be re-used by many clients allocated addresses by a NAT. b. The client list will not include any public addresses that are hidden by a NAT. c. Private address ranges that are exposed to the server will be obtained from the rx connections that use them. d. Lists provided by the client are not necessarily truthful. Many existing clients (UNIX) do not refresh the IP address list as the actual assigned addresses change. The end result is that they report the initial address list for the lifetime of the process. In other words, a client can report addresses that they are in fact not using. Adding these addresses to the host interface list without verification is not only pointless, it is downright dangerous. e. The reported addresses do not include port numbers and guessing that the port number is 7001 does not work when port mapping devices such as NATs or some VPNs are in use. (4) improves logging to ensure that all references to a 'host' structure report both a memory address and the IP address/port. this will avoid confusion *if* more than one 'host' structure is assigned the same primary address. (5) logs the UUID along with the client addresses when initializing the host's interface list. (level 125) (6) saves memory by using a smaller structure for the UUID hash table commit f099df38b2eff9c8c5afb52ec1a69dd89af22dad Author: Rainer Toebbicke Date: Wed Aug 8 16:53:17 2007 +0000 viced-multi-probe-addr-20070808 FIXES 67355 MultiProbeAlternateAddress_r badly indexes the list of interfaces for clients with multiple IP interfaces, resulting in peers with IP address 0 port 0 to be created. This in turn results in rxi_sendmsg errors (on systems where caught early, as on Linux, on others it may pass unnoticed). commit 8c69510d92052607f94d947ce2dd3e0b40eee42f Author: Jeffrey Altman Date: Tue Aug 7 05:00:06 2007 +0000 windows-afsd-uninit-vars-20070806 FIXES 67126 ensure the connp is set to NULL in case of error commit 87d2f5cd3f1e370f6daf6b6170e00f156644315a Author: Jason Edgecombe Date: Sun Aug 5 22:58:35 2007 +0000 man-page-vos-size-20070805 Add a new man page for vos size. commit e7742db31f68acf2d227c13840e0a0ed9291d247 Author: Jason Edgecombe Date: Sun Aug 5 22:38:10 2007 +0000 man-page-fs-newalias-20070805 Add a new fs newalias man page. Add -help to the synopsis and options of the other new man pages. Add additional missing links in the fs man page. Fix some wording in the CellAlias man page. commit 95cfc0cfafe5c0a3f9f8ff07cb3c2be29fe9e3fc Author: Jason Edgecombe Date: Sun Aug 5 22:16:47 2007 +0000 man-page-fs-listaliases-20070805 Add manual page for fs listaliases. Also add the links in the fs(1) man page and update README more for the current to-do list. commit e735ef962de3623f8fa11cca92d13151d62b5aaa Author: Russ Allbery Date: Sun Aug 5 22:08:22 2007 +0000 man-page-style-20070805 Some style fixes and some additional style documentation in README. commit 8761673c608986d32bb858b26441b09c24f41696 Author: Jason Edgecombe Date: Sun Aug 5 22:01:42 2007 +0000 man-page-afsd-crypt-alias-20070805 Complete the documentation of the afsd flags and update a few things like -settime and -nosettime. Add man pages for fs setcrypt, fs getcrypt, and CellAlias. Based on work by Jason Edgecombe and then extensively edited, so any errors I probably introduced. commit 9353e122a33044df752e61de95f155f63876f0a2 Author: Asanka Herath Date: Thu Aug 2 22:05:39 2007 +0000 windows-local-directory-updates-smb-20070802 The windows cache manager has suffered from poor performance as a result of Create, Rename, and Delete operations because they invalidate the contents of the directory pages in the cache thereby forcing them to be reloaded from the file server. As the directory size increases, the clock time necessary to perform the reload increases. This delta adds support for parsing and updating the AFS3 directory buffers to cm_dir.c. It then uses that functionality to perform local updates to the directory buffers whenever the following conditions are met: 1. the data version on the directory as a result of the change was incremented by one. 2. all of the directory buffers required for the update are in the cache. If these conditions are not met, the directory is reloaded from the file server. commit ac5346c3703e199eaabf8eeb7e156e42644092c4 Author: Jeffrey Altman Date: Thu Aug 2 21:57:38 2007 +0000 windows-no-more-infinite-recursion-20070802 FIXES 15855 In cm_NameI, keep track of what fids were crossed when evaluating the path. If we discover a loop return a CM_ERROR_TOO_MANY_SYMLINKS error. This resolves the complaint that when infinite loops are hit in the afs name space the afsd_service.exe process uses 100% of the CPU. commit c4047f6cb52927890329b09669b1a2686ace6059 Author: Asanka Herath Date: Thu Aug 2 21:52:54 2007 +0000 windows-local-directory-updates-20070802 The windows cache manager has suffered from poor performance as a result of Create, Rename, and Delete operations because they invalidate the contents of the directory pages in the cache thereby forcing them to be reloaded from the file server. As the directory size increases, the clock time necessary to perform the reload increases. This delta adds support for parsing and updating the AFS3 directory buffers to cm_dir.c. It then uses that functionality to perform local updates to the directory buffers whenever the following conditions are met: 1. the data version on the directory as a result of the change was incremented by one. 2. all of the directory buffers required for the update are in the cache. If these conditions are not met, the directory is reloaded from the file server. commit 10b76dffa0ece0cca898637a00d34b27809b9eb9 Author: Jeffrey Altman Date: Thu Aug 2 21:44:54 2007 +0000 windows-do-not-expire-cbs-when-servers-are-down-20070802 if all of the servers are down when a callback is due to expire delay the expiration until at least one server is available. this prevents some applications that are running when the CM is off the network from failing if their pages are swapped out. commit 4d75b4758e70d42999bc6605971f606b03127bc9 Author: Jeffrey Altman Date: Thu Aug 2 06:20:08 2007 +0000 windows-libafsrpc-20070802 use bg-fcrypt in libafsrpc.dll which is used by the CM commit 4b8db9f2119de86b9e52e947cc5708d89dbcc3f5 Author: Jeffrey Altman Date: Tue Jul 31 23:19:15 2007 +0000 rxkad-bg-fcrypt-unbreak-windows-20070731 i (derrick) broke everything. fix it. commit ece19eefbe46400e1c28834570deed7294761167 Author: Derrick Brashear Date: Mon Jul 30 14:17:27 2007 +0000 viced-avoid-tying-up-all-threads-20070730 FIXES 19461 implement a thread quota. commit a608cd2e24e50026c36148eb357c03d583384dde Author: Derrick Brashear Date: Sat Jul 28 15:31:44 2007 +0000 darwin-avoid-fsref-panic-maybe-20070728 maybe this works. commit 840ad12eb3f2f5b35a37d876aef93c01a0bea3d3 Author: Jeffrey Altman Date: Sat Jul 28 04:03:58 2007 +0000 windows-fs-20070727 return error when GetCell fails commit 0ba1a6275755e7df19cab1cf20fb1b7aaf176c61 Author: Jeffrey Altman Date: Sat Jul 28 03:50:23 2007 +0000 windows-rdrtimeout-20070727 RDRtimeout is seconds. need to convert to milliseconds for comparison commit d7d12d7c9b9cec32d4415b9d7bf1058d99d63d14 Author: Jeffrey Altman Date: Fri Jul 27 16:40:44 2007 +0000 windows-client_config-20070727 FIXES 66302 change text of error message to indicate that the user is not a member of the AFS Administrators Group instead of not being a Windows administrator. commit b741b29b4b1272ceb4081f7ab25e556e6513d7e5 Author: Steven Jenkins Date: Thu Jul 26 21:53:42 2007 +0000 man-page-demand-attach-20070726 Document additional bos flags for the demand attach file server. commit 2367c273bbfd3cbecc72b770ede579e60da153e2 Author: Jason Edgecombe Date: Thu Jul 26 21:46:46 2007 +0000 man-page-updates-20070726 FIXES 65988 Mention aklog and kinit in klog's man page, add -dynroot to the afsd man page, and mention that -skipauth tells uss not to create any Kerberos principal and this has to be done separately. commit ed13fac9114d3743ca1d448d3bce7f9d43bf4f5a Author: Derrick Brashear Date: Thu Jul 26 18:04:21 2007 +0000 md5inum-md5-clobbers-input-20070726 commit 8ba66b7ff5f78463420bed521d0cf78f708497ed Author: Jeffrey Altman Date: Mon Jul 23 00:09:06 2007 +0000 windows-afsd-ubik-20070722 not currently in use but replace ubik_Call(FOO,...) with ubik_FOO(...) commit 16b32c134590fbdb13b83ea71be0579338ab8f7e Author: Derrick Brashear Date: Thu Jul 19 19:51:55 2007 +0000 volser-directoryless-incremental-dumps-20070719 add an rpc, give vos a switch, allow incrementals which do not include directory objects commit 960ac913a43a2fba408c08518d7114fe6b633ab5 Author: Jeffrey Altman Date: Thu Jul 19 16:55:44 2007 +0000 windows-afs-svrmgr-20070719 uninitialized variable removal commit 58d6f0b42ad552972e03c75d61d90a0398adf0cc Author: Derrick Brashear Date: Thu Jul 19 16:14:20 2007 +0000 viced-assert-less-20070719 in don't assert for every silly thing commit 91fee8a699e31ad825e84a4f2bd56eb9093ea85a Author: Derrick Brashear Date: Thu Jul 19 16:09:50 2007 +0000 viced-no-nulluuid-20070719 a host with a zero uuid has no uuid support commit c01005269959257ed5c4ecfbde176a02ee25dea3 Author: Derrick Brashear Date: Thu Jul 19 16:00:20 2007 +0000 kill-more-ubikcall-20070719 tested more ubik call death, so, byebye commit 982f455debcb50d0a59b0997085e7b2e9475b604 Author: Derrick Brashear Date: Thu Jul 19 15:55:39 2007 +0000 vos-validate-dumpfile-20070719 based on code from jon nials validate a dumpfile as being complete (look for end of dump signature) commit ef76695bb906c331a69356d1eb63ef00e56ea615 Author: Cesar Garcia Date: Wed Jul 18 15:21:12 2007 +0000 libadmin-deubikcall-cleanup-20070718 remove bogus extra arg commit 397cd0c3b87348d2eb642b2bb5f8a175c1d96b8e Author: Jeffrey Altman Date: Wed Jul 18 14:02:59 2007 +0000 windows-pioctl-20070718 cm_dir.h depends on cm_buf.h commit a8b270d5a3db7a873de5cb945ccfc5c6425798f9 Author: Jeffrey Altman Date: Wed Jul 18 13:07:46 2007 +0000 windows-single-dir-search-not-bulk-20070718 the single directory search routine used when there are no wildcards does not perform a bulk stat operation. do not set the flag on the cm_scache_t. commit 5e8227cd5e73631bb925710108638b109e6e43ff Author: Derrick Brashear Date: Tue Jul 17 18:04:01 2007 +0000 fs-state-only-in-dafs-20070717 FIXES 65681 only in dafs. oops. commit 65c1b37f15e0fc7963aac9fa630613cf0d29df26 Author: Jeffrey Hutzelman Date: Tue Jul 17 13:15:19 2007 +0000 osi-probe-check-readable-20070717 FIXES 63971 avoid potentially reading pges that don't exist commit 2abf6e204c6f72993021a45485523aa04bca8ac2 Author: Marcus Watts Date: Tue Jul 17 13:06:47 2007 +0000 bg-fcrypt-64bit-fix-20070717 instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types... commit 7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff Author: Russ Allbery Date: Tue Jul 17 04:46:25 2007 +0000 sparc32-no-ucontext-20070716 Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement getcontext/setcontext for that architecture. commit f489b05a1c055f3aa8eccdbcd96f8bbcfbf466e7 Author: Derrick Brashear Date: Tue Jul 17 04:10:18 2007 +0000 sparc32-no-getcontext-20070716 implement ptr_mangle for sparc32 commit 5662cd310b03b14d17f4443035b47126f9729207 Author: Eric Sturdivant Date: Mon Jul 16 21:40:45 2007 +0000 xbsa-54-solaris-cplusplus-fun-20070716 FIXES 65588 deal with change to c++ xbsa library commit 82cb8884c8c962c7fbc3fc75f923e3dfdfc24a76 Author: Jeffrey Altman Date: Mon Jul 16 00:58:52 2007 +0000 libadmin-ubik_call-20070715 replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...) correct the incorrect parameter lists for ubik_FOO() commit a818f2d6b6dfb1538e929c74db466cbec1a1ae64 Author: Derrick Brashear Date: Fri Jul 13 20:53:58 2007 +0000 aix-aklog-lam-plugin-20070713 allow aklog equivalent from lam commit 7aa5f7ad8b50e74eba1a9f359c1c5ae44b87a016 Author: Derrick Brashear Date: Thu Jul 12 19:10:05 2007 +0000 suser-aix-macro-20070712 can't use ifdefs inside the macro... commit 1e86d1f3cc8166b8303e208e3a12922d44061317 Author: Derrick Brashear Date: Thu Jul 12 09:28:26 2007 +0000 demand-attach-init-fsstate-rwlock-20070712 the rwlock needs to be initd before use commit e13f8859a01509a45d686972959c73be1d46e500 Author: Douglas Engert Date: Wed Jul 11 05:29:36 2007 +0000 aklog-deal-without-524-20070711 patch in a way of dealing with no krb524 commit 73087bd4bea8a15032b6d3309940ff183804a99d Author: Rainer Toebbicke Date: Tue Jul 10 21:27:59 2007 +0000 pagsh-krb5-20070710 FIXES 54621 clean up the environment commit 28208c9a241b54d20eb492a2ffdd85b30b03f011 Author: Derrick Brashear Date: Mon Jul 9 20:58:57 2007 +0000 linux-register-fs-deal-with-error-20070709 deal with other people who think they are afs. commit d8457dd359fccfc461b220061d23cf7600a95a4c Author: Chaskiel M Grundman Date: Mon Jul 9 20:14:09 2007 +0000 sparc-linux-des-alignment-20070709 seems like compilers really hate des. it should would be nice to euthanize this. it's a shame there's no simple license-friendly des library to use commit 90bc0a7f3108372bfc9408127fea17d37025c9ae Author: Jeffrey Altman Date: Sat Jul 7 14:36:59 2007 +0000 windows-give-up-callbacks-20070707 don't try so hard to give up all callbacks. If the server doesn't respond in 10 seconds, too bad! cleanup the server probe code a bit. reorganize the code so that we can avoid unnecessary pointer evaluation. add a missing include file. commit 5e29856f7a079fbfb7d3331a1b57414413c0a484 Author: Jeffrey Altman Date: Sat Jul 7 00:20:38 2007 +0000 windows-afsd-misc-20070706 * Do not give back callbacks to down servers * Output more cm_scache_t data in afsd_alloc.log * call VolStatus_Service_Stopped after the service has stopped commit 62bf68f4ba952d06aa82e1607a43a72a203befd0 Author: Marcus Watts Date: Fri Jul 6 12:37:01 2007 +0000 budb-ol_verify-20070706 FIXES 53210 fixes a missing pointer declaration that would presumably break on 64-bit architectures. commit 600a20f5a2fdd9fbcd0e54412fa29f7a16906359 Author: Jeffrey Hutzelman Date: Fri Jul 6 00:44:35 2007 +0000 cellservdb-20070705 GCO Public CellServDB 05 Jul 2007 commit 2b9525fe9e09ad90b08c9a60fa4b098df542c047 Author: Jeffrey Altman Date: Thu Jul 5 20:21:19 2007 +0000 windows-volume-status-plugin-20070705 This delta adds an interface to an optional volume status handler. The handler (if provided) receives status updates when volumes change state between online, offline, busy, and alldown. commit 01184d053a01973e14e0674c3b4c447b632775d4 Author: Jeffrey Altman Date: Thu Jul 5 16:54:48 2007 +0000 windows-license-translation-20070705 replace GlobalAlloc with malloc. initialize memory and consider the inability to read the entire input file as an error. commit 1027ca87a78f02b62af67adfd85fdd4cd43fa65e Author: Jeffrey Altman Date: Tue Jul 3 15:11:35 2007 +0000 windows-heap-corruption-20070703 fix buffer over write error introduced since 1.5.20 commit 35a2fe01dd4c8a73515c46cd9a076453e7434547 Author: Derrick Brashear Date: Tue Jul 3 15:01:19 2007 +0000 macos-no-default-memcache-20070703 this should be leopard only memcache for now commit a5815643fcdbb96a01d73520fa22f5652f11413d Author: Derrick Brashear Date: Tue Jul 3 05:21:55 2007 +0000 des-p-temp-volatile-20070703 make des work again on powerpc darwin and possibly elsewhere commit 8edfefbb9de23f7b1d1b23f6ce73c3310230e034 Author: Jeffrey Altman Date: Tue Jul 3 01:33:47 2007 +0000 windows-get-cellinfo-afsdb-20070702 enable afsdb records for get cellinfo lookup outside of afsd_service.exe ==================== 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. ==================== do not perform afsdb lookup for Freelance.Local.Root cell commit a41d0af021b7b56532bb70d7aa63701e3915b099 Author: Dan Hyde Date: Mon Jul 2 18:05:04 2007 +0000 volser-delete-clone-not-source-20070702 FIXES 64268 fixes a bug in the UV_CopyVolume2 cleanup code. Without this patch, the cleanup code will delete the source volume. commit beb094fb2efaa84e99ac993a737e56379e5d3e1a Author: Jeffrey Altman Date: Sat Jun 30 05:43:17 2007 +0000 windows-parse-ioctl-path-20070629 The UNIX client does not follow mount points or symlinks when evaluating ioctl paths during commands such as "fs examine". The Windows client did which was annoying when you wanted to know the FID of a mount point that was not properly being evaluated. commit 871297aa21fbc0de58e696de8bcd2344389bf240 Author: Jeffrey Altman Date: Sat Jun 30 05:37:39 2007 +0000 windows-eol-20070629 fix end of line for memdump output commit 43e97a8ede45ee1c469f9e275f58d50d740977df Author: Jeffrey Altman Date: Sat Jun 30 00:51:36 2007 +0000 windows-procmgmt-library-20070629 Since the library creates its own background thread, the library must load its own reference to itself to prevent the library from being unloaded behind its back. commit 3309000efc3d6a8738792f27ca6b00c75c9d3963 Author: Jeffrey Altman Date: Thu Jun 28 05:10:10 2007 +0000 windows-remove-give-up-callbacks-scache-recycling-20070627 remove the conditionalized code used to give up callbacks in response to stat cache recycling due to performance impacts described in the commit for DELTA windows-give-up-callbacks-20070627 commit 61e6f04009bba3ac13a8eda4a6663f4b6508dbc9 Author: Jeffrey Altman Date: Thu Jun 28 05:04:21 2007 +0000 windows-give-up-callbacks-20070627 This large patch adds support for giving up callbacks in response to three events: 1. power management suspend 2. power management shutdown 3. stat cache object recycling The third item is submitted as a condition compilation if GIVE_UP_CALLBACKS is defined. Properly handing callback give ups and the associated race conditions with revokes and fetch status requests requires a great deal of over head. The first attempt used one GiveUpCallBacks RPC for each callback that was being dropped as the stat cache object was recycled. This resulted in a 27% performance drop in the MIT stress test. The code that is being committed maintains a callback give up list on each server object. The callback is added to the list as the callbacks are dropped and then they are sent to the server in bulk by the background daemon thread if the server is known to be UP after a ping. Logic is added to the EndCallbackRequest and CallbackRevoke operations to ensure that race conditions are addressed. With all of this, there is a 17% performance drop in the MIT stress test. As a result, it is my conclusion that the client side costs associated with optimizing the load on the server are simply too high. I am committing this code to ensure that it is not lost. I will remove this support in the next patch while leaving the support for giving up all callbacks in response to suspend and shutdown events. commit 5c9c49137f9b08ef919963c0c9d8fdfcb9733307 Author: Jeffrey Altman Date: Thu Jun 28 04:52:12 2007 +0000 windows-odd-vnode-is-dir-20070627 its odd vnodes are directories, not even ones commit b3d34ab12c7dc13dae6fe90596326ba1e8633ae3 Author: Jeffrey Altman Date: Thu Jun 28 04:33:50 2007 +0000 windows-pioctl-20070627 add cm_server.h to the include list commit f7c4a7e538a3f4cca0c1ae988f56561ac5383ab2 Author: Derrick Brashear Date: Thu Jun 28 03:11:01 2007 +0000 volser-earlier-logging-20070627 deal with the changes to deal with reconnecting in the unix domain fsync socket commit 9ca8794ed4561e977df075a636869f308ef1f778 Author: Jeffrey Altman Date: Thu Jun 28 01:33:43 2007 +0000 windows-afsd-headers-20070627 remove unneeded headers and shuffle order where necessary commit 7ecca7a58a5cd64c78ee20c712dfe8f419992678 Author: Jeffrey Altman Date: Thu Jun 28 01:15:27 2007 +0000 windows-smb-race-20070627 avoid a race condition when the smb_fidp is closed and an active request is being performed on the referenced cm_scache_t. commit d9875469022d2aa91dff595dc97f37466852bfbc Author: Kevin Hildebrand Date: Wed Jun 27 22:18:59 2007 +0000 amd64-linux-24-syscall-probe-symbol-change-20070623 FIXES 63763 probe for something else for 2.4 and older ==================== 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. ==================== i'll spare you commit 6e2737190a46c9043ceb2bd7285471f00273a995 Author: Derrick Brashear Date: Wed Jun 27 17:29:35 2007 +0000 forceallnewconns-prototype-20070627 missed this earlier. linux wants it. commit 17c7ab74613309d1af0b664a81796975ac6f698d Author: Derrick Brashear Date: Tue Jun 26 20:00:26 2007 +0000 macos-afsd-dont-leak-symbol-20070626 avoid leaking a ref to this symbol outside macos code commit 470be46a4c6231ebf422b9fa9d9c47baa4342824 Author: Jeffrey Altman Date: Tue Jun 26 06:40:35 2007 +0000 backup-usedump-20070625 FIXES 55704 afs_com_err not com_err commit 5e5bfa6b9401ebc1fa5446e208cf46c15943c411 Author: Tom Keiser Date: Mon Jun 25 21:22:49 2007 +0000 aix53-avoid-wait-crash-20070625 avoid crashing because of unpinned mmemory when doing event handling commit 3eb7be5c5e63fbf5cbd978c29f155f3e0de856bb Author: Jeffrey Altman Date: Mon Jun 25 05:58:30 2007 +0000 windows-get-server-list-20070625 return an error when the cm_fid_t * is NULL since we can't look up the volume to obtain a server list without knowing which volume we should be looking up if the fidp is known to be NULL, don't call cm_GetServerList() commit 99a61e9762373f0b2b6352fe108bb42cf59f6340 Author: Chas Williams Date: Sat Jun 23 16:28:11 2007 +0000 memcache-alloc-failures-20070623 FIXES 55339 deal with alloc failures in memcache commit a2cd5f5ec0cf20cca2f4a568f23759eda42e1fcc Author: Garry Zacheiss Date: Sat Jun 23 16:13:17 2007 +0000 backup-usedump-20070623 FIXES 55704 restore from specific dump id commit 8e180b6303d37cf4e45d52b67089fa9405e6aa22 Author: Derrick Brashear Date: Sat Jun 23 15:17:46 2007 +0000 image-fix-20070623 commit fe61d4e3a1e9419983a7a3e59ba0d196000edddd Author: Derrick Brashear Date: Sat Jun 23 15:01:24 2007 +0000 doc-add-missing-gifs-20070623 FIXES 1826 commit ec223f850b654365d13a7f8ae483c883d35413ab Author: Derrick Brashear Date: Sat Jun 23 07:21:00 2007 +0000 newuuid-fix-20070622 yeah, i should commit from places with better network if i'm going to need to edit in place, so i can see what i'm typing commit 31dfee00018d447dceccdb71c9927e84087639c8 Author: Asanka Herath Date: Fri Jun 22 23:22:09 2007 +0000 windows-install-wix-20070622 add the images from relnotes_files to the distribution. commit ccfba9c7b806bdbd60f31010618e99eb48d2ddb6 Author: Jeffrey Altman Date: Fri Jun 22 23:15:38 2007 +0000 windows-cell-hashtables-20070622 Add name and ID hash tables for cell lookups. cell lookups occur on every request. sometimes multiple times. removing the walking of the cell list when there are dozens of cells decreases cpu utilization and increases throughput. commit 8fb02b0a0c4f16a9c3de2c6c5494a7b32c3914fd Author: Jeffrey Altman Date: Fri Jun 22 15:42:12 2007 +0000 windows-install-nsis-20070622 add missing jpg files to documentation installation commit 43a27633c64f1bcb371fd35a52dc58586d81a5ba Author: Jeffrey Altman Date: Fri Jun 22 15:11:04 2007 +0000 windows-misc-20070622 there were two sets of registry values that could be used to configure the daemon thread check intervals. keep the one that was documented in the release notes and discard the other. Add a registry value "daemonCheckOfflineVolInterval" to configure the offline volume check interval. Ensure that the cm_GetConn... functions initialized the output variables to NULL on error. commit afa909e66ca66db50b71434ad0396d9b5a7af936 Author: Jeffrey Altman Date: Fri Jun 22 07:00:27 2007 +0000 windows-fake-stat-20070622 When we are faking the status data we can use the vnode value to determine if the object should be treated as a directory or file. even is a directory and odd is a file. This works even when we have never successfully obtained status data for the object. commit 2675d25f6955351e963ff58abfcf2ea6aefd946a Author: Jeffrey Altman Date: Fri Jun 22 06:30:47 2007 +0000 windows-mountpoint-is-directory-20070622 when the CIFS client requests a directory listing without directories, do not include mount points. commit d7d8de3041da75e8dbfef27a153660086370780c Author: Jeffrey Altman Date: Tue Jun 19 21:10:56 2007 +0000 windows-revoke-callback-20070619 If the we can match up the host address from which the revoke was received with one of our cm_server_t objects, then we know which cell the revoke has been received from. With that information we can ensure that we only revoke the status of cm_scache_t objects belonging to that cell. commit adb83635bbb0c2ed7f549a78e2d9a56baa16b273 Author: Jeffrey Altman Date: Tue Jun 19 19:29:41 2007 +0000 windows-all-cell-list-20070619 Reverse the order of the allCellsp list. Append new cells onto the end of the list. This ensures that the workstation cell will always be the first in the list. Adding additional cells will not degrade the performance to the workstation cell. commit 01c3c334d53da95318f54b4085da9b37c79c90b9 Author: Jeffrey Altman Date: Tue Jun 19 17:14:14 2007 +0000 windows-updatecell-20070619 No longer permit cm_GetCell() or cm_FindCellByID() to return NULL simply because cm_UpdateCell() failed. The cm_cell_t object still exists and is valid even if the vlServersp list is empty. Modify the lock management in cm_GetCell_Gen() to ensure we drop all the locks. In cm_Analyze() update the volume status when one of the servers reports VBUSY or VRESTARTING. commit 59db9812209d5e54cc47fc32d626b8b73f7fc22b Author: Jeffrey Altman Date: Tue Jun 19 12:51:11 2007 +0000 windows-deadlock-20070619 fix deadlock on cm_volumeLock introduced by last week's work in cm_Analyze, make sure we get a cm_cell_t reference otherwise we won't find the cm_volume_t we are searching for when ALLOFFLINE or ALLBUSY. commit 67ea3ae96bc678b5e2a61810634bef71713291da Author: Russ Allbery Date: Tue Jun 19 09:55:49 2007 +0000 man-page-net-info-fixes-20070619 Fix a NetInfo reference in the NetRestrict man page that should be NetRestrict and add cross-references in SEE ALSO. commit f1db63646c38635a6bd2addb5202344da6fce275 Author: Jeffrey Altman Date: Tue Jun 19 06:29:07 2007 +0000 windows-amd64-20070619 Use 0x0502 instead of 0x0500. There is no 64-bit Windows 2000 support. Explicitly list the machine type as X64 for linking. commit aed66fda2c2ba1758a69950a53d09efc82f8212d Author: Jeffrey Altman Date: Tue Jun 19 06:24:23 2007 +0000 windows-misc-20070619 VMWare adapters have proven unreliable replacements for the Microsoft loopback adapter. Registering AFS often results in a name space collision. Add cm_DumpCells() function and dump the cells as part of "fs memdump" Dump all cm_scache_t and cm_volume_t regardless of reference counts Fix cm_GetCell_Gen() to not allocate a new cm_cell_t when evaluating mount points to aliases. Instead, after looking up the alias successfully search the allCellsp list for the fullname of the cell. If found, use the existing entry and cleanup the one we were about to allocate. Use read locks whenever possible instead of write locks when searching the allCellsp list. commit 56728676386dfcdb1e9f3938ce9375f9a5531f17 Author: Derrick Brashear Date: Mon Jun 18 19:48:33 2007 +0000 macos-realtime-ip-updates-20070618 notice and deal with IP address changes commit f19ce63279d8745146694de989633cf2035e13f9 Author: Derrick Brashear Date: Mon Jun 18 19:21:53 2007 +0000 readme-20070618 update the systype list commit 39b027504b9b26b9b71aa4abac5f2b66f256f200 Author: Derrick Brashear Date: Mon Jun 18 19:03:00 2007 +0000 avoid-empty-uuid-20070618 avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step commit 0c5cf6028d2e45809772838fb169c456f22e61f6 Author: Derrick Brashear Date: Mon Jun 18 18:57:31 2007 +0000 darwin-collect-network-errors-for-fast-timeout-20070618 same optimization we do on windows, linux commit 125e4511a9715a5df7dda265373d97a21177ea21 Author: Derrick Brashear Date: Mon Jun 18 18:05:05 2007 +0000 darwin-afs-syscall-eliminate-needless-vfs-context-hold-20070618 avoid potential deadlock if e.g. SetTokens is called before the kernel module initialization completes commit 6bc5c0899a9eb6c134c0079406fe28113e5cbeaf Author: Asanka Herath Date: Sun Jun 17 05:49:32 2007 +0000 windows-nim-afs-20070617 Don't assume that WM_DESTROY is the final message received by a window. Verify dialog data structures when handling messages and reset the window data field when freeing the data structure. Zero should be considered a valid credentials type identifier in Network Identity Manager. When checking if an identity is configured to obtain a token for a specific cell, don't go through the list of cells if AFS tokens are disabled for the identity. Similarly, when removing a token for a specific cell from all identities, don't bother modifying identities for whom AFS tokens are disabled. Keep track of whether a specific cell was added to the list of cells to authenticate for an identity because it was listed in the configuration or because a token for the cell already existed. Correct an off-by-one error when calculating buffer sizes for multi strings which failed to account for a double NULL terminator. Don't update the cell->identity mapping if a token for that cell could not be obtained. If the list of cell to authenticate for an identity is empty, we still need to write the empty string to the configuration. Otherwise, removing all the tokens from an identity will not result in a configuration change reflecting that. commit e8fa4d0e40c2a4352010986f82ac2fbfe8b8ae3e Author: Jeffrey Altman Date: Thu Jun 14 21:58:07 2007 +0000 windows-ioctl-path-availability-20070614 fix cm_IoctlPathAvailability to return the current volume state. 0, CM_ERROR_ALLBUSY, CM_ERROR_ALLDOWN, CM_ERROR_ALLOFFLINE modify fs.c to generate messages when the errors are received. commit 0187bf2feb9a191ba0b7868905854c603cc5092c Author: Jeffrey Altman Date: Thu Jun 14 21:54:16 2007 +0000 windows-volstate-update-post-network-change-20070614 When the system's IP address list changes we invalidate the existing RX connections and probe all of the servers. A better algorithm is to probe all vldb servers, invalidate the rx connections, and then probe all file servers. commit 46a931d020da24dd534e1064ea9fbe693acbdf65 Author: Jeffrey Altman Date: Thu Jun 14 20:04:10 2007 +0000 rx-lwp-sendmsg-20070614 update the lwp version of rxi_sendmsg to return the same error, -1, returned by the pthread version. replace errno with WSAGetLastError() in the Windows blocks so that the correct error value is checked. commit c27c00f8a93dcfd1b919197e233c217f778cbbf7 Author: Jeffrey Altman Date: Thu Jun 14 19:29:51 2007 +0000 windows-pioctl-add-error-translations-20070614 add error translations for CM_ERROR_ALLDOWN, CM_ERROR_ALLBUSY, CM_ERROR_ALLOFFLINE, CM_ERROR_NOSUCHPATH commit 5ac7a7db9a79ac81f83b61150e73bc7bf0f14d61 Author: Asanka Herath Date: Wed Jun 13 23:25:45 2007 +0000 windows-magic-share-names-20070613 Access to AFS volumes via magic share names \\afs\ = cellname = % or # = volume name or id commit c74a23fc4043e28a138fe624b1aadf3af1ee8f6f Author: Jeffrey Altman Date: Wed Jun 13 07:04:55 2007 +0000 windows-server-ping-deadlock-20070612 avoid deadlock in cm_ServerPing due to volume status update code commit b1bbe33fdee32a3b3ec87a9d770d8684347f7c4b Author: Derrick Brashear Date: Tue Jun 12 19:59:02 2007 +0000 newuuid-20070612 add the newuuid command commit 391d657c6ed80b5479d1db6ded957c8ddf688cb2 Author: Marc Dionne Date: Tue Jun 12 19:38:20 2007 +0000 linux-configure-vfs-update-20070612 FIXES 62017 clean up output commit 6eabfbd4b969d9efcc1eef646899af28a5077f0f Author: Marc Dionne Date: Tue Jun 12 19:32:19 2007 +0000 linux-vfs-flush-3arg-20070612 FIXES 62203 3rd arg for passing lock owner id. add configure gunk also commit a6294ee79a9dc18fad219262b6be69535c0398a9 Author: Simon Wilkinson Date: Sat Jun 23 07:32:56 2007 +0000 linux-sysctl-update-20070612 FIXES 61906 2.6.21.1 introduces an additional .parent pointer in the middle of the structure. As the OpenAFS code just initialises the structure with a list, this causes it to assign the value intended for .proc_handler to .parent commit 86b3330c7148c25c0a7ee4ea8f15e3098695a667 Author: Jeffrey Altman Date: Tue Jun 12 16:23:09 2007 +0000 windows-volume-status-tracking-20070612 * re-write cm_Analyze to make better use of the known volume status. VL_Server queries cannot result in CM_ERROR_ALLOFFLINE messages. * renamed cm_CheckBusyVolumes to cm_CheckOfflineVolumes. busy volumes will be reset to srv_non_busy by the function but there is no mechanism for querying the busy state other than by attempting to access the resource. * cm_Analyze will query the state of an offline volume before deciding whether or not to retry when all volume instances are offline. commit 37a0b14e016af74176d714cc1b25a2af00275d56 Author: Marc Dionne Date: Tue Jun 12 06:41:06 2007 +0000 linux-2-6-22-updates-20070611 FIXES 61767 1 - task_struct loses thread_info, which is now accessible through the task_thread_info() macro. A configure test is added to deal with this. 2 - the SLAB_CTOR_VERIFY flag is gone commit ee37fd74ef67ea6c9543544b23ca69fd9f624572 Author: Lars Wilke Date: Tue Jun 12 04:49:56 2007 +0000 man-fileserver-args-20070611 Add additional arguments to the SYNOPSIS that the file server recognizes. ==================== 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. ==================== Missed another erroneous option argument. commit ce209b23a5c64ed4b0d79ed775acf6cc000f4a35 Author: Steven Jenkins Date: Tue Jun 12 04:42:01 2007 +0000 man-vos-online-20070611 Add initial man pages for vos offline and vos online. commit 66adaf326861ae8a544650928bc6934d26a91d1d Author: Jeffrey Altman Date: Sun Jun 10 17:58:51 2007 +0000 windows-volume-status-tracking-20070610 * changed the enum values for cm_serverRef_t state info to use a private name space to avoid collisions (srv_) * added a srv_deleted state for cm_serverRef_t objects. This state is set when cm_FreeServerList() is called with the CM_FREESERVERLIST_DELETE flag set. cm_FreeServerList() may not always delete the cm_serverRef_t from the list if it is still in use by another thread. the srv_deleted state means the object's contents are no longer valid and it must be skipped. It will be deleted the next time the object is freed and the refcount hits zero. * the srv_deleted state is also used when a file server reports either VNOVOL or VMOVED instead of marking the cm_serverRef_t as offline. This is done to prevent additional usage of the stale vldb data while waiting for the update volume request to complete. * added a state field to the cm_volume_t object (enum volstate vl_ name space) that maintains the state of the volume based upon the states of all of the cm_serverRef_t and cm_server_t objects. * modified cm_UpdateVolume() to set the state of the cm_volume_t RW, RO, and BK to either vl_alldown or vl_online. There can't be any other states because cm_UpdateVolume() destroys any previous knowledge we might have had regarding busy or offline volume status * modified cm_UpdateVolume() to update the volume name in the cm_volume_t to the volume base name if the previous value was a volume ID. * modified cm_FollowMountPoint() to check to see if the volume name is a volume ID and if so call cm_GetVolumeByID instead of cm_GetVolumeByName. This ensures that volume IDs are always looked up as numeric values. There is no longer a need to maintain a separate cm_volume_t containing the string representation of the ID value. * Added a flags parameter to cm_GetVolumeByName() and cm_GetVolumeByID(). The first flag is a "CREATE" flag which is set by all existing calls. The flag is not set by calls to cm_GetVolumeByID() from the server probe code when volume status is being updated. We do not want the server probe operation to result in additional turnover in the cached volume data. The second flag is NO_LRU_UPDATE which is set when the server probe code updates the volume status. This flag will be used to prevent the server probe operation from changing the order of the least recently used queue. * Modified cm_GetVolumeByName to ensure that only one cm_volume_t is allocated for a given set of normal, readonly, and backup volumes regardless of whether or not the volume is accessed via name or ID number. The cm_volume_t namep field is always the base name of the volume. * Added a new volume state, vl_unknown. This state is used as the initial state for all cm_volume_t when the cache manager starts, for each cm_volume_t at creation, and for each cm_volume_t when recycling. The cache manager does not know the state of all volumes in the world, only those that are in the cache and for which it has queried the VLDB and hosting file servers. * modified cm_GetVolumeByName() to initialize the state of a volume to vl_unknown. The actual state will be set when a cm_VolumeUpdate() call completes successfully. * changed name of scache hash table variables to avoid ambiguity when adding hash tables for volumes * fix a buffer overrun in sys\pioctl_nt.c pioctl(). (thanks Asanka) * modified cm_UpdateVolume() to handle the case in which there is no RW volume but there is are RO volumes for a given base name. This is done by querying for the ".readonly" volume name if the base name does not exist in the VLDB. We never query for the .backup name because under the current usage model a .backup volume may only exist on the server that the read-write volume is located. If there is no RW volume, there can be no .backup. * Added four hash tables for cm_volume_t objects to improve the search time of cm_GetVolumeByID(), cm_GetVolumeByName() and cm_ForceUpdateVolume(). One each for Name, RWID, ROID, and BKID. Three ID hash tables are necessary as long as it is desireable to maintain a single cm_volume_t containing all of the related RW, RO, and BK volume data. Having the RW and RO volume data in the same object is necessary for the implementation of cm_GetROVolumeID() which returns either the RO or RW ID depending upon the existence of RO volume instances. * Added a volume LRU queue so that volume reuse becomes fairer. This does not replace the all Volumes list which is used when it is desireable to walk a list of all the volumes whose order is not going to change out from underneath you which makes it safe to drop the cm_volumeLock. * handles volume hash table updates where volume name to volume ID number changes. The volume name remains constant in the cm_volume_t. if a vos rename is performed, the name of the volume will change and the volume IDs will be updated. Subsequent access to the old volume ID will create a new cm_volume_t with the new name. * Added a daemon thread operation to query the state of volumes listed as busy or offline. cm_CheckBusyVolumes() calls RXAFS_GetVolumeStatus() for each volume ID that is marked vl_busy or vl_offline. If the volume is now online, the status on the volume is updated. The default period is 600 seconds. This can be configured with the BusyVolumeCheckInterval registry value. * Added prototype for smb_IoctlPrepareRead() which was missing a return type in the function definition. * Added volume id lists to the cm_server_t. These lists are allocated in blocks of ~32 IDs. When a cm_PingServer() detects a change in server state, the state of the cm_volume_t is updated. * Added volID to the cm_serverRef_t object. volID is used to identify the volume for which the object is a referral. cm_FreeServerList() uses the volID to remove the volume from the cm_server_t. * In cm_Analyze, when VNOVOL or VMOVED are received, call cm_ForceVolumeUpdate() to force a refresh of the volume location data. * Added cm_VolumeStatusNotification() which is used at the moment to log volume status changes to the trace log. It will also be used as the access point to the File System Filter driver notification engine. * Added an all cm_scache_t list to cm_data. This replaces the use of the stat cache LRU queue when we need to enumerate all entries. The LRU list order is not static and when using it to enumerate all entries it can result in items being missed or items being processed more than once. * Modified cm_Analyze(). Instead of reseting the busy or offline state of a volume and forcing a retry of the operation cm_Analyze will defer to the background daemon thread that will update the state once every 600 seconds. * Added the automatic generation of a Freelance ".root" read-write mountpoint that refers to the root.afs volume of the workstation cellname at the time the mountpoint is created. commit f4bd2604222c1199fc0ece0eaa82c034fa50b977 Author: Jeffrey Altman Date: Sun Jun 10 15:20:43 2007 +0000 rxkad-badticket-20070610 In rxkad_CheckResponse, when checking the return value from tkt_CheckTimes, the order is == 0, == -1, < -1, <= 0. The <= 0 case is extraneous so remove it. Both < -1 and <= 0 returned RXKADBADTICKET. commit 8a814a5596e9d8db1c24326715f794ae46966b3b Author: Asanka Herath Date: Sun Jun 10 06:52:51 2007 +0000 windows-pioctl-buffer-overrun-20070609 this patch protects against a buffer overrun in the client if the server were to send more data than the receiving buffer can hold. commit 18484f0fc64a550c1abacb6d2614c7ea12af4052 Author: Derrick Brashear Date: Sun Jun 10 06:39:15 2007 +0000 linux-kmem-destroy-fix-20070609 don't destroy if create failed commit c0010267f2cb168e94e3ae1af94cae9499c661bc Author: Marc Dionne Date: Thu Jun 7 03:18:21 2007 +0000 restore-missing_afs_realm_names-20070606 FIXES 62016 restore AFS_REALM_NAMES commit fcfdcc3cc1c272966574103f7e8bd495c7fcbb84 Author: Derrick Brashear Date: Wed Jun 6 18:55:04 2007 +0000 vsprocs-avoid-bogus-error-20070606 don't EPRINT if it's not an error commit cb18c5f80257d2ef239933dbe055cbe753b312c6 Author: Derrick Brashear Date: Wed Jun 6 18:21:05 2007 +0000 aix-declare-setlim-20070606 maybe fix lwp.c compiling with modern aix commit a62104968094bec86a7d3692158bbc84db035cdd Author: Derrick Brashear Date: Tue Jun 5 18:10:00 2007 +0000 solaris-sparc-default-to-v8-insns-for-kmod-20070605 FIXES 23935 don't use the default instruction set since the compiler has changed over time commit e8493e06f9d62c282bca2df8a4a0ac20caa4c70c Author: Jeffrey Hutzelman Date: Tue Jun 5 04:47:09 2007 +0000 fix-kbuild-linux-ppc64-20070604 The Linux 2.6 kbuild environment requires assembly files end in .S, not .s. commit aa5d46b71b3700d6256f47237fadf0a4829daee6 Author: Derrick Brashear Date: Fri May 18 06:52:37 2007 +0000 clone-dont-hold-vol-lock-20070516 same deal as purge. a transaction on the volume outstanding holds it. we don't need to preclude all access ==================== 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. ==================== same deal as purge. a transaction on the volume outstanding holds it. we don't n eed to preclude all access ==================== same deal as purge. a transaction on the volume outstanding holds it. we don't n eed to preclude all access commit ad98eacdadf6b9e079d1606f40cfc352450650a1 Author: Derrick Brashear Date: Thu May 17 19:28:10 2007 +0000 linux-posix-lock-file-has-wait-arg-now-20070517 FIXES 58590 hopefully this works, i can't actually try it now commit 9352435f1c128ee011fc820e41c6fba508d141dd Author: Arkadi Shishlov Date: Thu May 17 07:50:02 2007 +0000 linux-sparc-arch-detection-20070517 FIXES 60288 use arch to figure out if we are sparc64 commit 59eb3de5ea3bc9588c91d3f2dbb6a598fa56ad43 Author: Derrick Brashear Date: Thu May 17 07:34:15 2007 +0000 linux-posix-lock-file-has-wait-arg-now-20070517 FIXES 58590 hopefully this works, i can't actually try it now commit 87a93241dab68696a54c8e43df4ffb70928fce21 Author: Rainer Toebbicke Date: Thu May 17 06:42:03 2007 +0000 bucoord-dump-levels-20070517 FIXES 57246 dont use memory past what you've allocated commit 5987e2923a2670a27a801461dc9668ec88ed7d2a Author: Lukas Hluze Date: Wed May 16 21:57:20 2007 +0000 libafs-common-placate-irix-make-20070516 FIXES 59153 irix make wants $@ to be $(@) inside other braces commit d143385ec6e633c0b8a953550a4d2b9e5c1b2171 Author: Chaskiel M Grundman Date: Wed May 16 21:48:27 2007 +0000 rx-ack-idle-comment-20070516 FIXES 60046 fix comment commit 7a72e2445fa8da7947a4370080edb9eb4df67e17 Author: Chaskiel M Grundman Date: Wed May 16 21:44:07 2007 +0000 rx-tq-busy-20070516 FIXES 60046 abstract tq busy wait code commit a900fe30894b5c1bf3a55f2f539179c75c177dad Author: Chaskiel M Grundman Date: Wed May 16 21:36:33 2007 +0000 rx-send-req-ack-20070516 FIXES 60046 change reply code where appropriate commit f550e3b3ffeac6be73a780fa3ed43ab3dc4600ba Author: Arkadi Shishlov Date: Wed May 16 21:21:44 2007 +0000 glibc24-jmp-buf-mangling-20070516 FIXES 60440 glibc 2.4 does jmp buf manging for "security" whatever. deal. commit d608809c247c9b8105c95e230449f98705767476 Author: Marcus Watts Date: Wed May 16 20:54:42 2007 +0000 supergroup-cleanup-20070516 FIXES 60809 Problems fixed with this patch: /1/ supergroup bug: when updating an entry in prdb, the logic in pt_mywrite is supposed to unset flagged & found bitmap entries. This failed on little-endian architecture machines. /2/ warnings; a few fixes to eliminate some compiler noise. commit 62dc1975410ad0dbea12a0c7e3c11a37230e5971 Author: Marcus Watts Date: Wed May 16 20:42:56 2007 +0000 ptserver-fix-bitmap-20070516 FIXES 60680 make sure bitmap code is correct else supergroups returns invalid answer fix verify code to be correct on little endian hosts commit 03e3b77553bed4d395393a53d81069c71d67dbea Author: Jeffrey Altman Date: Wed May 16 16:54:16 2007 +0000 windows-afsd-list-acl-only-dir-20070516 FIXES 60258 Do not return access denied when applying directory patches if the user does not have read permission. This is the case we want to fake the directory entries for. Also, make sure we set the directory attribute on non-files so that the path can be accessed via the Explorer Shell. commit 82d2cc5b7fb638073e859e6a2b03b97722f518d9 Author: Jeffrey Altman Date: Wed May 16 16:49:19 2007 +0000 windows-afsd-uninitialized-20070516 Do not use uninitialized variables in log messages Do not dereference NULL pointers commit e02fa3e73b258938135244f7e3c09baa464e0c26 Author: Jeffrey Altman Date: Wed May 16 04:43:47 2007 +0000 windows-afsd-list-acl-only-dir-20070515 FIXES 60258 When the ACL on a directory is list only, attempts to read the status of items in the directory will fail. Therefore, it is pointless to try. Instead, when we know the user ACL does not have read permission, we should immediately lie about the status info. That way we don't pound the file server with requests that will produce an abort which in turn will trigger force the file server to delay responses to the client. This change has the added benefit that cached status info is no longer leaked to callers that do not have appropriate permissions. With this change the Explorer Shell is much more responsive. commit 60bbb56b546438d5e89854f61bcea368c5537341 Author: Jeffrey Altman Date: Wed May 16 04:33:38 2007 +0000 windows-aklog-20070515 FIXES 60938 do not copy an uninitialized field commit 11cec9e764eb4bc47e61eb9475b1776d9e58bc87 Author: Jeffrey Altman Date: Tue May 15 21:19:37 2007 +0000 windows-fs-getcacheparms-20070515 fix output of cache parms now that they are 64-bit commit c78b4c61f70f6756a79440748ecacea2affec8ab Author: Rainer Toebbicke Date: Mon May 14 22:42:09 2007 +0000 namei-dont-randomly-full-salvage-20070514 FIXES 61300 trivial fix to clear forcep (inode already does this) commit 1b1c0eda5a3db6fe92d46d5f3d8529bf7c6378c2 Author: Chaskiel M Grundman Date: Mon May 14 22:36:22 2007 +0000 getdcache-no-slowpass-enforcement-on-dynroot-20070514 don't enforce slowpass restriction on dynroot vcaches (and don't do unneeded work) ==================== 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. ==================== oops, another change slipped in commit 08cbee9b2d941d79b9f7919f4c76b1ab45ef3643 Author: Frank Cusack Date: Thu May 10 23:41:32 2007 +0000 fix-partition-check-20070510 oops commit 7e0571b0e5ba8e60129cd6e68c90c5011889767c Author: Jim Rees Date: Thu May 10 21:48:33 2007 +0000 openbsd41-20070510 OpenBSD 4.1 config files commit f2761c416320a3ff2bb0af4298ca95b8ecb04211 Author: Derrick Brashear Date: Thu May 10 01:15:57 2007 +0000 vos-namelen-for-dump-restore-is-stupid-20070509 fixes bug reported by stephen joyce which i am too lazy to go get the RT number of commit 707feb4fdd31a818a7cacb0f439ce32bb26f4e3d Author: Russ Allbery Date: Tue May 8 23:49:44 2007 +0000 ka-forwarder-licensing-20070508 ka-forwarder is under a different copyright not previously covered, so embed the actual licensing in the source rather than referring to a file that doesn't exist and add the relevant information to the LICENSE files. commit bc585c90cfbb973b1753198d88f33859c51056a0 Author: Russ Allbery Date: Mon May 7 20:16:02 2007 +0000 quickstart-pam-docs-20070507 Flesh out the PAM installation documentation for Linux and Solaris (and a bit of reformatting in the HP-UX section). commit 1d4d8f5c4f125707fc6af432024d99e2672cadab Author: Russ Allbery Date: Mon May 7 18:17:42 2007 +0000 up-preserve-dir-mtime-20070507 FIXES 34522 Set the mtime on newly created directories to match the original directory. commit 958bbb77bfbfc100031850b6fd7836658c35912a Author: Asanka Herath Date: Sat May 5 22:13:20 2007 +0000 windows-netidmgr-20070505 Only automatically add configuration for cell foo.com if the realm of the cell matches the realm of the identity commit c8a3a0ecf210a7475f38267952ad8c96f27c08d2 Author: Jeffrey Altman Date: Fri May 4 07:05:05 2007 +0000 windows-checkvols-freelance-20070504 do not flush mount point values for freelance volume commit 2b442dbddb5d44f4b7e08eb04ae277c24a5e8964 Author: Jeffrey Altman Date: Fri May 4 03:49:06 2007 +0000 windows-wix-shell-ext-20070503 When installing on 64-bit Windows we need to install the 32-bit and 64-bit shell extensions under different HKCR keys. Otherwise, only one of the explorer versions will get an extension handler. commit 9f508ce443f1ef2103fbb74c6a094aef3aa96e86 Author: Jeffrey Altman Date: Fri May 4 00:12:15 2007 +0000 windows-wix-beta-upgrades-20070503 This change is not as important for OpenAFS as it was for KFW as OpenAFS does not issue betas with the same build numbers as final releases. However, for users of daily builds when build numbers are not being incremented it will provide benefit. We modify the upgrade rules to include the current version number and then block the uninstall if the currently installed package is the one that is being installed. The change applies to both the regular installer and the 32-bit tools for WOW64 environments. commit d9946ba827b7099848dfe659f0eaf10167e9413b Author: Jeffrey Altman Date: Thu May 3 01:44:50 2007 +0000 windows-flush-mountpoints-20070502 When flushing volume location information also flush the mount point data. This change results in behavior that matchs the Unix client. commit 113ccb9963be8ccd602520b4987f2cc0a5f52b51 Author: Jeffrey Altman Date: Thu Apr 26 19:44:18 2007 +0000 windows-wix-html-installgd-20070426 FIXES 59827 The wix installer creates the wrong directory name for the IBM Quick Guide Remember to specify the LongName. commit bfed93d7fce113690c20e1cad102c8b23c0aa17f Author: Asanka Herath Date: Thu Apr 26 19:06:44 2007 +0000 windows-dropbox-fix-20070426 FIXES 60161 A dropbox is a directory with ACLs 'li' that permits a user to create a new file but not be able to read other files within the same directory. The 1.5 Windows clients have not been able to write to dropboxes since the addition of the locking code. The lock acquisition test assumed that if the user did not have PRSFS_LOCK or PRSFS_WRITE that it would be unable to obtain a lock. It did not take into account the special treatment of PRSFS_INSERT by the file server and so never bothered to ask. As it turns out though, the locking situation is more complex than one might think. If the server is 1.4.1 or earlier, it will not grant any locks for users with INSERT. The PRSFS_LOCK privilege is required. For 1.4.2 through 1.4.4, write locks will be granted if the user has PRSFS_INSERT but a read lock will not be granted unless the user has PRSFS_LOCK. Therefore, if the server advertises the WRITELOCKACL capability bit if the read lock is not granted a write lock can be attempted. For 1.4.5 and 1.5.20 and above, the file server will grant read locks if the user has PRSFS_WRITE or PRSFS_INSERT. (Insert only applies if the user is the creator of the file). This patch handles all of the above possibilities. In the pre-1.4.2 case a read-lock request will be faked locally. commit 92ecfdd675e8a851c7f0f19e5359362fa00c1c8f Author: Derrick Brashear Date: Wed Apr 25 20:47:13 2007 +0000 rx-call-abort-release-refcount-20070425 don't leak a call ref when doing a call abort commit 5f919154cfc548b918653f30b6689edaf53ded12 Author: Derrick Brashear Date: Tue Apr 24 04:48:04 2007 +0000 quickstart-solaris-pam-20070423 this actually needs more fleshing out but it's at least a pointer commit f521ac0f603f56cd05d643f198d6a4b0fc56e539 Author: Simon Wilkinson Date: Tue Apr 24 04:37:52 2007 +0000 quickstart-obsolete-appendices-20070423 FIXES 60137 commit updates to the docs for obsolete stuff ==================== 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. ==================== also the appendix file commit bb61e1dc678ea28132c195438fc1f157fa580cd1 Author: Jeffrey Altman Date: Tue Apr 24 01:27:30 2007 +0000 viced-write-perm-grants-read-lock-20070423 the permission to obtain a write-lock is granted either by having the "w" permission or the "i" when owning the file. The permission to obtain a read-lock has been granted by having the "k" permission. However it makes no sense that someone can obtain a write-lock but not a read-lock. This patch grants permission to obtain read-locks to those who can obtain write-locks. commit c5c23b7bc4544af2c1204622cd67b835b27bcdab Author: Jeffrey Altman Date: Fri Apr 20 11:58:22 2007 +0000 windows-wix-html-installgd-20070420 FIXES 59827 The wix installer creates the wrong directory name for the IBM Quick Guide commit 2d18bd1777b8d18a3b855685928dcdafcbe609b8 Author: Christopher Allen Wing Date: Wed Apr 18 19:18:35 2007 +0000 linux-symlink-handling-avoid-crash-20070418 Background: OpenAFS is vulnerable to crashing in the linux kernel symlink code when running on kernel versions between 2.6.10 to 2.6.12. This also includes all RHEL4 kernels, because RHEL4 includes the code from 2.6.10. The problem is that the symlink text caching API, page_follow_link() et al, is unsuitable for network filesystems where the page cache may be invalidated in parallel with a path lookup. This crash can be triggered easily by doing a bunch of path lookups involving symlinks (e.g., stat() on various files pointed to through links), while simultaneously running 'fs flushvol' on the volume containing the symlinks. The simplest way to fix this problem is to disable the use of symlink text caching when the kernel does not provide a usable symlink API. commit 9943fe1fd71fc29331dcac7cd6a51bd37f307876 Author: Chaskiel M Grundman Date: Wed Apr 18 19:01:31 2007 +0000 vmalloc-no-glock-20070418 Based on Chris Wing's analysis which stated in part: GFP_NOFS tells the allocator not to recurse back into the filesystem if it's necessary to free up memory. However, vmalloc() does not have such an option. Therefore, calling osi_Alloc() to request more than a page of memory may end up recursing back into AFS to try to free unused inodes or dentries. In this case, what happened was that osi_Alloc() is called within an AFS_GLOCK(); osi_Alloc() calls vmalloc() which tries to free dentry objects, which then calls back into the AFS module. Unfortunately, AFS_GLOCK() is already held and we deadlock. commit 85a23a70c783364e039f2a1b402ba718c1fc34a5 Author: Jeffrey Altman Date: Wed Apr 18 16:57:05 2007 +0000 windows-afskfw-bluescreen-20070418 The afskfw library contains an unprotected call to krb5_free_context which can result in krb5_free_context being called with a NULL pointer. MIT's Kerberos libraries do not check that the pointer is non-NULL and will attempt to use it as a valid pointer which will in turn result in an invalid memory access error. This library is used by afslogon.dll which is loaded by winlogon.exe. If the krb5 profile is invalid, the krb5_init_context call will fail to allocate a krb5_context structure which can then result in krb5_free_context being called with a NULL pointer. An unhandled exception within winlogon.exe will cause a blue screen event on Windows 2000, XP and 2003. commit a82252fcc80a70d900ab7446fe84a10a467d749d Author: Jeffrey Altman Date: Tue Apr 17 05:03:39 2007 +0000 windows-afslogon-station-name-20070416 Use case insensitive comparisons for the station name. Otherwise, we will fail to notice that the logon is interactive on Vista. commit c810b46e9eda0cf626499a1a3c72bb53ce0d81d6 Author: Jeffrey Altman Date: Tue Apr 17 01:10:28 2007 +0000 windows-kfw-krb5_init_context-20070416 If krb5_init_context() fails make sure that no further krb5 calls are performed. krb5_init_context() will fail if the krb5.ini file is damaged. commit 44ca92226ae8e780b6c6134c83b08b3c8c266c95 Author: Jeffrey Altman Date: Tue Apr 17 01:04:47 2007 +0000 windows-temp-path-20070416 Use GetTempPath() instead of testing environment variables ourselves. commit 5bc88af797eeb8db631e6ad8e9d56d39a687dd96 Author: Jeffrey Altman Date: Sat Apr 14 19:46:22 2007 +0000 windows-vioc-path-availability-20070414 add a new Windows only pioctl VIOC_PATH_AVAILABILITY that is used to query the server status for a specified path. Return values include: online offline all busy all down not afs commit fb5b0dcce6874464c1021842ac1b48f4578ac105 Author: Jeffrey Altman Date: Thu Apr 12 15:12:36 2007 +0000 windows-netidmgr-provider-20070412 do not use ellipsis for actions that do not need additional data to complete. "Help for OpenAFS plugin" -> "AFS" since its on the Help menu already commit 7de756ca285614214a9f272338a5a2b3f731612a Author: Simon Wilkinson Date: Wed Apr 11 03:14:33 2007 +0000 quickstart-update-20070410 FIXES 58896 update quickstart guide with new information commit 5bcd5ab54d2e76dc9b253fda6ea6b6bb4dfe87f0 Author: Jeffrey Altman Date: Tue Apr 10 23:08:11 2007 +0000 windows-netidmgr-afs-provider-20070410 when using krb524 with a cross-realm service ticket the resulting krb4 cred will not contain the user's realm as there is only one realm field. commit 0ff92e9a5bd939cb3488ca64ce01b37bd4d7f79e Author: Jeffrey Altman Date: Tue Apr 10 23:06:02 2007 +0000 comerr-rename-two-20070410 fix afsrpc.def add_to_error_table commit 306e23e08ccba0f0b6e802c8a39fcc444555ae56 Author: Jim Rees Date: Tue Apr 10 20:52:30 2007 +0000 doc-README-20070410 I didn't actually write this, just cribbed it from the openafs-info mailing list. commit e0fa8ff72fb4f50a4f8e48b8f18d6846c7f5e4f6 Author: Derrick Brashear Date: Tue Apr 10 19:58:13 2007 +0000 comerr-rename-20070410 nag nag nag commit fece50be72ebb182d10faaa0de5179eb4ff786b3 Author: Jeffrey Altman Date: Sun Apr 8 03:39:52 2007 +0000 windows-netidmgr-plugin-20070407 protect against pr_CreateUser modifying the username buffer. commit a47faf3eea14931fc5edf2d90550729dc78322df Author: Jeffrey Altman Date: Fri Apr 6 17:55:35 2007 +0000 windows-afslogon-20070406 Fix eventlog reporting. Do not attempt to log an event if the event source registration fails. Use DebugEvent0 instead of DebugEvent when there are no parameters. Modify the LOOKUPKEYCHAIN macro to recognize ERROR_MORE_DATA errors. Fix the reading of Domain specific configuration for LogonScript and TheseCells. Previously the dwSize value was being overwritten so that subsequent RegQueryValueEx call would fail. Fix a memory leak in the TheseCells reading code. Add support for Domain specific "Realm" specification. The realm is the realm to be appended to the username. When logging in as a domain or to the local machine, the specified "Domain" name is not going to be a valid realm name. Construct a proper principal name based upon the domain specified realm for use in obtaining tokens with KFW. If the domain specified "TheseCells" list includes the default cell, do not obtain tokens twice. commit bbbf3ee9ffe7b4da314285509ae8e0b6f4e70c8e Author: Jeffrey Altman Date: Wed Apr 4 21:24:48 2007 +0000 windows-aklog-20070404 FIXES 58164 correct for the fact that pr_CreateUser tampers with the contents of the username input buffer. commit 9c592530b18144ffbd91283fcd9690a9680c6cd9 Author: Peter Breitenlohner Date: Tue Apr 3 19:52:44 2007 +0000 move-tasklist-lock-extern-outside-func-20070403 FIXES 53441 make tasklist-lock extern with pragma weak possibly work right commit c7c7242e78fd5035572b7d4f2071bf105190826c Author: Jeffrey Altman Date: Tue Apr 3 15:48:37 2007 +0000 windows-vista-sdk-ntsecapi-compat-20070403 There is no way to replace FOO with the value of BAR in cpp. commit 644cd83dbdd8203e6792f3a03aabb52efefa12d5 Author: Jeffrey Altman Date: Tue Apr 3 14:34:19 2007 +0000 windows-libadmin-vos-registry-20070403 Move the session data from TransarcCorporation to OpenAFS. commit 125d9f877d72843e4b1c2b99ec671bf75cef35fc Author: Jeffrey Altman Date: Tue Apr 3 14:30:25 2007 +0000 rx-dpf-20070403 The function rx_MakeCall was at some point renamed to rx_NewCall but the dpf output was never changed. Add a dpf entry for rxi_ResetCall. commit fbcafac2f6f58dfd55af8f9f54c856b2d31ecd2a Author: Jeffrey Altman Date: Tue Apr 3 06:40:27 2007 +0000 windows-vista-sdk-ntsecapi-compat-20070402 fix inclusion of ntsecapi.h in network identity manager plug-in commit 26b381dc17a7705af8b9d1ba1d26d1188ae649ed Author: Jeffrey Altman Date: Tue Apr 3 05:32:03 2007 +0000 windows-afslogon-20070402 restore token acquisition for non-interactive logons. commit 20890b4e2edb6d1803148493e0f83d44c4e8a8d6 Author: Jeffrey Altman Date: Sat Mar 31 13:52:17 2007 +0000 windows-nim-plugin-20070331 correct a NULL pointer de-reference introduced in windows-nim-plugin-20070328 commit 934f76fb185ee5e162aee3bc9f5711079bbbca5b Author: Jeffrey Altman Date: Wed Mar 28 23:29:49 2007 +0000 windows-afslogon-20070328 There are two serious problems with integrated logon: (1) openafs afslogon.dll obtains Kerberos v5 tickets and then forwards them into the logon session. This was done because MIT KFW did not have such functionality. As of KFW 3.1, KFW does, so we are removing it. the functionality worked by copying the credentials to a FILE ccache and then using the Logon Event Handler to move the credentials into an API ccache and delete the temporary file. For non-interactive logons the Logon Event handlers do not get triggered. Neither do LogonScripts get executed. As a side effect, for each logon a credential cache file was left behind. (2) when combined with non-interactive logons, there are some very bad side effects if a network provider performs Kerberos v5 operations. Each logon occurs in a new logon session and will spawn a private copy of krbcc32s.exe. As a result, integrated logon is being disabled for non-interactive logons. commit 60e5fc151ea0af4aa85a174ede774c949983962b Author: Jeffrey Altman Date: Wed Mar 28 23:18:41 2007 +0000 windows-nim-plugin-20070328 if the service ticket in the cache is expired, delete it from the cache commit 74e22e219036ca2c42182b1356371daa07ae6494 Author: Neale Ferguson Date: Tue Mar 27 04:21:09 2007 +0000 s390x-syscall-patch-fix-20070326 make s390x syscall table patching work correctly commit a6cb25c5d34db370e73d5e0044eaa88cf291228a Author: Jeffrey Altman Date: Sat Mar 24 05:02:16 2007 +0000 windows-vista-sdk-ntsecapi-compat-20070324 When loading the Vista SDK ntsecapi.h we must set _WIN32_WINNT to 0x0501 or greater commit 48cd8daff8c8bd384a6583bab07e1d84ae461efd Author: Jeffrey Altman Date: Sat Mar 24 04:59:13 2007 +0000 windows-fs-whereis-freelance-20070324 do not assert on the lack of a cell when calling fs whereis on the freelance volume. return CM_ERROR_NOCELL instead. commit 1c9ede0bcf892ccc3b9b5cae819c7d94b0407b38 Author: Derrick Brashear Date: Thu Mar 22 15:58:45 2007 +0000 tvolser-locking-updates-20070322 rework locking in tvolser slightly to avoid potential transaction leak commit c2fb9440f3d3f80c452590b40f7bd8ecdb13edfe Author: Chas Williams Date: Tue Mar 20 19:29:41 2007 +0000 darwin-remunlink-20070320 FIXES 55280 make reumlink work the way it's supposed to commit ff81d7e77a4a302224dbb0f0c6b960ded42cafbe Author: Douglas Engert Date: Tue Mar 20 19:20:24 2007 +0000 nfs-gc-fix-20070320 FIXES 56459 avoid issue with nfs gc handler and mismatched types commit af0a976f1151f7ca7642013357d1dcc7267c6457 Author: Robert Banz Date: Tue Mar 20 18:59:22 2007 +0000 namei-allow-zfs-20070320 don't force AlwaysAttach on ZFS in namei commit 29951ff73ccc82746f8f842131a76e30b47d5310 Author: Chaskiel M Grundman Date: Tue Mar 20 18:45:58 2007 +0000 linux-task-pointer-safety-20070320 hold applicable locks while futzing with task list commit 97d8703809a9e6798b80696da6439ab0887046fb Author: Chaskiel M Grundman Date: Tue Mar 20 18:41:02 2007 +0000 keyring-pag-finduser-requires-glock-20070320 identical to the fix from chas@cmf.nrl.navy.mil commit c4183dbc1fb0e3d4db5105fe3312816fc82a7a33 Author: Derrick Brashear Date: Tue Mar 20 01:13:06 2007 +0000 no-default-setuid-20070319 FIXES 54713 disable default setuid for localcell commit b4f323eaeb5f010cd0a0be09f29c4016d1a14fef Author: Jeffrey Altman Date: Mon Mar 19 13:44:41 2007 +0000 windows-var-renaming-20070319 give rx call variables a distinct name from cm call variables in order to avoid confusion commit 92f10ea1a2235594a48edf16f613ac437cc593af Author: Jim Rees Date: Sat Mar 17 18:20:15 2007 +0000 obsd-kernel-opts-20070317 adjust module compile opts (KOPTS) to better match those of the kernel commit f1862d783a610d85a258aaee1d00aff26f348223 Author: Jeffrey Altman Date: Sat Mar 10 15:48:01 2007 +0000 windows-afsd-nat-handling-20070310 Improve cache manager performance behind NATs: * drop cm_daemonCheckUpInterval from 10 minutes to 4 minutes to bring it under the minimum recommended default port mapping idle timeout value for NATs * when a timeout on an rx connection occurs, retry the request once after forcing a new rx connection. If there was a NAT and the port mapping changed, the server would respond to the original addr:port associated with the rx connection. Forcing a new connection will allow the request to be responded to if the server is accessible. This should eliminate the UP-DOWN-UP-DOWN bouncing that user's have seen when working from behind a NAT. commit ce776b4809146733f278e18cbdae1b4ed45c6b5d Author: Jeffrey Altman Date: Sat Mar 10 14:25:00 2007 +0000 windows-registry-20070310 move the AFS Server Manager and AFS Account Manager data cache from the TransarcCorporation key to the OpenAFS key. The data formats are not compatible between the two versions and we don't want to be forced to erase data if users switch back and forth between the two products during OpenAFS evaluation. commit 226c1ee8f9e24e199b2e2cf1ecc11dd072634450 Author: Derrick Brashear Date: Sat Mar 10 07:11:09 2007 +0000 java-lock-fix-200702310 make it portable. ugh. commit 97fd54f399148eaf6652bd2a42c8b9f424d680bc Author: Jeffrey Hutzelman Date: Sat Mar 10 04:52:04 2007 +0000 cellservdb-20070309 commit a7db1780b33b47d77927da7a3925c2b8780c5834 Author: Jeffrey Altman Date: Thu Mar 8 17:44:13 2007 +0000 windows-afsd-remove-generated-file-20070308 afsd_eventmessages.rc is a generated file. Don't maintain in cvs. commit fc36880fedc8d143b8eead08a0d910b400ad0483 Author: Jim Rees Date: Wed Mar 7 21:42:20 2007 +0000 af-byteorder-bis-20070307 everyone wants AF in host order commit 5332348bdf68491670cc94ff1f9bc527876304fa Author: Jeffrey Altman Date: Wed Mar 7 18:13:25 2007 +0000 windows-plug-n-play-network-fix-20070307 Move the detection of which LAN adapter to use from smb_Init to smb_NetbiosInit so that it is executed after the service is resumed via a power management event. Otherwise, when the network comes back up the service attempts to bind to all LAN adapters instead of just the loopback or the configured one. commit 413a90614274c381684e2ce58bdb6ae010fb1416 Author: Jim Rees Date: Wed Mar 7 17:00:57 2007 +0000 af-byteorder-20070307 bsd wants AF in host order commit e4d3681e3d9ba58c315f39d3852833b11811474c Author: Jeffrey Altman Date: Sat Mar 3 01:29:11 2007 +0000 windows-fs-checkserver-20070302 FIXES 55234 The "fs checkservers" command when not being used to change the check interval should not require admin privilege. commit 561f8b742fceeed10e6f3d9639c96efb085ad2a9 Author: Jeffrey Altman Date: Wed Feb 28 00:38:04 2007 +0000 windows-partially-restore-find-lana-by-name-20070227 find lana by name is used by the afs control panel to populate the lana list box. don't use the function to find by name. just use it to generate the list of all lana names. commit b8d09aff6a695041dde2ef7aca7bfe39ceef7a01 Author: Jeffrey Altman Date: Tue Feb 27 01:30:39 2007 +0000 windows-afsd-no-krb_h-20070226 Don't include krb.h when we don't use it for anything commit 9d5de311a6c2d96ee5092d58db28fff1b5602be7 Author: Chaskiel M Grundman Date: Mon Feb 26 22:13:33 2007 +0000 forcenewconns-even-with-one-interface-20070226 otherwise we don't discard vlserver connections when a server is "down" commit 0d5642e3ee1d72f11c4b6393cd4a352540f3b2ba Author: Derrick Brashear Date: Mon Feb 26 18:48:22 2007 +0000 uae-etoomanyrefs-avoid-dup-20070222 when ETOOMANYREFS is EIO don't rewrite the EIO slot with UAETOOMANYREFS commit a3a40968308e9ef894df3756af7ccd7ed141c74f Author: Stephan Wiesand Date: Mon Feb 26 17:55:55 2007 +0000 conditionalize-tasklist-lock-20070226 FIXES 54922 make rx_knet use tasklist_lock conditionally also commit bed42291bcc16065f23e964b64d60090ffaa96f9 Author: Stephan Wiesand Date: Mon Feb 26 17:50:37 2007 +0000 update-tasklist-lock-test-20070226 FIXES 54916 make the tasklist lock test actually detect GPL stupidity commit 844f045692d7863e096cb97710151c31a841874d Author: Derrick Brashear Date: Fri Feb 23 00:42:46 2007 +0000 md5-inum-round-down-20070223 make our computed md5-style inode numbers be actually 32 bit commit f1a6107e0814d1e3e1d171834c97489479b5e6df Author: Marc Dionne Date: Thu Feb 22 21:46:13 2007 +0000 linux-2621-20070222 FIXES 54645 configure support for new sysctl api commit 4f86aa379d345c98113bde2169b9d1400dcee89c Author: Rainer Toebbicke Date: Thu Feb 22 21:40:11 2007 +0000 linux-unlink-avoid-infrequent-leak-20070222 FIXES 54689 avoid minor leak commit 6ce156741b62702e1d1f10f3329f1b77341e32e5 Author: Kevin Hildebrand Date: Tue Feb 20 18:03:26 2007 +0000 linux-lookup-crfree-20070220 FIXES 54549 add missing crfree to avoid leak commit 79c1cdb83fe25d753ce3e38b9554d8604a3cb8df Author: Jeffrey Altman Date: Tue Feb 20 03:13:41 2007 +0000 windows-afs3-directory-format-20070219 correct the documentation of the directory format in the headers commit b2ed3c527b831f329a380203433312653bcd91a4 Author: Jeffrey Altman Date: Tue Feb 20 03:06:05 2007 +0000 remove-find-lana-by-name-20070219 Remove the find lana by name functionality. It is crucial that the name computed by the afs service can also be computed by the pioctl function executed by generic end users without privilege. Unfortunately, the undocumented functions used to implement find lana by name require access to registry keys that a generic user cannot read. commit b00dddcd7da6f38893f408024f250254a5e1ff25 Author: Asanka Herath Date: Thu Feb 15 21:51:00 2007 +0000 windows-netidmgr-help-registration-20070215 In preparation for KFW 3.2, add conditional help registration. When used with a version of NetIdMgr that supports the functionality the OpenAFS plug-in will register its HtmlHelp on the NetIdMgr Help menu. commit 5ae8e5064c2aae067a32c94e98f2ed8a597417ae Author: Jeffrey Altman Date: Thu Feb 15 18:09:36 2007 +0000 windows-move-rxdebug-20070215 back in 2001 rxdebug was moved from src/rx to src/rxdebug for Unix but not for Windows. Move it for Windows as well. commit e92739f2b925545e441c2d77eaf4ece00ffbcb51 Author: Jeffrey Hutzelman Date: Thu Feb 15 17:11:09 2007 +0000 rxdebug-backoff-20070215 make rxdebug be less aggressive when retransmitting commit 2e6a87e109bbab2cb242f58bcfce0ba1d92a41de Author: Jeffrey Altman Date: Thu Feb 15 11:47:24 2007 +0000 rx-rxdebug-long-option-20070215 add the -long option from src/rxdebug/rxdebug.c to src/rx/rdebug.c commit 1f530ff095a8ffa38114373c80d8f4c5ead103d8 Author: Jeffrey Altman Date: Thu Feb 15 05:59:14 2007 +0000 windows-rmdir-not-empty-error-code-20070215 Ensure that removing a directory containing existing files returns the correct error to the caller. commit 65d89232521ceb1641ce0a14e1f3ed8d28b6afff Author: Adam Megacz Date: Thu Feb 15 00:33:39 2007 +0000 java-locking-redux-20070214 change the -1 len check for java locks slightly commit 465a6d533b253d71e8854dc6cedcbcdc5ce678e1 Author: Chaskiel M Grundman Date: Thu Feb 15 00:27:09 2007 +0000 darwin-missing-dropnames-20070214 for correctness, not to fix anything which has yet been observed commit 083f3bcb2bcca382e00684ad1965dd1b224c9b4b Author: Jeffrey Hutzelman Date: Wed Feb 14 23:55:09 2007 +0000 libafsdep-correction-20070214 FIXES 53441 apply the rest of the patch commit 51774c137b3889ef0e651e171493e7ca24a95077 Author: Jeffrey Hutzelman Date: Tue Feb 13 22:54:00 2007 +0000 osi-probe-harder-20070213 2.6.16 i386 didn't probe successfully before in at least one case commit 5b0ba22734f8a354f26ca2600e96608e72a3f9e4 Author: Derrick Brashear Date: Tue Feb 13 18:39:34 2007 +0000 amd64-syscall-probe-20070212 FIXES 53441 based on suggested change from cg2v@andrew.cmu.edu tasklist_lock not being exported makes this useless otherwise S: ---------------------------------------------------------------------- ==================== 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. ==================== FIXES 53441 based on suggested change from cg2v@andrew.cmu.edu tasklist_lock not being exported makes this useless otherwise commit 4d5138c4030c581c2d52f1d59279e4b997ef59fd Author: Jeffrey Altman Date: Tue Feb 13 05:45:47 2007 +0000 windows-afsd-symlink-to-dot-20070213 FIXES 53878 When parsing a path containing a symlink to ".", do not short circuit the evaluation. Allow cm_Lookup to do its job. Its slower but correct. commit 111100732f0051a67f175988ab3f55cf208f8df3 Author: Jeffrey Altman Date: Tue Feb 13 03:48:27 2007 +0000 windows-netidmgr-20070212 combo boxes should drop down. commit 6c703a483c718670f9f4109e59204d71aa70c7ae Author: Jeffrey Altman Date: Tue Feb 13 03:07:55 2007 +0000 windows-unused-vars-20070212 remove unused vars commit 01882246c8704e9cfad38e8bce71380b843fbbab Author: Adam Megacz Date: Tue Feb 13 01:33:20 2007 +0000 lock-mask-64bit-negative-1-for-java-20070212 java sends a 64 bit long -1... which isn't going to be useful most of the time commit 645f7e8f81be8c096b2fd3d9b852b8614d9dc690 Author: Jeffrey Altman Date: Sat Feb 10 13:56:11 2007 +0000 aklog-krb5-referrals-compat-20070210 MIT Kerberos version 5 release 1.6 adds support for referrals in the client. As a result krb5_get_host_realm() returns the nul-string for the realm whenever there is no local domain-realm mapping in the profile. aklog must now manually perform the fallback to using the domain of the vlserver as basis for the realm name if referrals fail. commit 25c7f567f2c831d62152104c3b84ec31d9fd330f Author: Asanka Herath Date: Sat Feb 10 00:00:01 2007 +0000 windows-smb-file-lock-20070209 When processing exclusive locks for files that were opened read-only, obtain a read-lock instead of a write-lock. In NTCreateX, if the file is being opened as OPEN_ALWAYS and the file already exists, do not require write permission commit a9b0dbb30cc926251d66ea9036d6505fe525cc51 Author: Jeffrey Altman Date: Fri Feb 9 23:53:11 2007 +0000 windows-access-check-20070209 disable the test for the EACCESS flag in cm_HaveAccessRights. commit 1a00759d8b9f1b249e90b044bc1aa66d9d5c9d23 Author: Jeffrey Altman Date: Fri Feb 9 23:50:06 2007 +0000 windows-fs-memdump-20070209 only dump the dead smb_vcp list once commit 584e1bd98eb4258a2cd1a517f7d49c71407983b5 Author: Jeffrey Altman Date: Fri Feb 9 19:56:47 2007 +0000 windows-nim-plugin-krb5-referrals-compat-20070209 MIT Kerberos version 5 release 1.6 adds support for referrals in the client. As a result krb5_get_host_realm() returns the nul-string for the realm whenever there is no local domain-realm mapping in the profile. aklog must now manually perform the fallback to using the domain of the vlserver as basis for the realm name if referrals fail. This will be required for KFW 3.2 support. commit b5c39e4373bd24fc724719ff365597327aa143cf Author: Peter Breitenlohner Date: Fri Feb 9 18:41:46 2007 +0000 libafsdep-mods-20070209 FIXES 53381 don't break vpath builds commit a1d9a9209094864f784ecc90d41201480ffd66da Author: Jeffrey Hutzelman Date: Fri Feb 9 18:26:57 2007 +0000 linux-compile-test-24-20070209 FIXES 53385 no linux/namei.h on 2.4 commit 2287f5f578fa40a0229699a4e90263300ca79e50 Author: Jeffrey Altman Date: Fri Feb 9 17:29:01 2007 +0000 windows-aklog-krb5-referrals-compat-20070209 MIT Kerberos version 5 release 1.6 adds support for referrals in the client. As a result krb5_get_host_realm() returns the nul-string for the realm whenever there is no local domain-realm mapping in the profile. aklog must now manually perform the fallback to using the domain of the vlserver as basis for the realm name if referrals fail. This will be required for KFW 3.2 support. commit a05fa83336df6cd11d60cc64882c68cc01243aad Author: Marcus Watts Date: Fri Feb 9 03:12:51 2007 +0000 ktc-cleanup-20070208 FIXES 53212 clean up ktc code, prototyping et al ==================== 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. ==================== FIXES 53212 restore ktc_GetToken prototype commit 171676011ba72b48b6ed2d6df6cfc1f0adb52c1f Author: Christopher Allen Wing Date: Fri Feb 9 01:34:08 2007 +0000 linux-locking-pre-2618-20070208 FIXES 53457 deal with pre 2.6.18 locking behavior commit 00c5dbfd048e31a653de0e1cf37d45d539e0c755 Author: Derrick Brashear Date: Fri Feb 9 01:30:00 2007 +0000 tasklist-export-check-20070208 work around tasklist lock export harder commit 797f46a88ee9c50c34a8b6e1fa7c878e252d3a97 Author: Adam Megacz Date: Fri Feb 9 01:22:03 2007 +0000 afs-magic-for-linux-20070208 FIXES 52442 use the afs magic number commit 87a3cd2a709a4fcf5df9a82ce223be0a33bf18f1 Author: Dave Cottle Date: Fri Feb 9 01:12:16 2007 +0000 obsd40-initial-20070208 FIXES 53283 doesn't work right, and the patch in 53296 can't be taken as is commit 226f3b1b47371bf6c37d8003725fac6d2486ea16 Author: Marcus Watts Date: Fri Feb 9 01:04:28 2007 +0000 linux24-update-20070208 FIXES 53199 update for linux 2.4 commit 9dd8d7f8171614a9efda14f6392651b8c276aa04 Author: Marcus Watts Date: Fri Feb 9 00:57:39 2007 +0000 auth-cleanup-20070208 FIXES 53208 remove unneeded includes of auth.h commit 6e947cd3be0fbba3265ae6e0197579cabb4c3d8a Author: Marcus Watts Date: Fri Feb 9 00:54:22 2007 +0000 bozo-cleanup-20070208 FIXES 53202 clean up bosserver commit 0dfd1d0ed81547791d8b90f9be2d04b362401422 Author: Marc Dionne Date: Fri Feb 9 00:25:42 2007 +0000 keyring-pag-avoid-shadowing-20070208 FIXES 38959 avoid shadowing the pag variable commit 8ecad072df8f6cfa63e1ef4d862611a0f2a75e7b Author: Derrick Brashear Date: Fri Feb 9 00:17:24 2007 +0000 getcbi-limit-addresses-20070208 FIXES 36643 don't write addresses (if we have too many) over random memory commit a4d52ee772a84212911c52f5d79dd4f02b9a8b2a Author: Derrick Brashear Date: Thu Feb 8 23:59:16 2007 +0000 use-unix-sockets-20070208 option to use unix socket for fssync commit b0425c4e7f65c00fe217d7c54d309bceac9b38d5 Author: Jeffrey Hutzelman Date: Thu Feb 8 22:37:41 2007 +0000 linux-lock-tracking-20070208 FIXES 31818 avoid a potential leaked lock when closing firefox. commit 403b5086dddf16ef360b3dade0f3fa0e12db5b71 Author: Jeffrey Altman Date: Thu Feb 8 13:49:58 2007 +0000 windows-scp-recycle-init-20070208 when we recycle a stat cache object be sure to clear the file type so we don't inherit the previous file type if the fetch status fails. in merge status, clear the file type if the errorCode is EACCESS commit 0cc59928b980fbd89e3ed06e04474762655791ef Author: Jeffrey Altman Date: Wed Feb 7 17:34:09 2007 +0000 windows-merge-parent-fid-20070207 modify cm_MergeStatus to take a pointer to the parent stat cache entry so that the parent fid can be set when bulk status returns an error. commit 92c282f40c84e8f6c3a02bf55d040007fa48e7ff Author: Jeffrey Altman Date: Wed Feb 7 16:37:42 2007 +0000 windows-mounttab-remove-debugging-20070207 remove unused variables commit e9fb99c770101de103df0a2ff7ba364159b81f80 Author: Jeffrey Altman Date: Wed Feb 7 08:12:27 2007 +0000 windows-merge-eaccess-20070207 when merging status info that has an errorCode of EACCESS set, merge the garbage we received. When checking the access to the object return EACCESS if the stat cache object has the EACCESS flag set. This will be cleared the next time a BulkStatus succeeds. commit 36233e1e318c7864122cf16c85da012f936c03db Author: Olivier Calle Date: Wed Feb 7 04:52:18 2007 +0000 multiple-local-realms-20070201 FIXES 52459 when the name is foreign, execute the body of afs_is_foreign_ticket_name ==================== 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. ==================== FIXES 52459 The Name to ID RPC must distinguish between local and foreign names commit 55653d5dd00665c80397ab3c397063a1e636afea Author: Jeffrey Altman Date: Tue Feb 6 16:46:09 2007 +0000 windows-merge-status-20070206 when merging status for store data ops, use the fileHashTable to reduce the number of buffers we must examine commit 4e8bc6d5016f8e6d46a21331009c414d94e90d10 Author: Jeffrey Altman Date: Mon Feb 5 11:07:44 2007 +0000 windows-merge-status-20070204 For each StoreData operation the dataVersion on the object is incremented. To prevent all of the cached buffers from being considered out of date, if the dataVersion has been incremented by exactly one, then update the dataVersion of the buffers that match the FID and the previous dataVersion commit cec0b902f6cbeb849984d5ca1ef1847ef1eeac89 Author: Jeffrey Altman Date: Mon Feb 5 03:41:06 2007 +0000 windows-buffer-mgmt-20070204 Instead of using a fixed sized hashtable of 1024 entries regardless of the number of buffers, compute the hashtable to be large enough for on average 7 buffers per bucket. Remove the 'size' field from cm_buf_t since it is never used. Add more info to the output of cm_buf_t objects when using "fs memdump" commit 333005c46332a9c76974261aef5fdf82c19698b1 Author: Jeffrey Altman Date: Sun Feb 4 15:37:34 2007 +0000 windows-store-biod-20070204 Add a 'failed' parameter to the cm_ReleaseBIOD function. This enables the clearing of the CM_BUF_DIRTY flag to be conditional upon successful completion of the store operation. commit 78c83150f62d78330795c9a8c9b7de13421f0bde Author: Jeffrey Altman Date: Sun Feb 4 02:49:28 2007 +0000 windows-mounttab-remove-debugging-20070203 no longer need the Debug Output String statements commit 37d16dd70bdc88af02db4ed0307b2ec56a4e9a34 Author: Jeffrey Altman Date: Sun Feb 4 02:45:21 2007 +0000 windows-bkgdaemon-retry-failed-requests-20070203 background request functions such as BkgFetch and BkgStore do not return success or failure. the bkgDaemon thread simply executes the request and discards it regardless of whether or not the request was completed. this can result in background store event failing to be written to the file server. modify the background request functions to return success or failure. modify the background daemon to put failed requests back onto the queue if the reason for failure was transient. modify the background daemon only to process requests when the servers for the volume are marked up. commit 9a9e0976c881ef6b77e7de19a79611569b1426a3 Author: Jeffrey Altman Date: Sun Feb 4 02:01:12 2007 +0000 windows-buf-refcount-leak-fix-20070203 Plug a buffer refcount leak. This is why the client slows down over time. It runs out of buffers it can use. commit 84a0ef8e1a076e3fb03d8cb6bb72bba63679a700 Author: Jeffrey Altman Date: Sat Feb 3 18:03:55 2007 +0000 windows-buf-dump-fix-20070203 restore the missing format string to the Buffer Hash Table Dump routine commit 1e44ef074aae0fd718f15ba8ff8b66bca1586c2f Author: Jeffrey Altman Date: Sat Feb 3 17:48:07 2007 +0000 windows-log-eol-20070203 ensure that log files use CR-LF for end of line. the "fs memdump" output and the afsd_init.log initialization output were still using LF. commit 7d6baa2df1ef0244b0a27082948be794ef36a8e4 Author: Jeffrey Altman Date: Sat Feb 3 04:47:41 2007 +0000 windows-drive-mappings-20070202 FIXES 45545 Correct the return types and values of the Window Procedures. This fixes the drive mappings problems. ==================== 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. ==================== FIXES 45545 Remove "Drive " from the drive mappings. This way the drive letters can be selected with a single key press. commit fd1c37ebe7f5fb2ed52371705aaf1efc7764c7eb Author: Chaskiel M Grundman Date: Sat Feb 3 03:23:16 2007 +0000 linux-and-locks-cleanup-20070202 fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid useless panic commit ab294cfdc5fa4108f89b37c4a7da5844872ecacf Author: Jeffrey Altman Date: Fri Feb 2 15:43:07 2007 +0000 windows-afsd-volume-ref-leak-20070202 When looking up a volume by ID or Name, if the volume server data requires refreshing and the UpdateVolume operation failed, do not leak the refCount. commit 38d6f485078185acc0067362eb970b5cbf41e800 Author: Jeffrey Altman Date: Fri Feb 2 15:36:45 2007 +0000 windows-nsis-20070202 even if afsd_service.exe can be shut down the binary might still not be able to be replaced due to the windows Protection Service. Use the ReplaceDLL macro commit 564d41d96e224132d5073170d0f82e0264315077 Author: Jeffrey Altman Date: Thu Feb 1 13:23:45 2007 +0000 venus-include-afs-com_err-20070201 FIXES 51424 include afs/com_err.h for error_message() prototype to prevent crashes on platforms with 64-bit pointers and 32-bit int commit bd5ed7d332df05ac232f4188a166ce6f791f7cca Author: Jeffrey Altman Date: Thu Feb 1 04:28:37 2007 +0000 windows-freelance-20070131 FIXES 52069 If an app tries to open the freelance directory for WRITE then the default anonymous access privileges, read/lookup, are not sufficient and cm_HaveAccessRights will fail. Freelance can't get access rights from anywhere. Therefore, cm_HaveAccessRights should special case the Freelance directory. commit f3c4bbd41a06aeced5536f55e949767169b906d2 Author: Jeffrey Altman Date: Wed Jan 31 17:02:02 2007 +0000 windows-delete-test-file-not-dir-20070131 the cm_CheckNTDelete function was testing the permissions of the directory and not the permissions of the file being deleted. This resulted in inconsistencies between the attributes of the file and the ability to delete it. this patch also adds a large amount of trace log entries as there was none in this section of the code before. commit 908918a89d40605cad738a35f9938aa9d7488a3d Author: Jeffrey Altman Date: Tue Jan 30 12:41:19 2007 +0000 windows-shell-ext-reformat-20070130 reformat the source code to make it easier to read/edit commit daddcd3bcc3ab5b79954fe4dccf648aa35b0530c Author: Jeffrey Altman Date: Tue Jan 30 12:28:29 2007 +0000 windows-netidmgr-string-updates-20070130 As per the NetIdMgr model, refer to credentials instead of tokens. Update the copyright strings commit 0b669007c7338ec4f18a3a7cf88b9621c626c8bd Author: Jeffrey Altman Date: Tue Jan 30 12:23:28 2007 +0000 windows-vol-fssync-debug-20070130 add a resource file for fssync-debug for when we decide to build it commit c4a89f3f79d6b5c62ccd91f3e7e01d38e3e80c1f Author: Jeffrey Altman Date: Tue Jan 30 12:14:49 2007 +0000 windows-vol-fix-salvager-20070130 The salvager on Windows was not being built properly. The fssync-debug.c main() was being used instead of the salvager.c main(). Remove fssync-debug.obj from the library and fixup the includes and global variable declarations. commit b02c32b0692991636e06e1205ae0d07c9f15106b Author: Jeffrey Altman Date: Tue Jan 30 12:04:22 2007 +0000 windows-procmgmt-20070130 Do not raise an exception if SIGQUIT is received prior to the registration of the Shutdown handler commit 3960a5ff1cfef0c3f6adfe6cf602b8c80078ce7d Author: Russ Allbery Date: Mon Jan 29 19:25:40 2007 +0000 document-fs-setacl-permissions-20070129 Better document the current state of implicit "a" rights on directories. commit 91ce7a066d0912bb84a7c87863cd1b7ed6cc480a Author: Jeffrey Hutzelman Date: Thu Jan 25 11:19:19 2007 +0000 volume-dont-artificially-untimeout-vlservers-20061218 FIXES 48959 remove synthetic event to undo timeouts of vlservers we "haven't talked to yet" commit 42e90ef1a076eaea70ad4b587a3c25632b38bb88 Author: Jim Rees Date: Mon Jan 22 22:30:15 2007 +0000 asetkey-includes-20060122 fix includes commit 676bf342ddfdb13ca18337535598c3af3c2f49ed Author: Derrick Brashear Date: Mon Jan 22 17:19:26 2007 +0000 make-cleaner-20070122 this stuff was missed commit 8f61572edb3fc40102b5947ec06be812e3fd0d0f Author: Jim Rees Date: Mon Jan 22 16:24:23 2007 +0000 krb5-obsd-20060122 mention KRB5CFLAGS for OpenBSD commit f9697113d97135fa606a9fa92905d3fcc478bc34 Author: Jeffrey Altman Date: Mon Jan 22 02:16:38 2007 +0000 windows-fix-volume-refcount-leak-20070121 Plug a volume refcount leak Add volume data to the "fs memdump" output Add memmap stat data to the afsd_init.log output at startup and shutdown commit c88ab63663319035d88dfceb9778b98553a091b5 Author: Jeffrey Hutzelman Date: Fri Jan 19 19:31:05 2007 +0000 linux-kbuild-test-fixes-20070119 fixes to build for linux when doing objdir builds commit 41df9870148af3527f828a26cc7fbb8d8ffb506e Author: Jeffrey Altman Date: Tue Jan 16 17:24:30 2007 +0000 windows-nsis-fix-rpc-20070116 remove the rpc fix. the original code was correct commit d32af980792d2f94fda4a7c84e67f86f08d2676e Author: Jeffrey Altman Date: Mon Jan 15 23:40:38 2007 +0000 windows-nsis-installer-20070115 Fix the RPC check to actually check the RPC status Update the copyright date Add Vista version detection commit 20f426568625f40b37973121805f0ac820b9017c Author: Jeffrey Altman Date: Mon Jan 15 19:50:51 2007 +0000 windows-open-dir-lookup-20070115 add new error code when requested InfoLevel is not supported CIFS NTCreateX Read privilege means PRSFS_LOOKUP when the object is a directory commit aef763b3c0a5f5d6947f857cb480e29afe4b8e29 Author: Chaskiel M Grundman Date: Mon Jan 15 18:15:45 2007 +0000 alloc-sem-is-sem-20070115 this change didn't belong... commit 2f3558f341896ae40a8bd07fe71177c5f7763623 Author: Chaskiel M Grundman Date: Mon Jan 15 20:41:23 2007 +0000 linux26-large-pag-groups-20070115 working from base provided by shadow@dementia.org commit 2b7f13c2276613e120cef159f44c912e866412f5 Author: Derrick Brashear Date: Fri Jan 12 16:27:57 2007 +0000 locker-thread-tracking-20070111 track thread ids so we can properly not deadlock commit 2502379d7586acfed882bff7e1c50bb54fbe7a7f Author: Derrick Brashear Date: Fri Jan 12 05:18:52 2007 +0000 netinfo-fake-support-correction-20070112 fix NetInfo "f" line fake IP address support to work when either 1) NetRestrict file is in place or 2) existing sysid file does not list fake address commit 0732c4637d31da44b2b8f4567292ecd493a98334 Author: Tom Keiser Date: Fri Jan 12 03:48:29 2007 +0000 rx-deal-with-afs34-jumbograms-again-20070111 FIXES 51116 try again at dealing with old jumbograms commit 284668200e83fe90afa4bed26509343473b9995b Author: Jeffrey Altman Date: Tue Jan 9 15:26:56 2007 +0000 client-handle-vicetokendead-with-reconnect-20070109 client-handle-vicetokendead-with-reconnect-20070104 failed to alter the behavior of the RXKADEXPIRED and other cases. commit cbba8d8b887957122c1870f8a5a4a823af889d0f Author: Derrick Brashear Date: Sat Jan 6 01:18:46 2007 +0000 tsfpq-macro-naming-20070105 rename the queue-splicing versions of the checkin/checkout macros commit 6029f002be00f5cb41423674c66b0f0dfac4506d Author: Derrick Brashear Date: Fri Jan 5 23:30:10 2007 +0000 buildpkg-dmg-path-20070105 reported by marcus watts commit 52b036747c78139c5b0a69a934e46ae9f34e0741 Author: Derrick Brashear Date: Fri Jan 5 23:14:21 2007 +0000 rx-deal-with-afs34-jumbograms-again-20070105 try again at dealing with old jumbograms commit 4be015449daf92061ebdfc7c5132bfd7d313562a Author: Derrick Brashear Date: Fri Jan 5 23:05:13 2007 +0000 multiple-local-realms-20070105 FIXES 51104 do the correct check commit b975875e79a2ba84ef3faaec109b8db046ee5326 Author: Kevin Hildebrand Date: Fri Jan 5 18:20:08 2007 +0000 pts-rename-fix-20070105 FIXES 51066 fix pts rename to do the right thing commit 290b05b6b6e13fd93d40a8c021f0d8fdf697f7af Author: Jeffrey Altman Date: Fri Jan 5 17:13:11 2007 +0000 windows-unix-mode-bit-enforcement-20070105 modify the write-lock permission test so that the UnixMode bits do not subtract PRSFS_WRITE from the rights when testing PRSFS_WRITE | PRSFS_LOCK. PRSFS_WRITE implies PRSFS_LOCK so add it Add new registry value "DeleteReadOnly" to permit deletion of read-only files. The default is 0. Set to non-zero value to activate. commit 2d68f6a3ef54f4c97ecd6e0561726fc5a89b5a04 Author: Sean O'Malley Date: Fri Jan 5 06:07:37 2007 +0000 bucoord-protoize-20070104 FIXES 50870 protoize bucoord ==================== 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. ==================== FIXES 50870 undo redundant include ==================== FIXES 50870 protoize bucoord ==================== FIXES 50870 protoize bucoord commit aab62fe05ea77a47564726a5f948c6c094f4ab5d Author: Derrick Brashear Date: Fri Jan 5 06:02:28 2007 +0000 pr-changeentry-arg-types-20070105 oops. put it back commit b5dbc4fe6008efa277830666c0f69e71c80318ad Author: Derrick Brashear Date: Fri Jan 5 05:02:39 2007 +0000 solaris-but-seriously-20070105 guess chas had the right idea commit fd4a1c1c32c01a44ee09854039b81b0afa0ded32 Author: Derrick Brashear Date: Fri Jan 5 04:56:09 2007 +0000 free-packet-avoid-issue-with-34-jumbograms-20070104 try to deal with rainer toebbicke's ongoing issue commit 267b548a488c5d666582dd050a253c1652872a4d Author: Derrick Brashear Date: Fri Jan 5 04:48:32 2007 +0000 solaris-mypid-track-threads-20070104 based on suggestion by tkeiser commit ba017be750ab667e8dc7a1dfb9e20e03ce861c14 Author: Derrick Brashear Date: Fri Jan 5 03:39:16 2007 +0000 unroll-namei-delay-fsync-20070104 has been shown to cause problems with releases per haba@pdc.kth.se testing, unroll until we figure out why commit c8503d73a1d02829bdb23e5403df15844f065478 Author: Marcus Watts Date: Fri Jan 5 03:21:34 2007 +0000 asetkey-with-heimdal-20070104 FIXES 50973 just make asetkey build with heimdal commit 349474755bbfa9b56bb751ebb8a4adcee411e9da Author: Derrick Brashear Date: Thu Jan 4 22:08:26 2007 +0000 darwin-fake-more-free-20070104 fake more free disk space for dumb apps commit b745079fb276da810e0b96c7b94be5cb77aebee6 Author: Derrick Brashear Date: Thu Jan 4 21:55:21 2007 +0000 client-handle-vicetokendead-with-reconnect-20070104 basically, if the issue is really expired tokens then we force the server to tell us that instead of that our older connection is still using the old tokens for some reason, by letting a new connection happen first commit 526a589fd3800b38d541f38acfc9614b19a75bb0 Author: Derrick Brashear Date: Thu Jan 4 21:48:28 2007 +0000 macos-installer-fix-20070104 this time for sure commit 48afec37ed565be0d6c0273286b4bed827c8efca Author: Derrick Brashear Date: Thu Jan 4 21:42:24 2007 +0000 linux-workqueue-prereq-20070104 FIXES 49890 make the workqueue configure test actually work on 2.4 commit 1a5628981e0042bed07ebedd72f715848734a51b Author: Marc Dionne Date: Thu Jan 4 21:15:16 2007 +0000 freezer-h-existance-20070104 FIXES 50941 only include freezer.h if it exists commit 182a18931a3fc696a53288dbd6fcf04e109f785b Author: Marcus Watts Date: Thu Jan 4 20:05:20 2007 +0000 linux-kbuild-configure-20070104 FIXES 40604 Test whether Linux kernel builds work at all before going into specific builds so that we can fail earlier with a better error message. Try to put more errors from the kernel build into config.log. commit ee9d148cc50d41832b79bab4aef0672bdfb63f54 Author: Derrick Brashear Date: Thu Jan 4 15:59:35 2007 +0000 md5-inode-even-odd-hack-20070104 the even-odd hack didn't work with the new md5 inode numbers. fix it. suggested by Bennett Todd. commit 56d5e6970d27a5c99c04b105481bcf1d1bc3db1e Author: Jeffrey Altman Date: Wed Jan 3 00:44:27 2007 +0000 windows-unix-mode-bit-enforcement-20070102 When the Unix mode bits do not include the write bit (0200), then the file is reported to Windows as read-only. This also prevents the acquisition of write-locks. It should also prevent deletion but the code in cm_HaveAccessRights() did not remove the PRSFS_DELETE privilege from the reported rights. commit 365351a161356acbe09b5fdfe095c809a1d5fd05 Author: Derrick Brashear Date: Tue Jan 2 17:17:49 2007 +0000 taking-rx-back-into-the-20th-century-20061228 ken's patch is now on the ipv6 branch ==================== 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. ==================== restore deleted taddr declaration. ==================== ken's patch is now on the ipv6 branch commit 11999d395c6b9b0c02d8acb725c2cc66270cd908 Author: Jim Rees Date: Tue Jan 2 16:48:33 2007 +0000 strl-20070102 str->strl commit a132e7f54590a4e12a002c35081ce8afb255b5a3 Author: Marc Dionne Date: Tue Jan 2 15:59:13 2007 +0000 fix-linux-2-6-20-configure-test-20070102 FIXES 50594 make the cc flags modification not break things commit 84cfee7d07510d007df63788ffce028255829d41 Author: Marc Dionne Date: Tue Jan 2 15:40:35 2007 +0000 ifdef-nfs-translator-20070102 FIXES 50602 appropriately wrap nfs translator code in ifdefs commit 71f6f346caa9f501a0b7af23c9d4425d9357f3eb Author: Dale Ghent Date: Tue Jan 2 07:33:23 2007 +0000 solaris10-suser-replace-20070102 FIXES 50246 suser is dead, long live suser commit 1a9ba9aa4bdb2424a49396e0d8e9345a91e4ba90 Author: Jeffrey Altman Date: Sat Dec 30 17:49:29 2006 +0000 windows-readme-20061230 updates for VS2005, Vista, etc. commit f50452b6e1eae563ebd0251470694ddb750fe704 Author: Jeffrey Altman Date: Sat Dec 30 17:09:48 2006 +0000 windows-no-version-20061230 set the version numbers on the head to 0.0.0.0 so there is no confusion that this code is not ready for prime time commit 0995d4d9b3059569d1fa2ed330982e4dfe021cac Author: Jeffrey Altman Date: Sat Dec 30 17:00:51 2006 +0000 kaserver-deprecation-warning-20061230 The following message is now logged to both the BosLog and the AuthLog at startup. WARNING: kaserver is deprecated due to its weak security properties. Migrating to a Kerberos 5 KDC is advised. http://www.openafs.org/no-more-des.html commit 47b4f514cadb815fff7be99726911599cacfb287 Author: Jeffrey Altman Date: Sat Dec 30 16:55:02 2006 +0000 afsdb-resolver-reinit-20061230 FIXES 50576 replace 'try' with 'try_init' and declare 'try_init'. 'try' is a reserved word on some compilers. not sure how this code was compiling on MacOS X and Windows as 'try' was not declared. commit a305a8c3c7fff86ffcfce500150883262c1c6caf Author: Jeffrey Altman Date: Sat Dec 30 02:44:39 2006 +0000 windows-optimize-smb-dir-search-if-no-wildcard-20061229 do not follow mountpoints when calling cm_Lookup as part of the optimization. otherwise the shortname is computed incorrectly. commit 224eb9ff60ffc7658428557cb98dfdf59b61b8d5 Author: Derrick Brashear Date: Thu Dec 28 22:32:52 2006 +0000 proc-unixusers-cleanup-on-linux-20061228 FIXES 49978 maybe? commit c4c90e33be7ce0954b603455c0aa77b667803d7a Author: Dale Ghent Date: Thu Dec 28 22:25:41 2006 +0000 null-terminate-solaris-ops-20061228 FIXES 50340 vfsops and vnodeops need a NULL at the end of the structs commit a537d3ae9621ade7d03f289980eb340e435c0d8a Author: Dale Ghent Date: Thu Dec 28 21:57:24 2006 +0000 add-solaris-11-support-v2-20061228 FIXES 50343 initial 5.11 support commit 7756a870f37134d33d1c3ceb4ef780e0cfd4beb0 Author: Dale Ghent Date: Thu Dec 28 21:48:25 2006 +0000 solaris10-suser-replace-20061228 FIXES 50246 suser is dead, long live suser commit 84078738ee735ee030e37425c3e2b93df0c72b9e Author: Marc Dionne Date: Thu Dec 28 21:35:17 2006 +0000 linux-install-correct-modules-20061228 FIXES 49787 actually install the correct MP/EP/BM et al modules commit 064926fd1b664b143e1389516c63bacb124b5f9f Author: Marc Dionne Date: Thu Dec 28 21:28:31 2006 +0000 linux-2620-rc1-update-20061228 FIXES 49890 updates for linux 2.6.20-rc1 commit fe649aac819839d84e6cecdbccdc5becc36fa968 Author: Derrick Brashear Date: Thu Dec 28 20:36:26 2006 +0000 afsdb-resolver-reinit-20061228 as reported by Adam Megacz, but my own version of the fix commit c454508d396fd361565f5e62da4ded7c735f5074 Author: Derrick Brashear Date: Wed Dec 27 15:46:26 2006 +0000 macos-installer-fix-20061227 make the installer build correctly again commit 2a9d3e91d0edd9e5afe43793bf8ced5dd6b2701a Author: Jeffrey Altman Date: Tue Dec 26 20:21:16 2006 +0000 windows-server-config-20061226 Reformat the entire directory. Add Freelance mode awareness. Map the root.afs volume starting from Z: and work down. commit 432bede1e52245b6565c8970e96ee83c14e135fc Author: Jeffrey Altman Date: Tue Dec 26 20:17:25 2006 +0000 windows-optimize-smb-dir-search-if-no-wildcard-20061226 fix the computation of the ShortName. Take into account the network byte order of the cm_dirFid_t fields. send error packets from within the function as needed. do not return the error to the caller. commit b2601916f6b3a95d5adcaf0091232acc759870df Author: Derrick Brashear Date: Fri Dec 22 06:45:40 2006 +0000 bosserver-avoid-bosconfig-truncation-20061221 why the heck would it be a good idea to rewrite the BosConfig while we are starting, exactly? ==================== 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. ==================== why the heck would it be a good idea to rewrite the BosConfig while we are start ing, exactly? commit 04208276307d407c3e14828e6c8402345f6c0592 Author: Derrick Brashear Date: Wed Dec 20 21:17:12 2006 +0000 split-cache-update-20061220 move closer to 1.4 implementation esp when split cache is turned off commit c1c2a80c1bc34b23507bf80a6fb12a672c94097c Author: Dale Ghent Date: Wed Dec 20 20:07:02 2006 +0000 solaris10-avoid-direct-cred-access-20061220 avoid a panic after we muck with groups by being less evil commit f4247e465da2b14fb877a74b69f6afc4b34cf2d5 Author: Jim Rees Date: Wed Dec 20 17:03:59 2006 +0000 strl-20061220 convert sys_errlist -> strerror, strcat ->strlcat, strcpy -> strlcpy commit ea60a4dd395d0b14db1da2e5fec7d8dea48b2e70 Author: Jeffrey Altman Date: Tue Dec 19 17:55:44 2006 +0000 windows-afslogon-20061219 Initialize Winsock from within afslogon.c so that ka_UserAuth will work again. commit 7a2d34be17d3ea1a24ab1362698de212c7d8008d Author: Hartmut Reuter Date: Tue Dec 19 04:50:16 2006 +0000 volser-dumpstuff-20061218 FIXES 46937 "vos release" per default does an incremental dump. volser-dump-validate-input-20060417 ends up with keeping dead vnodes and data in the remote RO-volume. This patch corrects the behavior for RO-volumes. See ticket for extensive discussion. commit db8339c3c412c00bf62ff39f5092ace8b255ac5a Author: Chas Williams Date: Tue Dec 19 04:35:29 2006 +0000 rx-mtu-fixes-20061218 http://www.openafs.org/pipermail/openafs-devel/2006-November/014487.html commit d229d72fa7719b947460674cdba203aab0c2a548 Author: Derrick Brashear Date: Tue Dec 19 04:29:13 2006 +0000 kernel-endianness-test-fix-20061218 FIXES 47893 ok, so, when we're in the kernel, do something commit 8a7e66fb28b96888eeb9c36d27b855caa178566f Author: Derrick Brashear Date: Tue Dec 19 04:18:48 2006 +0000 openafs-kernel-src-fix-20061218 FIXES 44573 ok, so, we need to emit Makefile.version when we build openafs-kernel commit 13cc6c5c376878f0ebbe86cae1fa2849d0aafd2f Author: Jeffrey Altman Date: Tue Dec 19 03:37:34 2006 +0000 volser-undo-cleanup-20061218 uncommit an inappropriate commit DELTA volser-cleanup-xx-20061128 commit acca80fd673b2d4bbf39dec6231d08f2373f518e Author: Derrick Brashear Date: Tue Dec 19 03:17:57 2006 +0000 rx-globals-avoid-INIT-reuse-20061218 FIXES 45515 avoid calling our macro INIT commit c4adc63872d720b43d2ff99fd780046a4ba9883b Author: Jeffrey Hutzelman Date: Tue Dec 19 02:32:55 2006 +0000 volume-dont-artificially-untimeout-vlservers-20061218 FIXES 48959 remove synthetic event to undo timeouts of vlservers we "haven't talked to yet" commit 01c0e029f7eea96f2892df9dd570f019660cfd8b Author: Chas Williams Date: Tue Dec 19 02:28:19 2006 +0000 linux-osi-cred-pool-byebye-20061218 ok, unneeded abstraction removed. commit 8a1debde84c7bacb103bb1a9c3d82a1f352f441f Author: Jeffrey Altman Date: Mon Dec 18 23:56:19 2006 +0000 windows-afslogon-20061218 test for the existence of the mutex and not the bInit flag during the DLL attach commit a1c31b6637fe44f2a2ebd4be491b71cc4e0fa922 Author: Asanka Herath Date: Mon Dec 18 22:33:15 2006 +0000 windows-install-wix-20061218 remove the AFS Server wizard shortcut add AFS Server dependencies (tcpip and PNP_TDI) commit a7ea1f2efd616149b2419bb394f54d4828d316b9 Author: Jeffrey Altman Date: Mon Dec 18 21:44:11 2006 +0000 windows-nsis-20061218 remove the autorun for the AFS Server Wizard remove the shortcut to the AFS Server Wizard update the service dependencies for the bosctlsvc (tcpip and PNP_TDI) commit a57531592bfab0b36a4d7fb58b556b848e6f75c8 Author: Asanka Herath Date: Sun Dec 17 21:05:28 2006 +0000 windows-optimize-smb-dir-search-if-no-wildcard-20061217 When performing a SMB FindFirst/FindNext/FindClose operation if there are no wildcards involved, we can optimize the case and turn it from O(n) to O(1) where 'n' is the number of entries in the directory. This can be done by performing a cm_Lookup() and if it succeeds, constructing the appropriate response instead of parsing the contents of each buffer associated with the directory looking for matches. Without this optimization, FindFirst operations on directories containing thousands of entries can take a large number of seconds to complete. commit 5b56a0b8ebbdfffa46b90d45b06253c3c6fade15 Author: Jeffrey Altman Date: Sun Dec 17 01:21:52 2006 +0000 rx-fix-lock-init-20061216 When rxBind was added it made an assumption that rx_GetIFInfo could be called before rx_InitXYZ. This is true on non-Windows platforms, but on Windows rxGetIFInfo relies on an initialized mutex. This patch adds a DllMain for Windows in order to initialize the mutex object upon DLL load. commit d5583808e85ff8688716ce800c3eab5543582095 Author: Derrick Brashear Date: Sat Dec 16 06:25:24 2006 +0000 vldb-repair-tool-20061216 make vldb_check able to repair at least some kinds of damage run it on a vldb which does not have a server operating live on it verify the result with vldb_check before using. commit 35fae890e298b6d43990c2bccfe2a67c9d555ec3 Author: Derrick Brashear Date: Fri Dec 15 16:37:03 2006 +0000 ubik-better-debug-logging-in-remote-20061215 log when we get errors doing remote sync what it was, rather than covering it up commit 04daebb95ebc15ece05f6f42aec1a3a7e9bd1bbf Author: Jeffrey Altman Date: Wed Dec 13 00:25:23 2006 +0000 windows-custom-control-subclassing-bis-20061212 Do not link to both talocale.lib and taafsapplib.lib. If you do, then there are duplicate functions in both the .EXE and the TaAfsAppLib.DLL. commit 70c350c6d04176a9f58fa7ab00c92511f3ca039b Author: Jeffrey Altman Date: Tue Dec 12 20:37:44 2006 +0000 windows-custom-control-subclassing-20061212 While investigating the reasons behind the Drive Mapping listbox failing to permit entries 2 or above to be edited or removed and the text string being truncated to two characters (on some systems) I discovered that the subclasses were being recompiled into each application instead of linking against the DLL that contains the controls. The custom controls have been renamed to address name space issues. The "Drive X:" label changed to "X:" to permit single character item selection within the listbox. Still have no idea what is really going on. Spy++ shows the Windows messages being sent to the correct Windows. However, the getcount message never obtains a value other than 0 or 1. This is probably why the selection code is broken. Still working on it. commit f126802236bb059b8f0e804c76aef1031beb8a44 Author: Jeffrey Altman Date: Tue Dec 12 17:02:37 2006 +0000 windows-sleep-when-out-of-buffers-20061212 When there are no free buffers, don't loop continuously. Sleep so that the other threads that are holding the buffers can grab the global buffer lock and release them. commit 0919636307d628ff459edc77561dbcd0cec9fc6e Author: Jeffrey Altman Date: Tue Dec 12 04:00:40 2006 +0000 windows-afsd-20061211 (1) Power Management improvements. Maintain a global flag that specifies whether or not the service is in a suspend state. Do not panic if Netbios() returns NRC_BRIDGE meaning that the lana is no longer valid. Instead, stop the listener threads and if all listener threads are stopped, reset the lana_list. Allow the cm_Daemon() thread to periodically check the state of the smb listeners. If they are all stopped and the service is not suspended, attempt to restart them. If there are no valid lanas, return to the stopped state. (2) CreateX and NTCreateX use cm_CheckNTOpen() to test whether or not the user is permitted to obtain read or write locks. This function would obtain the lock and then drop it returning whether or not the lock could be obtained. If the lock was in fact required, CreateX/NTCreateX would then obtain it with cm_Lock(). The problem of course being that this pattern results in three RPCs to the file server (lock, unlock, lock). This is reduced to one RPC by implementing cm_CheckNTOpenDone() which frees the allocated byte range lock from cm_CheckNTOpen() after the cm_Lock() call is performed. (3) Remove unused code. (4) Add debugging to SMB Directory Search functions. (5) Increase the SMB Ioctl MaxData size commit 08bb3f639163be663d69c9b2188b694e6644cd00 Author: Russ Allbery Date: Wed Dec 6 20:00:48 2006 +0000 kaserver-log-tgtreq-20061206 Separately log TGT requests in addition to logging the authentication so that one can distinguish in the logs between Kerberos v4 clients and uses of klog. commit 112604e9c31cba4f9605b6b53918aafa8cac77d0 Author: Derrick Brashear Date: Tue Dec 5 19:38:44 2006 +0000 rx-preparesendpacket-avoid-double-free-20061205 wow, this is special existed forever but only when we stopped leaking packets did it become a problem anyway, don't free packets and forget to reduce the number of packets in play commit 71a1d8a0256323754f8bc994c1a67eca1dc5b84f Author: Russ Allbery Date: Sat Dec 2 03:56:17 2006 +0000 docbook-quickguide-cleanup-20061201 Remove generated files from CVS. ==================== 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. ==================== Some initial obvious cleanup. Removed all the sections on Digital UNIX, changed IBM AFS to OpenAFS throughout, and reformatted and cleaned up the front matter and some of the first few pages. commit f54446844329ca3ed2563e6f0aac75c8878eb409 Author: Russ Allbery Date: Sat Dec 2 02:22:34 2006 +0000 docbook-quickguide-makefile-20061201 Add some comments to the makefile, set up dependencies to build the index automatically, remove a bunch of unnecessary @-signs in front of commands, and add a clean target. commit ddc66bbff0a9687ef4a530908831cea26a85e2db Author: Russ Allbery Date: Sat Dec 2 01:44:50 2006 +0000 pam-aklog-now-external-20061201 Remove pam_aklog. pam_afs_session will be developed and distributed as an external project instead. commit b81763506fdf29f3df66d811e2d299cc4c9acec0 Author: Derrick Brashear Date: Fri Dec 1 18:48:26 2006 +0000 give-s390x-syscall-table-the-big-hammer-20061201 Neale Ferguson contributed the assembler. The false illusion of security some people want to play under is usually good for wasting a few hours; it was here. making the sys_call_table read nly for real of course fixes it, let's just hope keyrings come along before then on such platforms. commit 9ba1d32b4ba8aac1d7e2c7f7489739e0e4ca5475 Author: Derrick Brashear Date: Fri Dec 1 18:32:49 2006 +0000 redhat-packaging-updates-20061201 updates from derek updates for s390x updates to handle suse commit af6af0bbc4d874a42f0640eaafd762ebfc1bc872 Author: Derrick Brashear Date: Fri Dec 1 12:52:38 2006 +0000 redhat-initscripts-update-for-suse-20061201 suse lacks /etc/init.d/functions commit 45425b2f222d5c0a8dd56695587b6cdeba581b6a Author: Derrick Brashear Date: Wed Nov 29 21:22:38 2006 +0000 cprivate-ticketlen-is-32-not-16-20061129 everyone else thinks ticketLen is 32 bits. contrary to what arby's says, different is not necessarily better. commit d253bde4574e34ee08cf326ec4c481b57c230476 Author: Jeffrey Altman Date: Wed Nov 29 06:23:00 2006 +0000 windows-dirty-buffer-optimization-20061128 The old dirty buffer synchronization algorithm had a buf_IncrSyncer thread walking the all buffer list periodically searching for dirty buffers to write to the file server. This had several negative results. The alogirithm ate up ever increasing amounts of CPU time even when AFS is idle as the size of the cache increases. Also, buffers were written to the file server in an order based upon the original buffer allocation which has nothing to do with the order in which the buffers became dirty. The new algorithm maintains a dirty buffer list. Items are added when the buffer is originally marked dirty. A buffer is only removed from the list by the buf_IncrSyncer when the buffer is no longer dirty. If the list is empty the thread goes back to thread immediately without additional processing requirements. commit 1c661a198efca3b3273b1c523b19a367ddbee4d7 Author: Jeffrey Altman Date: Tue Nov 28 09:30:58 2006 +0000 volser-cleanup-xx-20061128 cleanup the return code handling from DELTA volser-dump-validate-input-20060417 commit 1ed0460435ec05150526c951d1ff32dd3b5a9c39 Author: Jeffrey Altman Date: Tue Nov 28 09:16:36 2006 +0000 windows-smb-dont-crash-vista-20061128 Unlike previous versions of the OS, Vista performs a shutdown on the Microsoft Loopback adapter just like it would on a real adapter. This causes the smb_Listener threads to trigger a panic during a suspend/hibernate power event. The fix is to unbind from the network adapters in response to a suspend/hibernate power event and then rebind to the adapters when a resume power event is received. Note that the resume events are not reliably delivered so it is possible the afs service will not be accessible. However, this is the best we can do. commit cb1997aad8a62b31f1e890dfe093a2d4845e0086 Author: Jeffrey Altman Date: Tue Nov 28 09:05:10 2006 +0000 windows-conn-analyze-20061128 force an rx connection reset if VICECONNBAD or VICETOKENDEAD are received commit 97733f8dcfd08968da5173ceb5976143728b5eab Author: Jeffrey Altman Date: Tue Nov 28 08:59:43 2006 +0000 windows-afslogon-dont-modify-environment-20061128 don't allow environment variables we set to be inherited by child processes commit 769f4e49b60b15b27eb2898a5b28c2d99fc0238c Author: Russ Allbery Date: Tue Nov 21 00:56:14 2006 +0000 thiscell-whitespace-20061120 Be more liberal when parsing ThisCell. Accept and ignore leading and trailing whitespace and anything after the first whitespace character on the first line. Return an error for a read error or for an empty cell name. commit 40976a1f88d19c2c12fba6d1c530c02258ff1292 Author: Russ Allbery Date: Mon Nov 20 23:50:42 2006 +0000 param-common-fix-20061120 Rather than setting AFS_PARAM_COMMON as part of the sysname guessing code, guess the sysname first and then sent AFS_PARAM_COMMON in a separate case statement based on the results. Otherwise, it isn't set when --with-afs-sysname is used explicitly, resulting in a broken Linux build. commit 778e2d5f18c1d0c93a073c137bb36e56f64747ef Author: Russ Allbery Date: Mon Nov 20 23:33:33 2006 +0000 relative-path-canonicalization-20061120 Path canonicalization for commands such as bos getlog was only applied for absolute paths; relative paths were still constructed relative to the canonical directory. Modify the path canonicalization routines to also canonicalize the base directory for relative paths. commit 848d2f1caa8d196831a1fe599694fdce0018136d Author: Jeffrey Altman Date: Mon Nov 20 18:53:28 2006 +0000 windows-netidmgr-plugin-vista-vs2005-20061120 Define _USE_32BIT_TIME_T since that is what tokens contain. Use cflagsdll instead of cflagsmt to avoid multiply defined entry points commit 4a3482f9e6b5fdac731da45cc4f4179fd5db7046 Author: Jeffrey Altman Date: Mon Nov 20 18:03:03 2006 +0000 windows-remove-unused-libs-20061120 rpcndr.lib and largeint.lib are no longer used. rpcndr.lib no longer exists in the Vista SDK. commit 7fff96e0cf113a34d3001282807b6bd04375f5b1 Author: Jeffrey Altman Date: Sat Nov 11 07:12:10 2006 +0000 windows-smb-rename-offline-folders-20061111 FIXES 45692 when offline folders are enabled, the old file name sent in a rename operation is sent in all uppercase even when the file name is not. this patch attempts a case insensitive match after the case sensitive match fails. commit 1d6da37c594e3f379473aebc2a7345dc41bfff15 Author: Derrick Brashear Date: Fri Nov 10 04:33:59 2006 +0000 revert-inactivevcache-hold-lock-20061109 fails verification. come back to it commit 6766285fc24e8ebc087e57085097106e1bb61425 Author: Derrick Brashear Date: Fri Nov 10 04:09:16 2006 +0000 macos-preupgrade-script-20061109 update the preupgrade script commit 2110d5e843aef69b0753370cd5ad705b5d5afb8e Author: Chas Williams Date: Fri Nov 10 04:02:01 2006 +0000 kill-stat-blksize-20061109 FIXES 42663 don't provide a bogus hint commit 24487b5ba24ef5a5d6ee269e880dbcdfd2b7cc6d Author: Derrick Brashear Date: Fri Nov 10 00:14:16 2006 +0000 leopard-updates-20061109 make things work with current seeds commit 789bf060d28465edc996b07b7f4bc21fc051515d Author: Chas Williams Date: Fri Nov 10 00:06:44 2006 +0000 linux-blkbits-20061109 FIXES 42671 set blkbits if we have it commit c12c958febfd6f7667345baec164b617f44f8bb9 Author: Marc Dionne Date: Thu Nov 9 23:40:20 2006 +0000 linux-statfs-dentry-20061109 FIXES 42788 statfs changed in recent linux kernels. cope. commit ee8ae61a4d9610fea16473d87b471cd4fc128804 Author: Chas Williams Date: Thu Nov 9 23:10:51 2006 +0000 linux-config-h-died-20061109 FIXES 42662 config.h vanished. deal. commit 6975fcb202f2a599814ce9f26cda1999163050f8 Author: Chas Williams Date: Thu Nov 9 23:02:32 2006 +0000 inactivevcache-hold-lock-20061109 FIXES 42798 hold a lock while we are in InactiveVCache commit dd508cf7b4553b13872335ec1eb84401bc61435f Author: Chas Williams Date: Thu Nov 9 22:53:46 2006 +0000 linux26-disable-backing-readahead-20061109 FIXES 42797 disable vm readahead, we don't want it commit 398ceb0775a0663829ce4c44a8ec08d9e63bd1ca Author: Jeffrey Altman Date: Thu Nov 9 21:25:28 2006 +0000 windows-buf-flush-20061109 FIXES 44330 The return value of buf_CleanAsync is not an error value but a flag indicating whether or not the buffer was in fact dirty. Do not treat it as an error. The error state is stored in the buffer itself. commit ea4e9f1841dccebf37e9287334442a1ac2f928b3 Author: Jeffrey Hutzelman Date: Thu Nov 9 02:13:13 2006 +0000 bozo-avoid-garbage-in-allprocs-20061108 if we error, don't put garbage in allProcs commit 9ea216fc9837eb6922ce365aa3eedafdb8564d94 Author: Jeffrey Hutzelman Date: Wed Nov 8 18:56:08 2006 +0000 amd64-better-range-checking-20061108 FIXES 44198 check entire mapped space commit 46cfe728987b8d2f45a7dc718234f83fccbda9eb Author: Russ Allbery Date: Mon Nov 6 04:24:42 2006 +0000 aklog-doc-improvements-20061105 Document (at least partially) AFS's mapping of Kerberos v5 principal names to Kerberos v4 format in the aklog man page. Also document that -setpag may not always work. commit f82012552166a51edf6931b05abd0380c429d6b6 Author: Russ Allbery Date: Mon Nov 6 04:16:09 2006 +0000 afsd-shutdown-doc-improvement-20061105 Change the CAUTIONS about afsd -shutdown to be less dire and more accurate, as this now mostly works on Linux. commit bf5bfc06638b028335ecdc19ce35315195fc6ffe Author: Jeffrey Altman Date: Sat Nov 4 23:49:45 2006 +0000 rxkad-server-bad-ticket-part-two-20061103 FIXES 43862 Ensure that tkt_DecodeTicket and rxkad_CheckResponse return the right RXKAD errors for ticket expiration or invalidity. Avoid calling tkt_CheckTimes twice in rxkad_CheckResponse commit 799caa43b5417b40e43f38a690962b1d53bca374 Author: Jeffrey Altman Date: Sat Nov 4 15:34:58 2006 +0000 rxkad-server-bad-ticket-20061103 FIXES 43862 The file server has been returning RXKADNOAUTH when the time between the client and server is out of sync. tkt_CheckTimes returns -1 for recently expired tickets and -2 for tickets that have been expired for a while. In the -2 case we must return RXKADBADTICKET not RXKADNOAUTH. commit 8dd192a8dd5b516aaa6f1f74d7c1979b004e358f Author: Jeffrey Altman Date: Fri Nov 3 07:54:22 2006 +0000 windows-afs-config-stat-entries-20061103 raise max stat entries in the control from 10000 to 262144 commit b0ac8662abe4d41f3671bd8bd001a17fcc2b90bd Author: Jim Rees Date: Tue Oct 31 17:03:51 2006 +0000 fix-help-msg-20061031 Fix -help message, which was chopping off the "Usage: fileserver " part. Get rid of silly private buffer and use stdio while we're at it. commit 9dc762e8e637089b8546bd73320cea998c8496a0 Author: Marcus Watts Date: Fri Oct 27 00:39:15 2006 +0000 k5-klog-20061026 k5 version of klog commit db4faa0656a9cc7ce9c3e0d32a0f92b35a01edb1 Author: Marcus Watts Date: Thu Oct 26 17:49:38 2006 +0000 aklog-lib-order-20061026 fix lib ordering commit c5fd006bf802bf6ccfd1e7a0c6422b71ea1fb9b1 Author: Jim Rees Date: Thu Oct 26 17:34:31 2006 +0000 use-strdup-20061026 use strdup instead of rolling our own commit 997454bd10aeb6d5db641da6a1b4f2d687a3a441 Author: Jim Rees Date: Thu Oct 26 17:13:32 2006 +0000 more-small-obsd-tweaks-20061026 Mention how to build aklog. Don't even try to build kdump for [ofn]bsd. commit a51a33beb322d96d7ecac711270fe5e5219fb878 Author: Jim Rees Date: Thu Oct 26 16:06:57 2006 +0000 obsd-20061026 OpenBSD: deprecate --with-krb5 warn about AUTOCONF_VERSION package builder is now just a tarball builder commit 2145b549b304291c9ed022bcb9a8ce8c9042c3a6 Author: Jim Rees Date: Thu Oct 26 15:54:12 2006 +0000 proto-20061026 prototypes for dbread/dbwrite commit 04a3a95da334e5a9dfa8e3f1fd5459e7fe1b7f43 Author: Jim Rees Date: Mon Oct 23 20:42:00 2006 +0000 strcpy-is-bad-20061023 eliminate strcpy commit eecdb30c47b4c1a12011d2bf9bf0b6eb07797427 Author: Jeffrey Altman Date: Mon Oct 23 05:07:38 2006 +0000 windows-readme-20061023 commit c484781531ce29d3d1b5c3753322be4a87dd0841 Author: Jeffrey Altman Date: Sun Oct 22 13:23:59 2006 +0000 windows-smb_fid_t-deadlock-20061022 smb_ReleaseFID cannot be called while a cm_scache_t->mx is held shuffle the order of the smb_ReleaseFID calls so they are always after cm_XXXRelease calls for performance. commit 77d210cde774995bffdebf3347847afebd6f7cfd Author: Jeffrey Altman Date: Sun Oct 22 03:29:05 2006 +0000 windows-delonclose-20061021 set delonclose after obtaining the smb_fid_t commit e6b719a4c0a33b0b020c07c20124a40a245dbe9e Author: Tom Keiser Date: Sun Oct 22 02:58:37 2006 +0000 parallel-attaching-20061021 FIXES 43332 Some sites expect single-threaded volume attaches to happen in a specific order. The parallel attach patch also changed the attach order for sites not specifying -vattachpar. commit e720779b7c8472a0d928b0e1429b476f073309aa Author: Jeffrey Hutzelman Date: Sun Oct 22 02:48:35 2006 +0000 kreltime-20061021 FIXES 43551 kreltime-guard-against-null-tm-20060731 was apparently an attempt to deal with the possibility of localtime() returning NULL by using localtime_r instead, and zeroing the tm structure first. This has two problems. First, localtime_r is not guaranteed to leave its output buffer untouched or in a sane state in the event it is given invalid input. More importantly, the second half of this delta fixed the build on Windows (which apparently lacks localtime_r) at the expense of using the wrong level of indirection on other platforms. Simple is nice, but correct is important too. There is nothing wrong with switching to localtime_r to avoid thread safety issues. However, the correct fix for the anticipated problem was and is to check the return value of localtime (or localtime_r), and if it is NULL, fill in the ktime_date with suitable default values. The attached patch does not implement the correct fix, but does fix the double-indirection problem, so butc will again perform correctly instead of crashing. commit 4f26bcfdb3c6a47d17f825e99f9d5a1bc97eba45 Author: Jeffrey Altman Date: Sat Oct 21 21:46:17 2006 +0000 windows-misc-20061021 * don't DebugBreak unless a debugger is attached * replace afsdcell.ini with CellServDB in error message * do not NetBIOS Reset adapters when checking to see if only the loopback is in use because doing so breaks the existing LANA bind * remove a deadlock in smb3.c * do not retry dirty buffer writes when flushing in response to a suspend * do not flush in response to a suspend when only the loopback is present commit 740013fcbf2273287414dd399b3020ed09cf07ba Author: Jeffrey Altman Date: Tue Oct 17 01:32:06 2006 +0000 windows-dbg-refcount-20061016 more code to assist in debugging scache refcount leaks commit 6bc62e6c906174ef76759d77b3c6c9067a424455 Author: Jeffrey Altman Date: Tue Oct 17 01:20:33 2006 +0000 windows-scache-ref-leak-20061016 more reference count leaks commit 5aa0347678c472d21b99af516c64578c4af41ea9 Author: Jeffrey Altman Date: Mon Oct 16 14:54:32 2006 +0000 windows-netidmgr-plugin-20061016 fixup build dependencies for afsp_version.h ==================== 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. ==================== fixup copyrights commit 78c9881ed35d09416ddbd464214bb41f4429d05a Author: Derrick Brashear Date: Sat Oct 14 15:57:37 2006 +0000 keyring-pag-more-needed-defines-20061014 some kernel don't have this. for post-1.4.2 commit 3e10dc3a84037bf86a744c6631854b580d5fab4b Author: Derrick Brashear Date: Fri Oct 13 20:40:49 2006 +0000 audit-one-more-thing-20061013 it never ends commit e3d10f048b3cbaa278f8213d8de6874db80f7658 Author: Derrick Brashear Date: Fri Oct 13 18:36:30 2006 +0000 audit-remove-nested-valists-20061013 last straw make amd64, ppc happy for sure and for ever commit 453abf6aa149e27622745b818afb88019e22171a Author: Tom Keiser Date: Fri Oct 13 14:06:38 2006 +0000 aix-cleanup-20061013 fixes for aix pre 5.2 (statfs64), remove a c++ style comment (makes xlc sad) and make clean target clean commit 0e8238e7cb90c022ec126c05987d8258197a413a Author: Derrick Brashear Date: Fri Oct 13 06:12:17 2006 +0000 uae-translate-create-20061013 really the stubs should probably just translate the codes back. maybe for 1.6 commit c8a86da7f76a8e71d883cda39c10251b0910302c Author: Jeffrey Altman Date: Fri Oct 13 00:28:05 2006 +0000 windows-netidmgr-plugin-20061012 afsp_version.h is auto-generated ==================== 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. ==================== fix product version generation commit 2b96ba59194831ef298585c4f82d574a0790f3a6 Author: Jeffrey Altman Date: Thu Oct 12 06:57:40 2006 +0000 windows-scache-ref-leak-20061012 make sure the scache mutex is held across calls to cm_SyncOpDone commit e8a6b9977e637e304017cae8ac6d3fd03501b376 Author: Derrick Brashear Date: Thu Oct 12 05:20:59 2006 +0000 auditlog-sublist-fix-20061012 FIXES 35559 update so we don't botch the va_list child commit d71d42d29f923750be4f4f518b8d0e72dba8fa23 Author: Derrick Brashear Date: Thu Oct 12 13:22:28 2006 +0000 linux-aio-functions-improved-test-20061011 detect properly if we have nothing commit eca0d2bdc94cbdbaeccd3d56991019c4ac732064 Author: Chaskiel M Grundman Date: Wed Oct 11 14:14:47 2006 +0000 version-string-generation-consistency-20061011 FIXES 42320 try harder to reflect actual version commit cbc3b26165f18fbcf9e41b493541ed0a8035bc37 Author: Chaskiel M Grundman Date: Wed Oct 11 13:25:47 2006 +0000 elif-missing-defined-20061011 FIXES 42321 add missing defined() to avoid warning on macro commit e870e08280c27e6164b240be74057744352d7371 Author: Peter Nelson Date: Wed Oct 11 11:29:58 2006 +0000 rx-memset-param-swap-20061011 discovered via google codesearch commit f72c2fc3e75a13e3736a275df35597ad43f620fa Author: Asanka Herath Date: Wed Oct 11 05:32:16 2006 +0000 windows-netidmgr-plugin-20061010 Secure Endpoints Inc. is contributing its AFS plug-in for KFW 3.1's Network Identity Manager to OpenAFS under an MIT style license. commit 6e3aab757a6e33c62c216ab3ece722f0a7dda738 Author: Jeffrey Altman Date: Wed Oct 11 05:27:21 2006 +0000 windows-release-notes-20061010 fixup the file names to match the 1.5 branch commit 59234e93a7aaf2f62bdd19bea39681e74752d1c5 Author: Derrick Brashear Date: Tue Oct 10 23:20:35 2006 +0000 irix-compiler-hates-commas-20061010 damn is irix fussy commit 7be7dfe095a33ce354af2f3040d0486a6d463d95 Author: Jeffrey Altman Date: Tue Oct 10 23:07:56 2006 +0000 windows-no-more-win9x-20061010 don't install afsmsg95.h as it no longer exists commit ac52e2f3c0bec9298d020de963036409165f380e Author: Chas Williams Date: Tue Oct 10 22:59:10 2006 +0000 linux-dont-lock-around-inactivevcache-20061010 FIXES 42312 iafs_InactiveVCache() calls afs_InvalidateAllSegments() which says it should be called with the vnode locked. so the lock should probably be moved to afs_InactiveVCache() so it can be droppped before calling afs_remunlink(). commit 8fa4ca5b80bb2e0ac43bd9ae4883ac7f5b3928b8 Author: Derrick Brashear Date: Tue Oct 10 21:12:56 2006 +0000 irix-fgets-return-type-fun-20061010 of course, we were just throwing it away, but.... commit c60736030bc7f7a678fc44af90d001cd8c08acf5 Author: Jeffrey Altman Date: Tue Oct 10 16:55:49 2006 +0000 windows-scache-ref-leak-20061010 if cm_FindSCache is called the returned scache object must be released. commit 3c13e5f0c0423d5e724ab224af22d7d3606ef1b0 Author: Jeffrey Altman Date: Tue Oct 10 16:51:09 2006 +0000 windows-afscreds-20061010 prevent a stack overflow if the afsd_service does not successfully start after a request to do so is issued. commit 8b7e9da62578c3d10bf699062963c02aa59d1609 Author: Jeffrey Altman Date: Tue Oct 10 16:45:56 2006 +0000 windows-build-clean-20061010 more AFS_component_version_number.h files to remove commit 763dc42ff054dfd12c60aaf184271aedfffe589a Author: Derrick Brashear Date: Tue Dec 5 19:37:00 2006 +0000 revert-aix5-curpag-20061009 failed to commit this. commit now VS: ---------------------------------------------------------------------- commit aa7d443b6d8d45b68115c72ede6da68d863e33c7 Author: Tracy Di Marco White Date: Mon Oct 9 04:27:48 2006 +0000 nbsd-sysnames-20061008 FIXES 42019 add missing sysnames commit 747a8d8f41a34290c207327541372b4e1fcb0dec Author: Derrick Brashear Date: Mon Oct 9 04:15:45 2006 +0000 h-enum-r-avoid-extra-hold-20061008 FIXES 40699 avoid orphaning an extra hold commit 5ae8cf85e65e18a3d5593706c6f3f8d9435798e2 Author: Jeffrey Hutzelman Date: Mon Oct 9 04:14:02 2006 +0000 cellservdb-20061008 cellservb update from grand.central.org commit 1e9533907d4877f6b6aa70eb749e7a3e1717d861 Author: Jeffrey Altman Date: Mon Oct 9 02:48:44 2006 +0000 windows-scache-ref-leak-fix-20061008 pointer not pointer to pointer commit 8919e0d5175dae85991a3782f659621c5be4056f Author: Jeffrey Altman Date: Sun Oct 8 21:37:01 2006 +0000 windows-scache-ref-dbg-20061008 add debugging code that can be activated with #define DEBUG_REFCOUNT to assist in debugging scache refcount leaks commit 7231e2efe650b004168d443a290c4fed8b2db0a5 Author: Jeffrey Altman Date: Sun Oct 8 21:30:03 2006 +0000 windows-scache-ref-leak-20061008 plug two more scache refcount leaks commit c97374d6fd494ab790da7ae6c591abe0dac3d194 Author: Jeffrey Altman Date: Sat Oct 7 23:34:49 2006 +0000 windows-osi-prototypes-20061007 osi_LogCreate commit b4007635064f08d4d0f019acc9888f0d4005708c Author: Jeffrey Altman Date: Sat Oct 7 23:32:27 2006 +0000 windows-misc-cleanup-20061007 reformat some code; make sure that pointers are copied while mutexes are held; ... commit feb5f27c754325dcc5fd9eb13f305bc1c0172977 Author: Jeffrey Altman Date: Sat Oct 7 23:27:14 2006 +0000 windows-scache-ref-leak-20061007 return the cm_scache_t whose refCount was increased commit ffe26eb18da581d2df02f9531d97e31e1c6dee65 Author: Jeffrey Altman Date: Fri Oct 6 17:31:30 2006 +0000 windows-misc-fixes-20061006 #ifdef DEBUG_REFCOUNT the ref count log entries so they aren't always compiled in comment out the remaining location where the write lock on cm_scacheLock is dropped in order to obtain the scache mutex on the object returned from cm_GetNewSCache(). Dropping the lock results in more than one thread being given the same cm_scache_t which is more dangerous than blowing away the contents of the object without holding the mutex ensure that cm_BufWrite is always called with a non-NULL scp. Add an assertion to double check that we do it all the time. commit ffe5092c3107afa72696f8d164c3ec587c2255ad Author: Jeffrey Altman Date: Fri Oct 6 17:23:27 2006 +0000 windows-log-crlf-20061006 use CR-LF as the afsd.log EOL so that it can be read with notepad.exe commit 04b51cc8df7a3210ea18228743cb156c0e2c7115 Author: Tracy Di Marco White Date: Fri Oct 6 15:55:35 2006 +0000 netbsd-30-20061006 FIXES 40782 add support for netbsd 3.0, netbsd 4.0(ish) commit e39f4d87896c451afb8c38705de4c12fd3940182 Author: Chaskiel M Grundman Date: Fri Oct 6 14:59:54 2006 +0000 osi-probe-avoid-out-of-range-memory-reads-20061006 FIXES 41858 avoid oops on opteron due to accessing unmapped memory commit 775ea6f1b79b0e0e2b700e3894e01279e26ebbfa Author: Chas Williams Date: Fri Oct 6 14:27:44 2006 +0000 linux-2619-aio-and-read-write-changes-20061006 changes to support 2.6.19 commit f5e9182848b7c427acc515e7a7ed24afad655416 Author: Marcus Watts Date: Fri Oct 6 06:37:38 2006 +0000 pt_util-man-page-20061005 Initial man page for pt_util. commit b7117f61036c63238eb926c6eb71d42a56766501 Author: Jeffrey Altman Date: Fri Oct 6 06:13:49 2006 +0000 windows-more-misc-fixes-20061005 replace all DebugBreak() calls with osi_panic. remove calls to cm_RecycleSCache from VNOVNODE handler as its not lock safe to drop and re-obtain locks to adhere to the locking hierarchy restore reference to CM_SCACHESYNC_STOREDATA that should not have been removed. remove attempts to adhere to locking hierarching from cm_GetNewSCache. dropping the cm_scacheLock is too dangerous add a check to ensure that the scache refcount is not zero if there is a valid smb_fid_t pointing to it. more debug logging commit 4cd9eee0155edba89b77779af9aea4f1aa55cd96 Author: Jeffrey Altman Date: Thu Oct 5 21:29:39 2006 +0000 windows-misc-fix-20061005 still tracking down issues when large numbers of temporary files are created and deleted in the same directory from multiple machines. VNOVNODE must return CM_ERROR_BADFD ensure that all calls to cm_GetCallback are made from cm_SyncOp. add CM_SCACHESYNC_FORCECB logic to cm_SyncOp so that it can be removed from cm_GetAccess don't mix CM_SCACHESYNC_NEEDCALLBACK with CM_SCACHESYNC_STOREDATA or CM_SCACHESYNC_FETCHDATA commit 591460982c4372b461da8378682c9256dd913bba Author: Jose Nazario Date: Thu Oct 5 16:34:29 2006 +0000 bitwise-or-20051005 bitwise and, not logical for p->flags in vnode_stop reported by Jose Nazario commit 38d464e5791dbd96d6da85a0c0123f8b575f4e39 Author: Jeffrey Altman Date: Thu Oct 5 06:39:46 2006 +0000 windows-misc-fix-20061004 more cleanup from recent patches. comment out the recycling code because it is not possible to implement it using the current locking hierarchy. change cm_BufWrite to take a pointer to cm_scache_t instead of a fid which must be used to look up a new reference to the cm_scache_t. more often than not we already have the scp and in the one case we don't we can let the caller look up the scp and then call cm_BufWrite if it is found. If not, we have saved a function call and a bunch of lock operations. add a lot more logging. improve the scp mutex handling within smb_CloseFID commit b9fd1d4c7eb672ec092596af7826e87e2d931c40 Author: Jeffrey Altman Date: Wed Oct 4 06:29:25 2006 +0000 windows-wrong-lock-20061003 grab the correct mutex so we don't free one we are not holding commit 93b3be7d1adfcf90bb21009891d9e62b440aa629 Author: Jeffrey Altman Date: Wed Oct 4 02:35:43 2006 +0000 windows-oops-20061003 didn't mean to delete this release mutex commit de6a01e51d8ea97e943cb4fa93d6bba2ecae9644 Author: Jeffrey Altman Date: Wed Oct 4 01:23:30 2006 +0000 windows-multi-fix-20061003 misc cleanups hold scp->mx while recycling add FILE_NOTIFY_CHANGE_CREATION to the notification mask when adding or deleting files commit 665a125335c4844d35fa6510a38083602ef7fdbc Author: Jeffrey Altman Date: Wed Oct 4 01:18:43 2006 +0000 windows-fetchstatus-20061003 Don't call cm_GetCallback without checking the current callback status with cm_HaveCallback first commit 8da04000ec70e7eebe8bb18d317bb6b348b91449 Author: Jeffrey Altman Date: Tue Oct 3 04:22:37 2006 +0000 windows-multi-fix-20061002 Fix the following problems: it is possible for a file to be created, buffers to become dirty from writes, the file to be deleted, the stat cache entry to be reused, and the dirty buffers to remain dirty until the end of time. stat cache entry starvation can occur because of large numbers of dirty buffers which take too long to be written to the file server. The thread that writes dirty buffers in background writes/checks a small number of buffers, SQRT(buf-count), and then sleeps for 5 seconds. Writing all of the dirty buffers via this algorithm produces untimely results. threads can end up waiting for a callback on the same stat cache entry even though there are no threads actually attempting to perform the FetchStatus. And: Fix prototypes Optimize cm_GetNewSCache to reuse scache entries for deleted files and entries not in the hashtable before allocating a new one. This keeps the entries in the hashtable to a minimum and thereby improving performance for all other operations which must lookup a scache entry by FID. Add support for Sequential and Random Access flags commit b17a5d8192c08909ae57b540b25804ad9e1ae8a3 Author: Jeffrey Altman Date: Tue Oct 3 03:45:16 2006 +0000 windows-track-lock-tid-20061002 Keep track of the tid of the holding thread for writers commit 62e5dab3d6ea8105cec253b45cef3ebcc0da1930 Author: Jeffrey Altman Date: Tue Oct 3 03:27:22 2006 +0000 windows-scache-ref-leak-20061002 when handling VNOVNODE must release the scache entry. commit 0fe7b3a058b6c9df06d4df4af1e0621dbd53f44d Author: Jeffrey Altman Date: Thu Sep 28 13:58:04 2006 +0000 avoid-assert-for-missing-vnodes-20060928 specify the correct number of parameters for VForceOffline_r() commit 4bfe736b9157fa3ee4c1c851e53d66b18e774827 Author: Derrick Brashear Date: Wed Sep 27 22:13:15 2006 +0000 darwin90-ukernel-setjmp-conflict-20060927 FIXES 39354 setjmp isn't safe for #define KERNEL commit 6a2ac1e2d41b30dfd466e001f3a545bda4bc8da8 Author: Chas Williams Date: Wed Sep 27 21:01:10 2006 +0000 keyring-gcpags-20060927 FIXES 40659 do gcpags for keyrings without needing tasklist_lock commit 2201fd6d9ff41506c1bc60d677ae268a1de42fbc Author: Derrick Brashear Date: Tue Sep 26 03:22:28 2006 +0000 getcellunix-use-stdio-again-20060925 i have no idea why this is so ugly. put it back to something like how it was. commit c1d3a69976d7a6583a00176ff81dd66acb2cc07b Author: Derrick Brashear Date: Tue Sep 26 02:36:03 2006 +0000 copyonwrite-dont-assert-20060925 take it offline, don't assert. commit 9bd3d0926bbdc8ee9dedfe17bd137d5327e45a62 Author: Ken Aaker Date: Mon Sep 25 16:04:12 2006 +0000 getcell-still-stupid-20060925 FIXES 40829 should be fixed a third time too commit 9a5cfc73bc5f2d0193cfaa22fca20f1c65daafbb Author: Jeffrey Altman Date: Fri Sep 22 21:20:54 2006 +0000 windows-no-more-win95-20060921 after killing off win95 at the hackathon there were some build dependencies left behind. now we build again. commit 50852d6c81b7e244e6bde625fd30d2f7c5f0c923 Author: Jeffrey Altman Date: Fri Sep 22 21:18:50 2006 +0000 vioc-header-split-20060921 enable windows to build again commit faee281941502211c3ea8a62ffea85d934d9ba3a Author: Jeffrey Altman Date: Fri Sep 22 20:17:45 2006 +0000 windows-kfw-sdk-20060921 kfw 3.1 commit 928ad0445e91ecbfcd32a26e8c17b90ee0d83700 Author: Jeffrey Hutzelman Date: Fri Sep 22 12:16:24 2006 +0000 tasklist-lock-redux-20060922 try tasklist_lock weak binding in osi_probe if no tasklist_lock, fall back to rcu locking commit 955a58a5a850da4caeba9b45b0e8ff27a143b725 Author: Derrick Brashear Date: Thu Sep 21 22:10:28 2006 +0000 pr-changeentry-arg-types-20060921 FIXES 40568 this has been broken a while, we just noticed it because of prototypes commit b613480bd5eb6bc2a14c4e23229d90105291944c Author: Derrick Brashear Date: Thu Sep 21 12:47:20 2006 +0000 avoid-assert-for-missing-vnodes-20060921 right now if a vnode is missing when we try to clone, we could assert. ick. commit 86f4e7620b24505ec8c0b788e3040974ac2ea449 Author: Derrick Brashear Date: Thu Sep 21 12:38:04 2006 +0000 dont-close-this-afsconf-either-20060921 static means static commit 1221e482d786a56ca52568ed29a9c981e674ad7a Author: Derrick Brashear Date: Wed Sep 20 06:51:15 2006 +0000 salvage-zlc-update-20060920 avoid dealing so well with damaged namei volumes that we assume a temporary clone is damaged commit 361751cbf4b0cfef9a738cfcfbbd589eee621ade Author: Chas Williams Date: Tue Sep 19 22:33:10 2006 +0000 linux-i-blksize-test-20060919 this was missed in the configure test conversions commit 3e28a968e0b916c176b978da2807a7e4857faa18 Author: Jeffrey Altman Date: Tue Sep 19 06:48:22 2006 +0000 windows-loopback-install-20060919 FIXES 40291 Disable DNS Registrations for the Loopback Adapter and make sure that Netbios is turned on. commit 357771453be717ee10dc0d580f1b458008133ba3 Author: Derrick Brashear Date: Sun Sep 17 06:01:43 2006 +0000 solaris-fopen-sucks-20060916 FIXES 38566 avoid issue trying fopen when fds 0-255 are in use already yuck commit 57101f38a0a868b950e32bd70b95308b1edc243d Author: Derrick Brashear Date: Sat Sep 16 20:40:19 2006 +0000 fix-afsconf-leak-20060916 this one's not a leak commit 58e23eb620429f427cba72bbd2c982d81d9fbd9e Author: Derrick Brashear Date: Sat Sep 16 20:11:04 2006 +0000 amd64-linux-missing-syscall-nrs-20060916 they removed these. makes it harder to probe for the ia32 syscall table (ignoring the compilation issue) cheat. they aren't going to change... commit 52557c982e1ed65c694c5c1387ac2b385356438d Author: Chas Williams Date: Sat Sep 16 01:13:22 2006 +0000 xml-docbook-documentation-first-pass-20060915 needs more massaging to make it fit the tree, but, get it here first commit 3473fa4ec7c8a7362003ba3d278345339bbf3e36 Author: Derrick Brashear Date: Sat Sep 16 01:10:23 2006 +0000 darwin80-avoid-stack-free-20060915 thanks to apple for their help; all i did was code the patch commit 1c8080fe9dcb3713bf1231cf4b455e80c6f0c697 Author: Derrick Brashear Date: Sat Sep 16 00:23:18 2006 +0000 namei-emulate-flock-20060913 FIXES 39797 lockf when not locking and unlocking the whole file is fraught with peril commit de5f1c47e8af9a7e4fd1b77ff5fc085859813b59 Author: Jeffrey Altman Date: Sat Sep 16 00:17:23 2006 +0000 afsconf-leak-20060915 don't leak afsconf structs commit 914b2e27dcf5b231832959d0b02dc1e40ca24c81 Author: Tom Keiser Date: Fri Sep 15 00:58:24 2006 +0000 uae-avoid-dups-20060914 avoid duplicates in the errno space so we don't return the wrong error (something unexpected) commit 975897d476ca5ade26d2d546620ba3bd97d8182a Author: Jeffrey Altman Date: Wed Sep 13 18:49:58 2006 +0000 windows-afs-config-20060913 FIXES 3730 remove "Show Tray Icon" checkbox from afs_config commit 94ff5651cb84a26ab931626392908684fae913f3 Author: Derrick Brashear Date: Tue Sep 12 19:57:17 2006 +0000 suse-kernel-source-path-update-20060912 no one can ever agree on anything commit e7ec36ddeb0973c71514463862ad90d42f9b009c Author: Peter Somogyi Date: Thu Sep 7 02:08:39 2006 +0000 vol-voffline-avoid-early-freevolumeheader-20050906 FIXES 39422 don't free vp before we finish using it commit 19e16d34a61945dd1ff3d2f93e48662087654daa Author: Asanka Herath Date: Thu Sep 7 00:12:31 2006 +0000 windows-afs-shell-ext-32bit-20060906 Generate a new GUID for the 64-bit AFS Shell Extension and install the 32-bit version as part of the 32-bit tools commit 3dc9bcb1289bb868a336e820d589b03246c36bce Author: Chas Williams Date: Wed Sep 6 21:56:01 2006 +0000 keyring-dont-use-syscall2-20060906 avoid not-really-portable-use of syscall2 commit a63d753df88e547606f703764031ad1b9d18fa82 Author: Jeffrey Altman Date: Wed Sep 6 18:19:36 2006 +0000 windows-dot-dir-part-two-20060906 cm_LookupInternal can return the input stat cache entry when the name is "." the DNLC should not cache "." or ".." commit f47b934c133150fef80fec57ae738ca885b8a914 Author: Jeffrey Altman Date: Wed Sep 6 07:11:52 2006 +0000 windows-dot-dir-20060906 when evaluating paths with cm_NameI treat the component "." as a no-op. commit e68b0f9cb4c0216548bdb30cf8f3e93d23491fb8 Author: Jeffrey Altman Date: Wed Sep 6 06:09:13 2006 +0000 windows-install-licenses-20060905 port LICENSES file contents to installers commit b4d8384b6779369faa9c4fd533979f363ef4dc81 Author: Jeffrey Altman Date: Wed Sep 6 00:51:44 2006 +0000 windows-fs-prototypes-20060905 remove unused prototype commit 51b862ef8869823fd0ba09045b88cab9ab197117 Author: Jeffrey Altman Date: Wed Sep 6 00:47:34 2006 +0000 windows-vol-ntops-20060905 if the function is namei_XXX on unix then it is nt_XXXX on Windows commit 5bc1ab6cfabdfeb0e8f09308385d6680ce97645f Author: Derrick Brashear Date: Tue Sep 5 23:04:25 2006 +0000 pruclient-killer-logging-cleanup-20060905 vicelog this stuff instead of fprintf commit 56bbd155db6941d915cf199f6e23cccfeb359ce8 Author: Derrick Brashear Date: Tue Sep 5 17:30:33 2006 +0000 callpostamble-deal-with-null-host-20060905 FIXES 38566 don't dereference garbage when no host was set commit 2c103b8fb3a1b36e4c8eda986b8e82199d46e1b9 Author: Chaskiel M Grundman Date: Tue Sep 5 15:59:46 2006 +0000 salvage-zlc-update-20060905 deal with damaged namei volumes better commit 474df74c88464763d61889fbdcc1edd1167d4a94 Author: Jeffrey Altman Date: Mon Sep 4 18:36:23 2006 +0000 windows-vol-ntops-20060904 add nt_SetNonZLC() commit 5a57fce90246e380fc530dc3c8ad097852b31712 Author: Russ Allbery Date: Sun Sep 3 20:47:00 2006 +0000 autom4te-cache-is-evil-20060903 Purge autom4te.cache after running autoconf so that we don't ship its huge trace files in source releases. Add #!/bin/sh to the beginning of regen.sh just because. commit 96c22fdc0d399bb2749bc47316d866120bc02dcf Author: Chaskiel M Grundman Date: Sun Sep 3 06:50:12 2006 +0000 salvage-zlc-20060903 make salvager deal with zero link count files commit cd341e2fd7e621a929cad9ac2e722f5178902266 Author: Chaskiel M Grundman Date: Sun Sep 3 06:32:33 2006 +0000 nuke-do-not-pass-null-rock-20060903 don't pass a null rock inot nuke(), fixing earlier introduced bug commit 50880283c916f1311ad7af9040b5e98435a7a8a6 Author: Jim Rees Date: Thu Aug 31 14:22:50 2006 +0000 deprecate-fbsd-client-20060831 deprecate the FreeBSD client commit 7392f1d15f694adade1c8c51162f34bb2d03fd2b Author: Jeffrey Altman Date: Thu Aug 31 12:33:22 2006 +0000 windows-gui2fs-20060831 following ui guidelines, errors should display the HAND icon and warnings should display the EXCLAMATION. Success should display the INFORMATION icon. Let's get this right. commit 0617e067d741d7a75d9a4e3e49a49c4986f9869c Author: Jeffrey Altman Date: Thu Aug 31 11:28:24 2006 +0000 windows-fs-20060831 FIXES 38949 fs sq and fs mkm on Windows didn't behave as on Unix commit 2ec7ad2af02f770688d711d3a7ac90627a89a583 Author: Chas Williams Date: Thu Aug 31 06:15:15 2006 +0000 linux-param-generator-20060831 FIXES 36888 not yet pulling up commit d86f0c44d3c5910a6b54895484dc0286eac9bc73 Author: Chas Williams Date: Thu Aug 31 05:49:02 2006 +0000 inline-bug-for-linux-20060831 FIXES 38854 inline bug so we get sane oopses commit f56dff0860d5f9a9d92e9a06c1b7cd1728a2844a Author: Jeffrey Altman Date: Wed Aug 30 21:14:59 2006 +0000 windows-firewall-config-20060830 Enable the firewall detection logic to work on Vista commit 48471c805ee43192e3d3adf1ffac995c16257903 Author: Jeffrey Altman Date: Wed Aug 30 21:09:11 2006 +0000 windows-init-log-eol-20060830 change EOL to CR-LF for afsd_init.log commit f8b7be8f167589f649d664c863f51300c9f5e4cf Author: Jeffrey Altman Date: Wed Aug 30 07:31:47 2006 +0000 windows-t2-search-dir-info-level-20060830 return CM_ERROR_INVAL if we don't recognize the requested infoLevel commit a9bbe0e0dce33fd42cc944db3a657c95af6f6796 Author: Jeffrey Altman Date: Wed Aug 30 02:40:03 2006 +0000 windows-winsock-init-20060829 WSAStartup and WSACleanup do not need to be wrapped by the app to protect against multiple calls. commit 90b79e93e81a8a20c0b6e9dc9d279dc073517ee7 Author: Derrick Brashear Date: Tue Aug 29 20:07:26 2006 +0000 aklog-deal-with-feeble-kdcs-20060829 i guess i should just give up and fix this here commit 7ee51491035be767fc0e9d72a8471179b9874127 Author: Marc Dionne Date: Mon Aug 28 20:11:31 2006 +0000 get-sbdev-configure-test-20060828 FIXES 38736 the autoconf glue was missed before commit 93846a81d2ffadb7741700ff96a40426bda920fd Author: Jeffrey Altman Date: Mon Aug 28 18:17:13 2006 +0000 windows-pioctl-service-check-20060828 before attempting a smb query check the service status. fail immediately if the afs service is not running. commit 09f46c46d09fef191a43a42abf9224f29025ec56 Author: Jeffrey Altman Date: Mon Aug 28 06:36:01 2006 +0000 windows-talocale-20060829 initialize variables before use commit 8083dcea82bd2b2a43695047c14086d7d43c1a73 Author: Jeffrey Altman Date: Mon Aug 28 06:10:14 2006 +0000 windows-dll-install-20060829 install resource dlls in the same directory as the base modules commit 56d71eaae70eca2c6065b9cf463c18cc3f6c7356 Author: Jeffrey Altman Date: Mon Aug 28 06:04:03 2006 +0000 windows-shell-ext-20060829 How did the afs_shl_ext_XXXX.dll module ever load on any platform? Since the name afs_shl_ext.dll is not 8.3 we must specify the base name explicitly. Otherwise, it won't load. commit 93cd9cb88c813159712922e3bd46722913834b68 Author: Jeffrey Altman Date: Mon Aug 28 05:26:30 2006 +0000 windows-cleanup-20060828 cleanup AFS_component_version_number.h the right way commit 01e5faa0b2b34d7f7b03dcaf003624794c13f0d2 Author: Jeffrey Altman Date: Sat Aug 26 04:41:37 2006 +0000 windows-smb-set-eof-20060825 SMB_SET_FILE_END_OF_FILE_INFO is a LARGE_INTEGER not USHORT commit 5ba229419b3a699ec55c1be0198838c3499ca93f Author: Jeffrey Altman Date: Fri Aug 25 18:07:21 2006 +0000 windows-smb-alignment-20060825 on the wire smb data structures should be byte aligned commit 375a79f2a02ff2c16f9fcc54dba2b51e41b51c05 Author: Jeffrey Altman Date: Fri Aug 25 16:23:51 2006 +0000 windows-cm_volume-recycling-20060825 do not panic if we reach maxVolumes and there is a volume entry that can be recycled. commit 4076e99d91e3644f4544386a38c908e5b793b285 Author: Derek Atkins Date: Fri Aug 25 06:21:43 2006 +0000 keyring-test-harder-20060825 FIXES 38470 don't enable keyring pags in older keyring kernels commit 3cdf27d6f070dd93c48995c344fba3b9ab0ac48e Author: Chaskiel M Grundman Date: Fri Aug 25 05:47:00 2006 +0000 macos104-no-64bit-resid-yet-20060825 we're not ready for 64bit resid yet (in dir code) commit bfdf13de063363c34ece1a289e16136613cafaf8 Author: Jeffrey Hutzelman Date: Thu Aug 24 21:18:56 2006 +0000 vol-init-locallock-20060824 we never init this. oops. commit 60f1ed2d6d68a2ce8de825147a99c0638762ed19 Author: Derrick Brashear Date: Thu Aug 24 05:31:25 2006 +0000 pruclient-killer-fix-20060824 FIXES 37251 yeah, i should commit the fix this time. not my day commit d9486687e8549d4f29076ad095dfb09c14a33eca Author: Derrick Brashear Date: Mon Aug 21 21:38:55 2006 +0000 tweak-afsd-autotune-20060821 this (chunksize tuning) needs to be revisited commit ffa71e5a917606bddfabc1005ad6ca14c3e28731 Author: Derrick Brashear Date: Mon Aug 21 21:01:14 2006 +0000 specfiles-20060821 same for head commit b6f97376880bb38463b372d92b09a977957e0872 Author: Chaskiel M Grundman Date: Sun Aug 20 23:12:46 2006 +0000 tiger-fix-largefile-20060820 FIXES 37890 don't make uio offset an int. at the same time, fix resid similarly, and fix osi_file.c to accomodate that commit 75599f03de22b1fd6e2818536078e9129741dfb4 Author: Derrick Brashear Date: Sun Aug 20 06:31:42 2006 +0000 linux24-fix-20060820 fix ifdef damage commit b6da19fe253f456b7d9372d6620057bbd8ad2c8b Author: Chas Williams Date: Thu Aug 17 14:55:43 2006 +0000 linux-keyring-pag-update-20060817 FIXES 37887 if you manage to patch the syscall table, then the setpag() in the patched setgroups syscall and creates a new session keyring. it does contain the right pag id but this isnt the intended behavior. so setpag() becomes __setpag() which just does the group insertion. (and perhaps it should be called something else?). the stat count for the setpag operation might be more correct now (instead of also counting the pag restores). commit 16dc98ab4654f448909d59f65b2a8e3a55bc93b8 Author: Jeffrey Altman Date: Thu Aug 17 13:40:16 2006 +0000 windows-backconnectionhostnames-20060817 FIXES 37807 uninitialized variable reported due to dwAllocSize not being used within the initial RegQueryValueEx call. (ugh) commit 202efcf9f5707785ba4c7dab05de9d8dba11952c Author: Derrick Brashear Date: Sun Aug 13 21:17:04 2006 +0000 darwin90-updates-20060813 make things compile cleanly commit b21c13dc3ab751118220dc31276995050841a1ae Author: Chas Williams Date: Sun Aug 13 17:53:46 2006 +0000 linux-dentry-iput-20060813 FIXES 37576 update put_inode handler for swapping situation deadlock avoidance commit 3017c8dc541afbaed68f9399c348bbdfa7529f9b Author: Derrick Brashear Date: Sun Aug 13 17:45:48 2006 +0000 linux-gpl-only-tests-20060813 don't try to use gpl-only kernel symbols commit 031c1819239b5ece45027b25283d980ddc507c93 Author: Chas Williams Date: Sun Aug 13 17:40:27 2006 +0000 fix-congestion-tracking-20060813 FIXES 36951 fix congestion tracking commit 4baf136974d8845b7960708b804a87f1e6f512ff Author: Derrick Brashear Date: Sun Aug 13 05:52:08 2006 +0000 linux-updates-20060811 fix for current fc kernels, and clean up linux nfs translator commit ba05854b63e969abc6fd85644e5146d9d110c1d0 Author: Jason McCormick Date: Sat Aug 12 17:50:37 2006 +0000 linux-mutex-changes-20060812 update mutex declarations commit 7c76320e8b0bf49954f5b6f231305e36b7bc4edb Author: Derrick Brashear Date: Fri Aug 11 22:38:41 2006 +0000 linux-updates-20060811 fix for current fc kernels, and clean up linux nfs translator commit dc1531a528fc950253061c9ffb9a16248c9431e8 Author: Jim Rees Date: Thu Aug 10 22:03:35 2006 +0000 fix-includes-20060810 Fix kopenafs includes. commit d9de7beb995a1158e5701d397467e028ff55fe77 Author: Jim Rees Date: Thu Aug 10 21:50:40 2006 +0000 declare-ubik-client-20060810 Declare ubik_client in rpcgen. I don't like this fix but I hope it's just temporary until someone fixes the include dependencies. commit 677add475009261b8c1cc4b0cd8cbda985616a54 Author: Derrick Brashear Date: Thu Aug 10 18:06:10 2006 +0000 macos-install-vos-20060810 install vos in /usr/sbin commit aa4d289b87cda5790b268bbb44fd7806379d267f Author: Jeffrey Altman Date: Thu Aug 10 00:48:24 2006 +0000 windows-buf-queue-handling-20060809 don't free objects that are still on the queue. remove them first. commit cca848edb12abea4deb8f676b07182575d61186d Author: Jeffrey Altman Date: Thu Aug 10 00:27:50 2006 +0000 windows-backconnectionhostnames-fix-20060809 The previous code failed to specify the correct size of the REG_MULTI_SZ being written to the registry when appending an additional name to the list of Back Connection Host names. This would cause the written string to contain FOO\0B instead of FOO\0\BAR\0\0 this caused problems for Windows 2000 lsass.exe which failed to properly allocate the buffer for RegQueryValueEx and failed to check that it did not read beyond the buffer. If the list was not terminated with two nuls an exception would be thrown that could result in a lock being orphaned on the NTLMNameTable. This would in turn prevent authentications to UNC resources from completing. As a result, the startup of afsd_service.exe would fail if a GlobalAutoMapper drive was configured. The work around is to set the correct value in the registry before switching machine names or installing/removing the Microsoft Loopback Adapter. commit 09020663fad32a30cec3f425d6dee7807799eadb Author: Jeffrey Altman Date: Tue Aug 8 17:36:48 2006 +0000 windows-restrict-timeouts-to-cifs-20060808 If afsd takes longer than the cifs timeout to complete an operation the cifs client may break the virtual circuit and create a new one. this forces all file handles to be closed and locks to be released. Try to prevent the circuit from being destroyed by allowing the CIFS lanmanworkstation SessTimeout value to enforce upper limits on the Conn and Hard Dead Timeouts. Permit this automatic configuration to be disabled by setting specific configuration values for timeouts in the registry. commit f45d2d8e67e43faf3442031e29c681d24db10824 Author: Jeffrey Altman Date: Mon Aug 7 22:17:36 2006 +0000 windows-globalautomapper-thread-20060807 Move the establishment of the GlobalAutoMapper drives to a separate thread in order to prevent OpenAFS from reporting that the service did not start. OpenAFS considers the GlobalAutoMapper as deprecated functionality so it is ok to avoid the service failure report. commit 2bed0e5377e84241c579e95212ab7b2aa8b5df84 Author: Chaskiel M Grundman Date: Fri Aug 4 20:53:20 2006 +0000 solaris-sockaddr-storage-20060804 the head has the sockaddr_storage patch from the rxtcp work, so it needs this commit 9ec8e8242a839066c30bee4541de5f6dd1e6ca35 Author: Chaskiel M Grundman Date: Fri Aug 4 19:23:25 2006 +0000 solaris-syscall-update-for-prototype-20060804 since it's now prototyped, we needed to do this commit 146b525664afb6d3ffa9cbb658e700593d300f45 Author: Russ Allbery Date: Fri Aug 4 19:05:02 2006 +0000 signal-not-sys-signal-20060804 , not . commit 67b7c2a6bb66470c59dcc0b41ad395516ddb24dd Author: Russ Allbery Date: Fri Aug 4 18:58:46 2006 +0000 shlibafsauthent-linking-20060804 libafsauthent needs to link against libafsrpc. commit 9e01ca69f3ae4bee3edce3ca540bc08e042cc60b Author: Russ Allbery Date: Fri Aug 4 18:55:13 2006 +0000 shlib-build-error-reporting-20060804 Use set -e so that errors will be reported to make. commit 2cb59dc2b7d9b7963c75d1ec7e2511d815133b24 Author: Russ Allbery Date: Fri Aug 4 18:42:37 2006 +0000 death-to-remaining-longc-procs-20060804 Kill the remaining references to afs/longc_procs.h so that head will actually compile (whoops). For a header that no longer did anything, we sure included it in a lot of places. commit 16f06bd0cab3e0b7e08ee45c7bb4e86cae75b601 Author: Russ Allbery Date: Fri Aug 4 18:40:08 2006 +0000 fs-conv-sol26-move-20060802 Take advantage of the new platform infrastructure to move fs_conv_sol26 out of the vol directory and remove the annoying Autoconf support for optionally build it in favor of the platform support. We no longer care about upgrading inode file servers on DUX, so make fs_conv_DUX4 go away. commit 5fdbb9841b8bdd5009993c96b7c01955990c3174 Author: Russ Allbery Date: Fri Aug 4 17:11:31 2006 +0000 death-to-ultrix-20060804 Remove all remaining references to AFS_ULTRIX_ENV or pmax_* from the source tree. commit 43f1bcf65ae1f75694510524d9cb2d8fffcc5992 Author: Chas Williams Date: Fri Aug 4 16:55:21 2006 +0000 linux-keyring-pags-20060804 ok, well, first try commit a901d2b8ad9cfb3060b7824179b92b16e5f3dd14 Author: Chas Williams Date: Fri Aug 4 16:46:59 2006 +0000 linux-kernel-updates-20060804 updates for new stuff in linux kernels commit f3a77810db0044bd0fc3df1101269ab42b365fef Author: Russ Allbery Date: Fri Aug 4 16:43:38 2006 +0000 death-to-longc-procs-20060804 longc_procs.h was only used on Ultrix, about which we no longer care. Delete it, its installation rules, and the places where we were including it. commit 51799f7cc0337e6ecc7892be7b8700737712b5e5 Author: Chas Williams Date: Fri Aug 4 16:42:55 2006 +0000 linux-try-kbuild-20060804 FIXES 34561 the real reason i upgraded auto* commit 68382256a83363da98ecfbe0c1d2172542d0c042 Author: Russ Allbery Date: Fri Aug 4 05:12:05 2006 +0000 death-to-param-usr-20060803 The param.*_usr.h files are obsolete and no longer referenced. All of them except for param.ia64_hpux1123_usr.h contained #error directives saying not to use them. commit a8e9f2807b6b8b76dd836340408e5f3ba8bbd492 Author: Russ Allbery Date: Fri Aug 4 05:06:52 2006 +0000 man-todo-update-20060803 Update the to-do list for the man pages given the conversion of the aklog man page to POD and the removal of package and mpp. commit 5c03f31406276490f05ac2ce1325709447be7df6 Author: Russ Allbery Date: Fri Aug 4 04:55:39 2006 +0000 rxdebug-man-formatting-20060803 Add missing B<> and S<> markup to the SYNOPSIS. commit 5c90caf395060832f10c0d5c8befc589fea49826 Author: Jeffrey Altman Date: Fri Aug 4 04:44:46 2006 +0000 windows-cm-buf-20060803 improve readability, ensure that buffers we free are in fact cm_buffers, and ensure that we obtain the next buffer before freeing the current one commit 2247c0e499df70f2de1797e674ce1035514fc05c Author: Jeffrey Altman Date: Fri Aug 4 00:28:58 2006 +0000 windows-smb-no-showerrors-20060803 pop up error dialogs prevent auto shutdown and restart of afsd service on network adapater error commit 3002d38bcd30a1ac20c77a2c30a6858435f6d604 Author: Jeffrey Altman Date: Thu Aug 3 22:48:54 2006 +0000 windows-afslogon-null-ptr-20060803 FIXES 33962 do not dereference a null pointer effDomain commit b32073b9d3a95d014a43747cb873a2d6a8400ae3 Author: Russ Allbery Date: Thu Aug 3 03:57:06 2006 +0000 death-to-efs-20060802 We never define AFS_SGI_EFS_IOPS_ENV any more, so kill all the now-dead EFS code. commit 3a34d8cb4f749cfa0af3c2d81c460c2a46987102 Author: Russ Allbery Date: Thu Aug 3 03:37:12 2006 +0000 autoconf-likes-relative-paths-20060802 When using the install-sh that ships with the source tree, Autoconf substitutes in a relative path just to be annoying. Define the INSTALL variables in each individual Makefile so that they find the proper file. Remove the definitions from Makefile.config so that no one will accidentally get the wrong ones. commit b57f675bc3364c17fccc58ed56307f91213d3b3d Author: Russ Allbery Date: Thu Aug 3 03:34:35 2006 +0000 html-man-index-links-20060802 Add links back to the index at the top and bottom of each generated page. commit cf798932b5187c24d46a3e20d07aedb09e39ac66 Author: Russ Allbery Date: Thu Aug 3 03:18:43 2006 +0000 create-top-libdir-always-20060802 Always create the include and lib directories even if one builds specific targets. commit b8dd9c4c6b211432c4867780376d2b5c7fc08835 Author: Russ Allbery Date: Thu Aug 3 02:51:41 2006 +0000 sun-iow-includes-20060802 Solaris needs for _IOW. commit b34e03d1e6f4e0254851ae9b4e366be75bca5d7f Author: Russ Allbery Date: Thu Aug 3 01:25:59 2006 +0000 pam-aklog-20060802 A PAM module to call setpag and run aklog. Based on ideas by Sam Hartman and Doug Engert. Probably doesn't yet do everything that we want and needs more eyes, but it at least builds. commit f260f74ad95402d5484479c9490a334ace7662e9 Author: Russ Allbery Date: Thu Aug 3 01:24:37 2006 +0000 better-dirpath-sed-char-20060802 People might use + in paths. People might also use " in paths, but if they do, C doesn't work, so they lose anyway. commit 2ec9b1db031db06ae99f0b86a3329ff7a81cf777 Author: Russ Allbery Date: Wed Aug 2 22:54:51 2006 +0000 shlib-overhaul-20060802 Overhaul how we build shared libraries. Pull the code for building and installing shared libraries out into simple shell scripts that we can then evolve as we need to and make more sophisticated. Remove the details of how to use a mapfile from the Solaris Autoconf-driven configuration and move them to the Solaris case of the build script. In the process, make it possible to build more than one shared library in a single directory. Remove the last vestiges of libafssetpag from the sys directory; kopenafs now replaces all of that. Only link in syscall.o in the sys and kopenafs directories on those platforms that actually care so that we don't have to do work to generate a valid .o file that can be included in an archive. commit aebadcd5478994fec011368597004bef2439ccb6 Author: Derrick Brashear Date: Wed Aug 2 20:49:44 2006 +0000 aklog-stds-krb5-order-20060802 kfm needs this first so when you include com_err.h from afs as a side effect of krb5.h we don't explode commit fd099b3e763b6b2c5bfb87db0cae8a900f031ad3 Author: Derrick Brashear Date: Wed Aug 2 19:59:40 2006 +0000 endian-fixes-20060802 macos needs us to do weird stuff so -arch i386 -arch ppc works commit 62e6fc36b129729a571264bfb661114dce12bc2e Author: Jeffrey Altman Date: Wed Aug 2 19:18:42 2006 +0000 viced-sane-acls-bit-20060802 Add VICED_CAPABILITY_SANEACLS bit and -saneacls option to viced to enable it. commit 5fc2674bb85cf0266201ff6eaa16f2148315019b Author: Russ Allbery Date: Wed Aug 2 19:14:44 2006 +0000 death-to-more-dux-20060802 Delete more DUX configure machinery that we no longer care about since we have no DUX client and don't care about fs_conv_DUX. commit 2b20e5e61afa3e5bb1d196759c3b5da08f999a3e Author: Russ Allbery Date: Wed Aug 2 18:42:54 2006 +0000 no-pam-for-irix-20060802 Don't try to build PAM on IRIX; IRIX PAM is almost but not entirely unlike what we expect. commit 28114121fe045e82e286f93008b7d4b41ad824f2 Author: Russ Allbery Date: Wed Aug 2 18:35:25 2006 +0000 fs-conv-sol26-cleanup-20060802 We don't care about SunOS or DUX any more, so remove all the dead code. commit fc90c24df1b2822d734340b6004d3b2a045ac7ef Author: Russ Allbery Date: Wed Aug 2 18:33:30 2006 +0000 fs-conv-sol26-move-20060802 Take advantage of the new platform infrastructure to move fs_conv_sol26 out of the vol directory and remove the annoying Autoconf support for optionally build it in favor of the platform support. We no longer care about upgrading inode file servers on DUX, so make fs_conv_DUX4 go away. commit cfce015ead18c72ee921f480c73e9247a98838fc Author: Russ Allbery Date: Wed Aug 2 17:50:43 2006 +0000 death-to-dux-client-20060802 Remove the DUX client files. This code doesn't work on any current DUX system. commit 83b6575648535ccdc4973ab24240a5b3dfc2f0d4 Author: Russ Allbery Date: Wed Aug 2 17:47:29 2006 +0000 kopenafs-20060802 Add a shared libkopenafs that provides k_hasafs, k_setpag, k_unlog, and k_pioctl (in other words, enough for a PAM session module that calls an external aklog). commit 5c206470444f8f6531384a056c0a4484e127c01b Author: Russ Allbery Date: Wed Aug 2 16:54:11 2006 +0000 vioc-header-split-20060802 Modify vice.h so that it doesn't depend on afs/param.h. Split the VIOC* constant definitions out of afs/venus.h into a separate header file included by it. Update various comments to reflect a more recent version of reality. This is in preparation for kopenafs work so that kopenafs.h can include afs/vioc.h as well to get the same definitions. commit 5bee037fc0d1158b1dc19a4306d5e1fa2e1af45d Author: Russ Allbery Date: Wed Aug 2 16:45:34 2006 +0000 config-include-fixes-20060802 Include stdlib.h so that we have a prototype for exit. One fewer compiler warning during the build. commit 71a9dc8f789af60f48fa4d44a5b585901f54acb7 Author: Russ Allbery Date: Wed Aug 2 15:34:40 2006 +0000 simplify-platform-makefile-20060802 Simplify the recursion in the platform Makefile.in. commit 78880bc5dce716c7c5885f505bee7eca23ff50d6 Author: Russ Allbery Date: Wed Aug 2 15:12:42 2006 +0000 remove-unbaked-code-20060802 Remove the preliminary rxgk and Automake conversion, neither of which are finished or ready for prime time yet. Having this active in CVS isn't helpful and is mildly confusing at the moment. commit 3bfa53ed23d18e431d23f720e49e254ca6c27003 Author: Russ Allbery Date: Wed Aug 2 15:04:37 2006 +0000 death-to-dos-win95-20060802 Remove files that were only used for the DOS or Windows 95/98 ports, both of which are completely obsolete. Also remove InstallShield version 5 support. commit 4ea8536c908871f173d776fc475064761d47d85d Author: Derrick Brashear Date: Wed Aug 2 05:01:56 2006 +0000 macos-use-platform-copy-of-afssettings-20060802 we moved this to be made for real; use it commit 4d67cb2f1645239d1ef73a8847b17275e4cb3feb Author: Derrick Brashear Date: Wed Aug 2 04:48:27 2006 +0000 macos-platform-update-20060801 minor cleanup of the platform stuff commit 6e8a145a55ab7e4474338e8bbdf8187e2d5991ac Author: Derrick Brashear Date: Wed Aug 2 04:35:52 2006 +0000 macos-installer-20060801 partial updates commit 2eaae5ef3a6739b3d4edf3c8e6e3daf3fd096833 Author: Russ Allbery Date: Tue Aug 1 23:55:11 2006 +0000 death-to-null-20060801 General consensus is that the termlib hacks that necessitate the libnull.a hack don't matter on any current platform we build on, and even if it does, it should be dealt with in TXLIBS in osconf.m4. So remove all of that infrastructure and see what fails. commit d1da98ac49860379f772bc27bdd86ac410592ad3 Author: Derrick Brashear Date: Tue Aug 1 23:51:38 2006 +0000 darwin-platform-fix-20060801 get rid of tabs commit 1732c5cb5ac9c4b1c6bd656ea11992bfd22d03f0 Author: Russ Allbery Date: Tue Aug 1 23:30:03 2006 +0000 death-to-obsolete-readmes-20060801 Remove README.SECURITY given that we've already removed all the code that it was talking about. Remove references to README.OBSOLETE, since it's now gone. commit 80e88d6a80fc3fc0d15650f20ea7fc3fece1a1e4 Author: Jeffrey Altman Date: Tue Aug 1 23:29:15 2006 +0000 viced-capability-writelock-20060801 add write loc king capability commit b405868ca02880207bda1ec6eb4e21c7b0ac250c Author: Russ Allbery Date: Tue Aug 1 23:27:20 2006 +0000 death-to-package-20060801 Remove package, mpp, and wsadmin, along with the remainder of configure support for obsolete programs and the corresponding documentation. commit 25015276f80a12296848d0fc9a2960d2e0226159 Author: Russ Allbery Date: Tue Aug 1 23:16:42 2006 +0000 cvsignore-happiness-20060801 Update .cvsignore files to ignore everything we should be ignorant of. commit 4736c08e8ffe0929761d86580ff55ac1a6af9ef3 Author: Russ Allbery Date: Tue Aug 1 23:15:45 2006 +0000 volume-static-mismatch-20060801 VPrintExtendedCacheStats_r should not be static. commit 892d231ec91f17506c37cf727c0571a1ff85b0dc Author: Russ Allbery Date: Tue Aug 1 22:52:54 2006 +0000 dirpath-h-tmp-delete-20060801 Cleanup dirpath.h.tmp when dirpath.h doesn't need to be updated. commit 46574ccb91da54b28e41d8de7b3d50686a564468 Author: Russ Allbery Date: Tue Aug 1 22:49:36 2006 +0000 death-to-sia-20060801 Drop the SIA code (PAM for Digital Unix). commit 3f75e402535843b4e34c09b03fb5181758506d96 Author: Russ Allbery Date: Tue Aug 1 22:39:56 2006 +0000 death-to-login-20060801 Get rid of the AFS integrated login, which we no longer care about. commit f6971a141558711fb09d9fa15c9de67772047b32 Author: Derrick Brashear Date: Tue Aug 1 22:31:42 2006 +0000 djgpp-killer-20060801 kill djgpp code commit 088e1409f8d318697023341e2050a3e58708b0fd Author: Russ Allbery Date: Tue Aug 1 22:27:17 2006 +0000 platform-build-fixes-20060801 Add dummy makefiles for all the other supported architectures and fix a few issues with makefile inclusion in the Makefile.in and DARWIN/Makefile.in. commit c5613fadf59fba0cd91d60607a5f5d2ff4df516e Author: Derrick Brashear Date: Tue Aug 1 22:05:08 2006 +0000 macos-installer-20060801 partial updates commit eb1dd3306b6459572dbb2c4d58d07939c9c85b50 Author: Russ Allbery Date: Tue Aug 1 21:57:14 2006 +0000 we-hate-dce-20060801 Destroy all traces of dauth, including the DCE authentication support in afsweb. commit 86a29ebd32fd9cc48e367930709276a7c489e085 Author: Derrick Brashear Date: Tue Aug 1 21:43:34 2006 +0000 macos-move-afssettings-20060801 build this as part of the build commit 01441567bc08f814b79f5f583c867c63ea0c76c1 Author: Russ Allbery Date: Tue Aug 1 21:31:47 2006 +0000 dead-log-programs-20060801 log and passwd haven't existed for some time, so get rid of the Makefile rules for them. commit 15dae9264ffcaa9393a0cead4595602b589ce74b Author: Russ Allbery Date: Tue Aug 1 21:19:53 2006 +0000 death-to-des-stub-20060801 Remove des_stub; we don't care any more. commit 8df5dcbc91e6504e45e16b8e70d7108eeaa6458c Author: Russ Allbery Date: Tue Aug 1 21:03:54 2006 +0000 death-to-pinstall-20060801 Delete pinstall and convert the entire tree to use the install program found by configure (falling back on install-sh in the local tree). This means that we have to pre-create directories with install -d. Also redo the install and dest rules to be lists of install rules rather than dependencies driving separate make rules so that running make install will always update the target directory with the current code, even if there are files in the install area that are newer. Stop installing libafssetpag; we're about to kill it in favor of a different library. Remove some djgpp rules. commit 29dd7923817b621c5d14920513dc26c2f9fda530 Author: Jeffrey Hutzelman Date: Mon Jul 31 22:58:17 2006 +0000 linux-afs-translator-xen-20060731 FIXES 36646 nfs translator for linux, plus xen support for shared afs client ==================== 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. ==================== FIXES 36646 add linux afs translator plus xen shared afs client support ==================== FIXES 36646 add linux afs translator plus xen shared afs client support ==================== FIXES 36646 add linux afs translator plus xen shared afs client support commit 67f04fa714580016bdbb707d962ce763023e31aa Author: Derrick Brashear Date: Mon Jul 31 22:12:39 2006 +0000 kreltime-guard-against-null-tm-20060731 so we can memset 0 and get defaults commit 75922872e6c29bd059db3b07b7b274e3c4172715 Author: Derrick Brashear Date: Mon Jul 31 20:01:08 2006 +0000 fslog-dpf-20060731 turns out it's nice to log why we exit commit da4775909094e8dc1e14fa9cdbf8ba3baaebf23a Author: Derrick Brashear Date: Mon Jul 31 19:15:15 2006 +0000 FIXES 35559 va_list isn't integral on ppc commit cc37bc5ae487dda611d2bf4b383b2d2cfd1ea675 Author: Russ Allbery Date: Mon Jul 31 18:34:26 2006 +0000 ka-forwarder-20060731 Add ka-forwarder. commit 8c4496602badc1b0aa2642e061a720d4d1f108b8 Author: Derrick Brashear Date: Mon Jul 31 17:50:32 2006 +0000 namei_mapper-20060731 add chaskiel's namei mapping tool to cvs and make a rule to build it commit 5f434b8087d3c73123860f853d15a0f51c03bf73 Author: Russ Allbery Date: Mon Jul 31 17:43:19 2006 +0000 aklog-man-page-20060731 Rewrite the aklog man page in POD and add documentation of the new flags and .xlog. ==================== 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. ==================== Fix my misunderstanding of what rxkad2b is. ==================== Fix unterminated B<>. commit 57ef7a5d999de2829e2f205f2308101819e7f08a Author: Christopher Allen Wing Date: Mon Jul 31 17:36:01 2006 +0000 bucoord-64-bit-cleanup-20060701 However, in bucoord/commands.c, bc_VolRestoreCmd(), bc_DiskRestoreCmd(), bc_VolsetRestoreCmd(), and bc_DumpCmd() were passing '0' as arguments instead of NULL. Because there is no prototype for bc_StartDmpRst() this results in a crash on 64-bit Linux. (when running 'volrestore' from an interactive backup session) commit c04c2a0b1aa266c67d2e7e056e6c3f9518a39a2a Author: Alessandro Dellavedova Date: Mon Jul 31 17:15:53 2006 +0000 fbsd-ifnet-flags-20060731 FIXES 35757 i should really fix this right commit 5a0c56d33b9bc842cee10afc977f59b04e46d728 Author: Jeffrey Altman Date: Mon Jul 31 16:52:43 2006 +0000 windows-cifs-vista-20060731 remove claim of support for Vista CIFS protocol version commit e6f6adc1bc310482baa868046e68c386ab1c822b Author: Hans-Werner Paulsen Date: Mon Jul 31 16:33:16 2006 +0000 libafsauthent-avoid-global-host-20060731 FIXES 36411 defining host globally in the rmtsysc interface: dumb commit 77c502047025d8073e4cd35c5e4851fd1d2eb369 Author: Derrick Brashear Date: Mon Jul 31 16:23:34 2006 +0000 vos-avoid-freeing-null-pointers-20060731 FIXES 36441 pretty obvious. don't. commit 8d2dbc51f40e61cbe6157c910dff18606cf84282 Author: Derrick Brashear Date: Mon Jul 31 16:18:13 2006 +0000 call-bzero-in-convertvolumeinfo-with-correct-size-for-dotreadonly-20060731 FIXES 36442 and slipstream in bzero() killing commit e199597d529a035f50e57e7dd653a8095313d246 Author: Tom Keiser Date: Mon Jul 31 16:07:49 2006 +0000 rx-readpacket-leak-20060728 avoid just allocating packets forever commit ebcfab8d3247ff6fa98726c88a55a5cec0d91f97 Author: Jeffrey Altman Date: Fri Jul 28 14:36:24 2006 +0000 windows-cifs-compatibility-20060728 more compatibility fixes to the CIFS gateway server commit a4211966d7f9d16dd2f93c9122ba09b4920dfd8e Author: Jeffrey Altman Date: Fri Jul 28 03:07:13 2006 +0000 windows-remove-bad-asserts-20060728 remove assert()s that should simply be if() commit b805981546444ba90c9d0b811358658e720f9277 Author: Jeffrey Altman Date: Wed Jul 26 14:52:56 2006 +0000 windows-cifs-undo-large-x-20060726 remove claim of support for LARGE_READX and LARGE_WRITEX commit d42394946fc8c4da27361e3ad39766f83b659fd1 Author: Jeffrey Altman Date: Wed Jul 26 14:01:55 2006 +0000 windows-cifs-rewrite-20060726 delta windows-cifs-rewrite-20060717 introduced a bug in Tran2SetFileInfo which would cause data loss by inappropriately truncating the file instead of setting the file length. this commit adds a new smb_SetSMBParmLong() function fix smb_ReceiveCoreWrite to check for locks before truncation and adds much debugging fix CIFS protocol negotiation and declares support for large readx and writex updates debugging strings for Tran2 functions configures the windows firewall before sleeping in cm_Daemon() commit 3167f707fdf582c8ca851a353ca0c82b92ccc947 Author: Jeffrey Altman Date: Wed Jul 26 13:49:41 2006 +0000 windows-integrated-logon-20060726 delta windows-integrated-logon-20060724 would cause Windows 2000 systems to blue screen with an exception in winlogon.exe. commit 68e8e996b6cc82d5097e82a4c9c8af9eb8c3c093 Author: Derrick Brashear Date: Tue Jul 25 15:44:46 2006 +0000 des-no-obsolete-encrypt-20060725 this version of encrypt() conflicts with current linux (which returns void) we don't use it, so, buh-bye commit 238ac51e80551bf57334867521817103fddd2cbf Author: Derrick Brashear Date: Tue Jul 25 15:38:31 2006 +0000 cellservdb-dl-sanity-check-20060725 protect me from myself commit 1a0329fef030fedce3fb12d9c641825b0d49f053 Author: Jeffrey Altman Date: Mon Jul 24 15:06:15 2006 +0000 windows-integrated-logon-20060724 * apply ACL restrictions to credential cache immediately after initialization * move file from system temp directory to user temp directory prior to starting executable as user to perform credential import commit 22f43b30a094669cc8b52bfb416ef6fb099bb93c Author: Jeffrey Altman Date: Thu Jul 20 22:44:30 2006 +0000 windows-ifs-cleanup-20060720 * fix up prototypes * remove unused variables * re-organize code for readability * fix type safety issues commit 8d4d47860baeb983759782f64d46ec70659e5022 Author: Jeffrey Altman Date: Thu Jul 20 07:06:42 2006 +0000 windows-ifs-afsrdr-20060718 updates to ifs afsrdr code to allow it to compile. commit 66db2c9bec2b6a38aab49eb31a992701930bd055 Author: Jeffrey Altman Date: Thu Jul 20 04:23:09 2006 +0000 windows-ifs-20060718 enable the afsifs code to build again commit 72abe41e1df0e530ae73e50b0b952b26d4e26683 Author: Derrick Brashear Date: Fri Jul 21 00:27:15 2006 +0000 aix5-curpag-20060719 curpag() exists in too many places anyway, fix em commit 14ed562c4b576bcfe6b0147b86fa5f7899d22c16 Author: Jeffrey Altman Date: Wed Jul 19 15:41:48 2006 +0000 viced-checkrights-loglevel-20060719 increase the log level on the "CheckRights: len=%u, for host=%s:%d\n" message to 5. commit 51d0c3c8d1daf63e2a9d07ff5be0e649eb821b0c Author: Tom Keiser Date: Wed Jul 19 05:11:06 2006 +0000 rxkad-typeindex-20060718 clean up an off by one error for type index commit 436e8fe17b2051db806e386db86b3de789afb2f0 Author: Jeffrey Altman Date: Tue Jul 18 17:02:04 2006 +0000 windows-wix-2_0_4221-20060718 * Updates to WIX installer to support the 2.0.4221 build * Removes unnecessary files from Release Notes commit 94e2fd2f51b671ee44e9ddd12b44c6d26aa149fe Author: Jeffrey Altman Date: Mon Jul 17 19:45:27 2006 +0000 windows-cifs-rewrite-20060717 a re-write of the Tran2 Query File Info, Query Path Info, Set File Info, and Set Path Info functions to make them more readable and ensure correctness. commit 7cb94029ce2092f2117742047cffd3c6b58292cd Author: Tom Keiser Date: Fri Jul 14 20:22:51 2006 +0000 aix-largefile-20060714 FDH_WRITE can return something great er than an int32 size for largefile commit d335c636e25d268631c8408cf6b1aa04b6043f88 Author: Jim Rees Date: Fri Jul 14 18:48:18 2006 +0000 discon-20060714 Implement PDiscon. Right now only sets nat mode. Untested. commit 3a8a83c061965195c4842d89b888e37cd4b33ee3 Author: Derek Atkins Date: Fri Jul 14 15:53:05 2006 +0000 linux-posix-lock-file-api-fix-20060714 fix lock enrollment for older kernels commit 6878e0b6348a649768274adbce77500fbd45caa4 Author: Derrick Brashear Date: Thu Jul 13 19:17:20 2006 +0000 vpurge-needs-no-lock-20060713 don't hold the VOL_LOCK during vpurgevolume volserver's transaction stuff (NewTrans, actually) precludes any problem commit 845b4ac1cf8f97c5c4d84e36109ef477edef4a31 Author: Derrick Brashear Date: Thu Jul 13 18:55:10 2006 +0000 rxkad-private-reorder-structures-20060713 based on fix from tkeiser@gmail.com for aix segfaulting issue; keep offsets of cprivate and sprivate's copies of type and level the same commit 8b898261c1c682f819856966f8158aba36d9abdb Author: Derrick Brashear Date: Thu Jul 13 18:38:21 2006 +0000 tsm-interface-simple-uid-20060713 for now we use afs_uint32 as a uid in the exported interface commit 4c1503ee9bf5769a9de247a86d7b9dae85bbd993 Author: Tom Keiser Date: Thu Jul 13 18:24:29 2006 +0000 aix-lam-20060712 tsm for aix5 commit 8f2aba65819a668fc4a78c0ab929932c23cbc381 Author: Jeffrey Altman Date: Mon Jul 10 20:24:08 2006 +0000 windows-wait-rx-hard-dead-time-20060710 Don't timeout based upon the LAN Workstation Session Timeout value. Instead wait for the rx hard dead timeout. commit 39af776e0e9c295aa24dcd31cd42d845980ad8d8 Author: Jeffrey Altman Date: Thu Jul 6 01:15:14 2006 +0000 windows-dllmap-20060705 afsrpc.dll and afsauthent.dll got too big for their allocations. commit 3aa506fe502f010135d25e0d6996f5cdc38a13bd Author: Jeffrey Altman Date: Wed Jul 5 20:18:55 2006 +0000 windows-vlserver-makefile-correction-20060705 so make clean works right (remove vldbint.h) commit 3d4b12626136a59bd876648e0d1360f629998df8 Author: Derrick Brashear Date: Wed Jul 5 19:34:01 2006 +0000 libafsrpc-export-xdr-20060705 " ld: warning: relocation warning: R_SPARC_COPY: file /usr/local/lib/libafsrpc.so: symbol rx_enable_stats: relocation bound to a symbol with STV_PROTECTED visibility Undefined first referenced symbol in file xdr_afs_uint32 /usr/local/lib/libafsauthent.a(ptint.xdr.o) ld: fatal: Symbol referencing errors. No output written to slapd collect2: ld returned 1 exit status " one can guess how that might be less than useful commit f720e922a982ec99d57adb0514878c65bafc4293 Author: Jeffrey Altman Date: Tue Jul 4 23:42:37 2006 +0000 windows-cifs-20060704 a mixture of updates to cifs compliance commit 941ac04165a9239a11b4ab908350dbfae24edfb9 Author: Jeffrey Altman Date: Tue Jul 4 22:22:35 2006 +0000 ubik-call-sucks-20060704 make ubik_Call removal work 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. ==================== another fix for Windows commit 15963ecb3459f34025c0e8fdbf8f1055e1e4a294 Author: Jeffrey Altman Date: Tue Jul 4 07:15:17 2006 +0000 viced-uninitialized-20060704 tcon in XStatsVersion. commit e117599fe17fdfca9c61d1883fe9bf9aa95e3918 Author: Derrick Brashear Date: Tue Jul 4 04:57:05 2006 +0000 fileserver-hates-pruclient-20060626 right now there is one struct ubik_client shared by all threads in the fileserve r, which sucks when one has it locked let's, uh, fix that. commit 4478d3a99a1baaee081048a20ac50e7af0223647 Author: Derrick Brashear Date: Tue Jul 4 04:50:46 2006 +0000 ubik-call-sucks-20060703 ubik_Call's pseudo-varargs construction is hideous put it out of its misery where possible commit a2d5bb078f3df6dc6fe992fdcaaf8b5a5607c0d6 Author: Tom Keiser Date: Mon Jul 3 19:41:31 2006 +0000 sol10u2-rename-20060703 FIXES 34774 In s10u2 the vnode path cache code was modified so that we're no longer guaranteed of having a valid path cache pointer for the lofs mount case. Attached patch changes gafs_rename to deal with this. Patch also removes unnecessary MODLOAD32 build rule from sun4x_510 case. commit 277eb30d32349ad1fd24b1ea02a8dfca86c79ef5 Author: Asanka Herath Date: Mon Jul 3 02:45:35 2006 +0000 windows-wix-sdk-20060702 Move SDK to \Program Files\OpenAFS\SDK commit 20b4f785b56ff604bab72d3b624aae74a9e5ae5d Author: Jeffrey Altman Date: Mon Jul 3 02:00:51 2006 +0000 windows-library-cleanup-20060702 Export rx_Finalize and rx_InitHost ==================== 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. ==================== * add afs_winsockCleanup() call to rx_Finalize * do not start listener threads multiple times ==================== * export rx_Finalize and pr_End ==================== afs_winsockCleanup commit e66467f382a31345f3ea9dd919ea703eccb623d9 Author: Jeffrey Altman Date: Mon Jul 3 01:57:37 2006 +0000 windows-afsauth-krb-20060702 Build the afsuth.krb library commit 5accc48e1b0db55c56ba64abe0450d511c0fdf2a Author: Jeffrey Altman Date: Mon Jul 3 01:55:54 2006 +0000 windows-nsis-sdk-20060702 Move SDK to Program Files\OpenAFS\SDK commit 61df8d9fc834b87d758d8581e73fa7c05198ecf4 Author: Jeffrey Altman Date: Mon Jul 3 01:54:19 2006 +0000 windows-afslogon-pr_end-20060702 * do not attempt to copy kfw krb5 creds if integrated logon disabled * disable use of automatic registration from afslogon.dll. calling pr_Initialize() results in rx_Init() being called which creates threads that prevent safe unloading of the dll. This is causing crashes in third party applications that call CreateProcessAsUser() which in turn temporarily loads afslogon.dll. * add life_to_time to afskfw.c in order remove the link to the rxkad and des libraries commit 1947002d11358b9427adce1d6e03f5357a416ad8 Author: Derrick Brashear Date: Sat Jul 1 06:01:29 2006 +0000 butc-prototyping-20060701 have some prototypes happy july 1 and what a crappy day it is commit 350c140d89198cb7f9f8b241188f9937d7da119e Author: Derrick Brashear Date: Fri Jun 30 20:44:19 2006 +0000 libcmd-support-version-switch-20060630 well, i guess adm will be sad until it exports AFSVersion, but, life is hard. commit 8a1a06b5eb0e415859fd841c3c4a6b578eaea022 Author: Tom Keiser Date: Fri Jun 30 15:03:04 2006 +0000 solaris-vfsops-20060629 fix symbol binding for modern solaris 10 patches (6/06) which kills a few we didn't need anyway commit 2dcf63ef4e044019bda5889f1de332432124bb71 Author: Tom Keiser Date: Fri Jun 30 14:57:43 2006 +0000 salvager-20060628 make ClearROInUseBit actually do it commit bc9f256f1c6d2ac26a0b6bfc15de85de895ecf0b Author: Christopher Allen Wing Date: Fri Jun 30 01:17:06 2006 +0000 rxbind-typo-fix-20060629 FIXES 34634 kill this obvious typo commit f0830f89a11a2fea06a26270a90c7ddf8365a533 Author: Jeffrey Altman Date: Fri Jun 30 00:24:20 2006 +0000 rxkad-rt34568-20060629 FIXES 34568 The use of strncmp() results in p->v5_str being treated as matching prefix instead of as the complete string. This causes "ftpa" to be considered a match for "ftp". commit a8dc93bf9f93a1ab74972c41d09af01da93ff230 Author: Jeffrey Altman Date: Wed Jun 28 16:00:33 2006 +0000 windows-bulkstat-eaccess-20060628 New CM_SCACHEFLAG_EACCESS flag is used to track whether the status information was the result of an EACCESS error during an inline bulk status call. If so, we have a callback but did not get any status info. When this flag is set we include the entry in future bulk status calls but otherwise treat the cm_scache entry as if it has a valid callback. The callback will be revoked if the ACLs on the object changes. commit cb395ac70a2387723b0eceb33afe293d2cbfbf71 Author: Jeffrey Altman Date: Wed Jun 28 06:33:28 2006 +0000 windows-inlinebulkstat-20060628 fix the timeout conditional and error handling so that all directory entries will be processed. now there is a problem in which transitioning from no tokens to tokens does not result in refreshed data. something to look into. commit 7fa3d8d735779c263eec66fecec5255d8407b2be Author: Jeffrey Altman Date: Wed Jun 28 04:22:40 2006 +0000 windows-inlinebulkstat-20060627 Activate previously implemented TryBulkStat code. Due to incorrect comparisons the code was never executed. Add support for InlineBulkStat with fallback to BulkStat and increase the size of CM_BULKMAX to 150. (3 * AFSCBMAX) Add CM_SERVERFLAG_NOINLINEBULK to track support for InlineBulkStat. Clear flag during InitCallbackState. commit 08c07df7eb8ab22857d0c23d8f7ab35532576039 Author: Jeffrey Altman Date: Tue Jun 27 23:52:37 2006 +0000 windows-fs-uuid-part-two-20060627 force new connections after uuid change commit 5c563c121e853a06bb47d0b8932276982e676150 Author: Jeffrey Altman Date: Tue Jun 27 23:18:29 2006 +0000 windows-fs-uuid-20060627 fs uuid [-generate] commit a8e481ddd92744944d2b06fd5c8ed28383297f6a Author: Jeffrey Altman Date: Tue Jun 27 22:48:23 2006 +0000 windows-uninitialized-vars-20060627 uninitialized pointers when dereferenced do bad things commit f2c64e15995abc6791923013805cca402e6f4e8e Author: Jeffrey Altman Date: Tue Jun 27 16:39:04 2006 +0000 windows-cleanup-20060627 * fix UAEACCES debug string * assign scachetype invalid when invalid * smb_WriteData prototype * update T2 search dir debug message to include unique commit 8de6593c6829eab9dae15fc38ba08f382ee7b096 Author: Jeffrey Altman Date: Tue Jun 27 05:02:57 2006 +0000 windows-do-not-release-null-20060626 uidp can be null. if so, do not release. commit 791b2141809fc0ad2da78ab3cd91303ac0ec482d Author: Derrick Brashear Date: Tue Jun 27 04:16:46 2006 +0000 fileserver-hates-pruclient-20060626 right now there is one struct ubik_client shared by all threads in the fileserver, which sucks when one has it locked let's, uh, fix that. commit 2a6f610ecadcc61f7fe332e63f8ffca7942e4193 Author: Asanka Herath Date: Mon Jun 26 06:47:04 2006 +0000 windows-wix-path-key-fix-20060625 properly set the path key commit 83e22d270ea07cd473bc98a5fb2e7191cb840a40 Author: Jeffrey Altman Date: Mon Jun 26 03:24:14 2006 +0000 windows-32bit-tools-client-dir-20060625 Modify afssw_GetClientInstallDir to check both the registry for both the full client installation as well as the 32-bit tools installation for the Client Install Pathname. commit ea499821f73a9f27aad36b1878cccd26b2dc55c5 Author: Jeffrey Altman Date: Mon Jun 26 03:18:21 2006 +0000 windows-wix-client-path-20060625 move tag to a component that will be installed as part of the 32-bit tools so that Client\Program is added to the PATH. commit 0eb04961602949683be26cbe002677b5ee537ab6 Author: Jeffrey Altman Date: Sun Jun 25 22:44:26 2006 +0000 windows-largefile-support-20060625 don't clear the no64bit when there is no server commit 67598a4f59ae485242d611d1a5e3dfa6e6c81784 Author: Dave Tanner Date: Sun Jun 25 20:50:37 2006 +0000 windows-torture-test-20060625 Torture Test commit fa4b139d02fe4b1224a9ca367a081ca95ec18dd6 Author: Jeffrey Altman Date: Sun Jun 25 20:50:02 2006 +0000 windows-largefile-test-20060625 Large File test commit 266c9339896d75ab36dc812f1e905d05be23e0fd Author: Qi Dong Date: Sun Jun 25 18:56:53 2006 +0000 windows-aklog-64bit-20060625 Prepare makefile to link against kfw 64-bit libs when they are available. commit ebef2766358b8cca53efd5c12bc951198eb246e0 Author: Qi Dong Date: Sun Jun 25 18:54:16 2006 +0000 windows-64bit-type-safety-20060625 Type casting commit 0b9b02178e7a3d8df39fec9c83f8b49230ce30d9 Author: Jeffrey Altman Date: Sun Jun 25 17:55:23 2006 +0000 windows-cleanup-20060625 cleanup AFS_component_version_number.h commit 8c3e1ad7578dfbfd26633fc12b91ea69c1f77436 Author: Jeffrey Altman Date: Sun Jun 25 15:59:38 2006 +0000 windows-wix-tools-on-i386-only-20060625 only build the 32-bit tools installer on i386 commit bfa26d1ddfc7727a9f8c2e79c8d608c586823a12 Author: Jeffrey Altman Date: Sun Jun 25 15:54:25 2006 +0000 windows-nsis-help-files-install-location-20060625 place the help files in the correct location commit 8e0033ba73ef9551cb24052ef90db677e4adad50 Author: Jeffrey Altman Date: Sun Jun 25 02:47:04 2006 +0000 windows-report-quota-diskfull-20060624 overquota and diskfull errors are detected while writing dirty buffers to the file server. A flag is set on the scp so that the error can be returned to the caller. cm_FSync was clearing the flag without returning the error. This permitted calls to Win32 WriteFile to report success even when they failed. commit a4cb03504075771e0f2cfebf931f91f29553c73a Author: Russ Allbery Date: Sat Jun 24 17:08:40 2006 +0000 rhel3-krb524-checking-20060624 FIXES 30589 Check for krb524 functions in libkrb524 if not found in libkrb5 so that the Kerberos v5 support will build on RHEL3. Thanks to Derek Atkins for the debugging and testing. commit 830756f8f73e1f67da6ec916cdfc3e4b9a677f71 Author: Jeffrey Altman Date: Sat Jun 24 15:09:34 2006 +0000 windows-viced-cbd-20060624 don't break platforms other than Windows commit 2a1aff4104dd9a71bebf1a63ca85ac86338b3b1b Author: Christopher Allen Wing Date: Sat Jun 24 06:47:09 2006 +0000 afsutil-includes-20060623 Include for prototypes of afs_inet_ntoa and afs_inet_ntoa_r. commit 7f219ecd3863398d7cc5317a55b8c3f735e8ef95 Author: Russ Allbery Date: Sat Jun 24 06:14:09 2006 +0000 autoconf-datarootdir-20060623 Autoconf 2.60 will replace some variables, most notably mandir, with values relative to datarootdir, a new variable. Add settings of datarootdir to the affected files. commit e264711295275b7b1372e701bf106cf75b342007 Author: Asanka Herath Date: Sat Jun 24 03:48:06 2006 +0000 windows-wix-help-files-install-location-20060623 place the help files in the correct location commit 015f9ce287c22df7a0b967ee0357d0816b4e0e54 Author: Asanka Herath Date: Fri Jun 23 08:54:27 2006 +0000 windows-largefile-support-20060623 This patch adds large file support (> 2GB) to the CIFS server and the cache manager. It also corrects a significant oversight where the definition of struct rx_call was inconsistent due to a failure to define AFS_PTHREAD_ENV prior to including rx.h in all source files. This prevented all errors during rx_Read and rx_Write to be ignored. commit ae9a07a8e0a5d0e83e138ef9bbd71b3e7e0072ea Author: Jeffrey Altman Date: Fri Jun 23 04:32:48 2006 +0000 windows-cm_syncop-buflocked-20060622 If cm_SyncOp is called with the buffer locked, it must be returned locked even on error. commit 4859232df55c94232a70d602cafe6a8bcc72d9dd Author: Jeffrey Altman Date: Thu Jun 22 22:48:32 2006 +0000 windows-no-freelance-vldb-failover-20060622 When Freelance mode is not in use the cache manager must load the root.afs volume of the default cell in order to be able to start. Unfortunately, if the first vlserver fails the request to obtain the volume information will timeout and no retries will be performed. This patch performs up to 10 retries in the initialization code in order to enable the vlservers to be marked down so that failover can occur. commit d53a0a8d5e58d6bb0a979d977889aa2bfcb19829 Author: Jeffrey Altman Date: Wed Jun 21 21:40:00 2006 +0000 windows-viced-cbd-20060621 typo commit f3a7cd67c5d9d225a688892b3d5948db11e9a82e Author: Jeffrey Altman Date: Tue Jun 20 23:09:46 2006 +0000 windows-viced-cbd-20060620 build the callback debug utility commit 7826b313868ec8ce975b65e5c430a9503fca4dd5 Author: Tom Keiser Date: Wed Jun 21 18:57:24 2006 +0000 aix-largefile-cleanup-20060620 some largefile cleanup and other minor aix tweaking commit 840ef4a80f3ec8378865232f23171c7c3485626b Author: Jeffrey Altman Date: Tue Jun 20 21:57:26 2006 +0000 windows-afsrpc-exports-20060620 New functions: rx_InitHost, rx_NewServiceHost commit 7af6b06cb6611a8925e3fa887ddf0a03542ee4dc Author: Jeffrey Altman Date: Tue Jun 20 21:32:55 2006 +0000 rxbind-for-servers-20060620 do not call parseNetFile on Windows where the function does not exist commit cb25e4400aa97379ec1b4390ddb3d343dc070935 Author: Derrick Brashear Date: Tue Jun 20 21:07:06 2006 +0000 revert-rx-magic-check-20060607 revert until i recode to avoid conflict with queues commit 06fa1f9c40432747724e6e55154bf54e1e3e94c5 Author: Jeffrey Hutzelman Date: Tue Jun 20 21:00:09 2006 +0000 viced-findclient-do-not-return-wrong-client-20060620 In h_FindClient_r it was possible for the wrong client to be returned and worse for it to be returned without the reference count being incremented. commit efd74baa950133de6ed92b7395be6d14ef63a58e Author: Rainer Toebbicke Date: Tue Jun 20 15:50:17 2006 +0000 viced-deadlock-20060620 FIXES 34073 * checks for client == oldClient * drops the H_LOCK prior to obtaining the WriteLock on oldClient in order to prevent a deadlock commit 1833072cc857fd0ee217f81e5be27f9f023cf9a1 Author: Jim Rees Date: Fri Jun 16 20:08:29 2006 +0000 no-divide-by-zero-20060616 Print nothing rather than dividing by zero if the cache manager doesn't return excessive cache params. commit 176c2fddb95ced6c13e04e7492fc09b5551f273c Author: Troy Benjegerdes Date: Thu Jun 15 16:51:25 2006 +0000 fs-getcache-show-more-20060615 show more info about cache usage, optionally commit 463d899a4f6527fc26d29e4cff31f65028cfa43f Author: Troy Benjegerdes Date: Thu Jun 15 16:42:24 2006 +0000 linux-current-already-used-20060615 don;'t conflict on use of current commit 2e691074fb6ce70e8352da3e57a746a77f7489f1 Author: Derrick Brashear Date: Thu Jun 15 16:12:13 2006 +0000 getaddr-avoid-looping-20060615 so it would be good to count these all off oops commit 592d97f9472abcf77496cef07261fa8766f60b9f Author: Derrick Brashear Date: Tue Jun 13 01:28:48 2006 +0000 rxbind-for-servers-20060612 FIXES 32308 support -rxbind switch for servers commit 33418253e06534b43ad44eaa71b7c4a84be7cb49 Author: Derrick Brashear Date: Mon Jun 12 17:19:27 2006 +0000 linux-enable-gcpags-20060612 enable gcpags commit b365b06d34a9450dc53ad22e8ecb3f6d922af5f4 Author: Chas Williams Date: Mon Jun 12 05:23:54 2006 +0000 recvackpkt-count-acks-and-open-cong-window-20060612 "the non AFS_GLOBAL_RXLOCK_KERNEL version of rxi_ReceiveAckPacket() wasnt counting 'hard' acks and not opening the congestion window. using rx_Readv() directs the incoming packets into the target iov, and sends a hard ack (skipping soft acks). " commit 3d1fc22c6ba5d07c831da79ffa01e3cf4d95322a Author: Derrick Brashear Date: Tue Jun 13 04:50:03 2006 +0000 getaddr-skip-loopbacks-version-for-macos-20060613 so rxbind does something sensible commit 1e5f6a17fcf4f7039bae756c22735b77a31ceec5 Author: Derrick Brashear Date: Tue Jun 13 00:58:33 2006 +0000 namei-dec-drop-lock-20060612 FIXES 17638 unsure why yet, or even if, but this is all that makes sense commit 40b690803a928da8bf25b1e03745e95f14fd1743 Author: Jeffrey Altman Date: Thu Jun 8 22:17:04 2006 +0000 windows-scache-recycle-fix-20060608 do not special case freelance entries commit 2c20a3d603fcc654759b8c90924f36468f8aae81 Author: Jeffrey Altman Date: Thu Jun 8 00:28:40 2006 +0000 windows-cifs-std-info-take-two-20060607 The "is a directory" value was being set one field beyond the end of the Standard Info reply structure. commit f6468e0f27c90b2e2385508f9a1f01b8b1d346d2 Author: Chaskiel M Grundman Date: Wed Jun 7 05:56:55 2006 +0000 no-client-tcon-20060607 remove client->tcon and avoid locking issues commit ff39cf322cff2b76290903203d3d6ee70b26ea1f Author: Chaskiel M Grundman Date: Wed Jun 7 05:31:33 2006 +0000 rx-magic-check-20060607 for pullup as /afs/andrew/usr18/cg2v/rx-magic-check.diff commit ed9a2181217f19b7ddbfe28118f6fb2f700b08ad Author: Chaskiel M Grundman Date: Wed Jun 7 05:25:38 2006 +0000 openlog-consistency-20060607 open logs consistently so assert logging is appended commit b8b1438716a14b596a68c2e77d54ca66009c01c2 Author: Russ Allbery Date: Tue Jun 6 23:33:07 2006 +0000 synchronize-xdr-20060606 Include the same set of xdr objects in the shared libafsrpc as are included in the static libafsrpc. commit 422f2d4523ae9be2ff3f1395db1dd62b0b3a3b4b Author: Jeffrey Altman Date: Tue Jun 6 17:57:43 2006 +0000 windows-smb-mountpt-is-dir-20060606 Be consistent about reporting mountpoints and invalid links as directories to the CIFS client. commit 81cd89320fe855d22f91bda461dd5cdba147b671 Author: Jeffrey Altman Date: Tue Jun 6 15:43:16 2006 +0000 windows-makefile-clean-20060606 cleanup additional files commit 36da63e03de7230b8464a50a58acf732ce994ff2 Author: Jeffrey Altman Date: Mon Jun 5 04:25:03 2006 +0000 windows-version-20060604 1.5.0002 commit 54eed0930a36c54db73f8e2d10c28b99c2c1e6bb Author: Jeffrey Altman Date: Mon Jun 5 02:29:19 2006 +0000 windows-notes-20060604 notes commit b30dcf9738d7fa87f8da4afa1f024376130b80a9 Author: Jeffrey Altman Date: Sun Jun 4 07:11:53 2006 +0000 viced-swap-old-cbcon-diff-20060603 FIXES 32985 swap cbconn when other side changes IPs commit f4f09d1c03cf738de6f73fc9d56502babd6743b4 Author: Jeffrey Altman Date: Sat Jun 3 18:59:35 2006 +0000 windows-scache-recycle-20060603 A deadlock was detected when performing "fs flushall" if the file server reports VNOVNODE. The scp->createBufferLock is already held by the current thread and there is no mechanism to propagate the knowledge. Therefore, an alternate mechanism for clearing the cache must be developed. A new function cm_RecycleSCache(scp,flags) has been extracted from cm_GetNewSCache(). This function performs the task of recycling an cm_scache_t object. When called from cm_GetNewSCache() with no flags the expectation is that there are no associated buffers that are queued to be read or written. When called from cm_Analyze() with the CM_SCACHE_RECYCLEFLAG_DESTROY_BUFFERS flag, any queued buffers will be de-queued and marked as if the operations were performed so the data can be discarded. This patch also addresses the following issues: * CM_ERROR codes were logged as "unknown" by cm_Analyze. * In response to VNOVNODE, the parent is only discarded if the current cm_scache_t is not a directory. * In the Ioctl FlushFile and FlushVolume functions, there were no checks to protect against flushing the Freelance SCache entries. * In FlushFile, the wrong cm_scache_t object was being released. * In cm_GetNewSCache, do not allow Freelance SCache entries to be recycled. Choose a new entry if cm_RecycleSCache fails. commit 99b572a00a342ab6ff003eb6736eb24a27e8fb15 Author: Chaskiel M Grundman Date: Fri Jun 2 22:12:27 2006 +0000 flock-handle-uae-errors-20060601 handle uae versions of errors for flock locks commit 3fdb1902c04153e3522e36c091b073dc7419ac65 Author: Joe Buehler Date: Thu Jun 1 16:57:15 2006 +0000 linux-vfsops-remove-redundant-code-20060601 FIXES 32783 remove redundancy commit 87313c96b1271b4730a27dcee1b6c062b0a37425 Author: Jeffrey Altman Date: Thu Jun 1 04:50:13 2006 +0000 windows-smb-fid-faster-20060531 Speed up the performance of the cache manager by not holding the smb_fid_t mutex across calls to cm_SyncOp and AFS RPCs. Ensure that all smb_fid_t flag references are protected. commit 397fb82b694e72d9259aaa7264ca432c007bdb6f Author: Derrick Brashear Date: Wed May 31 21:38:30 2006 +0000 fix-rx-getaddr-20060531 commit 134669a912a99b212fb4768d2a9a969cda5fffff Author: Jeffrey Altman Date: Tue May 30 17:56:51 2006 +0000 windows-smb-fid-deadlock-20060530 remove a deadlock introduced in 1.4.1 commit 83732fdb158e79b64774667ee09fc1b81062707e Author: Jeffrey Altman Date: Mon May 29 00:03:52 2006 +0000 windows-get-acls-20060528 It is possible to have a valid callback but not to have the required ACL info for the current user. Force acquisition of a FetchStatus but do so without making multiple calls. commit ee600c02e8f7c1299e3ebe13867f9aaa581c0141 Author: Jeffrey Altman Date: Mon May 29 00:01:26 2006 +0000 windows-hexdump-fix-20060528 do not allow unquoted percent signs to be logged commit 40415fe265d8e660f3698d8ab7f93004d589f902 Author: Jeffrey Altman Date: Fri May 26 22:11:15 2006 +0000 windows-access-fetchstatus-20060526 Do not call cm_GetCallback() directly. Always use cm_SyncOp(CM_SCACHESYNC_NEEDCALLBACK) commit 7ca1a339cb488fd97015e959e2a17e91e9b56409 Author: Jeffrey Altman Date: Fri May 26 07:35:34 2006 +0000 windows-dynamic-thread-priority-20060525 Dynamically adjust the priority of server threads based upon the age of the cifs request that is being processed. Bump the priority one level for each 15 seconds of age. commit c1e79275079cfa68d73cc3a008c3fb3b201f1068 Author: Jeffrey Altman Date: Thu May 25 18:11:57 2006 +0000 windows-head-tail-queue-removal-20060525 while investigating the cause of the delayed write errors it was observed that all of the sleep queues are LIFO. This has the side effect of encouraging starvation. Changing the queues to FIFOs revealed a serious problem affecting the use of all queues which use both head and tail pointers. The removal function osi_QRemove does not take a tail pointer and therefore the pointer is always left hanging. If the number of elements ever drops to zero the queue becomes corrupted. Added osi_QRemoveHT to be used whenever head and tail pointers are used. Updated all callers in afsd. commit b753ef7265b1970d1e38f3c65532af929102e1d6 Author: Jeffrey Altman Date: Wed May 24 23:59:51 2006 +0000 windows-smb-mods-20060524 Prevent smb_FindVCP from returning dead virtual circuits Treat "*." as an alias for "all" commit cefa6b1dce9aa3c12a7afbc0c6b4d68c3444758d Author: Derrick Brashear Date: Wed May 24 16:49:11 2006 +0000 getaddr-skip-loopbacks-version-for-macos-20060523 so rxbind does something sensible commit 1344a69c57f6c2b8e0588e4b18b1178bc596f190 Author: Hartmut Reuter Date: Tue May 23 17:29:11 2006 +0000 rxkad-var-tkt-len-20060523 FIXES 31966 allocate memory for struct rxkad_cprivate based upon the actual ticket size not the max ticket size commit 53f6c22a2b590279d0ea4859829aec71c0692983 Author: Jeffrey Altman Date: Tue May 23 05:47:29 2006 +0000 rx-rdwr-type-casting-20060523 type cast correctly commit 36f3bafb44aae8472453a1c39e9585b920a1bada Author: Jeffrey Altman Date: Sat May 20 04:14:07 2006 +0000 windows-aklog-afsid-lookup-20060519 if the cell matches the realm, do not lookup with realm commit 69c7d8ae707fd1a145b8eec756526603ddd370b7 Author: Jeffrey Altman Date: Sat May 13 15:22:20 2006 +0000 viced-host-mobile-client-20060505 Do not delete an old host entry because the UUID because the UUIDs of the clients at the old addresses are wrong. Remove the addresses. Do not allow the same host,addr,port combination to be added into the hash table multiple times. ==================== 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. ==================== Add some more logging Do not allow 'code' to be re-used for probing the uuid of the old host primary address because we are relying on the value of 'code' to indicate whether or not RCallBackConnectBack failed. If it did, we mark the client as VENUSDOWN, if not we marked it as RESETDONE. ==================== log the old addr, not the new one commit f6833e96f961de1c1d402646c87681f27bf926e9 Author: Jeffrey Altman Date: Thu May 11 13:36:06 2006 +0000 windows-smb-vcp-cleanup-races-20060511 Only allow one thread to mark the vcp dead commit bcabba994188a4c88bdae3c5252c9b0de5d163c8 Author: Derrick Brashear Date: Wed May 10 05:51:41 2006 +0000 viced-writevalloc-dont-vtakeoffline-20060510 random errors shouldn't take the volume offline commit 40916b821aa19fb2aa810e8828e563d80d89cc82 Author: Jim Rees Date: Tue May 9 19:41:47 2006 +0000 fbsd-saddr-20060509 Small fixes to get sockaddr_storage changes working on FreeBSD commit e55549af1447acf46b5fe7925d46841ddc641c14 Author: Jim Rees Date: Tue May 9 16:49:49 2006 +0000 snprintf-20060509 Change sprint to snprintf commit 66596cc677e8cbf7fa40ad2962ccc4547692afb5 Author: Jeffrey Altman Date: Tue May 9 06:18:08 2006 +0000 windows-addr-change-mods-20060509 When the client changes IP addresses, in order to obtain optimal performance it must: (1) force the replacement of all existing rx connections (2) ping all up and down servers commit 3a5acf0f09cf18ea0fefcef961fcfe2dbf978656 Author: Jeffrey Altman Date: Tue May 9 05:15:47 2006 +0000 bringing-rx-into-21st-century-20060504 rx_InitHost() port is in network byte order commit cabc803a62c2f3d20d41356bc177873bcf79c033 Author: Jeffrey Altman Date: Tue May 9 02:37:30 2006 +0000 windows-less-power-mgmt-logging-20060508 comment out some of the power mgmt log entries reducing the size of afsd_init.log commit 77fbc6a158a570f1816c87433c0e4c44c0fc8fce Author: Jeffrey Altman Date: Tue May 9 02:34:20 2006 +0000 windows-smb-vcp-clean-20060508 don't grab the vcp mutex after releasing the vcp commit f86e9dfd7b97e1e26730be2d960bef004d3d3a1f Author: Jeffrey Altman Date: Tue May 9 02:30:37 2006 +0000 windows-osi-lock-validate-20060508 perform lock type validation commit 948027777114c8061aaed3818dbdd836cfd87b11 Author: Derrick Brashear Date: Mon May 8 20:26:38 2006 +0000 macos-packaging-oops-20060508 no plugin yet commit c4b6c57f6706cf3672294c23a232d84aff107812 Author: Jeffrey Altman Date: Fri May 5 19:26:51 2006 +0000 windows-manifests-20060505 embed manifests when building tools needed for building OpenAFS commit ada9819fd630f6cbe6fb8d442e79326df1fcdcad Author: Jeffrey Altman Date: Fri May 5 17:27:21 2006 +0000 viced-host-logging-20060505 another place where dotted notation and port numbers were not being used in log output. commit 86ff4c4d6bd264210990b57cbdbbf6b40d742716 Author: Jeffrey Altman Date: Fri May 5 16:50:21 2006 +0000 windows-wix-vs8-20060505 Enable wix installers to build with VS8 compiler on X86 commit c17eb1925c6ba6ed41705829287abc6145d97163 Author: Jim Rees Date: Fri May 5 15:37:28 2006 +0000 cast-sockaddr-20060505 Cast sockaddr_in to eliminate warning commit 62afc0a8c1e8528b1a50b0d4b6ba2b10acbe9879 Author: Ken Hornstein Date: Fri May 5 06:47:37 2006 +0000 more-rx-updates-20060504 Suppress warnings from prototype changes. Trial code for OpenBSD support. Fix missing piece from UKERNEL. ==================== 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. ==================== IPv6 support for Windows requires the use of ws2tcpip.h and associated restructing of include file order. commit 9b6343e20315c131085b4a8e7f2aeeca61ef39c0 Author: Ken Hornstein Date: Thu May 4 22:23:17 2006 +0000 bringing-rx-into-21st-century-20060504 Large series of changes to replace the use of afs_uint32 for IP address with struct sockaddr_storage in Rx. May even work with IPv6, but only tested with IPv4. Significant change to internal APIs; existing external APIs kept, new ones added that take struct sockaddr_storage arguments. commit ea3ed375e8f706456afddd23bff5ebf906565d92 Author: Jeffrey Altman Date: Thu May 4 05:54:19 2006 +0000 viced-hcps-logging-20060504 log whenever a client host does not have an hcps value. log the host by dotted ip-addr and port number commit 97a9d1964347e2b4b0f75e749b4d8f36d09fc876 Author: Tommie Gannert Date: Sun Apr 30 05:58:28 2006 +0000 windows-ansi-filenames-fix-20060430 FIXES 31202 Remember to perform an OemToChar() conversion of the file name being queried in Trans2QueryFileInfo commit 702e3346f36d448af8901d31c543d9d4b35bfa81 Author: Tommie Gannert Date: Wed Apr 26 16:22:33 2006 +0000 vlserver-rxmaxmtu-fix-20060426 use 'index' as offset to argv commit bf7404c3510d63b90c2cb15766f8455f79da90fe Author: Jeffrey Altman Date: Thu Apr 27 16:49:55 2006 +0000 windows-deadlock-and-race-removal-20060427 This patch fixes: * race conditions around cm_Lock() calls that were not protected by cm_SyncOp(LOCK) [asanka@secure-endpoints.com] * deadlocks caused by obtaining smb_fid_t->mx after cm_scache_t->mx * removes an extra Release smb_fid_t->mx that could result in releasing a mutex that is not currently held * changes the log representation of several return codes and fids to be consistent with other output commit b2b3aa1afb592955a9478c43367052fda6f4ffbd Author: Rainer Toebbicke Date: Wed Apr 26 16:43:17 2006 +0000 namei-delay-fsync-20060426 FIXES 30632 group fsync calls to speed up operations commit 9677ca31860dd39749e7b3c2695d7209c1737cb6 Author: Derek Atkins Date: Wed Apr 26 16:40:43 2006 +0000 os-probe-linux-2-6-9-20060426 FIXES 30514 make this work on 2.6.9 commit 811b7f89e83e327a96c2c4dffd2a9a58d784f88a Author: Christof Hanke Date: Wed Apr 26 16:36:21 2006 +0000 pam-configure-optmz-20060426 FIXES 30659 get rid of hardcoded optimize flags commit 5452bc370977d6911282b836d4725587a45f3285 Author: Derrick Brashear Date: Wed Apr 26 16:03:20 2006 +0000 md5-fix-20060426 the user struct macros hate us commit a88cb6c662d7fc0daed043ba40d971f4b5d2a05a Author: Jeffrey Altman Date: Wed Apr 26 14:56:31 2006 +0000 linux-probe-missing-commas-20060426 FIXES 30977 Add missing commas for non-2.6 x86_64 platforms commit ecdc5aca34b0f0dc6bf67eb95f8e6506c556ca26 Author: Jeffrey Altman Date: Tue Apr 25 07:40:48 2006 +0000 viced-write-locking-fix-20060425 According to src/libacl/prs_fs.h the PRSFS_LOCK privilege is only supposed to control read-locks. The PRSFS_WRITE and PRSFS_INSERT privileges are supposed to control write-locks. commit 7d46e23621515da4a6eeb68be72ce086a86dbb12 Author: Jeffrey Altman Date: Mon Apr 24 16:02:48 2006 +0000 windows-version-20060424 1.5.1 commit 67a28f0875fe7d96e028b5abee9a0e0d2e8a7112 Author: Jeffrey Altman Date: Mon Apr 24 16:00:50 2006 +0000 windows-notes-20060424 notes for 1.5.1 commit edff1e8788a2cadfd6bb9e08f9cfdbfb491924a6 Author: Jeffrey Altman Date: Mon Apr 24 15:25:12 2006 +0000 windows-pthread-cleanup-20060424 A number of crash reports have been filed with Microsoft in afspthread.dll. The crashes are occuring as the processes are terminating. In order to attempt to address this problem this patch adds support for a DllMain() entry point that is used to cleanup Thread Local Storage and the various RX queues. One theory is that processes are loading and unloading DLLs that are linked to afspthread.dll leaving the pthread data in a very inconsistent state after each unload. By cleaning up the static data during the unload, if afspthread is loading again it will be forced to initialize the data once again. commit 237ab6e5ba1e385d70601b48c89a56a409cc3050 Author: Jeffrey Altman Date: Sat Apr 22 20:44:28 2006 +0000 windows-insert-locking-without-afsid-20060422 This patch disables the lookup of the user's AFSID and instead solves the problem by tracking which cm_user_t created the file. If the user is unable to obtain a write lock and is the creator, then we check for the Insert bit. Otherwise, we deny access. commit d463c0f7c62472b699c89ae406e7a622ff81092d Author: Jeffrey Altman Date: Sat Apr 22 04:45:47 2006 +0000 windows-vista-20060421 Vista has a bug in the Netbios ADAPTER_STATUS output in which the first four bytes of the MAC address with 127.0.0.1. We must check for that when searching for the Loopback Adapter. commit 106d23c3ec8e3fc8a5d6f33ac0bd1f6020b787b3 Author: Jeffrey Altman Date: Fri Apr 21 16:08:17 2006 +0000 windows-notes-20060421 updates post 1.5.0 commit dc39c28d68f0122691d6f6059eaed90ddb2a4768 Author: Jeffrey Altman Date: Fri Apr 21 16:03:34 2006 +0000 windows-rx-init-fallback-20060421 when the cache manager is being frequently restarted (especially during debugging) the 7001/udp port is often not freed appropriately. This prevents the cache manager from running. This patch allows the cache manager to retry with a random port number. commit 507f4f14f8e620736b85904a0b98cbf4c355419e Author: Jim Rees Date: Fri Apr 21 15:58:38 2006 +0000 openbsd-packaging-20060421 Use tar and shell scripts instead of pkg_ for packaging. The new package system apparently depends on ports and can't be used standalone. commit 270e5a9077f7f217eb3188768fd9e2d6e1bc15e8 Author: Jeffrey Altman Date: Fri Apr 21 14:52:02 2006 +0000 windows-wix-20060421 missing close paren commit 625d0a2016cb914040a94fb811849ff25eab8dfc Author: Asanka Herath Date: Fri Apr 21 05:57:55 2006 +0000 windows-wix-32bit-tools-20060420 Add support for build a 32-bit tools package for use on 64-bit Windows. commit 4a1296c25ad8320ec72035b063910ca33c0c093f Author: Asanka Herath Date: Thu Apr 20 19:52:03 2006 +0000 windows-client-side-locking-20060420 In order to make the client side locking more usable, if the client is denied a lock by the server and the user only has read privileges, then we will allocate a local lock. Local locks are not allocated for write locks. There is a bug in the file server locking dating back to at least AFS 3.1 in which the lock privilege is used for read, write and insert locks. According to the docs, the lock privilege is only supposed to control read locks. Write locks on new and existing files are supposed to be controlled by the Write and Insert privileges. This will be fixed in the file server by another commit. commit 01fe275679740d516b78a477c8976fbefe1217b4 Author: Jeffrey Altman Date: Thu Apr 20 18:19:22 2006 +0000 windows-query-afsid-20060420 In order to properly handle the local allocation of locks the cache manager must enforce the locking rules associated with PRSFS_WRITE and PRSFS_INSERT and PRSFS_LOCK. Insert affects "new files" which in AFS are defined as any file that is owned by the user. Therefore, we must know the afsid of the user so that it can be compared to owner of the file. This commit includes a query using PR_SNameToId where the name is the name specified by the entity setting the token. There does not currently exist a Protection Service RPC to return the AFSID of the entity that the rx connection was authenticated as. Such a function will have to be added in order to make this functionality secure. ==================== 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. ==================== Export functions missing from the UNIX version and the PR_ functions required by the Windows Cache Manager. commit 06250078ecef7e8cb65ab2bd3aec85608bcb39db Author: Jeffrey Altman Date: Mon Apr 17 19:59:41 2006 +0000 rx-dpf-20060417 fix dpf to print the right thing and not simply fail to compile commit 8074632d6938e965d3f02cc07359d85276c25dbc Author: Jeffrey Altman Date: Mon Apr 17 16:20:50 2006 +0000 volser-dump-validate-input-20060417 This patch adds code to perform return code error checking for all calls to the ReadXyz() routines. If the rx connection was lost or if the dump format being parsed was incorrect there was an opportunity for data to the processed after an error had already been detected. In the best case this would have simply resulted in additional work being performed when it was not necessary but there was also the potential for modifying return values which would later be used as input to later operations. Better to simply catch the error when it initially occurs and be done with it. The ReadString() function had the potential to write into one byte prior to the start of the input array. ProcessIndex() would not properly close Fdhandle nor the StreamHandle if an error was detected. RestoreVolume() had a problem with the processing of incremental dumps. Originally AFS supported a concept of incrementals dumps which when restored would simply add their contents to the existing volume. One of the distinctions between the incremental and full dumps is that full dump processing is responsible for removing any vnode entries from the volume that are not present in the dump file headers. When the incremental dump support was removed, the RestoreVolume() function was broken. If a dump file contains multiple Dump Headers, then only the vnode entries in the first Dump Header would be marked as being restored. Any vnode entries restored from subsequent Dump Headers would be deleted when the RestoreVolume() function reached the end. By removing the assignment of 'tdelo = -1' within the loop that processes the Dump Headers, this bug is resolved. Although RestoreVolume is only called with the 'incremental' parameter == 0 at the current time, the check for non-zero values is restored and the "remove unrestored vnodes" functionality is disabled when a non-zero value is provided. The ReadVnodes() function did not perform error checking. commit f8103d800d8136d9f19fc880497741da859ff830 Author: Andrew Deason Date: Mon Apr 17 15:59:04 2006 +0000 vos-date-parse-errmsg-20060417 FIXES 30218 use the correct index value when printing the invalid date string commit c77421ff087d059b8723b8e44f19a87e860d5593 Author: Tom Keiser Date: Fri Apr 14 14:12:16 2006 +0000 aix-build-fix-20060413 FIXES 30089 don't include this other than in kernel commit bbf4620d2d5c0d80d01f737b5bdda794453dd4ad Author: Derrick Brashear Date: Thu Apr 13 22:08:19 2006 +0000 irix-ifnet-flags-20060413 make ifnet_flags b e defined for irix also commit 4d91ee63efb8b00dd2e6a1a50072928a94673175 Author: Derrick Brashear Date: Tue Apr 11 20:40:19 2006 +0000 inode-64bit-type-20060411 use a 64 bit type for 64 bit inode size with inode fileserver commit 9ebf2fed4a1af7134fa86d09c865802b05ed27d1 Author: Rainer Toebbicke Date: Tue Apr 11 20:27:03 2006 +0000 backup-dump-parameter-fix-20060411 this is a pointer, not an int, pass in NULL not 0 commit f1ef60c020feffb73b2aee4c1871afba039afb67 Author: Jeffrey Altman Date: Mon Apr 10 18:57:33 2006 +0000 windows-remove-active_vcp-20060410 The 'active_vcp' variable is no longer being used for any useful purpose and is the center of a race condition that could lead to an undercount of references to 'vcp' objects. Remove it. commit b85118420f7493dd5e61d5a1da35c6ffb28985b5 Author: Russ Allbery Date: Mon Apr 10 17:41:22 2006 +0000 man-page-fs-listquota-perms-20060410 fs listquota requires read on the directory, not list. commit 632d0c701b31877b4d74f5f3849a5a8054f7326a Author: Jeffrey Altman Date: Sun Apr 9 08:28:58 2006 +0000 windows-getvolstatus-20060408 don't prevent all calls to getvolstatus, just the ones that are not AFS pioctl calls. commit b9f22f0b7b9bf9aa746d3ef8ea63465b1cdadb97 Author: Jeffrey Altman Date: Sun Apr 9 05:52:38 2006 +0000 windows-protect-against-vcp-undercount-20060408 An undercount has been detected of the smb_vc_t objects stored in the smb_allVCsp list. Unfortunately, we have yet to be able to find the cause of the undercount so this patch adds logic to protect against the side effects until such time as the cause can be identified. commit 9817af2a81eded29eeefcf8ef4445301a7d348ea Author: Jeffrey Altman Date: Sat Apr 8 20:40:15 2006 +0000 viced-store-data-validate-input-20060408 The old StoreData RPC is only supposed to be valid for files smaller than 2GB. When StoreData64 was added, StoreData and StoreData64 were implemented as calls to common_StoreData64. This removed the bounds checking on the old StoreData RPC making it possible for operations beyond two 2GB to be requested even if the file server cannot support them. This patch adds a validity check to ensure that the requested file operations remain below 2GB. Failures return E2BIG. commit b9282fbe0f9c4eec359ecdce77b35c88cde54793 Author: Jim Rees Date: Fri Apr 7 18:26:49 2006 +0000 bsd-md5-20060407 Use kernel md5 on bsd. commit 78bb852509767ff32547c8dc90c385a4c503e0f9 Author: Jeffrey Altman Date: Fri Apr 7 06:34:26 2006 +0000 xstat_fs-fix-20060407 as pointed out by cg2v@andrew.cmu.edu the addition of performance collection data for the GetCapabilities RPC broke backward compatibility with previous builds because it altered the size of the data structure sent on the wire. Instead we count the number of GetCapabilties calls but do not gather performance timing data as this can be done using spare fields. commit 714df786894e6a9572e93d77b68384706abb02f0 Author: Chaskiel M Grundman Date: Fri Apr 7 06:21:38 2006 +0000 linux24-fix-osi-probe-20060407 linux-updates-20060331 broke 2.4 kernels commit 1b0f8949f1a7daf8614a5b6c9c65c68e70c37917 Author: Jim Rees Date: Thu Apr 6 15:39:04 2006 +0000 calc-inum-linux-only-20060406 Disable md5 inode calc on non-linux. commit a67acd0e9abc4b5a894db26887128a90e3016d65 Author: Derrick Brashear Date: Thu Apr 6 02:24:21 2006 +0000 md5-inode-numbers-20060405 FIXES 25849 an interface which lets you select md5 based inode numbers, and the csupporting code ==================== 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. ==================== FIXES 25849 an interface which lets you select md5 based inode numbers, and the c^?supportin g code commit b3120246765e9f5d144ac470b66269ccbbce48a9 Author: Derrick Brashear Date: Wed Apr 5 14:45:58 2006 +0000 macos-packaging-update-20060405 FIXES 29226 copy cellservdb if there is none commit e687de8609045b46044876dc2f5941b038639714 Author: Jim Rees Date: Wed Apr 5 01:21:56 2006 +0000 test-heimdal-20060217 Add a configure test for heimdal and use it to build asetkey or not. Thanks to Derek Atkins for his helpful suggestions. commit a64e7f34bd3ea8912286b043428dfdeb3a3a37cc Author: Jim Rees Date: Tue Apr 4 22:32:22 2006 +0000 syntax-err-20060404 Fix syntax error (missing braces) Fix include file ordering Don't declare *tmpdir extern, we're initializing it here (even though there's no reason to) Fix OnlyOneVolume args to match proto commit 54ce580ef3fdb6c98a80d1104728b1e25d3fb9ff Author: Derrick Brashear Date: Tue Apr 4 21:51:13 2006 +0000 time-t-casting-fixes-20060404 FIXES 15169 hopefully the rest of this commit 62e28d9a0a6adc6e1f3c2938bfc530b54bea4158 Author: Chaskiel M Grundman Date: Tue Apr 4 02:41:12 2006 +0000 linux-enroll-locks-20060403 FIXES 25037 enroll our locks in the linux kernels' lock management commit ef95f2a0ce318e4c5ecad0d533b2b8e13040188b Author: Chaskiel M Grundman Date: Tue Apr 4 02:35:15 2006 +0000 vnop-ifdef-cleanup-20060403 make this less messy commit 14d6771b9ddb413d2e870c57a4ade070b5b045f0 Author: Jim Rees Date: Mon Apr 3 17:22:30 2006 +0000 iso-8601-20060403 Parse a pitiful subset of ISO 8601 in date/time strings commit 0fd8768c859b549c2294dcb4dc4cb315deb7caad Author: Jeffrey Altman Date: Mon Apr 3 00:54:40 2006 +0000 windows-minidump-20060402 change minidump default to include data segments commit f3cf7bcda211c0f6b305db309fe402d08206f8a9 Author: Jeffrey Altman Date: Mon Apr 3 00:44:56 2006 +0000 windows-util-makefile-20060402 remove duplicate entry for strlcpy commit ea59126e31672e3a1ed2958ea10ef5dbad24813e Author: Chaskiel M Grundman Date: Fri Mar 31 06:51:03 2006 +0000 linux-updates-20060331 FIXES 29122 29110 29112 fc5 and 2.6.16 updates commit f86af4af2600707f0573d6a5623b32116b4b0656 Author: Jim Rees Date: Thu Mar 30 18:13:39 2006 +0000 nat-mode-20060330 Code for "nat mode." Currently there is no way to set it, because it would be a bad idea to make this available to the casual user. commit d387dba5efc88b14696b72e6b18cfb1af264be04 Author: Derrick Brashear Date: Thu Mar 30 17:27:52 2006 +0000 viced-gethostcps-byte-order-20060328 don't call GetHostCPS after swapping away from net byte order commit 5b20ed35114473061015d3ff1904c12d0790c7ea Author: Russ Allbery Date: Wed Mar 29 21:44:16 2006 +0000 man-page-asetkey-20060329 Add a man page for asetkey. commit 5f70d9bb3ce0d1bb5db6604a53c52f483449e0d3 Author: Russ Allbery Date: Wed Mar 29 21:00:50 2006 +0000 man-page-kaserver-fix-20060329 SYNOPSIS was mislabelled DESCRIPTION and the man page was therefore missing the HTML formatting fixes. commit 2c96a91ba42674e35ca7d54c0c20a1725b733e37 Author: Derrick Brashear Date: Wed Mar 29 06:26:49 2006 +0000 viced-client-keep-conn-ref-20060329 FIXES 28966 keep a ref on the conn the client has a pointer to commit 1904db3fa3a0765f63ae4ecac23a8464818f1e9c Author: Derrick Brashear Date: Wed Mar 29 05:13:58 2006 +0000 viced-gethostcps-byte-order-20060328 don't call GetHostCPS after swapping away from net byte order commit a4f24472aa7abee6500188c6bb3acabcf96377bc Author: Garry Zacheiss Date: Tue Mar 28 19:39:45 2006 +0000 afsdb-len-signed-20060328 in order for -1 to ever be returned, it's gotta be signed... commit 467127075872971354e8dce10b7d596714448e04 Author: Jim Rees Date: Mon Mar 27 18:27:38 2006 +0000 ignore-new-targets-20060327 cvsignore new targets commit 1db522b6ac7df1d5f569d4cd654ead4dcbea91b4 Author: Derrick Brashear Date: Thu Mar 23 21:06:18 2006 +0000 debian-updates-20060323 from russ and sam commit 5a1bd817b82ad613b1b63738dfa4a08746531a96 Author: Derrick Brashear Date: Wed Apr 5 01:11:15 2006 +0000 build-system-updates-20060323 config.sub config.guess and some other scripting updates commit bb96daf441402cb6def2c20cc20f51d3d160b6e1 Author: Derrick Brashear Date: Thu Mar 23 16:07:30 2006 +0000 macos-packaging-fixes-20060323 update to make sure we have a cellservdb, that we shut down afs before an upgrade, and install the universal binary build script commit a1041136186dba50f035ddc9b97fbfb86469b504 Author: Derrick Brashear Date: Thu Mar 23 15:35:53 2006 +0000 afsd-fs-check-20060323 from debian, modified slightly. tell people why their filesystem sucks commit db8d1da77aa792e0d042bf5dbe041c534350b277 Author: Russ Allbery Date: Thu Mar 23 05:41:02 2006 +0000 man-page-todo-20060322 More to-do items for the documentation. commit c0ce1b880a48661ac307477317091a63e9763623 Author: Derrick Brashear Date: Wed Mar 22 20:05:47 2006 +0000 sunos-dos2unix-20060322 dumbest change ever commit 681419e6eda37488fee938c8abc1a59bbf2764c9 Author: Derrick Brashear Date: Wed Mar 22 19:57:04 2006 +0000 parisc-linux-lwp-20060322 pulled in from debian commit 095f64a7e9125a173a42d4ab95acba30ae21aa23 Author: Jeffrey Altman Date: Mon Mar 20 17:29:52 2006 +0000 windows-dafs-20060320 64-bit time_t pointer update ==================== 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. ==================== correct a type for consistency ==================== corrections to the dafs delta to allow compilation on Windows commit 2d43189490c04357e23329929c2c1846ed0c7ab0 Author: Asanka Herath Date: Mon Mar 20 17:20:01 2006 +0000 windows-64bit-wix-installer-32bit-tools-20060320 Construct an MSI for installing 32-bit AFS tools and libraries on 64-bit Windows for use with 32-bit Kerberos tools. commit c56c8a9b80ee96c1765fa0c186dcabe28fc3e5eb Author: Jim Rees Date: Mon Mar 20 16:15:23 2006 +0000 strl-20060320 src/util/strlcat.c src/util/strlcpy.c commit b8cbfc363767e07a80b5759c8df5383e4f04d65f Author: Derrick Brashear Date: Mon Mar 20 16:01:22 2006 +0000 tvolser-try-ntmakefile-20060320 first cut at ntmake for tvolser commit e6f0c0c68f6b4d415484eed556dd65bcaacc9585 Author: Jeffrey Altman Date: Mon Mar 20 13:38:36 2006 +0000 another-time_t-pointer-fix-20060320 do not pass in pointers to 32-bit values as pointers to 64-bit values commit 1b2fbe5fa9384eb5e1b19487eb6b0d201bea975e Author: Jeffrey Altman Date: Mon Mar 20 13:25:50 2006 +0000 another-time_t-pointer-bug-20060320 do not pass pointers to 32-bit values as pointers to 64-bit values. this results in memory corruption commit 3f061cc2c3a8998d8c8e34a49d5fb964bb434a08 Author: Pedro Perez Date: Mon Mar 20 04:45:06 2006 +0000 configure-help-clarity-20060319 Change "AFSDB RR" to "AFSDB DNS RR" for people who don't speak DNS. commit 8c622ec7d7d89b8272b6d190c3865e0560da47cb Author: Pedro Perez Date: Mon Mar 20 04:41:23 2006 +0000 readme-references-20050319 Refer to the right names of the extra README files. commit e63312e79aa747232239030807595356f40bc367 Author: Russ Allbery Date: Fri Mar 17 23:10:50 2006 +0000 sparc-linux-config-20060317 Collapse all of the sparc*_linux* cases into a single case. Not just for ease of maintenance -- this also results in clearer error messages for configurations that aren't supported and should allow building of the userspace tools for a few @sys types that the kernel build doesn't support. Reported by Michael Conrad and Karl Ramm. Patch has been in the Debian package for some time. commit 51ec2670116d95bb6bdcd7871fce685fc2eaaeb0 Author: Tom Keiser Date: Fri Mar 17 19:54:26 2006 +0000 dafs-20060317 FIXES 26648 demand attach/fast restart fileserver commit cba4f12e172ed6b7901b57709037c1f43febc309 Author: Derrick Brashear Date: Fri Mar 17 19:44:06 2006 +0000 dedebug-20051007 perhaps this should never be pulled up. anyway, implement dentry cache status dumping for linux.^? and provide a tool to dump it disabled (tool, not rpc) by default commit a9102a89f046e578df9e0e165e34c951a10b2c22 Author: Jim Rees Date: Wed Mar 15 19:32:49 2006 +0000 fix-includes-20060315 Now that we include arpa/inet.h, also include its prerequisites, and fix the ordering. commit c6203bc67e31d40a95f7ef5a4689d1d6b1b2ccd9 Author: Rainer Toebbicke Date: Wed Mar 15 18:34:26 2006 +0000 snprintf-needs-arpa-inet-20060315 FIXES 28226 include arpa/inet.h so we get inet_addr prototype commit 5c408ee134b096352d140b1ce6b58edcf6e492d5 Author: Dave McMurtrie Date: Wed Mar 15 18:27:43 2006 +0000 tokens-buffer-overflow-20060315 FIXES 28227 avoid a too-short buffer we try to fill with a username. doh. commit 9340a22d6eb7a0399630cbe332bf947fd534c3ee Author: Tracy Di Marco White Date: Wed Mar 15 18:22:30 2006 +0000 nbsd4-20060315 FIXES 27916 netbsd 4.0 support commit 5ca54f23629145a9452345bd2d514b8fb571f735 Author: Chas Williams Date: Wed Mar 15 16:26:06 2006 +0000 linux26-module-parm-versus-param-20060315 FIXES 27588 deal with 2.6 changes commit 247273c51b10fca2c8f5633d203aa6a042e19b3b Author: Neale Ferguson Date: Wed Mar 15 16:15:07 2006 +0000 s390-linux26-20060315 add s390 linux26 support commit a8b82b1a744859a3ce2796fd17f997e0bdd2b570 Author: Jeffrey Altman Date: Tue Mar 14 00:33:14 2006 +0000 viced-unspecified-host-hash-port-20060313 h_Alloc_r was not specifying the port for the newly allocated host when adding the host to the hash table. Use hashInsert_r instead so mistakes like this won't happen in the future. commit b89082ac8926fb77d505e5ad35c2c22c0e355114 Author: Jim Rees Date: Mon Mar 13 23:15:44 2006 +0000 cmd-protos-20060313 Fix protos for cmd funcs. commit 9afcb2529a72f0169313d65b8410f5093d14fc0a Author: Chaskiel M Grundman Date: Mon Mar 13 20:53:14 2006 +0000 viced-log-fix-typo-20060313 fix typo in addInterfaceAddr_r that is identical to the one that was fixed by viced-log-fix-type-20060210 in removeInterfaceAddr_r commit b1883ef6ad619ffa1fb76caf5d3568f69c1e3136 Author: Jim Rees Date: Mon Mar 13 19:18:07 2006 +0000 no-clid-for-bsd-20060313 Back out rev 1.28 for BSD. On BSD, clid is not necessarily a pid. Passing it to HandleFlock results in client hangs. commit 9d3faf66086f47b0cd4551075b336ee0ea567979 Author: Jim Rees Date: Mon Mar 13 16:26:27 2006 +0000 curproc-20060313 Possible fix for curproc panic reported by ober@linbsd.org. My guess is it will fix this one but others are lurking. commit 7b33107a9c92d8d72ad269c2c1da9a4adc52560a Author: Jeffrey Altman Date: Mon Mar 13 15:09:40 2006 +0000 multiple-local-realms-fix-20060313 Fix use of "=" instead of "==" in conditional. Re-order parameters of afs_is_foreign_ticket_name for consistency commit 9b1fa66828ecb02d782378f1717ac813ff657fdf Author: Jeffrey Altman Date: Thu Mar 9 21:49:04 2006 +0000 host-tossstuff-locking-20060309 the nonblocking locking was my fault. commit cc324ae0653a7d2170a065f61b8475d76cdf03c1 Author: Rainer Toebbicke Date: Thu Mar 9 16:25:48 2006 +0000 xstat-fs-callbacks-20060309 FIXES 27912 add new collection with callback stats commit d451a366fba93bdbfcd1dd40adf2335ed2d7adf7 Author: Jim Rees Date: Thu Mar 9 15:27:17 2006 +0000 openbsd39-20060309 Changes for OpenBSD 3.8 and 3.9. Based on ports by ober@linbsd.org and todd@fries.net. Untested. commit 346d85adb00b34473bbec176184df40bf4b245bc Author: Jim Rees Date: Thu Mar 9 14:36:35 2006 +0000 fstab-moved-20060309 fstab.c moved from viced to util commit 9f94892f8d996a522e7801ef6088a13769bee7c2 Author: Ed Moy Date: Thu Mar 9 06:35:14 2006 +0000 darwin-x86-and-leopard-20060309 updates for darwin x86, and pre-leopard commit 6e7d51187c881e6a785b88ccddbb083e52d58448 Author: Chas Williams Date: Thu Mar 9 06:05:46 2006 +0000 linux-updates-20060309 FIXES 27590 add missing variable test ==================== 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. ==================== FIXES 27589 update for new mutexes commit da878c2b9d11471b3e59fc9fe0694a5e23e373c2 Author: Russ Allbery Date: Wed Mar 8 20:05:59 2006 +0000 man-page-bash-bashish-20060308 if ! command is a bashish. Use if command ; then : ; else instead. commit c2535c0ee725657d2e06dd29fd3fba0ec3a66138 Author: Jeffrey Altman Date: Wed Mar 8 05:04:36 2006 +0000 rx-panic-printf-20060307 restore use of printf in osi_Panic commit 9dc84c8c6c4682ab3c0a536a7ac10e997724f2b0 Author: Jeffrey Altman Date: Mon Mar 6 21:23:09 2006 +0000 windows-mkmount-20060306 allow case-insensitive matches for the parent of the mount point commit d0c343249ce0aad22d9577dd9bfea2bd72857e06 Author: Jeffrey Altman Date: Mon Mar 6 20:07:08 2006 +0000 windows-init-20060306 fix sysname string on amd64 add registry configurable CallBackPort to allow for forcing the client to use different ports when talking with the file server. ==================== 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. ==================== add registry configurable CallBackPort to allow for forcing the client to use different ports when talking with the file server. Add UAE errors to cm_Analyze debug output commit 9c687f10d013e423fb75d8049cc224218257c104 Author: Jeffrey Altman Date: Mon Mar 6 05:01:22 2006 +0000 windows-smb-log-packet-20060305 packet strings can contain %; do not parse as a format commit 638eef405b802fb1215efc9e828996a8c6381067 Author: Jeffrey Altman Date: Mon Mar 6 03:11:31 2006 +0000 windows-xstat-20060304 ==================== 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. ==================== build xstat utils for windows ==================== more windows specific mods plus improved output of ipaddrs and port numbers when debugging commit c582cab1fb1708109f2aa26aab8eba189198e729 Author: Jeffrey Altman Date: Mon Mar 6 03:04:38 2006 +0000 windows-rx-lwp-clock-20060305 clock_Init() was broken because it would initialize rxi_clock0 with QueryPerformanceCounter() and then call clock_UpdateTime(). So instead of getting an ever increasing value you would get a fixed value determined by how long it takes to make a function call between to QueryPerformanceCounter() calls. commit f803153c992af44cea18f4c948c7f3fb2a72da45 Author: Jeffrey Altman Date: Sun Mar 5 22:31:11 2006 +0000 viced-host-type-consistency-20060305 make sure all the types for host and port are consistent commit cea063c0d48bb81c6349298ecdf5dfcc0f39733b Author: Jeffrey Altman Date: Sun Mar 5 20:53:28 2006 +0000 windows-no-smb-ioctl-info-20060305 don't support functions we don't implement. the CIFS trans2 get info ioctl is not equivalent to the AFS Get Volume Status function commit 3e70b7f3656be0a40fe45fb8ad9815abd2f541fe Author: Jeffrey Altman Date: Sun Mar 5 05:36:40 2006 +0000 viced-unsign-haddr-hport-20060304 haddr and hport should be unsigned commit 127ea5ae7df2d1441d4e636506ebadb07664311c Author: Jeffrey Altman Date: Sat Mar 4 22:02:57 2006 +0000 xstats-getcapabiliites-20060304 add the GetCapabilities RPC to the ops table commit 943dfd7a1e17a3232a44fd7d7bc6843ef50cdff8 Author: Jeffrey Altman Date: Sat Mar 4 21:39:25 2006 +0000 windows-deadcode-20060304 commit 3adadbb2281b5cf2b6cd854bfda7860c70792554 Author: Jim Rees Date: Fri Mar 3 20:27:23 2006 +0000 const-args-20060303 add const qualifiers to pr_Initialize and vl_Initialize args commit 8a0016cabd026bd586fc27a1dfad3220c66e4457 Author: Jeffrey Altman Date: Fri Mar 3 19:26:21 2006 +0000 viced-fix-tcallhost-20060303 fix type and declaration location commit 58b4069926c0e18c11c3fbe0969e94a269463183 Author: Jeffrey Altman Date: Fri Mar 3 18:26:45 2006 +0000 viced-remove-premature-commit-20060303 remove premature LockUpgrade/LockDowngrade commit commit f251b03175d5f58f4adbfd84dc29ab0a87cc71cb Author: Jim Rees Date: Thu Mar 2 22:42:56 2006 +0000 sysincludes-first-20060302 afs/sysincludes before other sys includes, please. commit 9da217cee811df78f07f47f51ad8202d1b47f812 Author: Jim Rees Date: Thu Mar 2 22:34:27 2006 +0000 probe-interval-20060302 Make probe_all interval tuneable, although there is no easy way to set it yet. commit c9a4d3363bc11722e017cac4ee83cbeb5d9583f7 Author: Chaskiel M Grundman Date: Thu Mar 2 06:42:47 2006 +0000 callback-get-refs-20060302 more updates, focused on issues found working at darwin, but actually generic issues commit d1156ad4f9b1e0fb07275fff976890fd3bc90e05 Author: Chaskiel M Grundman Date: Thu Mar 2 06:39:45 2006 +0000 refridgerator-update-20060227 try to make refrigerator work again commit c472a9c9165b3b742afd97b65c987b325c478b00 Author: Chaskiel M Grundman Date: Thu Mar 2 06:35:59 2006 +0000 darwin-access-exec-only-20060302 FIXES 27553 don't misenforce mode bits commit 8bfa2cdc6e79bf683ea035526e261940d1257daa Author: Chaskiel M Grundman Date: Thu Mar 2 06:33:44 2006 +0000 darwin-remove-fix-20060302 move the if inside the condition so we aren't screwed up on tiger commit 1cc6cddd85f8906b3b4a777b21e0981bbe1454f1 Author: Tracy Di Marco White Date: Thu Mar 2 06:31:30 2006 +0000 nbsd-30-pthreads-20060302 update for netbsd 3.0 commit c2ef97ea657f27af5fdc7811a8b6bb21ed535707 Author: Jeffrey Altman Date: Thu Mar 2 06:22:15 2006 +0000 viced-fix-comment-20060301 fix comment in h_GetHost_r commit 10f8d509df3a69e6dc684cfd81b5809adc5c9b09 Author: Chaskiel M Grundman Date: Thu Mar 2 06:21:42 2006 +0000 remunlink-needs-iocount-20060302 FIXES 27493 keep needed iocount for remunlink on darwin 8.0 commit 84a24d096c1159aef3aeec4b27d154f47acdcab9 Author: Jeffrey Hutzelman Date: Thu Mar 2 06:16:59 2006 +0000 viced-preamble-postamble-20060301 If the host obtained during the CallPremable and CallPostamble differ, then there is the possibility of a hold leak. This patch is a quick attempt to deal with the potential problem. If the problem occurs we log it in order to know for sure if this is in fact a problem. If it is, then at a later date we should perform a more extensive re-write in which the CallPreamble is used to obtain the host and the client and pass them both back to the caller which would not be required to obtain them again at a later date. commit 36a8e29045adfcf5d3c144b0ff0bc9d1398d11b0 Author: Jeffrey Altman Date: Wed Mar 1 19:12:05 2006 +0000 viced-h_Enumerate_r-fix-20060301 In h_Enumerate_r it is possible that the host may be released by the called procedure. Therefore, we must preserve the pointer to host->next before the call and hold the host it points to in order to ensure that it does not disappear out from under us. This ensures that although the H_LOCK can be dropped during the procedure and the host list can be rearranged we won't miss more than a handful of hosts during the enumeration. commit 31fd9994db1c58d5e851e5a0bd9d04a031557c8d Author: Jeffrey Altman Date: Wed Mar 1 06:42:46 2006 +0000 viced-h_gethost_r-host-hold-leak-20060228 when h_GetHost_r replaces 'host' with 'oldHost' we need to release the hold on 'host' and maintain the hold on 'oldHost' because if a hold was placed on 'host' in CallPreamble() it will no longer be released in CallPostamble() since 'oldHost' will now be bound to the client commit 6f707d94064646762e7014d19840b5b2902b3a4e Author: Jeffrey Altman Date: Wed Mar 1 05:04:00 2006 +0000 viced-client-refcount-leak-20060228 SRXAFS_CallBackRxConnAddr calls h_FindClient_r which returns a client with a refCount and the client->host held. The call to CallPostamble will release the host hold but not the client refcount. commit fc5acc01517260c661097cf84bddc359ca060bd3 Author: Russ Allbery Date: Wed Mar 1 05:02:29 2006 +0000 pretty-html-synopsis-20060228 Implement proper synopsis wrapping for HTML generation. This was done in three pieces. First, add HTML-specific tags to the POD to mark the synopsis for HTML purposes so that we can apply style information to it. Second, update the style sheet to indent all lines except for the first in the synopsis section. Third, add the appropriate S<> tags around option and argument pairs so that we don't wrap between the option and its argument. Unfortunately, due to the > style that looks nicer for other reasons, we have to use the very verbose S<<< >>>. Oh well. commit 2bd46f8a3915a37720e68d10a56a0ec33f508f67 Author: Jeffrey Altman Date: Wed Mar 1 04:08:57 2006 +0000 viced-host-hold-leak-20060228 fix a host hold leak although this one rarely occurs. commit fed1cdb02241f6cffee9cdcb5d334f227fd011bb Author: Russ Allbery Date: Wed Mar 1 00:12:52 2006 +0000 html-style-todo-20060228 Some style sheet updates and lots of to-do updates based on feedback from C. Alex North-Keys. commit 6321cca1a5bdda2c9e8d9688d220eff0edd850f9 Author: Russ Allbery Date: Tue Feb 28 23:43:03 2006 +0000 html-link-fixes-20060228 Make the mentions of subcommands in the fs command introduction links to the relevant pages, and add to README a to-do note to do this for the rest of the introductory pages. Fix links to man pages that contain underscores by working around a bug in Pod::Simple. commit 2c825a859033574b714c00d0e16ce06f126e1d6d Author: Jeffrey Altman Date: Tue Feb 28 23:24:23 2006 +0000 viced-panic-if-maxhosttables-exceeded-20060228 Do not allow HTBlocks to allocate more blocks than will fit in hosttablesptrs. Doing so corrupts memory. Panic instead until we can get this fixed right. commit 1705109815189f2c03323bc154feb639c76180ad Author: Todd M. Lewis Date: Tue Feb 28 23:09:08 2006 +0000 up-m-docs-20060228 Document the -m flag to up. commit 79a7ddac4da960e3337b7792f8a44fc82514f81d Author: Russ Allbery Date: Tue Feb 28 21:17:27 2006 +0000 amd64-linux26-fix-20060228 Restore the previous code for AMD64 under Linux 2.6, as the generic Linux 2.6 code apparently does not work with all AMD64 kernels. commit c41253bda7340f19b5f16d009393bf32f30ad24c Author: Chas Williams Date: Tue Feb 28 00:17:52 2006 +0000 systm-h-header-inclusion-20060227 FIXES 24765 avoid implicit references by including the prototypes from the header except on linux ==================== 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. ==================== FIXES 24765 avoid implicit references by including the prototypes from the header except on linux commit 9243beff2b7677dbfc5259a534625b2252f0fc54 Author: Chas Williams Date: Mon Feb 27 20:46:25 2006 +0000 pod-updates-20060227 FIXES 26463 update pod files to deal with some section number changes commit ff1d11169bc19aeb451a97e8ccdc14e1109031e7 Author: Chaskiel M Grundman Date: Mon Feb 27 20:36:24 2006 +0000 tiger-updates-20060220 update lpioctl, setattr and free tuios commit 888b038c92c222f0ebb4b61f9f96bd56ce75dfed Author: Chaskiel M Grundman Date: Mon Feb 27 20:34:10 2006 +0000 darwin-bsd-flock-20060227 FIXES 25544 deal with posix flag in flock request on darwin commit df0ebd8b903eb5f62fb7e34c198020068d144669 Author: Derrick Brashear Date: Mon Feb 27 20:17:21 2006 +0000 shut-up-fucking-whiner-20060227 without further comment commit 50ed43bfb45202fb288130c0e716db013391d855 Author: Jim Rees Date: Mon Feb 27 18:31:18 2006 +0000 indent-style-note-20060227 Document our official indent style. commit f800113c3b2cb921a818d8823950c2ffeb18815b Author: Jeffrey Hutzelman Date: Sat Feb 25 06:44:18 2006 +0000 rmtsys-up-limits-20060225 FIXES 27095 raise limits of constants in rmtsys commit 2024fe94cb331fe4eeeff3626617ab8090ce70ea Author: Hartmut Reuter Date: Sat Feb 25 06:39:20 2006 +0000 vnop-remove-revised-lock-order-20060225 FIXES 27176 drop the tdc lock even rearlier commit ff46f60c198840986800a0205366361d39a91d06 Author: Jeffrey Altman Date: Fri Feb 24 07:48:21 2006 +0000 windows-ioctl-20060224 FIXES 27225 properly compute the length of the ioctl output buffer for each data segment commit 1bc6c3a78cbace4e6555119fb3b7f6e7ecfc245a Author: Jeffrey Altman Date: Fri Feb 24 07:45:35 2006 +0000 windows-freelance-default-20060224 change freelance default to on. this matches what the installers do. commit 9a0b4cac5650b844e5c97922c6631d1e8e9653cd Author: Jim Rees Date: Thu Feb 23 15:52:23 2006 +0000 aclprocs-protos-20060223 Prototypes for aclprocs. Also some other prototypes for viced. commit d3113a14e81c02993749b8f3bf0421809793f46d Author: Derrick Brashear Date: Thu Feb 23 12:32:25 2006 +0000 softsig-thread-hack-not-on-nbsd30-20060223 based on comment from gendalia@iastate.edu commit edd97cb225b714474de0a631cb36bb35af8c846b Author: Jim Rees Date: Wed Feb 22 20:29:01 2006 +0000 viced-cleanup-20060222 Prototypes, dead code removal, and other minor cleanups commit a2530f03bacc9d9115782b49bda40fc01294a70d Author: Jeffrey Altman Date: Wed Feb 22 05:07:48 2006 +0000 rxkad-krb5-improvements-20060222 correct precedence of && and || in conditional to determine when tkt_DecodeTicket5() should be called. optimize order of ticket property evaluation to delay call to get_key() which will require that a lock be obtained until after we know that all of the other checks will succeed. commit 9306554f9cc4198414e99eaec332703653b8d348 Author: Jeffrey Altman Date: Wed Feb 22 05:01:31 2006 +0000 viced-log-get-key-failure-20060221 log afsconf_GetKey() failure commit 0ef21914dad5ddda3aba8ec3f3f894261edc5c08 Author: Jeffrey Altman Date: Wed Feb 22 04:07:34 2006 +0000 server-rxmaxmtu-option-20060221 add -rxmaxmtu to allow setting the max send and receive RX MTU size commit d7a60f50a40da4acc28fe7ebbd145a25a9ba8b6d Author: Jim Rees Date: Tue Feb 21 21:07:57 2006 +0000 fbsd61-20060221 Param file for FreeBSD 6.1. Builds, untested. commit 10947ccc74b0bef53e152c7275760ab8873a176e Author: Derrick Brashear Date: Mon Feb 20 21:49:17 2006 +0000 cache-autotune-20060220 put in defaults so an old afsd will still start ok. commit 4808977d7d0e49e5d260a26113fd97cb48d5f844 Author: Jeffrey Altman Date: Mon Feb 20 15:26:21 2006 +0000 viced-client-cps-race-fix-20060220 remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by changing h_ID2Client to return the client with a refcount and then release the refCount with PutClient. when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure to set the prlist_val to NULL if the prlist_len is being set to 0 since all of the tests are performed on prlist_val commit fc5bb308c77a211a796b4bb5de7952dc7a5630ed Author: Jeffrey Altman Date: Sat Feb 18 06:01:27 2006 +0000 rx-dpf-20060217 typo ==================== 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. ==================== conditionalize rx_intentionallyDroppedOnReadPer100 commit 9e3fdd9c3c2576ec9c5f465b2be936096ca20cd7 Author: Derrick Brashear Date: Sat Feb 18 04:58:28 2006 +0000 flushrec-prototype-20060217 add a prototype to shut up gcc4 commit 591d9c76c8d935809625cbaab248ca7c2770c751 Author: Chaskiel M Grundman Date: Sat Feb 18 04:53:34 2006 +0000 vnode-ref-verification-20060217 verify we got a ref when we call vnode_ref commit c135a53f926039009897b781555519ce366592da Author: Jeffrey Altman Date: Sat Feb 18 04:11:30 2006 +0000 rx-dpf-20060216 when dpf is in use, log error codes from abort packets and perform ntoh translation of addresses and port numbers. commit 55bdee41e635da3396ddd25234b3d5910921c1d5 Author: Chaskiel M Grundman Date: Fri Feb 17 21:57:12 2006 +0000 qremove-set-null-20060217 when we remove an object from a queue null its list pointers commit c320fae82541d3026c9d2a89ffce60fd17ad5ca5 Author: Chaskiel M Grundman Date: Fri Feb 17 21:43:42 2006 +0000 flushvolume-vhashq-consistency-20060217 avoid having vflushed vnodes in play commit 5e752a9cffcb057da595dcaebbf8d1a10c78b8f0 Author: Jim Rees Date: Fri Feb 17 17:58:21 2006 +0000 test-heimdal-20060217 Add a configure test for heimdal and use it to build asetkey or not. Thanks to Derek Atkins for his helpful suggestions. commit a8f0d4a30f55ac506cad1d82a416b2847ace99e6 Author: Derrick Brashear Date: Fri Feb 17 17:34:15 2006 +0000 hpux11-store-fd-sonner-20060217 FIXES 23112 based on report from jbuehler@spirentcom.com commit 167819c0c55a258357ff36cede5e79399d470a23 Author: Chaskiel M Grundman Date: Fri Feb 17 16:41:28 2006 +0000 darwin-x86-lwp-fix-20060217 make lwp work on darwin x86 commit 3d1e5e29f7a7a53c2286b81a59d67a2e4463112a Author: Jeffrey Altman Date: Fri Feb 17 15:35:38 2006 +0000 windows-notes-20060216 1.5.0 development build commit ca4fb5f2d08959e7296382318646047c452ba718 Author: Chaskiel M Grundman Date: Fri Feb 17 15:22:24 2006 +0000 darwin-lost-wakeups-20060213 eliminate the apparent lost wakeup problem in tiger commit 79cfa471a719b9b270f5d1fa1bbd25c1be8e1fd7 Author: Klas Lindfors Date: Fri Feb 17 14:48:09 2006 +0000 viced-has-as-member-locking-20060217 FIXES 26967 A crucial line was missing from DELTA viced-fix-check-rights-race-20060213 commit 532bc6e84c47a7c54cd3d900c74145c3dd23ee44 Author: Jeffrey Altman Date: Thu Feb 16 22:06:02 2006 +0000 windows-optimize-find-uid-20060216 Rename smb_GetUser to smb_GetUserFromVCP and add smb_GetUserFromUID. Use calls to smb_GetUserFromUID to reduce the number of times that the smb_user_t object is obtained and released during the processing of an smb call. commit 424ae50d1f7dfe0c3557d98f8ae9bc03a8265a21 Author: Jeffrey Altman Date: Thu Feb 16 22:03:47 2006 +0000 windows-server-ping-20060216 add logging of server addresses, status and capabilities prevent multiple threads from pinging the same server simultaneously. instead, threads block and then use the result of the ping that was already taking place. commit 1e3c9a9a4767f65cbe7fe251eac47a79eead71de Author: Jeffrey Altman Date: Thu Feb 16 22:01:45 2006 +0000 windows-daemon-check-registry-20060216 Add registry values to allow the defaults for daemon checks to be altered at startup. Log values to afsd_init.log. daemonCheckDownInterval daemonCheckUpInterval daemonCheckVolInterval daemonCheckCBInterval daemonCheckLockInterval daemonCheckTokenInterval commit cc0e245b7a8e374eef49f47d934c9b6f583bab51 Author: Jeffrey Altman Date: Thu Feb 16 21:59:19 2006 +0000 windows-lock-testing-20060216 turn on the support for backing byte range lock allocations with afs file server locks. commit e1f4dd1c26a1fedb637ed754644f8c141fa4c0db Author: Jeffrey Altman Date: Thu Feb 16 21:48:50 2006 +0000 windows-rx-wsaeconnreset-20060216 Deal with the fact that Windows returns WSAECONNRESET after an ICMP port not reachable packet was returned in response to a packet previously sent. commit 21e0734259ee2c575bfbbd970f2fa84253378267 Author: Derrick Brashear Date: Wed Feb 15 21:01:49 2006 +0000 linux-inode-i-mutex-20060214 new (2.6.16) kernerls have i_mutex instead of i_sem ==================== 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. ==================== make i_sem become i_mutex commit cee042e2f9f3e22e3cdb0c9535b122eb1714b691 Author: Chaskiel M Grundman Date: Wed Feb 15 20:53:02 2006 +0000 darwin-event-cleanup-20060215 clean up event resources added for deadlock avoidance commit 90d681405a744816435949c1c70a5f33d86ff12d Author: Derrick Brashear Date: Wed Feb 15 16:38:33 2006 +0000 asetkey-macos-20060215 make the same fix we do on aklog w.r.t com_err commit de53b41333d4d45834414bb8f28c4d0b1f6260dc Author: Derrick Brashear Date: Wed Feb 15 16:32:42 2006 +0000 darwin-ifnet-flags-20060215 darwin (8.0) already has this commit 658338b015fa6cd081726a6c96ab8c756857974a Author: Jeffrey Altman Date: Wed Feb 15 16:31:15 2006 +0000 windows-reg-fix-20060215 cleanup the back connection hostname code commit 33d58440d1fa3938ff627e888537c367d06b1bf9 Author: Chaskiel M Grundman Date: Wed Feb 15 07:01:40 2006 +0000 darwin80-mkdir-error-leak-fix-20060215 avoid a potential refcount decrement "leak" (well, the opposite, really) when a mkdir fails commit f3137f9efc47d9b3365fd6076b05ebb5b907c306 Author: Adam Megacz Date: Wed Feb 15 00:37:28 2006 +0000 macos-dynroot-start-anyway-20060214 start afsd if -dynroot specified commit 0ef6661fdcb452fc0ed2deb33560817c4b95674b Author: Adam Megacz Date: Wed Feb 15 00:33:45 2006 +0000 macos-afsdb-20060214 enable afsdb by default commit 848ed685c18e1fbdf550758c3e1d6c11e00d5239 Author: Chaskiel M Grundman Date: Tue Feb 14 20:32:45 2006 +0000 lookup-checkcode-bulkstats-20060214 do error code analysis on bulkstat results also commit 3828c257ae33306bbdd3c6db9381601fe5b1b110 Author: Jim Rees Date: Tue Feb 14 16:58:13 2006 +0000 dead-code-and-prototyes-20060214 Remove dead code and add prototypes. commit 44514e95164e74f539c102bec05add7404b9cc77 Author: Jeffrey Altman Date: Tue Feb 14 14:03:17 2006 +0000 windows-build-sys_name-20060214 Add the sys_name to the dest and obj directories in order to allow both 32-bit and 64-bit builds to be built from the same directory tree. commit 328544bd38f65525dad7b38a52c2d1407ea4b84b Author: Jeffrey Altman Date: Tue Feb 14 13:25:10 2006 +0000 windows-notes-20060214 updates commit b4fdd2ec6f035f6bb47402c17f80a4bedb2f10b2 Author: Chaskiel M Grundman Date: Mon Feb 13 18:51:55 2006 +0000 remove-recursive-vfs-getcontext-20060213 remove unused code commit 63031c0b8b1a00711a043431cb5d1c98834ab0cc Author: Derrick Brashear Date: Mon Feb 13 18:38:37 2006 +0000 solaris-afs-nfsrdwr-avoid-reading-past-end-of-file-20060213 FIXES 25747 avoid a panic when we attempt a read past the end of the file commit 0f9a5e3ad81a8583d486b3ee45aaebda50f6de06 Author: Derrick Brashear Date: Mon Feb 13 18:29:26 2006 +0000 revert-bkg-disable-var-20060213 remove the bkg daemon disabling commit 6c7a2901b00ae2f7df0bdff23b19fdd3b7f35156 Author: Jeffrey Altman Date: Mon Feb 13 17:09:36 2006 +0000 viced-fix-check-rights-race-20060213 FIXES 25869 acl_CheckRights() was generating core dumps because the client's prlist was being invalidated by h_TossStuff_r() as part of freeing the associated host. This patch fixes the problem in probably redundant ways. A missing hold on the host is now obtained. refCounts on the client are now preserved as part of GetClient()/PutClient(). Read/Write locks are now obtained on the client when accessing/manipulating the prlist. This patch adds the client parameter to GetVolumePackage() and PutVolumePackage() and adds the new function PutClient(). This patch removes the need for the client X had conn Y stolen by X messages. This is replaced by "deleted client X already had conn Y stolen by X. If we see this there is definitely a logic problem as the client should not be deleted at this point. We a no longer allowing the race condition that would have resulted in the original message. In addition, this patch fixes a problem with UAEs caused by the inappropriate translation of VICE error into UAEs when there is overlap between VICE error values and those in sys/errno.h. commit bfdc909b5477e493656b3e9fb744fdf5cd16e179 Author: Jeffrey Altman Date: Mon Feb 13 16:33:49 2006 +0000 windows-findacl-optimize-20060213 don't remove an entry from the queue and add it to the head if it already is the head. commit 8a6bfc54e5ff81bea0b78b45986f5115b2978adc Author: Jeffrey Altman Date: Mon Feb 13 16:28:59 2006 +0000 windows-new-server-ping-20060213 when adding a new server, mark it down to start. this will allow the Ping to use the short timeout when checking the real status. commit d9d798f78617026349e3c087c714e474e9eb2b7f Author: Jeffrey Altman Date: Sun Feb 12 06:25:37 2006 +0000 windows-off-to-the-races-20060211 several race conditions were introduced over the last couple of weeks. let's fix them. commit 81cfded7dbdf25d774375719ce02ebbfe698d77c Author: Jeffrey Altman Date: Fri Feb 10 18:43:22 2006 +0000 windows-vcp-fidsp-empty-20060210 protect against the case in which the vcp->fidsp list is empty which de-queuing smb_fid_t objects commit 0c77d5332da76d223b007f8e85e8d81148b17737 Author: Jeffrey Altman Date: Fri Feb 10 17:10:44 2006 +0000 viced-probe-uuid-on-old-connection-20060210 When we have found an existing host via Uuid, send the probe to the connection associated with the old host instead of the new one. If you send it to the new connection, we will fail to detect that the old host is no longer responding and hence that it should be removed. This should solve the 55 second delay problem seen from clients with Uuids that move addresses or sit behind a NAT. commit d2de9e69bc08e04c00083166a59847be246a9e8c Author: Jeffrey Altman Date: Fri Feb 10 17:07:43 2006 +0000 viced-log-typo-20060210 missing % in format string causes crash at log level 125 commit 3416916228624b6b446b5106f40c4d7e5fbd8cb0 Author: Derrick Brashear Date: Fri Feb 10 16:49:37 2006 +0000 viced-debug-port-numbers-20060210 fix port number printing to not print byteswapped port numbers commit 4b3c120e8e571f650e8274da553b1489cc34bd5e Author: Jeffrey Altman Date: Thu Feb 9 15:28:56 2006 +0000 windows-afslogon-20060209 replace sizeof(opt) with sizeof(LogonOption_t) add more debug statements commit e4c21e9c6fe4a030cf271b614d8e3d78130e4fc9 Author: Jeffrey Altman Date: Tue Feb 7 07:46:55 2006 +0000 viced-host-nat-20060207 When we discover a new address for an existing host we can take the opportunity to cleanup the hash table and the interface list if the new address differs from an existing address only by the port number. In that case we know the client is communicating to us from behind a NAT and the old addr/port number combination is no longer going to be of use to us. commit 6909509eca2a22b4b7003be60e0dbda75a30949c Author: Jeffrey Altman Date: Tue Feb 7 06:04:34 2006 +0000 viced-more-dbg-improvements-20060207 convert the rest of the addresses output in hex to dotted notation commit da0f2fdeca83a47d4c39814901ef862fdbfdb604 Author: Jim Rees Date: Mon Feb 6 17:18:12 2006 +0000 no-global-sunlock-20060206 Don't use global_sunlock on OpenBSD unless running smp kernel commit 77de32ed745d912e35990c5602b4a69a1b654973 Author: Jeffrey Altman Date: Mon Feb 6 07:06:33 2006 +0000 windows-winqual-20060206 Fix two bugs reported via Windows Crash Reporting: * Freelance initialization is somehow broken allowing the number of locally defined mountpoints to become negative. Due to the use of != instead of < in loops, it is possible to read/write unallocated memory. * GetTextualSid() was not properly handling a NULL output buffer pointer as an indication that the desired size should be returned. commit f504df317572835718037fe177073e3202905753 Author: Chaskiel M Grundman Date: Sun Feb 5 18:21:51 2006 +0000 darwin-avoid-bogus-name-caching-20060205 FIXES 26225 avoid the possibility of creating bogus cached named vnodes commit 3da66f26980d7cfcde54f6ba9c9a0114e23f6f40 Author: Jeffrey Altman Date: Sun Feb 5 17:45:34 2006 +0000 windows-mountpoints-20060205 * if the mountpointstring is empty, return No Such Path; do not panic commit 18e7ef272ab4efbd599c5d10174f0afd87c57c2e Author: Jeffrey Altman Date: Sun Feb 5 17:44:41 2006 +0000 windows-afslogon-20060205 * AFS_Logoff_Event must destroy tokens even if integrated logon is not being used unless LogoffPreserveTokens is non-zero commit f213588374ab92e27bb524cd747152270f9290ca Author: Jeffrey Altman Date: Sun Feb 5 07:44:50 2006 +0000 windows-afslogon-20060204 * fix LogoffPreserveTokens to work in the correct direction * modify behavior to avoid domain controller queries when integrated logon is disabled or the logon account is local commit 22b02189ecc70a94410fb1648da987d0964ddcaf Author: Jeffrey Altman Date: Fri Feb 3 23:21:04 2006 +0000 windows-todays-bugs-20060203 * cell names must be treated as case insensitive * smb logoff messages do not mean the user is logging off the machine. do not use as an indication that tokens should be destroyed * use the correct lock and avoid a deadlock when handling dead VCs commit 04c3d3cc3900914725c479b993a6313b0ef29e3f Author: Jeffrey Altman Date: Thu Feb 2 21:47:37 2006 +0000 viced-log-add-ports-20060202 * add port numbers to Host addresses so we can distinguish clients behind NATs * make messages consistent with regards to case and punctuation of "Host x.x.x.x:y" * convert hex addresses to dotted notation commit 57d3a8b72168bf03400ed42e8a8eab78ea75271c Author: Jeffrey Altman Date: Wed Feb 1 18:28:58 2006 +0000 windows-more-cleanup-20060201 missed one case where the vcpCounter wrapped fids at 0 commit 40d1b796c1dca9c51811224c5ad80bbd2c62cdb1 Author: Chaskiel M Grundman Date: Thu Feb 2 08:27:16 2006 +0000 bkg-disable-var-20060202 don't extern this commit 8b39114d5b36f60904e5a615a16b43b7e65c3017 Author: Jeffrey Altman Date: Wed Feb 1 18:02:29 2006 +0000 windows-more-cleanups-20060201 * remove all references to 'dead_vcp'; cleanup smb_vc_t's as soon as we know they are dead * add mx holds across the cm_cell_t updates * add cm_FindSCacheParent() and remove duplicate code elsewhere * add mx holds across scp->flags updates * add cm_CleanFile() * clear CM_SCACHEFLAG_CALLBACK when discarding callbacks * fix smb fid wrapping. wrap at 0xFFFF instead of 0 because 0xFFFF is -1 which is INVALID_HANDLE * add missing mx holds around vcp->flags updates commit 3aa14478bfcff9aedeedf986e09c6274b6c5ced3 Author: Tom Keiser Date: Wed Feb 1 16:20:07 2006 +0000 aix-prototyping-fixes-20060201 FIXES 26102 fix some prototypes and enable prototype enforcement for aix commit 73f52f37e4c1be81fad5122787382a480c220af5 Author: Tom Keiser Date: Wed Feb 1 16:09:01 2006 +0000 osi-audit-locking-fix-20060201 FIXES 25955 fix aix builds commit ecb9da5839e8e2ed0d52d87e426a728700bbd389 Author: Jeffrey Altman Date: Wed Feb 1 15:58:30 2006 +0000 getsomespace-r-rewrite-20060201 rewrite of GetSomeSpace_r to get rid of the brokenness we had before. also make GetCapabilities work like other rpc stubs which don't need callbacks commit bceabce8498127c550bbe5a9a430c8589f76d162 Author: Jeffrey Altman Date: Tue Jan 31 09:13:11 2006 +0000 windows-smb_fid_t-mx-20060130 *Includes the changes from STABLE14-windows-smb_fid_t-audit-20060125 as well: "Further testing revealed that some smb_vc_t objects could not be freed because the associated smb_fid_t objects never reached a zero refcount. Additional auditing uncovered cases in which there were holds not being released and others in which they were released to many times. This patch fixes the problems and improves auditability by modifying the behavior of the smb_IoctlXXX() functions to not release a reference that was obtained by the caller. Now the caller releases the reference." Fixup token deletion logic Surround all references to smb_fid_t flags and other references by obtaining and releasing the 'mx' lock. commit fbdd66aeef67a5a05bc41e33f046ff2879296617 Author: Ken Hornstein Date: Mon Jan 30 22:11:40 2006 +0000 merge-up-fixes-rxtcp-20060130 Merge in fixes to up from the rxtcp branch. commit 2e76a2450e06c93d7cdbc0fe07bd9302ac085952 Author: Chaskiel M Grundman Date: Sat Jan 28 19:20:44 2006 +0000 simple-darwin-disable-bkg-20060128 avoid potential hang by disabling bkg daemons on 10.4 for now commit 29277d96bfade62e437b9206f885af307c74e3ca Author: Chaskiel M Grundman Date: Sat Jan 28 18:06:06 2006 +0000 newvcache-dont-spin-20060128 make things so newvcache won't spin commit bb576b462d1d26cd07f03965c734ae6d2c5bd132 Author: Chaskiel M Grundman Date: Sat Jan 28 18:02:40 2006 +0000 reclaim-defered-flush-fixes-20060128 fix side effect of reclaim lookaside commit 90ceee2d37b9da00638b9ed08bd12e28cd7de667 Author: Derrick Brashear Date: Thu Jan 26 21:24:39 2006 +0000 up-cleanup-20060126 FIXES 25863 subsumes todd's fix commit a6a330b360ace80d6a1083577a5e46356f0e229b Author: Tom Keiser Date: Thu Jan 26 20:34:50 2006 +0000 osi-panic-revert-to-kandr-20060126 FIXES 25924 avoid prototype issue for now commit 78835720e0eac5897568f0ce32cd0ec20dc4c569 Author: Chas Williams Date: Thu Jan 26 18:55:18 2006 +0000 linux-vcache-extra-ref-unneeded-20060126 FIXES 25829 the dynamic/system inode version of the linux client already keeps an extra reference when the inode is on the vcache list. the inode/vnode should not go away while we are trying to flush the dcache children. commit 42f24a53f5aa7ad713654789928a57f8dac52102 Author: Jim Rees Date: Thu Jan 26 18:13:06 2006 +0000 remove-spurious-var-20060126 Remove unused local variable "lock". commit 1fb654e0c02ab6ca90d531a250639ecda6cea5e2 Author: Jim Rees Date: Thu Jan 26 18:11:23 2006 +0000 cast-pointer-20060126 Cast pointer to long for printf. "%p" would be a better fix, but is it supported on all platforms? commit 532147e45588039e6db64ef7deccfc1d5d21d16d Author: Derrick Brashear Date: Thu Jan 26 16:03:03 2006 +0000 macos-avoid-reclaim-hang-20060124 FIXES 25686 based on chaskiel's suggestion, implement a lookaside reclaim list commit f84de8044aab16ccaf961ba30a36929f2d1f1e50 Author: Chas Williams Date: Thu Jan 26 16:00:34 2006 +0000 more-rxglock-cleanup-20060126 FIXES 23321 more rx glock cleanup. eval for pullup after 1.4.1 commit c7df78fd7f9c4a29f8af32e49217806ef352ea01 Author: Chas Williams Date: Thu Jan 26 15:56:41 2006 +0000 linux26-build-update-20060126 FIXES 25879 KBUILD_BASENAME will need to be set in 2.6.15 and later for configure to work usefully commit 27c42be1b9dced92f578664d57f2dd92aa21c8a0 Author: Tom Keiser Date: Thu Jan 26 15:52:37 2006 +0000 ukernel-rx-knet-deref-20060126 FIXES 25927 pass correct parameter to avoid type mismatch commit ad86f80fc2a7c02452d4bf280236f4c5df317fe9 Author: Derrick Brashear Date: Thu Jan 26 15:49:05 2006 +0000 sol10-vnode-cleanup-20060126 Because we use a private pool of vnodes, it's up to us to trigger cleanup. here we do so. commit 9352092dfd4c6c2c9d1f5c383852aaa30c9fdff6 Author: Jim Rees Date: Wed Jan 25 19:44:15 2006 +0000 regen-no-doc-noise-20060125 Don't say we're building man pages if we're not. commit 6eb9f473add1426b52861574c841b1fdfd80367b Author: Russ Allbery Date: Wed Jan 25 05:59:38 2006 +0000 man-page-html-20060124 Initial cut at an HTML conversion of the POD reference pages. Requires Pod::Simple be installed (version 3.0 or later, probably). Also fix a POD formatting bug in the afs(1) man page noticed while testing HTML output. commit 1649de223462f5290974b7f05d09a41f9ff29bde Author: Derrick Brashear Date: Wed Jan 25 04:45:00 2006 +0000 macos-avoid-reclaim-hang-20060124 FIXES 25686 based on chaskiel's suggestion, implement a lookaside reclaim list commit 179b4c31d93b511a5762c818a47cddc0e364c9d3 Author: Jeffrey Hutzelman Date: Wed Jan 25 03:49:25 2006 +0000 release-avoid-negative-time-20060124 avoid any possibility of time going negative when releasing incrementally commit feccc2a98770fd48eee58d380671539e4bc1fdfb Author: Derrick Brashear Date: Wed Jan 25 03:24:25 2006 +0000 implement-vpeek-for-listvol-20060124 roll back for listonevolume (only) commit 1c53d7f34db626f6f44821844912e7f7012e5bfb Author: Chas Williams Date: Tue Jan 24 17:40:11 2006 +0000 usebuffer-macros-20060124 FIXES 25819 get rid of usebuffers macro usage warning commit 97304b84f76154d067717e3b34a3525abebc0cf7 Author: Jeffrey Altman Date: Tue Jan 24 23:22:00 2006 +0000 windows-continued-refcount-cleanup-20060124 * re-enable LogoffTokenTransferTimeout and LogoffTokenTransfer. Tokens are now destroyed at logoff based upon the values specified here. Default is ON and 120 seconds. Setting this to OFF will result in tokens never being destroyed. This will leak memory. * protect global queues with mutexes and avoid a variety of race conditions. ==================== 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. ==================== rollback unintended commit commit 4a5dda84178842e3eaa61d03fecc96149333dd13 Author: Chaskiel M Grundman Date: Mon Jan 23 21:23:16 2006 +0000 viced-grow-h_maxSlots-20060123 and jhutz@cs.cmu.edu The size of h_maxSlots as computed based upon the value of MAX_FILESERVER_THREAD is too small. It is possible for h_lwpIndex (in the pthread case) to have produce the same Slot value for multiple threads. In that case it is possible for the following to occur: X: h_Hold_r(host) X: H_UNLOCK ... E: H_LOCK E: Check h_Held_r(host); it is true, so don't hold E: H_UNLOCK X: H_LOCK X: h_Release_r(host) X: h_TossStuff_r(host) [called by h_Release_r] X: H_UNLOCK E: CheckHost(host) The end result would be a crash due to a reference to a null field in the host processed by CheckHost. This patch is a bit of a hack in that it solves the problem by increasing the number of slots for threads and does not determine the correct number of threads the process should be allowed to produce. commit ff40c87da3ce4c6a7a58c08eaa223e8760dc8f73 Author: Jeffrey Altman Date: Mon Jan 23 21:13:19 2006 +0000 check-host-optimize-20060123 There should never be a case where h_Enumerate calls CheckHost with a host whose callback_rxcon that is NULL. However, due to a bug it ended up being the case that it happened. An examination of the CheckHost code showed that the check for the HOSTDELETED flag should take place before a reference to callback_rxcon is obtained. If HOSTDELETED were set, the code would simply release the reference immediately. However, the process of obtaining and releasing the reference required dropping and obtaining locks that would be a performance hit. commit db98b697fe4e1b38ac5e73d60dd101b2506e12a4 Author: Derrick Brashear Date: Mon Jan 23 21:04:31 2006 +0000 fs-getfid-20060123 add a fs subcommand to get a fid commit 7fde756a2c6f17e6a3b0db7659c6edcc2eaa0bd7 Author: Jeffrey Altman Date: Sat Jan 21 21:37:04 2006 +0000 windows-smb-logoff-or-abandonment-detection-20060121 This patch: (1) removes the rest of the dead logoff code that was originally stripped of any meaning by DELTA winnt-win2000-win98-afs-client-updates-20010623. (2) gives new meaning to smb_TokenTransfer and smb_TokenTransferTimeout. these variables now control how long a smb_username_t and its associated cm_user_t and its cm_cellinfo_t (including tokens) will be preserved after a logoff. (3) adds logic to detect logoff conditions (4) adds cm_CheckVCs(). This function probes the SMB client with a ECHO response to determine if the associated SMB virtual circuit is still valid. This is executed once every five minutes by smb_Daemon() and whenever the machine's IP addresses change. This allows abandoned VCs to be detected and the associated user credentials, file handles, and locks to be cleaned up. This will also prevent the exhaustion of the limited number of SMB sessions. ==================== 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. ==================== and remember to mark the session dead so it can be re-used commit 96100b6dea66ea5053956e545ada6228aabe2e4a Author: Jeffrey Altman Date: Sat Jan 21 21:22:47 2006 +0000 h_gethost_r-hold-fix-20060121 fix hold errors commit 5790bf7cd0bcf3a9bf6d364e9bc6601b30feff8b Author: Jim Rees Date: Fri Jan 20 16:40:24 2006 +0000 host-cpu-20060120 Introduce @HOST_CPU@ and use it to find correct headers for FreeBSD build. commit 1afcbc944110ab22a23e83b52b7e5667c2567398 Author: Jeffrey Altman Date: Fri Jan 20 06:22:46 2006 +0000 windows-notes-20060120 more notes for 1.4.1-rc5 commit a784c131709a8252fa1e8cb4ce49cb0c655dd7aa Author: Chaskiel M Grundman Date: Fri Jan 20 05:19:47 2006 +0000 cached-lookup-mtpt-20060120 FIXES 25647 don't do lookups on the wrong vnode, if it's a mvstat=1 vnode, it's not useful commit f3a7aabbc523cc3e90b4cc11788523cc72e72822 Author: Tom Keiser Date: Fri Jan 20 05:05:35 2006 +0000 aix-vm-rdwr-fix-20060120 FIXES 25650 avoid a loop in vm_rdwr on aix. also fix ifnet_flags macro commit e367b6934d7970489a1b59d2a1e8a27e84f8efd9 Author: Derrick Brashear Date: Fri Jan 20 00:00:18 2006 +0000 cmdebug-no-zero-pad-output-20060119 length, dv and refcnt no longer 0 padded commit 70b76b3a1cff1dabe9b10b8222cd84fc207b6704 Author: Jeffrey Altman Date: Thu Jan 19 23:07:50 2006 +0000 windows-integrated-logon-hack-fix-for-proper-refcounts-20060119 The Integrated Logon hack of setting a token for a smb name different than the one associated with the current smb session fails when smb virtual circuits, sessions and username objects are properly reference counted. When refcounts are not leaked the constructed smb_username_t is destroyed immediately after the token is set since there are not references to it from a current session. The fix is to mark the smb_username_t object with a flag indicating that it was created by the Network Provider. This flag prevents the destruction when the refcount is zero so that it will be available at the time the smb session is created (just a moment or two later.) During the binding of the smb_username_t to the smb_vc_t the flag is cleared allowing the tokens to be destroyed when the smb session is closed. commit 5832d839f526279780714135c69f2db007dc504a Author: Jim Rees Date: Thu Jan 19 16:57:07 2006 +0000 bozo-log-fix-20060119 don't fclose(NULL) (found by ober@linbsd.org) fflush after printf instead of before add missing trailing newline in WARNING message consolidate the logic to make it clearer make tdate bigger (26 chars plus '\0'; not sure this is needed) commit 5112c06e8a68b88457ea438152103115cf69fe4a Author: Jim Rees Date: Wed Jan 18 22:31:22 2006 +0000 fbsd-opts-20060118 add -mno-mmx -mno-3dnow -mno-sse -mno-sse2 to kernel cc flags commit f59f69ea9f99dec429a966ac22e19647a02b2870 Author: Jim Rees Date: Wed Jan 18 16:03:28 2006 +0000 ifnet-flags-20060118 #define ifnet_flags to fix build on bsd commit 0806f60ab8d3cdd092449126eb0102a0fcd5edd0 Author: Derrick Brashear Date: Wed Jan 18 06:26:15 2006 +0000 linux-vrefcount-macro-fix-20060118 thanks to jhutz@cmu.edu for making me consider this commit 93efc4ae47cc942164c2dfee175df0760fbfca03 Author: Derrick Brashear Date: Wed Jan 18 02:21:00 2006 +0000 linux-kernel-bug-macro-inline-20060117 force oops inline instead of calling bug, so we can printk commit a02c04684df1a4992a14a4ef81919c717b9f3b8d Author: Jim Rees Date: Tue Jan 17 22:25:51 2006 +0000 regen-doc-20060117 slightly better documentation of regen.sh commit d921ee381aa46e4385524f0c31ca5ad606aa920a Author: Jeffrey Altman Date: Tue Jan 17 21:43:25 2006 +0000 windows-truncate-after-lock-check-20060116 In smb_ReceiveNTCreateX the lock check, cm_CheckNTOpen(), must take place before we allow the file to be truncated. commit 47d2ab228517deb7c3097ca4c5f46afd84e26098 Author: Chaskiel M Grundman Date: Tue Jan 17 17:08:34 2006 +0000 darwin-use-kthreads-20060117 FIXES 25542 use kernel threads for afsd processes instead of forked pids commit b81d0cf8af1c5788de399b630545945004f65345 Author: Chaskiel M Grundman Date: Tue Jan 17 17:05:31 2006 +0000 macos-locking-behavior-20060117 FIXES 25543 F_UNLCK is send as a command, remap to F_SETLK like everyone else commit ebf35c3f884b40616700b4b0b2462731cda290ae Author: Chaskiel M Grundman Date: Tue Jan 17 16:06:56 2006 +0000 tiger-sysctl-20060117 FIXES 25327 implementation of sysctl for tiger commit c19324c8574c66f18cd18f2df4beb486460205aa Author: Peter Somogyi Date: Tue Jan 17 04:59:11 2006 +0000 newvcache-can-fail-now-20060116 FIXES 22260 allow newvcache to fail without ooping sort of nasty, if you want more vcaches, say so. commit 4bb334ef6e40250630aec96b319de8db72619134 Author: Jeffrey Altman Date: Tue Jan 17 03:57:19 2006 +0000 windows-afsmap-20060116 strcpy -> strncpy commit 8d158c1b615ec2625756b8f124a9eaff94a67799 Author: Chaskiel M Grundman Date: Tue Jan 17 03:32:44 2006 +0000 remove-dead-prototype-20060116 remove dead prototype for osi_iput() commit 93e1cee7046984a81f0339484713649aceb25f3a Author: Chaskiel M Grundman Date: Mon Jan 16 21:15:21 2006 +0000 h-enumerate-r-fix-for-real-20060116 FIXES 24196 make this not simply wrong commit f7b9cd54e50e553486c2ad850df1a8ecaee0d954 Author: Jeffrey Altman Date: Mon Jan 16 16:22:27 2006 +0000 windows-rx-ehostunreach-20060116 another location where EHOSTUNREACH can be returned such that we can timeout the request immediately commit 880a6b66a5477e092d5bb74febbf24639d786c64 Author: Jeffrey Altman Date: Mon Jan 16 02:05:27 2006 +0000 windows-vc-locks-and-more-20060115 This patch fixes several issues: * the smb virtual circuits can be active and/or dead. this patch improves the handling of vc's making the transition from active to dead * correct the refcounts on the smb_user_t and smb_vc_t objects * replace the deprecated GetCurrentTime() with GetTickCounts() which is the new name. This function needs to be replaced with something else because its return value wraps after 49.7 days * hold the correct locks when adjusting the scp->fileLocksH queue * add new event log entries for unexpected session closures and send packet failures commit 9435d0e973bcde2d97031229f4a11c89fe4651ff Author: Jeffrey Altman Date: Sun Jan 15 08:10:00 2006 +0000 windows-ncb-error-strings-20060114 consolidate the use of NCB error strings in one place commit 36fd6d30cbda668209b7118499f2c70c5b0358a6 Author: Asanka Herath Date: Sun Jan 15 08:04:59 2006 +0000 windows-afsifs-20060114 minor style change commit 0a7b86c2bffeaf8bee75cbabf3378d8463778b73 Author: Jeffrey Altman Date: Sun Jan 15 08:01:49 2006 +0000 windows-eventlog-20051219 More messages for the event log commit ad207ee1134b42bd1a2204f7d91d0f4016a73c55 Author: Russ Allbery Date: Sat Jan 14 08:19:19 2006 +0000 sparc64-linux-typo-20060114 XLDFLAGS64, not XLDFLAG64. commit 0b24f2d91a444c4bb11b3eaf8082356907b32d44 Author: Troy Benjegerdes Date: Sat Jan 14 08:00:01 2006 +0000 sparc64-linux-20060113 Hopefully fix sparc64 Linux support with 2.6 kernels. commit 6cf662ca526cb9cbb9b93511008ab274834f6396 Author: Asanka Herath Date: Thu Jan 12 18:45:16 2006 +0000 windows-lock-data-versions-20060112 Add a lockDataVersion field to cm_scache_t. This data version is compared to the cm_scache_t dataVersion field in the following circumstances: * lock upgrades from read to write in which the lock must be released given current file server rpcs * lock downgrades from write to read in which the lock must be released given current file server rpcs * lost locks due to network disconnect. if the data version has not changed then re-obtaining the lock is safe to do commit af202cac551ad541a0a1ca4525b03c2ec05f6507 Author: Jeffrey Altman Date: Thu Jan 12 05:54:23 2006 +0000 windows-cmfinduserbyname-20060112 FIXES 25347 Fix invalid access after freeing newly allocated data structure commit 3e8b96cfc4596c3e9c6c3802c1bdca1784f86271 Author: Chas Williams Date: Wed Jan 11 21:37:06 2006 +0000 linux-clean-up-stupidity-20060111 get some of an inadvertant misapplied patch, and get rid of a redundant check commit fb6d1dacfc256386f32f59fe4335b546a7d368c3 Author: Jeffrey Altman Date: Wed Jan 11 04:44:49 2006 +0000 afs-sysnames-20060110 move allocations for SYS_NAME_ID_amd64_w2k and SYS_NAME_ID_i64_w2k to avoid conflicts commit 29924c8302431a25d4889ef4500fc5f0eeb97b2e Author: Chaskiel M Grundman Date: Wed Jan 11 04:23:22 2006 +0000 macos-reclaim-20060110 FIXES 25165 avoid a vnode cleaning pnaic during recycle commit ab7cfe62ec128b1205193ede1c769ddb369cc563 Author: Chaskiel M Grundman Date: Wed Jan 11 04:21:11 2006 +0000 macos-avoid-ref-leak-20060110 FIXES 25302 fix for the earlier fix commit 8a1d347b2e129a6085fb605f706917d88aa054b7 Author: Derrick Brashear Date: Tue Jan 10 15:09:55 2006 +0000 remove-vnop-mem-leak-20060110 avoid leaking mvid when we use .__afsXXXX renaming in remove commit 39b23a0dc16f2e26abf3b7df53bfadb98377748d Author: Derrick Brashear Date: Tue Jan 10 15:03:26 2006 +0000 remove-vnop-lock-order-20060110 FIXES 25118 finegrained dcache lock order not obeyed commit a9df3ca715f483a31c14b72bae3f548a4c9291d4 Author: Jeffrey Altman Date: Tue Jan 10 13:26:41 2006 +0000 windows-smb-username-refcount-20060110 the smb_username_t objects are reference counted but they were never released on their own accord. Instead the smb_uid_t objects when released were also cleaning up the smb_username_t. Since the smb_username_t is reused, now that smb_user_t objects are being cleaned up, this was a problem. commit 5deb4e521b7f1f8741c1f0ceeb8e33b4bf198c6a Author: Asanka Herath Date: Mon Jan 9 05:44:19 2006 +0000 windows-tests-winflock-20060108 Updates to locking tests commit 78c40badbd8c65d82f6c384fdff8056c03100b67 Author: Asanka Herath Date: Mon Jan 9 04:43:36 2006 +0000 windows-byte-range-locking-20060108 When SMB sessions are prematurely terminated as part of the tear down of the virtual circuit we must clean up any remaining file handles, tree connections, and user sessions. commit 36596b93e0b45cb1074b554e57c5f71171350f62 Author: Jeffrey Altman Date: Sun Jan 8 04:17:18 2006 +0000 windows-byte-range-locks-fix-20060107 fix the SERVERLOCKS_ENABLED macro commit 7d912795aae1ecb7a4a397f8572ee26fe62fe2da Author: Jeffrey Altman Date: Sun Jan 8 00:42:52 2006 +0000 windows-enable-byte-range-locking-20060107 re-enable byte range locking commit f057d9515c72609e4ca9e51ff96f658689679497 Author: Jeffrey Altman Date: Sun Jan 8 00:38:32 2006 +0000 windows-byte-range-locking-20060107 * Update architectural documentation * Allow locks to be obtained as soon as it is possible instead of enforcing a requirement that locks be granted in order. * Fix other bugs * Disable byte range lock processing commit 57e5d7c2aea61db5e2cac5f96192534d2e86aab2 Author: Jeffrey Altman Date: Sun Jan 8 00:30:40 2006 +0000 windows-eventlog-20051219 For afsd_service.exe, properly use the Event Log by constructing message strings stored in a MESSAGETEXT resource. This patch also removes a large number of debugging related event messages that should never have been seen by an end user. That data is now logged to the trace.log where it should have been logged initially. Similar changes need to be implemented for afslogon.dll and afscreds.exe The afsd_eventlog.[ch] files should be broken out into its own library so that it can be reused efficiently. The afsreg.h header was cleaned up to ensure name consistency and to remove the last vestiges of "IBM AFS". ==================== 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. ==================== Do not change "AFS Client" to "OpenAFS Client" unless the installers are also updated. ==================== remove temporary files upon clean commit e07a781b20272a629f73cf8b2377ee8e3bd6cd99 Author: Derrick Brashear Date: Fri Jan 6 02:54:40 2006 +0000 macos-104-change-access-enforcement-20060105 don't improperly enforce read attribute restriction on child instead of parent when it's a directory avoid screwing ourselves on mode 0 files, also commit 8b015a5e325b52969203d0647f67945ab7e402cc Author: Chaskiel M Grundman Date: Thu Jan 5 05:31:34 2006 +0000 macos-vnode-get-fixes-20060105 The afs_pioctl.c change should fix a real crash (panic), but fs flushv isn't that common an operation. Other changes: don't GUNLOCK() around vnode_get(). we weren't consistent about it, and it doesn't appear to be strictly required. handle vnode_get() failures in more cases darwin_vn_hold will panic if vnode is terminating rather than mess up the refcounts. commit b36171907254a2b8a4f9cee0809da025869e00e8 Author: Horst Birthelmer Date: Tue Jan 3 21:26:40 2006 +0000 fbsd-vnode-includes-20060103 Generate vnode_if_newproto.h and vnode_if_typedef.h in case they aren't in the kernel build directory, for example if the kernel has been configed but not built. commit 40f151f5c47460927bcaa5b5a631057ae72790ad Author: Asanka Herath Date: Fri Dec 30 22:40:15 2005 +0000 windows-vista-wix-install-20051230 Update the MSI to install the network provider without impersonation commit 8863143052cb1a60de4fe90c1617df0bb3eca931 Author: Russ Allbery Date: Tue Dec 27 23:30:22 2005 +0000 man-page-rxgen-cmdebug-20051227 Add man pages for rxgen and cmdebug. The cmdebug man page was written from scratch based on the source code. The rxgen man page is a conversion of an old TeX document to POD. commit dc694b33608fb8d5fee55713fa39193e8d26266e Author: Jeffrey Altman Date: Tue Dec 27 20:00:10 2005 +0000 windows-ptc-rc-20051227 for ptclient.exe commit 3875eec844609443710d3b98a2ac795d7f2d9121 Author: Jeffrey Altman Date: Tue Dec 27 16:17:11 2005 +0000 windows-process-detach-20051227 The procmgmt library replaces the C RunTime Library's signal handlers but does not restore them on process detachment. This leaves the process with signal handlers pointing to invalid code that generates an invalid access error during process termination if the library was previously unloaded. commit 5a238125533fc826e3e39250fbc02e59bf352ec4 Author: Chas Williams Date: Sat Dec 24 01:07:43 2005 +0000 solaris-uniqtime32-20051223 FIXES 24445 afs really wants the 32 bit timeval/uniqtime stuff commit 518bebb032c410a520a8923a16263e605370d60c Author: Chaskiel M Grundman Date: Sat Dec 24 00:28:10 2005 +0000 darwin-dnlc-cache-purge-20051223 FIXES 22644 cache_purge() to hint to darwin that we changed something instead of letting it cache invalid data commit 97ebc776712b455b1e85df598b61ba6c847ca0a6 Author: Chaskiel M Grundman Date: Sat Dec 24 00:20:18 2005 +0000 tiger-fixes-20051215 potential reclaim in progress fix, and per Chaskiel, "I don't remember why I put it there, but the fact that it gets triggered means that we're leaking a vcache object lock. It looks like the "rename to .__afsXXXX" codepath is responsible (as afsrename does not use the fact that adp (or aodp) is locked by afs_remove, and locks it again. I'm surprised it's not deadlocking)" so i coded up a fix ==================== 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. ==================== chaskiel says The RHS shouldn't be a double negative... There's no bug (other than the assert itself) commit 856f5288e761e9dfaf720eb38a9bd4e7a053cb0d Author: Chaskiel M Grundman Date: Sat Dec 24 00:08:32 2005 +0000 darwin-lost-wakeups-20051223 FIXES 24492 rewrite for tiger to avoid losing wakeups commit 90bc5c0092652b047c4eabffb5577e05859c80f4 Author: Russ Allbery Date: Thu Dec 22 07:34:49 2005 +0000 man-page-misc-improvements-20051221 Add new man pages for livesys and voldump. Fix the man page for sys to say what it actually does, rather than implying that it works like livesys, and to recommend livesys instead. Fix a path error in the NetInfo documentation. Update the README for the current status, including listing all installed commands that don't have man pages. (There may still be some subcommands that don't have man pages but aren't listed.) commit 5fde2994348d1c7f6239f98aac355011125b06ad Author: Russ Allbery Date: Thu Dec 22 07:29:52 2005 +0000 man-page-installation-20051221 On installation, substitute the configured paths into the man pages, replacing the Transarc paths. Also fix a problem with the way that pinstall was being used to install man pages. (Silly me, I was assuming it had the same behavior as install.) This is just a quick first pass. Longer term, it's probably better to replace all paths in the man pages with unambiguous tokens and then replace those tokens instead of assuming that the man pages use Transarc paths and replacing those paths specifically. The current method has a few minor problems, such as not being able to distinguish between the various paths that make up /usr/afs/bin. Still, the results of this method are good enough to start with. commit f874f6691b3237158a223b891650d800ee8abdd3 Author: Jim Rees Date: Wed Dec 21 18:41:47 2005 +0000 aklog-obsd-20051221 make aklog build on OpenBSD commit b2b051fab1026a9bb1c2e9585c0d3c936c25a84e Author: Ken Hornstein Date: Wed Dec 21 18:22:08 2005 +0000 aklog-fix-install-Makefile-target-20051221 Fixed the install target so it installs asetkey instead of running it. commit 160854bd2bd9994b615216c566473598e871d13b Author: Russ Allbery Date: Wed Dec 21 00:41:17 2005 +0000 man-page-whitespace-20051220 Remove all trailing whitespace while we have the chance and there are no merge issues yet. commit 0b21e24d0a96401033d55d3c079c954138b7c50e Author: Russ Allbery Date: Wed Dec 21 00:37:16 2005 +0000 man-page-generation-20051220 Move man page generation out into a separate script that's just invoked from regen.sh, so that someone can run that separate script later if they wish. Make that script more robust against problems such as empty podN directories. Diagnose a missing pod2man and warn about old versions of Pod::Man. Also, remove the old programs used to do the initial conversion from HTML. Enough post-conversion editing was done that they're no longer necessary except for historical curiosity, and for that purpose they can be pulled out of CVS. commit 2de17470f0853da5eb8d37322ddb61ed844cd74a Author: Jeffrey Altman Date: Mon Dec 19 16:12:16 2005 +0000 windows-bg-fcrypt-20051219 use the faster bg-fcrypt commit 1b73452ba85993d990665d15031f2e1872929f1b Author: Jeffrey Altman Date: Mon Dec 19 15:51:28 2005 +0000 windows-64-bit-type-safety-20051105 SIZE_MAX should be UINT_MAX if not defined ==================== 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. ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler commit 065f9e1196cf1067ad2bad9ecc49ed01b971a3a2 Author: Jeffrey Altman Date: Mon Dec 19 12:36:48 2005 +0000 windows-uninit-20051219 initialize the variable containing the afs id in case the pts lookup fails commit 02a6d180f3ee22ca3e79ab8fce552dd393beae12 Author: Jeffrey Altman Date: Mon Dec 19 12:35:15 2005 +0000 windows-rx-debug-disable-20051219 Provide a method to enable/disable rx debugging along as a part of "fs trace -on/-off" commit 37147a406e5a44d762c976773d7f3bd01154460a Author: Björn Torkelsson Date: Mon Dec 19 03:27:21 2005 +0000 linux-writepage-rename-20051218 The ocfs2 patch renames WRITEPAGE_ACTIVE to AOP_WRITEPAGE_ACTIVE, and Ubuntu has applied that patch to their version of the kernel. Allow for either. commit 376a5dd834ab6813fc955a2b535eb4ab4aea3c0d Author: Jeffrey Altman Date: Sun Dec 18 05:41:19 2005 +0000 separate-capabilities-by-source-20051217 This patch separates the client and viced capabilties; adds a viced capabilities for 64bit files; and modifies the Windows client to probe the viced capabilities the first time the client discovers the server and uses the capabilities RPC instead of the GetTime RPC to probe for Up/Down status ==================== 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. ==================== define the capabilities constants commit 8c3cf4b89445d969c9f85e929d5e030f53773f81 Author: Jeffrey Altman Date: Sat Dec 17 17:26:57 2005 +0000 windows-no-fds-20051217 when collecting rx statistics in response to an RPC query, the rx library attempts to enumerate the number file descriptors in use. This is fine except that file descriptors are a C Run Time Library concept on Windows and are not related to networking. In Visual Studio 8, the run time library will assert() if an invalid file descriptor is passed to fstat() which is the test used to determine if a file descriptor is valid. This patch simply returns 0 for the number of file descriptors in use because that is what would have been returned anyway with the existing code. What we probably want to return is the number of open socket handles. commit e5c8042e72a077bfcb05232c918995e9e965b7c2 Author: Jeffrey Hutzelman Date: Fri Dec 16 04:25:48 2005 +0000 vos-restore-parent-id-patch-20051215 avoid making broken readonlies when when you restore them commit 1fe17bc36513fffe745df2445754a19d3c0f9863 Author: Chas Williams Date: Fri Dec 16 03:36:16 2005 +0000 linux-dentry-multiple-mounts-20051215 avoid triggering BUG() when a volume is multiply mounted commit 914ac9204801982e1b1b9e827a92cd519ef18bfd Author: Tom Keiser Date: Fri Dec 16 03:31:18 2005 +0000 freedatabufs-mark-free-20051215 avoid an error with marking data packets free commit b34223345b07b16008e3b4253c2572bea25fca55 Author: Tom Keiser Date: Fri Dec 16 03:27:17 2005 +0000 multibreak-rework-avoiding-race-20051215 avoid a potential race finding the correct connection during MultiBreakCallBack_r commit d00359b24139753b8f6a62c6a9137c8f8ccd3b7e Author: Rainer Toebbicke Date: Thu Dec 15 15:15:30 2005 +0000 rx-osi_alloc-prototype-20051215 FIXES 24267 must provide prototype for osi_Alloc() on systems with 64-bit pointers and 32-bit int commit f75b0075a79807eaae4e071ea4d0f3bd60d7f547 Author: Rainer Toebbicke Date: Thu Dec 15 05:55:10 2005 +0000 rx-osi_alloc-prototype-20051214 FIXES 24267 include rx.h in order to safely include rx_prototypes.h in order to obtain a prototype for osi_Alloc() in order to prevent pointer truncation on systems with 64-bit pointers and 32-bit int. commit 544dedb6eddd353094a8c7d9b30d76b80f6d2a87 Author: Jeffrey Altman Date: Thu Dec 15 05:51:24 2005 +0000 multiple-local-realms-20051208 This patch extends the krb.conf file allowing the specification of multiple realms which should be treated as equivalents to the local cell authentication domain. Additional realms are specified on the first line of the krb.conf file and are separated by white space. In addition, the patch adds a new file stored in the same directory as the krb.conf file called krb.excl. This file contains a list of principal names, one per line, that must not be treated as local identities. The purpose of this patch is to allow organizations that are supporting multiple realms with synchronized user principal databases to allow their users to login with any of the realms and treat the principal names as equivalent to the local PTS identity. The exclusion is to allow certain names, such as those for administrative IDs, to be restricted to a subset of the realms. Further optimization of the afs_krb_exclusion() should be performed to remove the need to re-read the file. This patch should be considered a temporary solution until a more permanent set of extensions to the PT database and RPCs allow for the assignment of mechanism specific aliases for PT IDs. ==================== 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. ==================== correction to exclusion list parsing commit f9f9894a2c4d98b60f68ef811e7827e67b2dfe88 Author: Jeffrey Altman Date: Wed Dec 14 05:39:56 2005 +0000 windows-ansification-20051214 use modern function declarations commit 8204b5968c0181e094f8369b94c5a4cf1a9de04a Author: Jeffrey Altman Date: Wed Dec 14 05:32:55 2005 +0000 windows-rpc-warning-20051214 If osi_InitDebug() fails due to RPC_S_NO_PROTSEQS, log to the afsd_init.log file a warning indicating that the registry should be examined for a misconfiguration of Windows. commit b99bd38da60f374a03382090fdaae906a00c8428 Author: Jeffrey Altman Date: Wed Dec 14 05:29:28 2005 +0000 windows-fs-setserverpref-vldb-20051214 prevent a panic condition if "fs setserverprefs -vlserver" is executed more than once before the vlserver is associated with a cell. commit aa2c784b5902691ec56103394c6725d7af6eaaa5 Author: Jeffrey Altman Date: Wed Dec 14 05:27:09 2005 +0000 windows-registry-20051214 Change all of the daemon check interval values so they can be set via the registry. commit 5d2b5780c463af51ffa264386daff210c633263f Author: Russ Allbery Date: Wed Dec 14 01:36:05 2005 +0000 retire-cat-pages-20051213 These can go now that we have POD versions of, in most cases, newer versions of the same documentation. commit f64a78e7013ebafd9ce4a0a50822a6087ff62f6c Author: Russ Allbery Date: Wed Dec 14 01:30:20 2005 +0000 man5-editing-pass-20051213 This completes the first editing pass of the man pages. Very little content editing has been done, but the server and client versions of various man pages have been combined into a single man page for the file (affects CellServDB, ThisCell, NetInfo, and NetRestrict), the descriptions of the various AFS cache files have been combined into one afs_cache man page, and the descriptions of the two butc log files have been combined into one butc_logs man page. For man pages for databases with two files, symlinks are now created on installation for the secondary file name. All of the man pages should now be ready for public review, additional editing and cleanup, and content editing. commit 68900af5e7dc40a52043d499eaa3babae992f8b9 Author: Rainer Toebbicke Date: Tue Dec 13 21:58:49 2005 +0000 fix-cbd-20051213 The attached patch makes the cbd program (the stand-alone version of the fileserver's callback.c) work again. (Now I expect 99% "what's that?" and 0% "what a relief!" reactions. As a reminder that's one of the things you might go hunting for after a 'kill -XCPU' to the fileserver - this program is probably used infrequently but the older you get... ) commit ab4abf15fef60308b982c73b6d1a17fa60577120 Author: Russ Allbery Date: Tue Dec 13 19:21:13 2005 +0000 man8-editing-pass-20051213 This completes the initial editing pass of the section eight man pages. Only small amounts of content editing has been done. Some known problems have been noted in README, but there will doubtless be others, as well as some lingering formatting problems. However, the quality should now be good enough for general public review. Some of the section eight man pages were really supposed to be section one, the package apropros and package help commands are too useless to document, and a few of the difficult-to-name section five man pages have now acquired names. commit cd6e2b99298bbb12d09b92b6b86de7f811f4e803 Author: Tracy Di Marco White Date: Sun Dec 11 18:57:15 2005 +0000 netbsd-statvfs-20051211 FIXES 22905 NetBSD 2.1 doesn't have statvfs, but the version numbering scheme changed so the test was getting this wrong. commit a6c0532569e401f125f62639bf9e2c5c0092edf0 Author: Russ Allbery Date: Sat Dec 10 18:47:40 2005 +0000 multiple-local-realms-fix-20051210 The krb.excl paths need to be defined for Unix as well. commit 77d0369d3bdeab78b02f306644ddb6133e1a1484 Author: Chas Williams Date: Sat Dec 10 18:28:03 2005 +0000 linux-srcdir-mapfile-20051210 FIXES 23317 Look for the shared library mapfile in ${srcdir} on Linux to allow for out of srcdir builds. commit d60224477f13bbf6a16d9582040e38d539859518 Author: Russ Allbery Date: Fri Dec 9 16:43:14 2005 +0000 man-page-readme-20051209 Initial documentation for the man page project, including initial notes on conversion, a start at a formatting guide, information on how to contribute, and an initial issues list of things I happened to notice while editing the section one pages. commit 7b5bfb1c1793c488fff06fc9014119a286ec86a7 Author: Russ Allbery Date: Fri Dec 9 14:50:02 2005 +0000 man-page-reorg-20051209 Generate the man pages in man1, man5, and man8 subdirectories rather than directly in the doc/man-pages directory to reduce clutter. Add a .cvsignore to reduce noise. commit 03b9fcc8834bfaaac069b27c0cd919934b68e833 Author: Russ Allbery Date: Fri Dec 9 14:48:56 2005 +0000 man1-editing-pass-20051209 Complete an initial editing and cleanup pass for all section one man pages. Fix various conversion problems, formatting inconsistencies, and obvious problems. Please note that no editing for content has yet been done; this is solely editing for formatting and correct conversion to POD. Also, add some additional section five man pages that were omitted from the first conversion run due to unusual file names, and globally replace CAVEATS with CAUTIONS in the man pages to match the original section name. The section one man pages should now be in reasonable shape and ready for additional review and further updates, although there are probably still remaining obvious problems. ==================== 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. ==================== This file got the wrong name when it was originally committed. Fix. commit e3dfba8e6c10c296c09e9b0ac0c0355658ce0be7 Author: Russ Allbery Date: Thu Dec 8 12:14:33 2005 +0000 man-page-conversion-20051208 This is the initial conversion of the AFS Adminstrators Reference into POD for use as man pages. The man pages are now generated via pod2man from regen.sh so that only those working from CVS have to have pod2man available. The Makefile only installs. The pages have also been sorted out into pod1, pod5, and pod8 directories, making conversion to the right section of man page easier without maintaining a separate list and allowing for names to be duplicated between pod5 and pod1 or pod8 (which will likely be needed in a few cases). This reconversion is done with a new script based on work by Chas Williams. In some cases, the output is worse than the previous POD pages, but this is a more comprehensive conversion. This is only the first step, and this initial conversion has various problems. In addition, the file man pages that didn't have simple names have not been converted in this pass and will be added later. Some of the man pages have syntax problems and all of them have formatting errors. The next editing pass, coming shortly, will clean up most of the remaining mess. commit 71f9628a437e0ac7b9b9754d71c06ca5c3408061 Author: Jeffrey Altman Date: Thu Dec 8 01:01:30 2005 +0000 viced-multiple-ports-per-client-20051208 this patch replaces the single address in the Interface structure with an AddrPort structure. This enables the servers to send messages to the correct port if the port on the Interface does not match the port stored in the client itself. commit 151ac6c167e30ab0a5c22e95ff48d837d4e08cba Author: Jeffrey Altman Date: Wed Dec 7 12:01:32 2005 +0000 windows-afsd-service-20051121 add logic to process VNOVNODE in cm_Analyze. Force re-evaluation of symlink strings and flush the stat cache entry. force the use of new rx_connections when the server is marked down. prevent server objects from being freed if user preferences are set. ==================== 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. ==================== improvements to VNOVNODE fix commit 78bc041fe6349136bf186e90a727566892584210 Author: Derrick Brashear Date: Thu Dec 1 15:18:08 2005 +0000 linux-26-390x-update-20051201 add linux26 version for symlinks commit 49f0f7bb0ee04b6f80a4f84dbfd00dbf8f274ac2 Author: Derrick Brashear Date: Thu Dec 1 07:36:35 2005 +0000 macos-103-20051201 last fixes i swear commit 3cccddb31f04deefbc20a52f95aabfa9e12853e5 Author: Derrick Brashear Date: Thu Dec 1 05:42:27 2005 +0000 macos103-20051201 one more fix commit 72e221c0c164557d4eac98d982370ca925085f96 Author: Derrick Brashear Date: Thu Dec 1 05:19:00 2005 +0000 macos-103-packaging-20051201 fix packaging script for 10.3 commit 05db09ada10f83666a8d46e734d26656e99397f2 Author: Derrick Brashear Date: Thu Dec 1 05:09:32 2005 +0000 volume-callback-fix-20051201 fix rainer toebbicke's callbacks vanishing issue. this was probably my fault merging commit 8887021eee01111f10e57db19885ace53ad46850 Author: Derrick Brashear Date: Thu Dec 1 04:13:18 2005 +0000 macos10-fstrace-catalog-20051130 package the fstrace catalog correctly for osx commit 9c3c2428250a8fd78af66fe8d5d6c467e8599b1d Author: Mike Garrison Date: Thu Dec 1 04:02:23 2005 +0000 files-per-subdir-math-error-20051130 FIXES 23811 use a bitshift instead of xor(!) commit 421e063d9b6500299b5e02b999b22c01dcc7c496 Author: Tom Keiser Date: Thu Dec 1 03:57:49 2005 +0000 freepackets-cbuf-leak-20051130 FIXES 23143 at least i'm guessing it fixes that one fix memory leak for multilevel packet queue stuff commit eeee5a9e14a693538a62565483db8f1b3d46cc99 Author: Jeffrey Altman Date: Wed Nov 30 06:39:40 2005 +0000 windows-afskfw-20051130 correct the construction of the client name (with realm) when krb524 is being used. commit ae2f1d3f68266a47d04b62fab577ada30990732c Author: Jeffrey Altman Date: Tue Nov 29 07:00:19 2005 +0000 rx-lock-leak-20051128 Fix a lock leak introduced when adding thread local packet queues. commit d94337feafeabe053d8fa4c6296ef776e4fd2597 Author: Derrick Brashear Date: Tue Nov 29 06:52:03 2005 +0000 macos103-update-20051129 make the kernel module work too commit efeedc4ac12632c619d1d4d719beac22478e14cc Author: Derrick Brashear Date: Tue Nov 29 04:58:49 2005 +0000 macos-103-update-20051128 roll up fixes for 10.3 commit 003667acda60ed5ec9397a4a1c02a37d51dc74e4 Author: Chas Williams Date: Tue Nov 29 04:12:11 2005 +0000 solaris-sparc32-largefile-20051128 FIXES 23296 readd largefile support for solaris sparc32 commit 390fd697a05fc51ddc5e7789b210736838780da4 Author: Chaskiel M Grundman Date: Tue Nov 29 03:40:58 2005 +0000 h-enumerate-r-safety-20051128 FIXES 23336 needs further testing, configure a low number of callbacks and hit the server. commit bb7b7cef7916787f55f51a6dc070e1fa4ca08021 Author: Chas Williams Date: Tue Nov 29 03:09:24 2005 +0000 linux-afs-put-inode-dont-race-20051128 FIXES 23318 hold lock across refcount check. oops commit 030ecf1af9773c0e058ded784dd096fc886fd6d8 Author: Jeffrey Altman Date: Wed Nov 23 05:00:34 2005 +0000 windows-locks-uninit-20051122 Initialize 'code' to non-zero at the top of each loop to avoid setting the last updated timestamp on skipped locks commit 5ce322c9f13522cf96addaf09804021c6d78b22f Author: Jeffrey Altman Date: Tue Nov 22 00:36:31 2005 +0000 windows-drivemap-renewal-20051121 When afscreds.exe performs a drive map renewal it should not delete all existing drive mappings. This undoes the efforts of the AFS logon network provider and any persistent mappings created with the explorer shell. This patch extends the interface to provide a mode in which DoMapShareChange does not remove unknown drive mappings. commit 81365856ce91121c82969f97c1e79d34d30da648 Author: Jeffrey Altman Date: Tue Nov 22 00:31:44 2005 +0000 windows-date-representation-20051121 change date representation to yyyy-MM-dd HH:mm:ss so that it sorts properly commit 3e6fdd48937b91fe9ec1322d2f89648fe8f6088d Author: Jeffrey Altman Date: Tue Nov 22 00:14:25 2005 +0000 windows-fetchstatus-logging-20051121 remove the cell and include the vnode in the FetchStatus log messages commit d99995ccfe30bff1f45f5f2e37beee7ac3566f3b Author: Jeffrey Altman Date: Mon Nov 21 15:51:37 2005 +0000 windows-wix-update-20051121 Wix 2.0.2419.0 changes the way that RadioButton values are specified. commit 73e126c4c4f44f20e67d8ced8a89558746e87a90 Author: Chaskiel M Grundman Date: Sat Nov 19 04:32:47 2005 +0000 deadvnode-locking-update-20051118 FIXES 22870 change how we do vnode locking to avoid locking on ourselves commit 54ad6e769e1362ad5a81c0ef91c49babad9a37f1 Author: Chaskiel M Grundman Date: Sat Nov 19 03:57:54 2005 +0000 macos-allow-cached-stat-access-20051118 FIXES 23257 allow cached stat info to be accessed for directories where a user has only "l" commit d3f9842bd4897b1b5c580858c3cb17326900548c Author: Jim Rees Date: Thu Nov 17 21:03:38 2005 +0000 print-64-20051117 On non-Windows use %llu for 64 bit printf. Thanks to Brent Graveland for pointing this out. commit 35ff383fcf1280b971a3730682d8991e93282e22 Author: Jim Rees Date: Tue Nov 15 18:43:15 2005 +0000 obsd-glock-decl-20051115 Fix decl of afs_global_lock so you can build with global lock disabled commit 6f82595a16750a3811526da9b4376a178e90bb49 Author: Jeffrey Altman Date: Mon Nov 14 06:04:23 2005 +0000 audit-locking-20051113 Add locks around writes to the audit log. This ensures two writes do not interleave. commit 4127de6c6ef90e28a9f32b40bd6360296cf6e93a Author: Jeffrey Altman Date: Mon Nov 14 06:00:34 2005 +0000 network-distance-server-prefs-20051113 Use network distance based server preferences for all server types not just file servers. commit bb0d0e7df0b41d34ba48dc28c986b477d68d49e4 Author: Jim Rees Date: Fri Nov 11 20:32:22 2005 +0000 fbsd-build-path-20051111 set default BSD_KERNEL_BUILD for FreeBSD >= 5.0. commit bdc22ef4d37a35c34c0aa93fff43e6bc4484f7d5 Author: Rainer Toebbicke Date: Wed Nov 9 14:58:29 2005 +0000 pod2man-update-20051109 build when there's no pod utils installed commit 685ba16a0b9db8cf5df2e875ff9a6e5b72d6539c Author: Jeffrey Altman Date: Wed Nov 9 03:00:07 2005 +0000 windows-release-locks-at-shutdown-20051108 remember to release all of the locks we obtained from the file server at shutdown. commit dc28ad2b6526faf697346e3ef8bc34e02c199758 Author: Derrick Brashear Date: Mon Nov 7 23:42:02 2005 +0000 hpux-store-fd-sooner-in-iopen-20051107 do this a little differently, it may change out from under us commit ce80f99d7f905ae0928983b6a560f9b8b82c34b7 Author: Rainer Toebbicke Date: Mon Nov 7 19:48:07 2005 +0000 cellconfig-make-nkeys-littleendian-20051107 cellconfig-check-for-corrupt-keyfile-20051007 should convert at least nkeys to host byte order before checking anything - fails on little endians otherwise. commit b02d80508faeb9df788089a4cfc5578781efb46c Author: Jeffrey Altman Date: Sun Nov 6 09:29:36 2005 +0000 windows-64-bit-type-safety-20051105 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 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. ==================== more corrections for use of 64-bit types on Windows ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler ==================== 64-bit type safety changes required for successful compilation on Windows 64-bit systems with the VS 2005 compiler commit 14a373e19cce71ffc32dedf5f241840197381235 Author: Niklas Edmundsson Date: Thu Nov 3 04:10:05 2005 +0000 cvsignore-updates-20051102 FIXES 22861 add generated files to cvsignores commit 6792431d289a8bd5cc035907247c3d7b31a9b98c Author: Niklas Edmundsson Date: Thu Nov 3 04:05:46 2005 +0000 aix5-warning-error-cleanup-20051102 FIXES 22855 aix 5.1 and 5.2 should also build commit e240c805e238e803ae910487c9f87ee98f508414 Author: Jim Rees Date: Wed Nov 2 17:54:44 2005 +0000 cmdebug-obsd-ce32-20051102 OpenBSD has no easy way to printf a 64 bit int so just use PrintCacheEntries32 commit 14a985b93f053896c6cd7b2dce1ed07cbff7df73 Author: Derrick Brashear Date: Wed Nov 2 05:30:47 2005 +0000 hpux11i-64bit-iops-20051102 hpux 11i has 64 bit inodes commit e2c497b0368b13e84e6a6404c3761e28d40f2119 Author: Tom Keiser Date: Wed Nov 2 05:22:39 2005 +0000 fpq-bulk-free-math-error-20051101 fix a math error here commit c558c12d2b93d6ff664542ea4a667f97c4368588 Author: Jeffrey Hutzelman Date: Wed Nov 2 00:27:30 2005 +0000 linux-ia32-offsets-include-change-20051101 include these correctly commit eb39935d4b3bdad5ee64afa0b50deea09a18333c Author: Jim Rees Date: Tue Nov 1 18:44:38 2005 +0000 libafssetpag-bsd-20051101 bsd only: make a real syscall.o (but with no code) build libafssetpag commit 93cd1ed38932e8ddcedc8d082ab739ba949b90c7 Author: Derrick Brashear Date: Tue Nov 1 16:42:47 2005 +0000 hpux-vol-package-cleanup-20051101 make inode salvager large partition compliant make namei compile cleanly again commit 8cf272e5f16abfe6b90b01bc613bf7f47bc4336c Author: Asanka Herath Date: Mon Oct 31 22:12:03 2005 +0000 windows-tests-winflock-20051031 A windows specific file locking test app for exercising the byte range locking code. commit eaa142645227b1af8a7d41f8b9c376ddf789c532 Author: Jeffrey Altman Date: Sun Oct 30 01:59:57 2005 +0000 windows-checkserver-fix-20051029 the windows client was not treating Verror responses from the server as indicating the server as up if they were positive commit 288886618b347cdd2d4bfaa06a2df18b1a24229e Author: Jeffrey Altman Date: Sat Oct 29 21:13:43 2005 +0000 windows-daemon-timers-20051028 the daemon up server check was set for 1 hour and not ten minutes. turned all interval constants into variables so that they can be set via registry entries at a future time. commit 86b23327f8580f3b811b4bdc6734b28a79aa2993 Author: Jim Rees Date: Thu Oct 27 19:34:44 2005 +0000 ubik-trans-decl-20051027 add missing decl for struct ubik_trans commit 6b042d4edb7f26358523da9dcdb565ed023e00da Author: Ken Hornstein Date: Tue Oct 25 20:08:02 2005 +0000 integrate-asetkey-20051029 Add asetkey to the OpenAFS tree. commit 834507571e397dc3a07550ef86ca2c159068d1ff Author: Derrick Brashear Date: Tue Oct 25 07:30:52 2005 +0000 tbutc-solaris-and-vos-api-fixes-20051024 FIXES 22063 as tested for this and 22316 ==================== 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. ==================== FIXES 22316 the rest of this, since i forgot to apply the other file earlier oops commit 2bcece3cfad14f22759b1ec546646be900c3c504 Author: Jeffrey Altman Date: Tue Oct 25 03:07:50 2005 +0000 windows-rap-debug-20051024 some more debugging messages commit cc3bbcb8e69dee4fe303e4e6adfed02df830a1b6 Author: Jeffrey Altman Date: Tue Oct 25 03:02:27 2005 +0000 windows-afsd-makefile-fixup-20051024 put back the ifs rules accidently deleted by cmdebug-merge-20051024 commit 765e8606b9cda1f70f3117b4e1c7397d1ae42690 Author: Jeffrey Altman Date: Tue Oct 25 02:51:17 2005 +0000 cmdebug-merge-20051024 Merge src/WINNT/cmdebug.c into src/venus/cmdebug.c commit cfa7b866c8deb876b06fd634d34ecdd30fb9b819 Author: Ervin Fenyak Date: Sun Oct 23 20:05:40 2005 +0000 add-volupdate-counter-20051015 FIXES 18349 add a volume update counter. danger will robinson. see ticket for details. ==================== 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. ==================== add configure gunk ==================== add configure gunk ==================== make this happy in libadmin on e.g. solaris ==================== make this work on Windows commit e6e293bb899cb027648908d23848ce13901a7503 Author: Jeffrey Altman Date: Sun Oct 23 07:27:03 2005 +0000 vnop-attrs-fix-20051023 FIXES 22568 fix code broken in mac merge commit 47cc7643e1b04bacd858a3893accab8c377b34ac Author: Jeffrey Altman Date: Sun Oct 23 01:31:28 2005 +0000 windows-mkdir-root-exists-20051021 If a request is received to create the root directory of a device, return CM_ERROR_EXISTS instead of CM_ERROR_NOTFOUND for the nul-string file name. commit 3491c0ffc559ac39fd861ff4c31bd1b4c0d94201 Author: Derrick Brashear Date: Sat Oct 22 07:43:09 2005 +0000 macos-build-dmg-20051021 probably this script should take an argument which is the version string to use, and use it in the volume name and dmg name ==================== 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. ==================== probably this script should take an argument which is the version string to use, and use it in the volume name and dmg name commit 9e1a0f8a0d5e77a490992ace7a2d7839a361c661 Author: Jeffrey Altman Date: Fri Oct 21 00:32:40 2005 +0000 viced-audit-createfile-20051020 add the FID of the created file to the audit output for CreateFileEvent commit 1b7cbd1211ff12c983452e03ea0689360e1478d2 Author: Jeffrey Altman Date: Thu Oct 20 06:09:08 2005 +0000 windows-notes-20051019 updates commit 8b0b064f7ec60d8b5913248c97553ce3b7fdb775 Author: Jeffrey Altman Date: Wed Oct 19 21:10:52 2005 +0000 window-largeint-20051019 The large integer support was applying a <<32 to a 32-bit value. This is an undefined operation. commit a92aa204855b6459ac483f0dd5b704b4a52edec8 Author: Jeffrey Altman Date: Wed Oct 19 07:57:52 2005 +0000 windows-rxkadunknownkey-20051019 report RXKADUNKNOWNKEY as SEC_E_NO_KERB_KEY commit 9f0f50a2b165392fc0a62f82d8c54e35108ab429 Author: Jeffrey Altman Date: Tue Oct 18 21:52:47 2005 +0000 windows-locking-error-codes-20051018 cm_Lock(), cm_RetryLock() should not interpret servers be unreachable as a sharing violation. commit a923af27265c8d0aa359d57c8c47b50eb0dbeee3 Author: Jeffrey Altman Date: Tue Oct 18 21:50:06 2005 +0000 windows-ip-change-20051018 add a monitor to watch for IP Address changes. When a change is detected, wait 2.5 seconds for things to settle down and then check to see if down servers are reachable. commit f48eb4ab590f25162f45a1671ad0917c6ebceeee Author: Jim Rees Date: Tue Oct 18 16:53:06 2005 +0000 libafssetpag-temp-fix-20051018 Define SHLIB_LINKER for [fno]bsd Don't try to build LIBAFSSETPAG for [fno]bsd commit 5cd3d016fdbc6d14c6ac942b0b4e3e92a09755c5 Author: Jeffrey Altman Date: Tue Oct 18 16:29:59 2005 +0000 windows-error-codes-20051018 handle the CM_ERROR_ALLDOWN case when translating cm errors to nt status commit d16fb72074a3e81ad5ce295fbc49fa8707852545 Author: Jeffrey Altman Date: Mon Oct 17 22:28:12 2005 +0000 windows-fw-service-test-20051017 Do not perform Firewall Configuration if the firewall service is not installed commit 1ed8428d1e4710594a299d9e6d765a1bb414cb2a Author: Chas Williams Date: Mon Oct 17 21:45:39 2005 +0000 irix-no-xfs-checks-for-namei-20051017 FIXES 22435 don't do inode checks when using namei commit cd98a20f1c9e89eb44ef5c5349337292bd3ba243 Author: Jeffrey Altman Date: Mon Oct 17 20:31:31 2005 +0000 windows-firewall-configuration-20051016 Windows Firewall Policy cannot be accessed by a service unless from the Service Manager thread nor until the service is in a RUNNING state. Firewall configuration moved to cm_Daemon() thread. commit 8922ad369e1df7d9a983986b4eafe19153da55ae Author: Ken Hornstein Date: Mon Oct 17 20:00:38 2005 +0000 rename-afssetpag-dot-map-to-mapfile-20051017 The Solaris/Linux symbol export files must be named "mapfile" (see the definition of SHLIB_LINKER for Solaris). commit d5a7daef3c6b91782a3779f00b7b9cb9292c352d Author: Jim Rees Date: Mon Oct 17 18:49:53 2005 +0000 struct-socket-20051017 rx_prototypes.h needs struct socket now commit 3437c1ad7b15eef9c1e33f936ac500b360e1ff9c Author: Jeffrey Hutzelman Date: Sun Oct 16 01:55:59 2005 +0000 cellservdb-update-20051015 15 Oct 2005 commit 1968364520eb35b16b676a0a4abe7461da8ba87d Author: Jeffrey Altman Date: Sat Oct 15 22:51:28 2005 +0000 rxgen-server-prefix-prototypes-20051015 When producing prototypes for server side functions, use the correct prefix as specified in the input file. If there is no prefix, then do not output the prototypes as they will collide with the client side stub prototypes. commit 51fa307a0011d3ca27e6199631e1b2bdc75a9f50 Author: Jeffrey Altman Date: Sat Oct 15 22:45:43 2005 +0000 windows-universal-error-handling-20051015 properly interpret the universal error codes commit 19f1c37c067b0820236f0cdc53c3e7577a3ae7ca Author: Russ Allbery Date: Sat Oct 15 17:25:21 2005 +0000 shlibafssetpag-20051015 FIXES 18745 implement {sh,}libafssetpag commit 7d0647d5ee9ae0d9b003f0e0c765522aa1433d23 Author: Chas Williams Date: Sat Oct 15 16:51:09 2005 +0000 linux-write-dirty-pages-once-20051015 FIXES 20561 this time for sure, only write back once commit 0f422eae1934a55e666c2f4d8968713fd02ad5f0 Author: Derrick Brashear Date: Sat Oct 15 16:40:14 2005 +0000 default-largefile-on-20051015 turn on largefile fileserver by default commit 2699810c91aa883c51535e05f86c30bd7b665c2b Author: Russ Allbery Date: Sat Oct 15 16:22:15 2005 +0000 afsd-no-logfile-20051015 FIXES 18662 remove afsd logfile parm commit 16546f6826c4fac2a096840116277f913b861d85 Author: Russ Allbery Date: Sat Oct 15 16:07:44 2005 +0000 shlib-rationalization-200510155 FIXES 18767 make use of the export map. set a useful soname. commit 351a1e3d512dae952c5dcdaf4c818582a2450e85 Author: Russ Allbery Date: Sat Oct 15 16:00:57 2005 +0000 pod-man-pages-20051015 FIXES 19268 add pod generation of man pages commit 3d96fdb1825bd8c6bf76c11ed2fa5dc8f56aa532 Author: Frank Burkhardt Date: Sat Oct 15 15:54:28 2005 +0000 cellconfig-afsdb-use-dots-20051015 FIXES 20908 do lookup postpending a . commit 4f5ab395d66a287eb262d67a4935e928691c4cd7 Author: Chas Williams Date: Sat Oct 15 15:42:17 2005 +0000 darwin-x86-20051015 FIXES 20130 add support for x86 darwin commit 78eefa1c032e6e29fba1b90f4c1f8d76b91d973a Author: Greg Hudson Date: Sat Oct 15 15:37:10 2005 +0000 aix-afsdb-20051015 FIXES 20801 fix earlier issue with aix afsdb fix commit 7c8cf708a06d810bba065e2a49d6ed80e754e1a9 Author: Niklas Edmundsson Date: Sat Oct 15 15:23:05 2005 +0000 aix-warning-cleanup-20051015 FIXES 21066 clean up aix warnings. hint that large file support works commit 1c990adad6b654170849ccdaa1e5476d6caba9b4 Author: Tracy Di Marco White Date: Sat Oct 15 15:16:07 2005 +0000 nbsd20-amd64-20051015 FIXES 21562 add amd64 netbsd 2.0 support commit f3d6141262e32e788838afee5e6c7a277ce3d029 Author: Love Hörnquist-Åstrand Date: Sat Oct 15 04:42:47 2005 +0000 viced-help-abortthres-20051014 FIXES 22070 add help for abort thresshold switch commit a5f2ec497d2c3452d795aa1d98309414c2d8c0e7 Author: Jeffrey Altman Date: Sat Oct 15 04:36:57 2005 +0000 windows-check-locks-logging-20051014 add a log message so we can tell how long it took. commit ee1435d516a31e8ec2d07ec9021bf032ac12f9cd Author: Peter Somogyi Date: Sat Oct 15 03:32:06 2005 +0000 newvcache-can-fail-now-20051014 FIXES 22260 allow newvcache to fail without ooping sort of nasty, if you want more vcaches, say so. commit 2a4a4f417dd4193df9e0a3deae14aacd3f94ccb1 Author: Peter Somogyi Date: Sat Oct 15 03:12:17 2005 +0000 java-update-20051014 FIXES 21930 update java afs classes commit 410514dc6da0f9ff810668b5c75174e1ed6e4912 Author: Derrick Brashear Date: Sat Oct 15 03:03:53 2005 +0000 hpux11-no-kthread-iface-20051014 11.0 lacks this header. commit 012f413e4e35fce33a3039df7611c3ea3b66aeca Author: Chas Williams Date: Sat Oct 15 02:42:14 2005 +0000 solaris10-fs-find-afs-vnode-20051014 find the real vnode so cheating on solaris 10 will work commit a9fd6619a4e74930ae27744f95f04fefabaa6c9f Author: Jeffrey Altman Date: Sat Oct 15 02:18:34 2005 +0000 rxgen-multi-prototypes-20051014 FIXES 22349 generate prototypes for split stuff when the stub is multi commit 5487535dfc97bc78755737e05757b786637f4a81 Author: Jeffrey Hutzelman Date: Fri Oct 14 22:26:29 2005 +0000 linux-objdir-kernel-builds-20051014 FIXES 22352 allow objdir kernel module builds to work again commit 41fe908bead6b30e41fd9e4f5084cd5e1dc3ca4a Author: Jeffrey Altman Date: Fri Oct 14 12:18:15 2005 +0000 windows-pattern-matching-20051014 FIXES 4623 Pattern matching was broken. '?' should match zero characters if it appears before a '.' or at the end of the file name. commit ec38f9ed3236005114292f08d1c77891aa3a36d3 Author: Jeffrey Altman Date: Fri Oct 14 04:25:04 2005 +0000 windows-locking-init-req-20051013 two cm_InitReq() calls were in the wrong place opening the possibility for stack corruption commit ae7d5f250d96b7350ee369a74f71a89d646ddccc Author: Chas Williams Date: Thu Oct 13 21:59:13 2005 +0000 solaris10-afsd-waitpid-to-clean-contract-20051013 FIXES 22317 it seems like this might be a bug in solaris10 when handling contracts of exiting chilren who have created kernel threads. the rxlistener is a kernel thread on solaris and the child that starts the kernel_thread returns and exits. commit ed46ac49431f26e7063359ac96b174d1e7ec49e5 Author: Derrick Brashear Date: Thu Oct 13 20:55:35 2005 +0000 macos-cleanup-20051006 let's revert and try this again ==================== 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. ==================== try this again ==================== try this again commit f49876b8cb2acb94accda10d190c6cfe41a16b81 Author: Loïc Tortay Date: Thu Oct 13 19:25:05 2005 +0000 solaris10-nfs-really-20051013 FIXES 22318 fix array size so this all works commit bb33cbb6eb15664ff56ec5e93d95888878af3d7a Author: Derrick Brashear Date: Thu Oct 13 16:12:00 2005 +0000 macos-rollup-20051013 incorporating STABLE14-macos104-20051005 STABLE14-macos-cleanup-20051006 macos-cleanup-20051006 macos-cleanup-20051007 from the 1.4.x branch, which needed to be forward-ported to work here, sadly. commit b5f47e6d1574a6b267ece2d35f9d8d5a08414d7b Author: Chas Williams Date: Wed Oct 12 07:15:39 2005 +0000 solars-sparc32-largefile-20051011 readd largefile support for solaris sparc32 commit 981b6352250d3bd279cf9bacda4045ca673efa60 Author: Chas Williams Date: Wed Oct 12 07:09:35 2005 +0000 solaris10-ugly-avoid-ENODEV-hack-20051011 fix this a better way, rolling bsack earlier change commit 4e763d07cf510c3a12f2c12bf21c3ec25579b021 Author: Jeffrey Altman Date: Mon Oct 10 23:21:29 2005 +0000 windows-ticket-lifetime-20051010 The lifetime parameter is in minutes so treat it that way. commit f578cae38600970ad6b4da91f2f7b6c0f28a12c6 Author: Jeffrey Altman Date: Sun Oct 9 03:52:33 2005 +0000 macos-missing-files-20051008 add files missing after merge commit 2b4cbfe09beff325862f377bb509ce3515ad221b Author: Jeffrey Altman Date: Sat Oct 8 15:13:25 2005 +0000 windows-release-notes-20051008 Update description of Product ID generation. commit 8299e102c71ae0f3d04c17e089e8f960a7c2bb7e Author: Jeffrey Altman Date: Sat Oct 8 04:57:34 2005 +0000 rx-tq-waiter-rework-20051007 Only Broadcast to wake threads if there are threads waiting. commit 2dcb1cdc3d6f10b366d2b93970f5f1f83287e157 Author: Jeffrey Altman Date: Sat Oct 8 04:49:50 2005 +0000 windows-byte-range-locks-20051007 There was a race condition associated with maintaining the CM_FILELOCK_FLAG_CLIENTONLY flag on locks bound to scache entries for Read Only volumes. Therefore, we remove the use of the flag and simply test the RO status of the scache entry. commit 3b290d5b7972c589000837ea34f3ccbe047d36e0 Author: Derrick Brashear Date: Fri Oct 7 21:11:01 2005 +0000 dedebug-20051007 perhaps this should never be pulled up. anyway, implement dentry cache status dumping for linux. and provide a tool to dump it disabled (tool, not rpc) by default ==================== 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. ==================== perhaps this should never be pulled up. anyway, implement dentry cache status dumping for linux.^? and provide a tool to dump it disabled (tool, not rpc) by default ==================== perhaps this should never be pulled up. anyway, implement dentry cache status dumping for linux.^? and provide a tool to dump it disabled (tool, not rpc) by default commit 57134019771652937047519c4efd5f17b733190e Author: Derrick Brashear Date: Fri Oct 7 20:30:21 2005 +0000 viced-take-offline-on-ihopen-fail-20051007 when IH_OPEN fails, we should take the volume offline so it will be salvaged commit 4a2c3ed5ed878350199350598614bb5f82cf965b Author: Derrick Brashear Date: Fri Oct 7 20:29:30 2005 +0000 solaris10-nfs-trans-update-20051007 partial nfs translatlor update for solaris 10 commit 57e0d7e02d486c76f2004227f2918a92847377cf Author: Chas Williams Date: Fri Oct 7 20:24:16 2005 +0000 solaris10-ugly-avoid-ENODEV-hack-20051007 we need to fix this another way but put it here for now commit f7bc43154dc81503b0f6fba9c9135d8926d16ceb Author: Derrick Brashear Date: Fri Oct 7 20:18:21 2005 +0000 cellconfig-check-for-corrupt-keyfile-20051007 don't crash when we have a corrupt keyfile commit 602f2ae816208f49e08667c65a3eee42ecc39041 Author: Chas Williams Date: Fri Oct 7 18:22:19 2005 +0000 linux-cv-init-20051007 FIXES 20114 fix the CV_INIT macros commit 465273f096b1a1720ca07638537fd4c65d7d1d8d Author: Jeffrey Altman Date: Fri Oct 7 03:09:48 2005 +0000 windows-busy-vs-offline-20051006 Discovered a failure in the state machine. There was no method of distinguishing between all servers being Down (which is handled by the background thread) and all volumes being offline (perhaps due to a move). commit e8ad124c1622ab8a128b801a662db57ef587af68 Author: Asanka Herath Date: Thu Oct 6 18:29:44 2005 +0000 windows-lock-count-fix-20051006 lock counts were not being reduced on file close when the lock was lost. commit 8445720d36474797b67341991f15771dcb90b236 Author: Jeffrey Altman Date: Thu Oct 6 14:48:58 2005 +0000 windows-byte-range-locks-20051006 Do not mark locks lost simply because the ExtendLock failed. A lock is only lost if the server responds with EINVAL indicating that the lock no longer exists. A lock can be renewed by other clients that are also using the file. The client can make no assumptions about the status of a lock based upon the passage of time. commit b9b6cb7c25cb3bcd4d34d1a52a7915c9ba46df06 Author: Asanka Herath Date: Wed Oct 5 14:32:29 2005 +0000 windows-wix-product-id-20051005 As the file name of the OpenAFS installer changes with each release, so must the Product ID (but not the Upgrade ID). Therefore, do not hard code the Product ID in the Makefile, instead auto-generate it as part of the installer. commit b7d63fe7389e1b984bf29ef680f791837fe63386 Author: Jeffrey Altman Date: Wed Oct 5 14:22:35 2005 +0000 windows-byte-range-locking-20051005 Return the actual locking error such as "access denied" due to lack of 'k' privileges instead of a sharing violation. commit 248c22dd15e11ed0ef233a387cb4c1578fe8d71c Author: Jeffrey Altman Date: Tue Oct 4 18:44:22 2005 +0000 windows-exports-20051004 remove duplicate exports commit 83d0b569ee0a05d7a0e96de93c73a1be0813e3fa Author: Jeffrey Altman Date: Tue Oct 4 04:16:36 2005 +0000 windows-rxstats-20051003 strip the pioctl path from the input before reading the flags commit e12837391e2dbbf0cf113f9af64c4daeef6680a3 Author: Jeffrey Altman Date: Mon Oct 3 05:03:39 2005 +0000 windows-afscreds-20051002 FIXES 22032 Extend the fields so that more text can be displayed regarding the tokens. commit abde1e6281ff1403e67c6f573dd10be4c892fb9a Author: Joe Buehler Date: Mon Oct 3 04:13:26 2005 +0000 linux-rc-wait-for-salvager-20051002 FIXES 21754 rc file hack to wait for salvage to finish commit 543e49eaaea2290c4239dd79864384f11adb2607 Author: Derrick Brashear Date: Mon Oct 3 03:54:44 2005 +0000 memcache-set-default-write-size-20051002 based on comment from chas williams. set the default write amount as is done for ufs cache writes commit aee18ed884d2af05174594120ba1825bfe76c96a Author: Joe Buehler Date: Mon Oct 3 03:44:42 2005 +0000 hpux-build-updates-20051002 FIXES 21722 ndir.h has been changed. also, pthreads header doesn't match how we used it commit cb39d44cf56f51d6a14a6ba61f4b0662719aac8e Author: Jeffrey Altman Date: Mon Oct 3 03:29:45 2005 +0000 windows-release-notes-take2-20051002 place the text in the correct section commit 6a643ba40a75ed0a03ddf6986eb6bdd485335f6d Author: Jeffrey Altman Date: Mon Oct 3 03:17:56 2005 +0000 windows-release-notes-20051002 Document registry entries for RX stats gathering commit 43693952e7d7a2f7948940ab4376547ba691562b Author: Jeffrey Altman Date: Mon Oct 3 01:22:53 2005 +0000 windows-notes-20051002 changes for 1.4.0 rc6 commit 28b99d753cbb5ff1dd527a93c8c6ee9c5c5011dd Author: Jeffrey Altman Date: Sun Oct 2 15:48:25 2005 +0000 windows-shell-ext-default-buttons-20051002 many of the shell extension dialogs did not have default pushbuttons specified which would result in an undesirable end user experience commit f8bdf475e2260f8c8d70a4ddc053ef3ec086a416 Author: Jeffrey Altman Date: Sun Oct 2 15:46:13 2005 +0000 windows-shell-ext-prevent-unload-hack-20051002 The shell extension is unloading as it should but is never being loaded again. Since we have no clue why and no idea how to debug it, for now, just prevent it from being unloaded in the first place. commit c0013b2513b206edded080f0a4cea6e7e96ab281 Author: Jeffrey Altman Date: Sun Oct 2 10:07:16 2005 +0000 windows-shell-ext-server-status-20051002 Fix the server status dialog to properly call CheckServers and fix CheckServers to properly construct the data structure for the pioctl call. commit f3e2cdb5260e49d5335d37fdab909d360bbe7102 Author: Jeffrey Altman Date: Sun Oct 2 07:04:36 2005 +0000 windows-rxstats-20051001 Add interface to rxstats api commit bc536e32afbd921ff7be5065f92ec397ab7a2406 Author: Jeffrey Altman Date: Sun Oct 2 06:52:28 2005 +0000 windows-afsrpc-exports-20051001 Add missing exports commit e06475ff424f416086a1b859eb658e0f2ac9ed13 Author: Jeffrey Altman Date: Sun Oct 2 05:45:27 2005 +0000 windows-afs-shl-ext-rc-20051002 The DownServers dialog had the wrong resource id associated with the listbox. commit 2b1604240e664da572df922aa84b15b717fcd8ec Author: Jeffrey Altman Date: Sat Oct 1 13:10:41 2005 +0000 windows-fs-exa-20051001 Add reporting of the FID, cell, owner and group to the output of "fs exa" (on Windows only). There is no other means to obtain this data from a Windows client. commit 46e260b9e72925f9f5b2e5cee3159d4c6b02fc05 Author: Matthew Loar Date: Sat Oct 1 05:50:44 2005 +0000 windows-afscreds-20050930 FIXES 21958 For the afscreds program on Windows, if you right click the system tray icon to display the menu and then click on the taskbar, the menu is not hidden, but instead is covered by the taskbar. This is a common issue documented at http://support.microsoft.com/default.aspx?scid=kb;en-us;135788. commit f1454a2885c410f5e886fa136a61c70cc06d42df Author: Chas Williams Date: Thu Sep 29 21:34:55 2005 +0000 solaris-init-offset-for-write-20050929 passing a random nlen into afs_GetDCache() when in write mode seems to sometimes trigger overwrites. commit 49ee8b5cfc44964d0305f2e1cc6b4d5d4ab8b028 Author: Tom Keiser Date: Thu Sep 29 05:42:31 2005 +0000 makefile-dependancies-20050925 FIXES 21859 add missing dependancies to make it explicit who needs what commit 69a5db9fda91d5fc7becb85980f2f0595ebe7ed5 Author: Jeffrey Altman Date: Tue Sep 27 05:37:37 2005 +0000 windows-nsis-20050926 Install a Documentation Shortcut as part of the client install. It is independent of the Supplemental Documentation which is not required for the release notes. commit f2674a3d45dfe83efb5c0647e22e25f42c553d13 Author: Jeffrey Altman Date: Tue Sep 27 04:13:31 2005 +0000 windows-notes-20050926 more changes for 1.4.0 rc5 commit a1e9273ded1993c528576102fca290663854e0c8 Author: Asanka Herath Date: Tue Sep 27 03:40:16 2005 +0000 windows-wix-docs-20050926 Match the documentation location of the NSIS installer. commit 1512b602134bf46d78671628e438a5b7f9155524 Author: Jeffrey Altman Date: Tue Sep 27 01:35:21 2005 +0000 windows-release-notes-20050926 Document MSI Product Codes commit 54ce3cf1e76210aef198f7ca90c7eaeae9d6c484 Author: Jeffrey Altman Date: Tue Sep 27 00:30:33 2005 +0000 windows-installer-guid-20050926 New GUIDs for the 1.5 branch: amd64_w2k {A0A7B986-CF35-499c-9400-9A987F218127} i386_nt40 {93AFD8F0-C150-47bc-B318-A029222D8993} i386_w2k {E832F832-C937-46bc-8C1D-BC7EF6F3F62F} commit 0632bcbdabec3536582632097194abb65c36bf95 Author: Jeffrey Altman Date: Mon Sep 26 04:13:16 2005 +0000 windows-issues-20050925 update the outstanding issues list commit 06c41102b4b1ee1f120aa4d8f2081ab7ed24d720 Author: Jeffrey Altman Date: Mon Sep 26 04:10:42 2005 +0000 windows-notes-20050925 document changes for 1.4 rc5 commit a5ec94485bf57826c09be0a3fa44ae610e1cc7e8 Author: Jeffrey Altman Date: Mon Sep 26 03:51:41 2005 +0000 windows-index-title-fix-20050925 Fix the title to read OpenAFS instead of IBM AFS commit 7a3dd6f807beb3f516bcbcbe5cb2523fcd464c62 Author: Jeffrey Altman Date: Mon Sep 26 03:32:23 2005 +0000 windows-nsis-install-c-20050925 remove the new docs from non-en_US installs. We need to find someone to perform language conversion. commit cd8126f56c27848add91bb1e323ab40457472748 Author: Jeffrey Altman Date: Mon Sep 26 03:14:49 2005 +0000 windows-nsis-install-b-20050925 oops, missing '\\' commit 93b2789e897c707e37dfaac3a039773e681cdf7f Author: Asanka Herath Date: Mon Sep 26 02:19:01 2005 +0000 windows-wix-install-20050925 Add new HTML release notes to MSI commit da213bfa2904bdb3899982640822e9434d515b6c Author: Jeffrey Altman Date: Mon Sep 26 02:10:05 2005 +0000 windows-notes-remove-20050925 remove files whose contents are now maintained in the HTML files src/WINNT/doc/... commit a2e39eb0f239da83dc438806bcb0b4a5ee5e88d8 Author: Jeffrey Altman Date: Mon Sep 26 01:47:25 2005 +0000 windows-nsis-install-20050925 Update the installer to always install the release notes. ==================== 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. ==================== add all of the new directories commit 2c599161dbb255edee27c4fc176a8011408f2b47 Author: Jeffrey Altman Date: Mon Sep 26 01:18:00 2005 +0000 windows-release-notes-20050925 Update the installed documentation to include the new OpenAFS for Windows release notes. No IBM documentation is being removed but the top level index page has been re-written to indicate that the IBM docs are out of date. The new OAFW Release Notes have been added to the ReleaseNotes with a link. ==================== 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. ==================== Fix the link to the OAFW notes. ==================== fix the links to point to .htm instead of .doc commit 4e49cb6fcf340a74c68520476ceec598180b8134 Author: Derrick Brashear Date: Fri Sep 23 15:55:38 2005 +0000 revert-aix-afsdb-20050815 FIXES 20801 revert this until it's corrected. commit 9c7f6fa17209ce8cfbe73eefbcbb37aced31cc60 Author: Peter Somogyi Date: Wed Sep 21 16:13:28 2005 +0000 pthread-glock-volatility-20050921 FIXES 21526 deal with situations where pthread glock assert happens by asserting volatility. ick. commit fbba9553640a785bc449672d60870a6fcd043436 Author: Jeffrey Altman Date: Wed Sep 21 01:33:42 2005 +0000 rx-send-error-code-propagation-20050916 corrections to rx-send-error-code-propagation-20050915 for bsd commit 664c5f83fea216fe8e1213ba50cf955dd5d768a2 Author: Joe Buehler Date: Wed Sep 21 01:02:42 2005 +0000 aix-export-h-20050920 FIXES 21723 make sure we include our export.h and not the one from nfs. commit cc8cfd47bc506396501c9bd2225dd907567e36b7 Author: Jeffrey Altman Date: Tue Sep 20 00:24:26 2005 +0000 windows-icons-20050919 Associate the OpenAFS icon with the Control Panel and Service and the installers commit 277c3b4ecf11398457c617ecd63e6c7f1a52fd1c Author: Stephan Wienczny Date: Mon Sep 19 04:39:13 2005 +0000 linux-no-pf-freeze-20050908 FIXES 21424 new enough linux has no PF_FREEZE sigh commit 8aef0475415d2b67721b06aaad6a6aa47b3f2bf8 Author: Jeffrey Altman Date: Sat Sep 17 20:59:22 2005 +0000 windows-rx-debug-tid-20050917 add the thread id to the rx debug output commit 18bb5faec22ac8c000b7964eef635a1213500654 Author: Jeffrey Altman Date: Fri Sep 16 04:24:30 2005 +0000 windows-servers-all-down-do-not-retry-20050915 remove the logic in cm_Analyze that performs a flush of the server data and retries when all of the servers are marked down (aka ALLOFFLINE). Instead return an immediate error to the caller. The servers will be checked by the background daemon thread and made available when they are. commit 9ac9185b0feb87eff820963f83a6c861c49bdab5 Author: Jeffrey Altman Date: Fri Sep 16 03:27:15 2005 +0000 rx-send-error-code-propagation-20050915 * add a version of rxi_DebugPrint for Windows that uses OutputDebugString * migrate all printf statements to the dpf macro * stop masking the errors from rx_sendmsg() so that higher level functions can make decisions based upon the failure. * Windows reports EHOSTUNREACHABLE. Similar to Linux, if it is reported reset the send packet start time to 0 in order to immediately cause the server to be marked down. commit b08017e91f5b4d175b5c9b1f6d68adb9effa3360 Author: Derrick Brashear Date: Wed Sep 14 09:51:56 2005 +0000 rx-tq-waiter-rework-20050914 heavily reworked by jaltman@secure-endpoints.com and then a little further editing by me see if we can avoid doing to sleep forever waiting on the tq to flush ==================== 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. ==================== do not decrement tqWaiters in the while evaluation. This will result in an invalid count if the value was zero to begin with. commit bd1cc3d37b456b02d9d1446ae12962fdd97fa1a5 Author: Jeffrey Altman Date: Wed Sep 14 05:41:54 2005 +0000 windows-notes-20050914 Add note regarding AFSCache file fragmentation affecting performance Fix one of the RPC registry entries Document UUID re-generation change commit bbf6472a111727e739ec5216b431c1c9263af736 Author: Derrick Brashear Date: Wed Sep 14 05:28:11 2005 +0000 rx-no-data-on-call-zero-20050913 hopefully fix sven oehme's problem commit 870d414e6c3765ff52a65d1c06fbc5ddfb254f17 Author: Jeffrey Altman Date: Fri Sep 9 20:47:03 2005 +0000 windows-detect-uuid-cloning-20050909 Begin to store the Disk Volume Serial Number and Machine SID in the AFSCache file for use in detecting system clones. Clones must get a new UUID for the AFS Client. commit 604435daaf23c9883c6ac52c1c3b656ebacbaae7 Author: Jeffrey Altman Date: Fri Sep 9 20:43:07 2005 +0000 windows-fs-cleanup-20050909 remove unused variables commit 1d83f0e3b725643c32ec211694f554acd9d6777a Author: Jeffrey Altman Date: Fri Sep 9 13:51:43 2005 +0000 windows-pioctl-debug-20050909 log the pioctl path provided by the caller commit 9e348b344dfe9f3940f099beb2acc208fa90a61c Author: Jeffrey Altman Date: Wed Sep 7 20:19:10 2005 +0000 windows-fs-flushall-20050907 "fs flushall" is like "fs flushvolume" but flushes all data in the cache ==================== 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. ==================== typo commit 6d6789345ecab70c973cea46b5b262e92e153498 Author: Chas Williams Date: Wed Sep 7 18:38:56 2005 +0000 linux-root-fix-reval-20050907 FIXES 21390 revalidate the root vnode correctly so if we become replicated we don't lose commit d154b54b555ab1c0eca0a633a29e6d73a1ef35bd Author: Jeffrey Altman Date: Wed Sep 7 18:17:04 2005 +0000 windows-uuid-note-20050907 Warn users to remove AFSCache file when cloning machines with AFS installed commit 46e69c150286793e0c2238af01b8d4637b95dd54 Author: Chas Williams Date: Mon Sep 5 17:28:39 2005 +0000 linux-root-no-reval-20050905 don't revalidate the root afs vnode, so if root.afs becomes replicated out from under us we don't lose. commit e32a568a967d3a63832ac57f77032ca34fb7056d Author: Jeffrey Altman Date: Sun Sep 4 05:53:27 2005 +0000 windows-install-notes-20050904 updated install notes commit d9a958998c6a04e213532f908dbb2a559ea8c355 Author: Jeffrey Altman Date: Sun Sep 4 05:50:17 2005 +0000 windows-updates-20050904 most recent change descriptions commit fed9b0844cbd07717e0af1376573f835eb3aaade Author: Chas Williams Date: Sun Sep 4 05:10:14 2005 +0000 linux-remove-reval-shortcut-20050903 don't skip revalidation work so we don't end up with bogus directory dates commit fd8bfddd5ec9395a9ed5057e36abeb66beb976fb Author: Nathan Neulinger Date: Sat Sep 3 00:38:16 2005 +0000 shlibafsrpc-objdir-20050902 FIXES 21312 make objdir builds work again commit 599b57ed78f86eaeb543d67d3955f71865feae1e Author: Jeffrey Hutzelman Date: Fri Sep 2 23:48:35 2005 +0000 rx-propagate-error-20050902 if we have an error propagate it to new calls commit d04a62e64141903d17dd244e10094fd446ab73a7 Author: Jeffrey Altman Date: Fri Sep 2 18:23:50 2005 +0000 windows-pioctl-20050902 support '/' as well as '\\' in pioctl calls commit 001f9b9732a3a30ea0c51c12a0f69c400102d7a7 Author: Asanka Herath Date: Thu Sep 1 02:55:01 2005 +0000 windows-loopback-20050831 As stated in the afs-install-notes, the MS Client for Networks should be enabled on the loopback adapter, so enable it. Prevent an install failure by not calling CoInitialize twice in the same thread. commit 69a98684f0a85db5618a472835a0e588b01b5d6e Author: Jeffrey Altman Date: Thu Sep 1 01:00:41 2005 +0000 windows-gui2fs-20050831 Apply AFS Client Admins group protect to AFS Shell Extension Add support for \\afs\ to most commands except the symlink methods. commit 27b81213dfffc5c4d8979f1cc381084d924ea8e1 Author: Jeffrey Altman Date: Thu Sep 1 00:52:03 2005 +0000 windows-cell-expiration-20050831 When updating cell information from DNS, be sure to set a new timeout. When obtaining cell information from a file, check every two hours to see if it changed. commit 36c57c994ae750dd5f673de5574f0505d67b4e1f Author: Derrick Brashear Date: Wed Aug 31 22:35:40 2005 +0000 volser-audit-setids-fix-20050831 FIXES 21263 type is an int, not a string commit 682f5ffb21575587123ecbb7a5867d1c5495dd4e Author: Jeffrey Altman Date: Wed Aug 31 11:59:06 2005 +0000 windows-freelance-fs-symlink-20050831 Add support to allow use of \\AFS\ where is either a mount point or symlink. As is normally treated as a share name, we transform it into \\AFS\all\ for processing. commit 0b74a7d25c7f164702843b545615f906a6bdebbd Author: Eric Williams Date: Mon Aug 29 20:39:56 2005 +0000 windows-afslogon-code-init-20050829 Init 'code' to prevent false errors when integrated logon is disabled and the service is not running commit 920dc9dfc41a52a79f062f887d7cd656ea084f42 Author: Jim Rees Date: Mon Aug 29 19:58:05 2005 +0000 obsd-krb5flags-20050828 KRB5CFLAGS and KRB5LIBS for OpenBSD commit 308ed8fecbeb0a6eb70461016f9b726830cb7979 Author: Jeffrey Altman Date: Sun Aug 28 21:48:25 2005 +0000 windows-notes-20050828 updates commit e03a1b954f0cc2ae63aaa3506d44647d93f13db4 Author: Derrick Brashear Date: Sun Aug 28 20:59:55 2005 +0000 aklog-no-gmake-20050828 FIXES 21031 make aklog Makefile not use gmake/non standard make += syntax commit b9fc404bdf16fc3a61f13bffcaadc5d598d02cbd Author: Jeffrey Altman Date: Sun Aug 28 04:43:55 2005 +0000 windows-default-trace-log-off-20050827 Now that OAFW is ready for a stable series, we will default "fs trace" to off on non-Debug builds. It can be set to on via the TraceOption registry value. (see registry.txt) commit c0fea634084ee1c223c611c3ab3955a13d1ba884 Author: Jeffrey Altman Date: Sun Aug 28 04:32:44 2005 +0000 windows-add-tid-to-mutex-20050827 Add to mutex objects the ID of the thread that holds the lock. This will make future debugging much easier. commit 6620b9452bb3f270ebabc29a910918b1f17225f4 Author: Jeffrey Altman Date: Sun Aug 28 04:29:31 2005 +0000 windows-scache-deadlock-fix-20050827 It was reported that Microsoft Word when editing files stored in AFS would cause OAFW to fail to respond. It was determined that a scp->mx lock was not being released in buf_WaitIO if the no one was waiting on the scp. This patch corrects the deadlock and fixes some debugging messages. commit ee937439adc8d8ea214c9d53aee0ee5329697c80 Author: Jeffrey Altman Date: Fri Aug 26 14:46:11 2005 +0000 windows-remove-log-messages-20050826 The log message added to buf_LockedCleanAsync() during the debugging post 1.3.8201 is output for 1/10th of all buffers once every 5 seconds. This is a huge performance hit. Move the message so that it is only output for buffers that are actually dirty. Also, change the algorithm so that the sqrt() of the number of buffers are checked every 5 seconds instead of 1/10th. This will do a better job with very large cache sizes. commit 48b0320b201c2efe153098e8a5a5e4e6470a41c5 Author: Jeffrey Altman Date: Fri Aug 26 14:39:31 2005 +0000 windows-trace-log-to-dbgview-20050820 Added a new option for viewing the trace log data in real time ==================== 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. ==================== Include the Thread ID in the output to make it usable for debugging deadlocks. ==================== alter the afsd_init.log tag for the TraceOption to not be Windows Event Log specific. commit f4471a8f188dd74617ef831a6dcbe677eb8a6acf Author: Jim Rees Date: Mon Aug 22 15:22:58 2005 +0000 recommended-bsd-options-20050822 Document recommended build options for Open and FreeBSD. commit 84e761d850c4cf5f76dd844e6e6f738a35f88102 Author: Jeffrey Altman Date: Sun Aug 21 00:22:59 2005 +0000 windows-afscreds-deadlock-20050820 found a deadlock in the expiration check if a MessageBox dialog is being displayed commit df72c49fbadfa6e30538f136aa2dd0a54e58c20d Author: Asanka Herath Date: Sat Aug 20 23:58:21 2005 +0000 windows-dfs-support-disable-20050820 remove the trailing 1 commit 1a2172275920d959bab3f21aacf0689814c83c87 Author: Jeffrey Altman Date: Sat Aug 20 02:27:48 2005 +0000 windows-better-vol-missing-messages-20050819 Use a different message for each vol error code instead of one for all commit 3e6b71d7aad3aeea23e313c5c63f5e2abda07a7e Author: Stefaan De Roeck Date: Fri Aug 19 20:34:34 2005 +0000 dirpath-canonical-should-be-local-20050819 FIXES 20954 ConstructLocalPath only checks the first argument (cpath) for needed translation from canonical to local, but not the relativeTo path, which is simply prepended when cpath doesn't begin with a '/'. commit aec3c2b19292c552705f1c0eb3065a26e0b03649 Author: Derrick Brashear Date: Fri Aug 19 20:20:44 2005 +0000 fix-busyat-enforcement-20050819 FIXES 20659 enforce busyat in the other half of the if commit 49802c76b1a4cc1fb67e704e449325899ae42f0e Author: Chas Williams Date: Fri Aug 19 16:32:24 2005 +0000 rmdir-dont-hold-kernel-lock-20050819 potentially fix one of the deadlocks people have been seeing commit e14ef50cd5f40b403e71cc2068c98c6e06f2c612 Author: Tom Keiser Date: Thu Aug 18 05:55:00 2005 +0000 des-nostats-20050818 FIXES 20921 just yank for now, we'll fix for 1.4.1 commit caa4c12b719763c6b35080a6e5f0beaf0d53c406 Author: Chas Williams Date: Thu Aug 18 05:11:59 2005 +0000 linux-inactive-in-place-of-remunlink-20050818 FIXES 20912 call afs_InactiveVCache() instead of afs_remunlink() for unlink, the "inactive" refcount is 1 now instead of 0. commit 1bc0250ec0793ee28d4cbec3fb5b929d541aa95c Author: Derrick Brashear Date: Wed Aug 17 20:25:29 2005 +0000 irix-gop-lookupname-20050817 irix of course won't build when your function doesn't match the prototype commit e465ee95b095d1bea7e37e0aeec0f4a781cf8231 Author: Jeffrey Altman Date: Wed Aug 17 19:50:18 2005 +0000 windows-dfs-support-disable-20050817 disable dfs processing until we get the Unicode CIFS support commit 9d396c4916fdac64fcface30e6637ca6e2911203 Author: Niklas Edmundsson Date: Wed Aug 17 17:16:50 2005 +0000 cache-autotune-20050817 This patch tries to implement the afsd default tuning parameters discussed in the thread starting at https://www.openafs.org/pipermail/openafs-devel/2005-May/012158.html I took the liberty of adding chunksize-tuning to the memcache too, with the motivation that people using large memcaches usually wants better bulk performance too. It seems to work for me using both disk cache and memcache of various sizes. commit c9bba4c460b54c48fe8ecb1b35fbe2a4efd4ac19 Author: Jeffrey Altman Date: Wed Aug 17 17:06:26 2005 +0000 windows-freelance-admin-20050817 When testing for IsFreelance() use the right path for symlink rm and fs rmmount. commit 128ec84945c1f0879e0df74259a55029f2ea48d6 Author: Jeffrey Altman Date: Wed Aug 17 11:38:55 2005 +0000 windows-version-1-5-20050817 Development version to 1.5.xxxx commit adbded121354fe6727edcad303e25d4d42b17bcb Author: Jeffrey Altman Date: Wed Aug 17 11:22:50 2005 +0000 windows-version-1-4-20050817 Update version to 1.4.0000 Yay!!!!! commit cc2c8c3a8efe073ff20dca356e859d0dbdcd62d9 Author: Derrick Brashear Date: Tue Aug 16 19:09:49 2005 +0000 kasadmin-prototyping-20050816 FIXES 20766 make kasadmin module prototyping correct again commit 68f5f09832ae0b9207951df717a4e33910d9a147 Author: Derrick Brashear Date: Tue Aug 16 18:58:27 2005 +0000 sgistuff-missing-files-20050816 FIXES 20766 these were overzealously killed (by me) fix commit 23e9aff4c95d3803923f4352bc37435805b4c68d Author: Jim Rees Date: Tue Aug 16 17:59:12 2005 +0000 reindent-afsd-c-20050816 reindent commit 14408c7e88c198d80ce89e90e209f48685da89da Author: Asanka Herath Date: Tue Aug 16 17:17:13 2005 +0000 windows-byte-range-locks-20050816 Byte range locks: The OpenAFS Windows client has to fake byte range locks given no server side support for such locks. This is implemented as keyed byte range locks on the cache manager. Keyed byte range locks: Each cm_scache_t structure keeps track of a list of keyed locks. The key for a lock is essentially a token which identifies an owner of a set of locks (referred to as a client). The set of keys used within a specific cm_scache_t structure form a namespace that has a scope of just that cm_scache_t structure. The same key value can be used with another cm_scache_t structure and correspond to a completely different client. However it is advantageous for the SMB or IFS layer to make sure that there is a 1-1 mapping between client and keys irrespective of the cm_scache_t. Assume a client C has key Key(C) (although, since the scope of the key is a cm_scache_t, the key can be Key(C,S), where S is the cm_scache_t. But assume a 1-1 relation between keys and clients). A byte range (O,+L) denotes byte addresses (O) through (O+L-1) inclusive (a.k.a. [O,O+L-1]). The function Key(x) is implemented through cm_generateKey() function for both SMB and IFS. The cache manager will set a lock on the AFS file server in order to assert the locks in S->fileLocks. If only shared locks are in place for S, then the cache manager will obtain a LockRead lock, while if there are any exclusive locks, it will obtain a LockWrite lock. If the exclusive locks are all released while the shared locks remain, then the cache manager will downgrade the lock from LockWrite to LockRead. Lock states: A lock exists iff it is in S->fileLocks for some cm_scache_t S. Existing locks are in one of the following states: ACTIVE, WAITLOCK, WAITUNLOCK, LOST, DELETED. The following sections describe each lock and the associated transitions. 1. ACTIVE: A lock L is ACTIVE iff the cache manager has asserted the lock with the AFS file server. This type of lock can be exercised by a client to read or write to the locked region (as the lock allows). 1.1 ACTIVE->LOST: When the AFS file server fails to extend a server lock that was required to assert the lock. 1.2 ACTIVE->DELETED: Lock is released. 2. WAITLOCK: A lock is in a WAITLOCK state if the cache manager grants the lock but the lock is yet to be asserted with the AFS file server. Once the file server grants the lock, the state will transition to an ACTIVE lock. 2.1 WAITLOCK->ACTIVE: The server granted the lock. 2.2 WAITLOCK->DELETED: Lock is abandoned, or timed out during waiting. 2.3 WAITLOCK->LOST: One or more locks from this client were marked as LOST. No further locks will be granted to this client until al lost locks are removed. 3. WAITUNLOCK: A lock is in a WAITUNLOCK state if the cache manager receives a request for a lock that conflicts with an existing ACTIVE or WAITLOCK lock. The lock will be placed in the queue and will be granted at such time the conflicting locks are removed, at which point the state will transition to either WAITLOCK or ACTIVE. 3.1 WAITUNLOCK->ACTIVE: The conflicting lock was removed. The current serverLock is sufficient to assert this lock, or a sufficient serverLock is obtained. 3.2 WAITUNLOCK->WAITLOCK: The conflicting lock was removed, however the required serverLock is yet to be asserted with the server. 3.3 WAITUNLOCK->DELETED: The lock is abandoned or timed out. 3.5 WAITUNLOCK->LOST: One or more locks from this client were marked as LOST. No further locks will be granted to this client until all lost locks are removed. 4. LOST: A lock L is LOST if the server lock that was required to assert the lock could not be obtained or if it could not be extended, or if other locks by the same client were LOST. Effectively, once a lock is LOST, the contract between the cache manager and that specific client is no longer valid. The cache manager rechecks the server lock once every minute and extends it as appropriate. If this is not done for 5 minutes, the AFS file server will release the lock. Once released, the lock cannot be re-obtained without verifying that the contents of the file hasn't been modified since the time the lock was released. Doing so may cause data corruption. 4.1 LOST->DELETED: The lock is released. 4.2 LOST->ACTIVE: The lock is reassertd. This requires verifying that the file was not modified in between. 4.3 LOST->WAITLOCK: All LOST ACTIVE locks from this client were reasserted. The cache manager can reinstate this waiting lock. 4.4 LOST->WAITUNLOCK: All LOST ACTIVE locks from this client were reasserted. The cache manager can reinstate this waiting lock. 5. DELETED: The lock is no longer relevant. Eventually, it will get removed from the cm_scache_t. In the meantime, it will be treated as if it does not exist. 5.1 DELETED->not exist: The lock is removed from the cm_scache_t. 6* A lock L is ACCEPTED if it is ACTIVE or WAITLOCK. These locks have been accepted by the cache manager, but may or may not have been granted back to the client. 7* A lock L is QUEUED if it is ACTIVE, WAITLOCK or WAITUNLOCK. 8* A lock L is EFFECTIVE if it is ACTIVE or LOST. 9* A lock L is WAITING if it is WAITLOCK or WAITUNLOCK. Lock operation: A client C can READ range (Offset,+Length) of cm_scache_t S iff: 1. for all _a_ in (Offset,+Length), one of the following is true: 1.1 There does NOT exist an ACTIVE lock L in S->fileLocks such that _a_ in (L->LOffset,+L->LLength) (IOW: byte _a_ of S is unowned) AND For each LOST lock M in S->fileLocks such that _a_ in (M->LOffset,+M->LLength), M->LockType is shared AND M->key != Key(C). (Note: If this is a different client from one whose shared lock was LOST, then the contract between this client and the cache manager is indistinguishable from that where no lock was lost. If an exclusive lock was lost, then the range is considered unsafe for consumption.) 1.3 There is an ACTIVE lock L in S->fileLocks such that: L->key == Key(C) && _a_ in (L->LOffset,+L->LLength) (IOW: byte _a_ of S is owned by C under lock L) 1.4 There is an ACTIVE lock L in S->fileLocks such that _a_ in (L->LOffset,L->+LLength) && L->LockType is shared (IOW: byte _a_ of S is shared) AND there is no LOST lock M such that _a_ in (M->LOffset,+M->LLength) and M->key == Key(C) A client C can WRITE range (Offset,+Length) of cm_scache_t S iff: 2. for all _a_ in (Offset,+Length), one of the following is true: 2.1 Byte _a_ of S is unowned (as above) AND for each LOST lock L in S->fileLocks _a_ NOT in (L->LOffset,+L->LLength). 2.2 Byte _a_ of S is owned by C under lock L (as above) AND L->LockType is exclusive. A client C can OBTAIN a lock L on cm_scache_t S iff: 3. for all _a_ in (L->LOffset,+L->LLength), ALL of the following is true: 3.1 L->LockType is exclusive IMPLIES there does NOT exist a QUEUED lock M in S->fileLocks such that _a_ in (M->LOffset,+M->LLength). (Note: If we count all QUEUED locks then we hit cases such as cascading waiting locks where the locks later on in the queue can be granted without compromising file integrity. On the other hand if only ACCEPTED locks are considered, then locks that were received earlier may end up waiting for locks that were received later to be unlocked. The choice of QUEUED locks were made so that large locks don't consistently get trumped by smaller locks which were requested later.) 3.2 L->LockType is shared IMPLIES for each QUEUED lock M in S->fileLocks, if _a_ in (M->LOffset,+M->LLength) then M->LockType is shared. 4. For each LOST lock M in S->fileLocks, M->key != Key(C) (Note: If a client loses a lock, it loses all locks. Subsequently, it will not be allowed to obtain any more locks until all existing LOST locks that belong to the client are released. Once all locks are released by a single client, there exists no further contract between the client and AFS about the contents of the file, hence the client can then proceed to obtain new locks and establish a new contract.) A client C can only unlock locks L in S->fileLocks which have L->key == Key(C). The representation and invariants are as follows: - Each cm_scache_t structure keeps: - A queue of byte-range locks (cm_scache_t::fileLocks) which are of type cm_file_lock_t. - A record of the highest server-side lock that has been obtained for this object (cm_scache_t::serverLock), which is one of (-1), LockRead, LockWrite. - A count of ACCEPTED exclusive and shared locks that are in the queue (cm_scache_t::sharedLocks and cm_scache_t::exclusiveLocks) - Each cm_file_lock_t structure keeps: - The type of lock (cm_file_lock_t::LockType) - The key associated with the lock (cm_file_lock_t::key) - The offset and length of the lock (cm_file_lock_t::LOffset and cm_file_lock_t::LLength) - The state of the lock. - Time of issuance or last successful extension Semantic invariants: I1. The number of ACCEPTED locks in S->fileLocks are (S->sharedLocks + S->exclusiveLocks) External invariants: I3. S->serverLock is the lock that we have asserted with the AFS file server for this cm_scache_t. I4. S->serverLock == LockRead iff there is at least one ACTIVE shared lock, but no ACTIVE exclusive locks. I5. S->serverLock == LockWrite iff there is at least one ACTIVE exclusive lock. I6. If a WAITUNLOCK lock L exists in S->fileLocks, then all locks that L is waiting on are ahead of L in S->fileLocks. I7. If L is a LOST lock, then for each lock M in S->fileLocks, M->key == L->key IMPLIES M is LOST or DELETED. --asanka ==================== 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. ==================== Byte range locks added to change list ==================== should improve error codes, and allow lock promotions and demotions by releasing locks. ==================== More improvements to the byte range locking. Handle errors caused by a failure to have locking privs; report sharing violations when opening files; lie about locks on read-only volumes; implement shared read/write file creation in the smb layer. ==================== remove assertion ==================== must reference count local references to objects if the lock is being released ==================== Do not use a variable until you assign it a value ==================== remove an unwanted assertion and move the resetting of scp->serverLock to -1 into cm_LockMarkSCacheLost() so that others do not forget to set it. cm_LockMarkSCacheLost() is always called when the scp->mx is held so it is ok to do so. commit a09b27d0a0bdb9d967220388f76379ece4c7b5cb Author: Jim Rees Date: Mon Aug 15 23:30:47 2005 +0000 openbsd-pthread-20050815 Build pthread servers for OpenBSD. There is some evidence they might even work. commit cdb51cf26196ffc2f7a2c2090c73f7b0892ab119 Author: Jim Rees Date: Mon Aug 15 21:36:53 2005 +0000 automate-freebsd-systype-20050815 Determine freebsd systype automatically too. Thanks to "Todd T. Fries" commit fab147e843667d87323cdf9fcad2012ca942f6fd Author: Jeffrey Altman Date: Mon Aug 15 18:35:05 2005 +0000 afssyscalls-declarations-20050815 declare lsetpag() and lpioctl() since they are exported commit eb00f913748ba8651755451120a1f0d06b1e9cd2 Author: Jeffrey Altman Date: Mon Aug 15 18:27:52 2005 +0000 windows-smb-error-codes-20050815 Do not return error codes from the SMB/CIFS server that can be interpretted by the SMB/CIFS client as meaning that the AFS Client Service is not available. commit 1b0b0945caa4f6138f102dab22e78d2c4b048610 Author: Klas Lindfors Date: Mon Aug 15 16:54:50 2005 +0000 vos-format-cleanup-20050815 FIXES 20783 make sure partition name actually gets printed commit e4ca2e597c85ae8667e3963db847aab83aaf0ce2 Author: Niklas Edmundsson Date: Mon Aug 15 16:51:29 2005 +0000 aix-afsdb-20050815 FIXES 20801 make afsdb work on aix. use storage as thread-local when it is commit e0d9e434bb778a2507c1cd6d96c1faa2071f2b2c Author: Chas Williams Date: Mon Aug 15 16:47:38 2005 +0000 put-inode-speedup-20050815 FIXES 20820 don't bother with credp commit bbe78805681ec8303ab198288693586e8bfdb7f3 Author: Chas Williams Date: Mon Aug 15 16:39:51 2005 +0000 large-cache-fix-20050815 FIXES 20821 make large caches actually work commit 45d144da14c39ed48ae8be4f89d78cfc12985056 Author: Tom Keiser Date: Mon Aug 15 16:04:12 2005 +0000 aix-make-install-20050815 FIXES 20827 make install was broken on aix. fix it. commit 7c34c9b5c0fbdf0b9b9429c2e763c635857974ab Author: Jeffrey Altman Date: Sun Aug 14 12:25:06 2005 +0000 windows-afscreds-20050814 When tokens expire, do not display an obtain tokens dialog if there is no network connectivity to the kdc for the realm associated with the cell. In the en_US build, stop displaying the expiration time of tokens after the tokens expire. commit 50c5210a25d34bfc8cf027ccfb098460268911c8 Author: Jeffrey Altman Date: Sun Aug 14 03:10:07 2005 +0000 audit-fetchacl-20050813 Include the ACL value in the FetchACL logging. This combined with StoreACL can be used to compute ACL changes. commit 8ea5ed2c2b7d5ac5f66eaef5f8b615812aa69601 Author: Todd Fries Date: Sat Aug 13 21:49:00 2005 +0000 auto-obsd-version-20050813 Determine openbsd version automatically. commit c8db31cc2bf9b59d8b8cf7e5310079ff6c9e4a96 Author: Jim Rees Date: Fri Aug 12 22:26:09 2005 +0000 openbsd38-20050812 With thanks to "Todd T. Fries" OpenBSD 3.8. Introduce HAVE_STRCASESTR. commit 467a85164c054b9fa427d8033b0c7cf4911d5c44 Author: Russ Allbery Date: Thu Aug 11 18:55:50 2005 +0000 linux-pic-everywhere-20050811 FIXES 20781 Build shared libraries with -fPIC on all Linux platforms, not just the ones that absolutely require it. commit c9b0955360b34ab1f8775c5ccc55e77037e0d312 Author: Chas Williams Date: Wed Aug 10 20:21:27 2005 +0000 refrigerator-20050809 FIXES 20728 refrigerator takes void starting in 2.6.13 commit 42e081360efbfc847488aeaf4c604ea7030edccd Author: David Thompson Date: Tue Aug 9 19:39:26 2005 +0000 vos-ctime-fix-20050809 FIXES 20748 fix larger than 4 byte ctime case commit 0c931ef444c03fc1cc5fcb1a55fec0d32f4dda61 Author: Chas Williams Date: Tue Aug 9 14:41:13 2005 +0000 linux26-umount-force-doesnt-work-20050809 this was never finished, just revoke it for now commit 5740865dce2219de0826d72fe4f5bff70fadfdf3 Author: Derrick Brashear Date: Mon Aug 8 16:37:28 2005 +0000 logthreadnum-libafsauthent-20050808 FIXES 20412 export LogThreadNum so hings can link our libraries again commit 3e9c1b1f1a1b3d33c6af44d1fe79810ad2a3a0f8 Author: Derrick Brashear Date: Mon Aug 8 16:04:10 2005 +0000 revert-linux-write-dirty-pages-once-20050802 this needs to be revisited commit 9485ca85d36b7449bc4ad4895d2a96ec95ea7537 Author: Chas Williams Date: Mon Aug 8 15:58:32 2005 +0000 linux-panic-20050727 FIXES 20392 just call panic() on linux ==================== 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. ==================== FIXES 20392 call BUG() instead commit 7e95d1bc89ebc6b1418ca1d69970efe00d30390e Author: Jeffrey Altman Date: Sat Aug 6 01:38:53 2005 +0000 windows-notes-20050806 updates for 1.3.8700 commit 520d3143e60a6f316c7bbd9677926b7ff62c01c1 Author: Jeffrey Altman Date: Sat Aug 6 01:37:13 2005 +0000 windows-version-20050806 1.3.8700 commit 4d0a6e73bf46847766512c15d2466627237409e5 Author: Jeffrey Altman Date: Sat Aug 6 01:34:50 2005 +0000 windows-afscache-validate-20050806 Ensure that queues that have forward and reverse pointers are consistent that either both are NULL or neither are. commit c264965a635a71e3b21d49da7dc0998a87dd67ba Author: Rainer Toebbicke Date: Thu Aug 4 21:44:57 2005 +0000 client-omit-zero-length-reads-20050804 The attached patch restores the behaviour of the 1.2.x client: writes appending to a file do not trigger a 0-length read which at best updates the current status. If another cache manager wrote to the same file in the meantime, the file status is updated only after the StoreData RPC (and for the changes the last one wins). commit b607770bc5d8a3ebe64153e906787a4fdb48eddc Author: Horst Birthelmer Date: Thu Aug 4 21:03:53 2005 +0000 checkservers-set-back-deadtime-correctly-20050804 the multirx version of this does this wrong. fix it. commit 67f1537746d2354d90cedfa0b425ce5f9622e4de Author: Derrick Brashear Date: Thu Aug 4 20:53:30 2005 +0000 revert-cache-size-limit-upping-20050728 let's re-examine this commit 177547465639d4ed65646edc4f635ac84819896e Author: Rainer Toebbicke Date: Thu Aug 4 20:31:33 2005 +0000 client-omit-zero-length-reads-20050804 The attached patch restores the behaviour of the 1.2.x client: writes appending to a file do not trigger a 0-length read which at best updates the current status. If another cache manager wrote to the same file in the meantime, the file status is updated only after the StoreData RPC (and for the changes the last one wins). commit fc0ca363da52144628a35abae30315257bbf76a8 Author: Eric Williams Date: Thu Aug 4 17:32:32 2005 +0000 windows-afsifs-20050804 addresses: byte-range locks work (mildly tested) fixes a reference counting error can shutdown/restart client code formatting major speed improvements fixes delete operation problem internal locking in more places i have reviewed this patch myself carefully. specifically, please review the changes to cm_buf.c and cm_callback.c. in cm_buf, i added the looping code because i ran into the following assert once. i am not sure why, and my attempt to diagnose the problem was not successful. apart from the byte-range locking code, the code has not change for quite a bit. commit 81b0f9cf1d0335a1e2f8ae897ba9566c1e4962e3 Author: Jeffrey Altman Date: Thu Aug 4 17:03:50 2005 +0000 windows-pioctl-update-20050804 change "fs wscell" to report the registry configured cell name when using freelance mode. change "fs mkmount|rmmount" to require membership in AFS Client Admins group when freelance mode is being used change "symlink make|remove" to require membership in AFS Client Admins group when freelance mode is being used Move some smb init debug messages to afsd_init.log commit 1bdc4cea4b01ca080a458ec65e3d783f464d5548 Author: Rainer Toebbicke Date: Wed Aug 3 05:45:53 2005 +0000 viced-dont-crash-on-link-enospc-20050803 when symlink gets ENOSPC don't assert. commit f6ff3f769a8e84e9148c3c47c9e82d1bcb7d6f6a Author: Chaskiel M Grundman Date: Tue Aug 2 19:59:46 2005 +0000 linux-vnode-aliases-20050802 FIXES 18613 you can end up hanging when you end up with multiple aliases for a single direct ory (dentry) as a result of @sys or multiple mountpoints. don't end up with multiple aliases, and avoid the situation commit 7ad3929e3c75aa2fabab7f72c79e42759562804f Author: Derrick Brashear Date: Tue Aug 2 15:03:42 2005 +0000 linux-fix-refrigerator-calls-20050802 it's CONFIG_PF, not CONFIG_PM commit 893849bdca91df3ec60b0b587c0b56500c04d70d Author: Chas Williams Date: Tue Aug 2 14:46:28 2005 +0000 linux-4gb-32bit-file-fix-20050802 FIXCES 20560 fix wrapping error on page offset commit 82b010d26adac3854507331b3bbbbcc2e07e50ef Author: Chas Williams Date: Tue Aug 2 06:15:54 2005 +0000 linux-group-putback-20050802 FIXES 20562 put back reference before discarding group pointer commit c893cf0e3ddce6c020a5fb28b6caa35ea3aa83c4 Author: Chas Williams Date: Tue Aug 2 06:11:38 2005 +0000 linux-write-dirty-pages-once-20050802 FIXES 20561 also done in afs_linux_write commit 4778f1fc153c5164b692866f1460e8ec58012de6 Author: Chas Williams Date: Tue Aug 2 06:08:45 2005 +0000 linux-4gb-32bit-file-fix-20050802 FIXCES 20560 fix wrapping error on page offset commit 7c5dcc5d439c3bbe8097b24b0efe8ca002ab71ff Author: Jim Rees Date: Sun Jul 31 18:22:50 2005 +0000 tq-uq-scope-20050731 Move local vars tq and uq back into proper scope commit f7b6f3022ddd20cc27d5f401023c35c98bd8eeec Author: Chas Williams Date: Fri Jul 29 15:49:31 2005 +0000 linux-osi-vfs-mkdir-20050729 FIXES 20479 mkdir so this works when building outside our tree commit 57bb8e09a33b9cabba8768d5261b8a85366e0307 Author: Stefaan De Roeck Date: Fri Jul 29 15:24:05 2005 +0000 audit-use-va-arg-20050729 FIXES 20311 use va_arg instead of int commit 2da4a84732acc3b049aab59ade3edf01cecb7669 Author: Jeffrey Altman Date: Thu Jul 28 23:15:50 2005 +0000 windows-doc-updates-20050728 updates for 1.3.8600 commit 3d43d87010a64fe6bf673cfc84bce14a0e8c1b51 Author: Jeffrey Altman Date: Thu Jul 28 23:09:20 2005 +0000 windows-version-update-20050728 version number to 1.3.8600 commit 4fc48af8346665004b566c80b2ec3b5146b6ab95 Author: Chas Williams Date: Thu Jul 28 15:38:36 2005 +0000 vc-hashing-be-less-expensive-20050728 use an afs_q so this is less expensive to deal with commit 459636211ca01c1b1c3fbe34ddb2fab50ceb49ea Author: Derrick Brashear Date: Thu Jul 28 15:17:47 2005 +0000 cache-size-limit-upping-20050728 based on work from wes chow allow larger caches without variable overflows. does not port to 1.4 as-is. commit 456462b314f7fc7ed25da7840c7087cba1dbc48b Author: Stefaan De Roeck Date: Tue Jul 26 19:14:14 2005 +0000 audit-use-va-arg-20050726 FIXES 20311 use va_arg instead of int commit b58c1f103ee2d2b615b9b78f594bb8285e05b3c1 Author: Chas Williams Date: Tue Jul 26 18:39:00 2005 +0000 linux-mmap-cleanup-20050726 FIXES 20391 avoid the vma close business, we don't need to do this to track maps commit a21fc56daf70d0433276eab29798542f6ef362ad Author: Chas Williams Date: Tue Jul 26 18:34:05 2005 +0000 linux-reduce-stack-use-20050726 FIXES 20337 don't do pointless work in osi_NetSend, and save some stack commit 575cbd4a2f231f7bcaaf92a356afa61a4ae170dc Author: Jim Rees Date: Tue Jul 26 16:25:43 2005 +0000 openafs-sleep-20050726 tsleep on "afsslp" in afs_osi_Sleep commit eff25c1899fd0a96199764ff26ef1084228f48cd Author: Chas Williams Date: Tue Jul 26 14:34:31 2005 +0000 linux-largefile-fix-20050726 FIXES 20396 use the generic read/write functions, but set the superblock up correctly. ==================== 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. ==================== FIXES 20396 make old 2.4 happy commit 969a49f6d9c2ee5c496629aff0b4e4b0df05fb64 Author: Derrick Brashear Date: Thu Jul 28 22:50:01 2005 +0000 amd64-no-red-zone-20050725 why are we not -mno-red-zone here? commit ab22c7a587126c100d3c4fe40465f5ba3ebc25f4 Author: Jeffrey Altman Date: Sat Jul 23 02:16:06 2005 +0000 windows-misc-20050722 Add debug logging to SMB and CM Locking code Optimize cm_Analyze by only performing a cm_CheckServers on the current cell instead of all cells Add code to detect loops to the cm_scache_t validation routines. commit 724b6e639afee800663cb6ce9dbb9717cdca2b70 Author: Chas Williams Date: Thu Jul 21 17:30:50 2005 +0000 unlink-fix-20050721 fill in parent after processFS commit 7926c85fdfb82761b673887c3c2441ead9a274ea Author: Jeffrey Altman Date: Thu Jul 21 15:54:18 2005 +0000 viced-multiprobe-fix-20050721 see if a uuid actually matches what we though was there commit 2f3bdd36ee9e5fef465026d452b08e4d927f70a6 Author: Hans-Werner Paulsen Date: Thu Jul 21 06:06:27 2005 +0000 fssync-fix-log-20050721 don't call Log like it's ViceLog commit 9e32ad33139376f6d109addb8add5024915bf025 Author: Peter Somogyi Date: Thu Jul 21 05:56:02 2005 +0000 afsclient-cellopen-avoid-global-var-20050721 FIXES 20215 avoid use of global variable in CellOpen to avoid thread problems commit da5187d4b4093b32f811631d3cc57c746e4b23a3 Author: Hartmut Reuter Date: Thu Jul 21 05:52:33 2005 +0000 dir-buffers-use-nullidx-as-none-20050721 FIXES 20214 since 0 is a valid number use -1 (NULLIDX) commit f00e35f7a23c6caeba58dc77ab53334514b9d31e Author: Chas Williams Date: Thu Jul 21 05:46:51 2005 +0000 checksysname-stack-usage-20050721 FIXES 20227 fix misuse of MAXSYSNAME for MAXNUMSYSNAMES commit bd1eba7f4091b7e2ef4264476d3ed3e54cc228f4 Author: Sabin Iacob Date: Thu Jul 21 05:41:09 2005 +0000 linux-refrigerator-check-20050721 FIXES 20209 don't call refrigerator unless we have a kernel which supports it commit ea20d8d6c244521bd72a42a4aef1f92bd03800e8 Author: Derrick Brashear Date: Tue Jul 19 15:44:53 2005 +0000 vnrehash-avoid-cachecheck-change-20050618 unlocking and locking lets us race and makes cacheCheck potentially go bad commit fb1b339a017936da78e13d4afbeaebcfaa29ef00 Author: Jeffrey Altman Date: Tue Jul 19 06:06:12 2005 +0000 windows-explorer-remove-mountpt-fix-20050719 FIXES 20137 the gui version of fs rmmount was reading random memory. commit ef934e388cdc09e9afe7234aedad318618207104 Author: Karl E. Kelley Date: Tue Jul 19 03:51:26 2005 +0000 aklog-segfault-fix-20050718 FIXES 20198 I have built openafs 1.3.85 on an emt64 platform on RedHat Enterprise 4, and found that the aklog supplied with 1.3.85 (not the one in the afs-krb5 conversion kit) consistently segfaults when aklog is called with the "-path ...." parm. It works properly when called with no parms. I traced this down to the call to the readlink() call in aklog_main.c, when the params structure references were removed the nesting was changed on an if statement that changed the logic and allowed the do while loop to loop past the end and de-reference a NULL pointer. commit 0c678579113a84be09c8f734352f8a681751ba8e Author: Derrick Brashear Date: Fri Jul 15 20:16:27 2005 +0000 pt-util-no-cmd-seek-20050715 i guess someone was dumb at some point and failed to completely remove bogus options commit 3f3fdba33058521bc3f68edf56ef56910d32f0c8 Author: Jeffrey Altman Date: Fri Jul 15 13:17:53 2005 +0000 windows-cmdebug-20050715 add TellMeAboutYourself functionality and report on capabilities if they are known. Used instead of WhoAreYou when supported by the cache manager. commit 1acd90549f183f185ac119096ba8c3fa1dcb3596 Author: Jeffrey Altman Date: Fri Jul 15 13:09:47 2005 +0000 windows-aklog-tweaks-20050715 * type correction * formatting * other cleanup commit 1c3d89463e55844de7b22ca80f72ed7fabda66e7 Author: Jeffrey Altman Date: Fri Jul 15 12:56:42 2005 +0000 windows-config-cache-path-20050715 FIXES 20007 Update AFS Control Panel to display the default cache location based upon the SYSTEM %TEMP% environment variable. commit d51baa42c4e1962816803bc391d88f4319d32110 Author: Jeffrey Altman Date: Fri Jul 15 04:23:18 2005 +0000 audit-pts-supergroups-20050714 PTS SuperGroups failed to compile with auditing due to a missing #define commit 7498def5fb32c043bb4800bb79d9d3684031b46d Author: Christopher Allen Wing Date: Fri Jul 15 02:19:27 2005 +0000 misc-aklog-fixes-20050714 FIXES 20092 Fix various minor problems with aklog, including the return type from main, removal of #ifndef __STDC__ code, missing includes, removal of unused variables, correct number of arguments to pr_Initialize, correct argument type for pr_SNameToId, and use of getcwd instead of getwd. commit 2fdb50e1b87458c5bba76c269da41184bd9497ce Author: Chas Williams Date: Wed Jul 13 16:51:50 2005 +0000 linux-dynamic-inodes-20050713 remove errant log message commit f21fa57453f4c94690c56cf4933b4eed82d99edc Author: Jeffrey Altman Date: Wed Jul 13 15:22:06 2005 +0000 windows-aclent-deadlock-20050713 Discovered a deadlock due to a violation of lock order. We may not attempt to obtain a lock on a cm_scache_t mutex while holding the cm_aclLock. commit 2d5bb80889f877fcacec02cc229a0960b9852081 Author: Zach Schimke Date: Tue Jul 12 18:48:49 2005 +0000 freevclist-static-20050711 these are static now, make it so commit 68d8b397aadb3985435d157ddfbc48f56bee66b3 Author: Jeffrey Altman Date: Tue Jul 12 05:26:23 2005 +0000 windows-version-20050712 1.3.8500 commit 855d3669b28707afd8f9fe59d2a857eafb0552af Author: Jeffrey Altman Date: Mon Jul 11 23:12:49 2005 +0000 auditlog-include-timestamp-20050710 add a timestamp to auditlog commit 652f3bd9cb7a5d7833a760ba50ef7c2c67214bba Author: Chas Williams Date: Mon Jul 11 19:45:47 2005 +0000 linux-dynamic-inodes-20050710 i slipped a rollback on the linux 2.4 dentry stuff for osi_UFS* in here at the same time. this patch lets us use kernel inodes instead of our own pool. commit 685989647d0fb31eca60e0900cea1598d5c001d8 Author: Karl E. Kelley Date: Mon Jul 11 04:22:16 2005 +0000 linux-and-64bit-cleanup-20050710 FIXES 19166 fix warnings found on x86_64 linux commit 85d429528bfba3e909d9614320fbaad84473dfe3 Author: Jeffrey Altman Date: Sat Jul 9 15:20:38 2005 +0000 audit-add-and-fix-messages-20050708 update and add some more audit logging ==================== 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. ==================== Fix logging of authenticated user name commit 09b145f6bf0a1cca5947cb14128a146423197558 Author: Derrick Brashear Date: Fri Jul 8 22:22:44 2005 +0000 kdump-vcache-update-20050708 FIXES 19292 wasn't updated when struct vcache was. oops. commit 46ff986a42e3cce761ad5830e9e2792d67d5a156 Author: Jeffrey Altman Date: Fri Jul 8 20:58:25 2005 +0000 pr_Initialize-fix-20050707 The previous patch to pr_Initialize() opened an opportunity for afsconf_Check() to be called with a NULL pointer if tdir == 0. Prevent this occurrance. ==================== 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. ==================== fixed one null pointer reference but not the other. ==================== commit the rest of jeff's fix commit fbbb6db84c85061bd010df068485927b1a3a628f Author: Jim Rees Date: Fri Jul 8 17:53:43 2005 +0000 freebsd60-20050708 Fixes for FreeBSD 6.0 snap5. Builds and runs but has locking issues. commit 06e66a65c5aaff6d3095fd989ef013df0acc4477 Author: Russ Allbery Date: Fri Jul 8 02:18:55 2005 +0000 krb5-configure-fixes-20050707 FIXES 19862 Use krb5_creds rather than struct krb5_creds, add missing test in if statements for krb5_creds structure probes, and tweak the configure output. commit f829393c716330b65a96d5cc0c33b2c83e9b4bc4 Author: Pascal Terjan Date: Thu Jul 7 03:32:39 2005 +0000 coda-xfs-header-defines-fun-20050706 make this better, we should never have been doing it as we were before commit 043900fb415e2eb5327fd3c3f89064a403b3166e Author: Derrick Brashear Date: Thu Jul 7 03:00:45 2005 +0000 aklog-assume-old-autoconf-20050706 old autoconf is my fiend commit 2695a18459c3f5294a6de2cd2d13d725d61840e9 Author: Derrick Brashear Date: Thu Jul 7 02:31:05 2005 +0000 vos-ctime-help-20050705 FIXES 6031 kept looking at this backwards, fix is obvious commit c6a736486eb2704efd03082ff067858a198ae6d0 Author: Jeffrey Altman Date: Thu Jul 7 01:23:15 2005 +0000 windows-vs2005b2-20050706 Visual Studio 2005 Beta 2 has been released. As part of this release Microsoft has tightened the rules for their C++ compliance. * no longer can a variable declared in a for() statement be used outside of the associated command block * no longer can a function or variable be declared implicitly as 'int' * several types such as size_t have become 64-bit values on all platforms * due to type changes the C++ function names in libraries have changed. This requires the use of different .DEF file export lists commit 2428f3eee3c84b745e04c5ee70d9405df620b385 Author: Jeffrey Altman Date: Wed Jul 6 15:11:28 2005 +0000 windows-ntbuild-20050706 Update the default sysname to i386_w2k in the ntbuild.bat file commit 16b6696938bea2a27651ca246afef7ad794c99f0 Author: Jeffrey Altman Date: Wed Jul 6 06:10:46 2005 +0000 windows-config-param-20050706 New param files for new sysnames commit 8f72c44972c86001607ce90b28c018f55a40b364 Author: Peter Somogyi Date: Wed Jul 6 00:43:38 2005 +0000 util-admin-64bit-20050705 FIXES 19631 serverAddress is an int; don't copy a pointer size commit 16d67791dce45e5d4ee9b854c796492ffcde2113 Author: Derrick Brashear Date: Tue Jul 5 16:33:24 2005 +0000 auditlogs-for-everyone-20050702 all servers now take -auditlog (path), send ibm-style auditlogs there, rotate the logs like the normal server logs, and will log thread ids when it's multiprocessor. /usr/afs/local/Audit can also be used like on aix on other platforms now. ==================== 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. ==================== all servers now take -auditlog (path), send ibm-style auditlogs there, rotate th e logs like the normal server logs, and will log thread ids when it's multiproce ssor. /usr/afs/local/Audit can also be used like on aix on other platforms now. ==================== all servers now take -auditlog (path), send ibm-style auditlogs there, rotate th e logs like the normal server logs, and will log thread ids when it's multiproce ssor. /usr/afs/local/Audit can also be used like on aix on other platforms now. ==================== all servers now take -auditlog (path), send ibm-style auditlogs there, rotate th e logs like the normal server logs, and will log thread ids when it's multiproce ssor. /usr/afs/local/Audit can also be used like on aix on other platforms now. ==================== Windows build dependency changes to support the audit logs commit 092cc5c9e693b2c4248e1c56b80fb198b49c31a3 Author: Ken Hornstein Date: Tue Jul 5 16:08:34 2005 +0000 aklog-update-20050705 fix typo in #error statement commit 391566e0b4173a3342b493048e152d9d1b7e0eb1 Author: Troy Benjegerdes Date: Tue Jul 5 16:06:08 2005 +0000 aklog-principal-rewrite-20050705 fix second_comp call to be correct for macro commit f6d99fbba133ba996610d0c00457408fede942dc Author: Jeffrey Altman Date: Sat Jul 2 03:44:42 2005 +0000 windows-afsdb-fix-20050701 Fix AFSDB queries using DNSAPI to always terminate the query string with a period. commit d48a6d9548f9c3c2f1fe8af564cbdfc6fb35bbe0 Author: Ken Hornstein Date: Fri Jul 1 05:40:52 2005 +0000 aklog-forgot-quote-20050701 Forgot closing quote in #error directive. commit 233b7043ce22a120e52b2d1194a2603c659de735 Author: Ken Hornstein Date: Thu Jun 30 22:06:15 2005 +0000 aklog-heimdal-integration-20050630 The necessary autoconf/C glue to make aklog work with Heimdal. commit ed54c889202b51361f3f01df80930e9577baa914 Author: Jeffrey Altman Date: Thu Jun 30 19:02:03 2005 +0000 windows-logon-20050630 Add a method to disable the deletion of tokens at logoff ==================== 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. ==================== add a registry entry to prevent token destruction at logoff commit 0fed4743ae7763bf0b7c2c273cd54730e01f2249 Author: Jeffrey Altman Date: Thu Jun 30 06:06:54 2005 +0000 pts-logging-20050619 enhance pts logging commit 25ecdbd2c4f1f02a7d449278c4b01f3938aba86d Author: Jeffrey Altman Date: Thu Jun 30 06:02:50 2005 +0000 windows-notes-20050630 latest updates including new afs-install-notes section on debugging commit f2e86f4e03559dc45f4457960f302cb58e0ff59d Author: Derrick Brashear Date: Thu Jun 30 04:10:31 2005 +0000 threadid-logging-20050629 log thread ids for any debug level commit 4464c62f92541c8b1f46260d6c4cbdd1ba4cf85f Author: Robert S Murawski IV Date: Wed Jun 29 03:43:28 2005 +0000 windows-nsis-20050628 Support for NSIS 2.07 including named installation configurations and an Icon for the uninstall entry listed in the Add/Remove Programs control panel. commit b60eb36f4b4d7e519b054895f3b44dfd396b2602 Author: Jeffrey Altman Date: Wed Jun 29 03:42:14 2005 +0000 windows-notes-20050628 pre-1.4 commit 09e871e52fac858a22b0b41a5f414b8b69a79e2d Author: Jeffrey Altman Date: Wed Jun 29 03:41:55 2005 +0000 windows-readme-20050628 Updates to describe NSIS 2.07 commit f89bb3cd972d82685ed02805d478ff63637537e6 Author: Ken Hornstein Date: Fri Jun 24 04:57:39 2005 +0000 fix-kerberos-autoconf-20060623 Commit remaining autoconf fixes for aklog. commit a61ff319b7a9cec29b02579c20a338c46a8d2c55 Author: Jeffrey Altman Date: Fri Jun 24 04:01:48 2005 +0000 windows-aklog-naming-20050624 Correct for the behavior of pr_SNameToId() lowercasing the username commit 3b58e267504b715a8535858d161527a35afa7a7c Author: Ken Hornstein Date: Fri Jun 24 03:54:13 2005 +0000 fix-getcrypt-command-description-20050623 Fix the description of the getcrypt command. commit 272ed1c01d2ae6eea9aaafb84df59c53ceffbb83 Author: Ken Hornstein Date: Fri Jun 24 00:43:48 2005 +0000 aklog-cleanup-rxkad2b-20050623 Clean up the aklog source, and add support for rxkad2b tokens. commit c4b1decf6caacb13db666f516ceaf9b65e4371ab Author: Jeffrey Altman Date: Thu Jun 23 15:23:50 2005 +0000 pr_init-fix-20050623 for the longest time aklog implementations with automatic pts registration have included a work around for a bug in pr_Initialize. The bug fails to reset the connection when the cell changes. This patch fixes that bug. ==================== 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. ==================== for the longest time aklog implementations with automatic pts registration have included a work around for a bug in pr_Initialize. The bug fails to reset the connection when the cell changes. pr_Initialize has been fixed so we can remove the hack. ==================== remove the pr_Initialize force cell change hack from afskfw lib commit dbd69d19e43ecdb74be531ab847c8aba48c025d3 Author: Derrick Brashear Date: Wed Jun 22 18:35:20 2005 +0000 objdir-20050622 FIXES 19341 try harder to make builds work in cases where you're building into an alternate directory with old autoconf (mkdir vs mkdir -p) commit 854db695f9a643b969aab86d76602dbb1666cc10 Author: Derrick Brashear Date: Wed Jun 22 14:47:19 2005 +0000 hpux11-vfsck-20050622 make vfsck build for hpux commit ee5bee633a26efbeea30a5c44aef2d2055f39520 Author: Jeffrey Hutzelman Date: Tue Jun 21 23:19:09 2005 +0000 amd64-udebug-20050621 fix 64 bit glitch in udebug commit 7ad8a32a0ebbbd2be37eb3a323b23bc017dc1423 Author: Derrick Brashear Date: Tue Jun 21 23:14:17 2005 +0000 aklog-configure-backport-20050621 make old autoconf work again commit eb3124e2227b4837183f3b742a64341b0eba1f4c Author: Ken Hornstein Date: Tue Jun 21 22:15:23 2005 +0000 Add missing Makefile.in that I apparantly forgot. commit 6e732a8032b921b358337606ebf2972b3dbf7baa Author: Jeffrey Altman Date: Mon Jun 20 15:09:18 2005 +0000 windows-afsifs-20050620 more IFS reformatting that was not committed in the window-afsifs-20050617 delta commit 13814630d6b61c65f86151f8ba6668e3ec43c495 Author: Jeffrey Altman Date: Mon Jun 20 15:01:22 2005 +0000 pts-logging-20050620 Modify log levels to equal: Lookups at 125 Creates at 25 Modifies at 5 Modify Windows makefile to build ptclient.exe commit a63ba494bf909ed36b75556cb1f4d33ce13b76c5 Author: Jeffrey Altman Date: Sun Jun 19 18:56:44 2005 +0000 pts-logging-20050619 enhance pts logging commit f43f102c71f69a1b0bd6d4ea7cb7f0c74e67b083 Author: Chas Williams Date: Sun Jun 19 18:39:03 2005 +0000 linux-change-dentry-cleanup-20050619 try to make this work in 2.4 also commit 9b1430c2d028dd38ce7392297cfe572d82a4c173 Author: Jeffrey Altman Date: Sun Jun 19 18:37:38 2005 +0000 threaded-logging-20050619 update logging to be able to show threads commit 0f61c69103bada5f4039ffd3968d7e8b92eb9bf6 Author: Derrick Brashear Date: Sun Jun 19 18:17:42 2005 +0000 viced-firstclient-retry-20050619 FIXES 1345 avoid race as we add a new client commit bcdb5a184ee597244fe1c7a8c708ee6bf796d07a Author: Ken Hornstein Date: Sun Jun 19 02:06:21 2005 +0000 more-aklog-fixes-20050618 Fixup aklog so it will compile (at least on MacOS X). Include basic autoconf glue. commit c4c11566986877903ac5bdf73e6c2241ef72de9d Author: Derrick Brashear Date: Sun Jun 19 01:14:14 2005 +0000 rxkad-stats-do-it-right-20050618 fine, let's just do this right commit d201f1e234c14b0fef5c55ed9016f0df956e38b7 Author: Derrick Brashear Date: Sun Jun 19 00:50:40 2005 +0000 move-rxkad-stats-20050618 fine, let's try this again, so aklog doesn't lose, but this sucks commit b5461fc5a8350a5a1110e225da62caa7bf0e7245 Author: Derrick Brashear Date: Sun Jun 19 00:23:46 2005 +0000 vlprocs-extended-user-logging-20050618 update log message to provide full username commit f16d1cef70e138b71a04d9c71ab067a1dc947867 Author: Derrick Brashear Date: Sun Jun 19 00:22:31 2005 +0000 lock-client-around-acl-checkrights-20050618 FIXES 1345 one of the like 3 crashes there. thanks love commit 91953e8c0774697902ca025dd7969f0acc9c9ec2 Author: Derrick Brashear Date: Sun Jun 19 00:20:45 2005 +0000 lwp-protoize-20050618 protoize lwp directory commit b6b62c852178e171eb00b1548ec169dcb51abf1b Author: Derrick Brashear Date: Sun Jun 19 00:20:35 2005 +0000 log-protoize-20050618 protoize log directory commit 379e3be3196aeb3fefaa1e9296e52a9f8018550a Author: Derrick Brashear Date: Sun Jun 19 00:20:01 2005 +0000 ppc-darwin80-20050618 this is actually a throwaway commit cc2f4ac0b36e79b137d03dcea32bb59bd1bceb8d Author: Derrick Brashear Date: Sun Jun 19 00:17:12 2005 +0000 audit-protoization-20050618 protoize libaudit commit b680a2d1221144c07d15a40d495146d2c84d2b13 Author: Derrick Brashear Date: Sun Jun 19 00:15:22 2005 +0000 libafsdep-des-stats-20050618 for rxkad stats dependancy when doing only_libafs build commit a32bbb929bcb5988af419ea03640f2220c22c330 Author: Derrick Brashear Date: Sun Jun 19 00:05:00 2005 +0000 readme-devel-20050618 we have protoized kernel code now commit e4df380272ef8aab22af50cbffd8d338336f4894 Author: Jeffrey Altman Date: Fri Jun 17 17:15:25 2005 +0000 windows-afsifs-20050617 Not all of the chunks applied on the last commit commit 329a79234449dcadbaf0aa7c09a3b74fea834746 Author: Jeffrey Altman Date: Fri Jun 17 17:07:46 2005 +0000 window-afsifs-20050617 Updates to the afsifs-20050615 DELTA. * Fix the build system * Reformat the code * Update docs commit ff8554593ffb580a43b3d0e45d9b8ee1455a8fac Author: Eric Williams Date: Wed Jun 15 19:51:54 2005 +0000 afsifs-both-20050615 this patchset makes it build both ways. commit 3cc3cedba03827ba3796740a40f2f75bba85a44e Author: Eric Williams Date: Wed Jun 15 17:51:44 2005 +0000 afsifs-20050615 Windows IFS client code and build option commit be485c959856311853303f5633687adb1efc5109 Author: Jeffrey Altman Date: Mon Jun 13 15:30:42 2005 +0000 windows-logon-20050613 fix the return value of IsServiceStartPending. use IsServiceRunning and IsServiceStartPending in the while loop commit 8f5d90c7cf6137fc5fde1e4063ceb62aeb1abcd1 Author: Jeffrey Altman Date: Mon Jun 13 02:06:57 2005 +0000 windows-installer-updates-20050612 Add asetkey.exe Add uninstall.exe and associated shortcut to Wix Fix ability to uninstall loopback adapter on non-English Windows versions ==================== 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. ==================== add clean rule ==================== use "uninst" for rule instead of "uninstall" ==================== build wix/uninstall directory ==================== add OpenAFS logo icon commit 06597a0e03faf2f5d4cd8d3f72b93017970b28fd Author: Jeffrey Altman Date: Sun Jun 12 12:44:55 2005 +0000 windows-misc-fixes-20050612 if scp is not known when flushing dirty buffers, find it by fid only free the server list when one was obtained hold the scp mutex until after the associated bufp flags are updated only get the volume by id if there is a server callback map CM_ERROR_ALLOFFLINE to NT Remote Host Down commit a08552748100597bea748b17a9ae1b8ddf4a9aa7 Author: Jeffrey Altman Date: Sun Jun 12 12:25:13 2005 +0000 windows-asetkey-20050612 Add asetkey.exe to the Windows distribution commit 324cd9710526238056801d9b19ef1626db7f3c78 Author: Jeffrey Altman Date: Fri Jun 10 22:37:37 2005 +0000 pipe-logging-fix-20050610 fstat calls should be lstat ==================== 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. ==================== fstat calls should be lstat bang in the wrong place commit 72de37a9c45f7d1184ef0c23465d2b79dbfe93c5 Author: Tony D'Amato Date: Fri Jun 10 22:11:07 2005 +0000 sgi-afs-rename-decl-fix-20050610 achar -> char commit 4af80bc2045ee85592a82bc9aacaee71f8667ea0 Author: Jeffrey Altman Date: Fri Jun 10 22:07:05 2005 +0000 unbalanced-unlock-20050610 Addition of __EXPERIMENTAL_CALLBACK_CONN_MOVING if defined left an unbalanced H_UNLOCK. Semi-colons after H_LOCK and H_UNLOCK were missing. commit a70bec720087aab99909861c346cc59d14107278 Author: Jeffrey Altman Date: Fri Jun 10 21:54:23 2005 +0000 windows-afslogon-20050610 replace wfhile(TRUE) with while(afsAutoStart) commit 51a587b9607df9da903dabff5db5e0d668fc0b0b Author: Jim Rees Date: Tue Jun 7 18:37:10 2005 +0000 dont-restrict-nfiles-20050607 Let afsd compute cachefiles as cacheblocks/10 instead of limiting it to 50000 in the XLARGE and XXLARGE cases. commit 8502de9a4b4ad3cc106f497ae0c5442e21197262 Author: Russ Allbery Date: Sun Jun 5 17:20:48 2005 +0000 linux-no-smp-modules-on-uniprocessor-20050605 FIXES 18738 don't try to build smp modules with uniprocessor kernel. this may need to be revisited for the redhat buildsys commit 3b414bb125ce226ee79edb5bf0c524c4b3a3e75f Author: Jeffrey Altman Date: Sun Jun 5 15:52:21 2005 +0000 windows-version-20050605 1.3.8400 commit 01845badd5da293cb360fb54fc25d25558a150d4 Author: Jeffrey Altman Date: Sun Jun 5 15:45:02 2005 +0000 windows-notes-20050605 updates for 1.3.84 commit be6ccec728bf2cad77f5aad83a706a281baaf9d0 Author: Jeffrey Altman Date: Sun Jun 5 14:38:56 2005 +0000 windows-syncop-waiting-20050605 Forgot to remove unneeded flag commit dfd34687f29ea2c20c5c0438ab4dba11e077f889 Author: Jeffrey Altman Date: Sun Jun 5 07:44:32 2005 +0000 windows-buf-waiting-20050605 The function cm_SyncOp() can cause threads to wait either because there is a state conflict on the current use of the cm_scache_t object or a state conflict on the cm_buf_t object. Waiting is always performed on the cm_scache_t object. However, if the conflict was with the cm_buf_t object there was no method for waking up the thread when the conflict is cleared. Now all of the cm_buf_t waiting functions also take a cm_scache_t and waiting threads are woken if necessary. cm_scache_t and cm_buf_t objects now have waitCount and waitRequest fields. The WAITING flag is now cleared by the waking thread who sets waitCount to zero. Many improvements to trace logging for these issues. commit dcb55704f990790898780fc7a280b1a378440b9c Author: Chas Williams Date: Sat Jun 4 18:08:55 2005 +0000 linux26-clear-inode-locking-20050603 respect i_state flag (works for my test case, if it works more broadly i will pull up) commit edb1f92a67c5875b6be11621fe1b519c01877e8f Author: Derrick Brashear Date: Sat Jun 4 15:42:12 2005 +0000 split-dcache-fixes-20050604 based on discussions with jhutz@cmu.edu and chas@cmf.nrl.navy.mil commit 23cbd8f646dac8dbe3d5615e8a59e1170a281f07 Author: Chas Williams Date: Thu Jun 2 06:20:23 2005 +0000 solaris10-optimization-20050602 FIXES 17262 declare certain things volatile to make solaris compiler less cranky commit ab0f8ed43b863aeccbb98c8beae545cfeb40ee36 Author: Tracy Di Marco White Date: Thu Jun 2 05:40:53 2005 +0000 netbsd-fileserver-shutdown-20050601 FIXES 16897 do what we do on darwin commit 9e110558c26b1f3b4c3f96fa9c4b3c1cb9e60dd7 Author: Tracy Di Marco White Date: Thu Jun 2 05:27:27 2005 +0000 netbsd-399-20050601 FIXES 18288 add support for netbsd 3.99 commit 7df1794eda61b60539c5bc3afcc384ea39f80c08 Author: Chas Williams Date: Tue May 31 22:12:28 2005 +0000 d-reval-one-more-20050531 last try commit fa00cacf48e66c275604d616112e0b74932ace44 Author: Jeffrey Altman Date: Tue May 31 21:33:52 2005 +0000 windows-undo-20050531 undo last change commit c4c2f33340660948943d5ebff45e7ebd8085d647 Author: Derrick Brashear Date: Tue May 31 20:55:35 2005 +0000 rxkad-stats-cleanup-20050531 define this in kernel commit 528c511aabaefcafc01361c8038766ce56fe8e45 Author: Jeffrey Altman Date: Tue May 31 18:36:28 2005 +0000 windows-more-races-20050531 a couple of more locations at which cm_SyncOpDone() either was not called or was called without holding the scache mutex. commit 1ceb19954b0b4bfca3d500803649debc0e9c001a Author: Jim Rees Date: Tue May 31 16:43:59 2005 +0000 use-test-r-20050531 Use "test -r" instead of "test -e". Not all systems (Solaris) have -e. commit e844445243f837f9bc2fc52b503af99ecd44427e Author: Jeffrey Altman Date: Tue May 31 15:18:38 2005 +0000 windows-logon-cleanup-20050531 remove debugging messages commit 4c143cf63df724637d765b8ade88a9f5aa97107e Author: Jeffrey Altman Date: Tue May 31 14:23:54 2005 +0000 windows-des-stats-20050531 Put the declaration for rxkad_stats back into the stats.h but only for Windows. We don't want to deal with figuring out all the dependencies today. commit d9f9724c9562f8ae0115394454dd2dd96ac258ff Author: Derrick Brashear Date: Tue May 31 03:11:38 2005 +0000 rx-queue-macros-rename-20050530 /usr/include/ctype.h on macos 10.3.9 now uses _Q bah commit c87ae4f82cacacef68a2b54ad21e17ac6d5ddfae Author: Derrick Brashear Date: Mon May 30 18:34:30 2005 +0000 rxkad-stats-cleanup-20050530 minor reorg so everything links ok commit 5343ad18e33b97e808fdf377bbdb2c76bb63da0d Author: Jeffrey Altman Date: Mon May 30 11:49:30 2005 +0000 not-cplusplus-20050530 variables must be declared at the start of a block. commit ad4634fca26d92c9496dbbd70e7c970c1f84a5ad Author: Jeffrey Altman Date: Mon May 30 11:46:38 2005 +0000 windows-double-declare-20050530 rx_global_stats is being declared twice in the header file each time with different properties. Remove the one that is not conditionalized. commit e5d21400b799c34af8ed63cf5dba2ee95c83cd87 Author: Jeffrey Altman Date: Mon May 30 06:36:16 2005 +0000 windows-include-des-20050529 Create an include/des directory and copy stats.h into it commit b9ae6e9547471c4006e4ac00879b3cb9bcefe47b Author: Tom Keiser Date: Mon May 30 06:22:04 2005 +0000 parallel-attaching-20050529 FIXES 18999 allow parallelization of VInitVolumePackage so attaching volumes can be sped up commit 25b0681893b3c41cfeba213f9a6b7bfd0d85c685 Author: Tom Keiser Date: Mon May 30 05:55:12 2005 +0000 pthread-rxkad-stats-20050529 FIXES 17547 speed up rxkad by keeping stats per-thread commit b56513ffd69bbcd94afb2b1e1509aae63fa438fc Author: Chas Williams Date: Mon May 30 05:36:25 2005 +0000 memcache-dont-dump-buffer-20050529 FIXES 18944 don't bother dumping what may not be a readable buffer while tracing when using memcache commit 2995362346abd9691bc8d4ceca57247e1954fb1d Author: Chaskiel M Grundman Date: Mon May 30 05:33:30 2005 +0000 linux-vnode-aliases-20050529 FIXES 18613 you can end up hanging when you end up with multiple aliases for a single directory (dentry) as a result of @sys or multiple mountpoints. don't end up with multiple aliases, and avoid the situation commit 44350283a2fc3c18954169f42edda14063e86535 Author: Peter Somogyi Date: Mon May 30 05:20:19 2005 +0000 s390x-linux26-remove-externs-20050529 FIXES 18987 remove externs in param for s390x linux26 commit c915a6bce730fca994aef77b8a3224a3f126bae7 Author: Jeffrey Altman Date: Mon May 30 05:13:13 2005 +0000 windows-notes-20050529 Update notes for 1.3.8300 commit c7db062bea6e57242554a3eb8aa32ac0271c45ae Author: Chas Williams Date: Mon May 30 05:12:10 2005 +0000 d-reval-fin-20050529 FIXES 18588 last try at fixing d-revalidate commit c640e271d893ac8275b3ee50b04f8775dca384b5 Author: Derrick Brashear Date: Mon May 30 05:07:56 2005 +0000 module-license-url-20050529 FIXES 18596 url with module license info commit ec84a819de10eac9ede8e2499b35d61bb4840744 Author: Chas Williams Date: Mon May 30 04:57:02 2005 +0000 vcache-cleanup-20050529 FIXES 18368 clean up unused stuff in struct vcache commit 96472a6b3a71d5d5ef57e2481680920a7e006ffe Author: Jeffrey Altman Date: Mon May 30 04:55:47 2005 +0000 windows-stuff-20050529 (1) Replace all calls to getenv() with GetEnvironment(). getenv() does not read from the real environment but instead from a copy created by the C RTL. (2) Add support for preserving Kerberos 5 tickets during the Integrated Logon process. Now when Integrated Logon is used, the tickets will be stored into the default ccache within the user session. (3) Stress testing at MIT uncovered two code paths that could leave threads in a permanent sleep state under heavy load. Calls to cm_SyncOpDone were added to plug this hole. ==================== 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. ==================== Install afscpcc.exe and register the KFWLogon WinLogon Event Handler commit d049ca2ae4e7708df028fca739c2a35ccb906bfb Author: Tom Keiser Date: Mon May 30 04:39:50 2005 +0000 rx-fpq-bulk-free-20050529 FIXES 19027 After profiling RX for a while, I've found a few more bottlenecks in the packet handling code. This patch addresses a couple of these issues. The major change in this patch is a new API to allow bulk packet alloc/free ops on rx_queue's of packets. Benefits include reduced lock contention on rx_freePktQ_lock, elimination of a lot of unnecessary cache line invalidates, and reduced register window thrashing on sparc. In addition, this patch dedicates one rx_packet per thread to rxi_SendAck, since that function is in the critical path, and represents a large percentage of execution time. commit 985171769d01bfa8cd583e75c08d13949ac201fc Author: Tracy Di Marco White Date: Mon May 30 04:35:52 2005 +0000 netbsd-pam-20050529 FIXES 18924 pam support for nbsd commit b15721aef16f9b8b689bfc0be01a434f88610919 Author: Roman Mitz Date: Wed May 25 00:12:52 2005 +0000 discard-rx-streams-20050524 FIXES 18895 they wouldn't compile anyway. remove references also. commit 57150405dac2e8ba5b815e880107dda7c48cbd58 Author: Klas Lindfors Date: Wed May 25 00:06:43 2005 +0000 make-clearcallback-faster-20050524 FIXES 4413 hash callbacks twice so we can discard them more quickly. commit 0d57910b60b3283803464eb26cd0a33d16c2d7db Author: Derrick Brashear Date: Tue May 24 21:32:36 2005 +0000 unroll-macos-104-20050523 we'll finish it on a branch and remerge; 1.3.83 needs to happen and 1.4 needs to go out. ==================== 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. ==================== we'll finish it on a branch and remerge; 1.3.83 needs to happen and 1.4 needs to go out. commit 280e10315e00d9f3545bb5176f08c58512385571 Author: Asanka Herath Date: Tue May 24 06:12:19 2005 +0000 windows-loopback-20050524 Find the loopback adapter installer by hardware ID instead of English name. commit 2d130131201d78a47d097412d64c98268d481579 Author: Jeffrey Altman Date: Mon May 23 14:57:55 2005 +0000 windows-notes-20050523 more fixes commit eb7ef65dfa95bbc035a54d15b594a19c1e94335a Author: Jeffrey Altman Date: Sun May 22 06:53:44 2005 +0000 windows-delonclose-20050522 Fix support for the CreateFile(DELETE_ON_CLOSE) option. commit 4e6733a0520bc0221bdda085ffa83bd23463a599 Author: Jim Rees Date: Fri May 20 20:26:53 2005 +0000 bsd-config-20050520 config stuff for OpenBSD 3.7, FreeBSD 5.4 and 6.0 commit c20d9c0eabb6f6186f21e2f5bd7e125c9a9aee37 Author: Jim Rees Date: Fri May 20 20:19:26 2005 +0000 obsd-time-20050520 Remove extern time from OBSD/osi_machdep.h. It's in sys/kernel.h. Suggested by irene.braun@ualberta.ca. commit 657a6ea09ea18ee597038816b7e0bf3b77c12c5d Author: Jeffrey Altman Date: Wed May 18 23:29:32 2005 +0000 windows-version-20050518 1.3.8300 commit 9bb874fc2c51907542c1bbafa2377f3aabf9bb20 Author: Jeffrey Altman Date: Wed May 18 23:27:19 2005 +0000 windows-notes-20050518 1.3.8300 commit 5b6865886258ea102c90dfb3af65b68d979ef936 Author: Jeffrey Altman Date: Wed May 18 23:22:03 2005 +0000 windows-afssvrmgr-20050518 Link resulting executable to kerberos 5 commit 10f6e5d6e2960469eb4d0e75f62fa9b33629b132 Author: Jeffrey Altman Date: Wed May 18 23:01:10 2005 +0000 rx-makecall-race-fix-20050518 On at least one system it was noticed that threads waiting in rx_NewCall would starve forever (aka deadlock). This was the result of one out of two problems related to a race condition on the RX_CONN_MAKECALL_WAITING bit flag. This flag was set once in rx_NewCall and cleared in rx_EndCall. However, it was possible for the flag to be cleared even though there were additional flags waiting in rx_NewCall. This was due to a failure to check the value of makeCallWaiters before clearing the flag and also due to a failure to properly lock the access to the makeCallWaiters field. The second problem was an ability to destroy a connection on which threads are waiting within rx_NewCall. commit 70a7e29bc0ad770d56a11e45d0bea84727eed755 Author: Chas Williams Date: Wed May 18 14:52:24 2005 +0000 linux-str-inlines-20050518 add #include in the param file after fixes unresolved ref to strlen from xdr.o via inline commit 6143eed83ce1d0f413b141c2c8d585dd649ce7d1 Author: Jeffrey Altman Date: Tue May 17 19:25:21 2005 +0000 windows-dnlc-corruption-20050517 It has been noticed that on startup there may be corruption of the dnlc freelist. In particular, some items on the list are actually in use. This patch will cause the dnlc to be purged if corruption of the freelist is detected. It also makes changes to ensure that items placed onto the freelist are in fact cleaned to prevent confusion. The purge function is corrected to set that magic field to the correct value. The validation function is fixed to not CloseHandle the same handle twice. commit 0d4b01ba892240979dcf8d0cbf98e618607d97cd Author: Jim Rees Date: Sun May 15 21:54:50 2005 +0000 fix-vrefcount-20050513 fix VREFCOUNT macro for XBSD ==================== 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. ==================== and everything else. commit 015c5356d9910688c497f860f70ed277e263239b Author: Jim Rees Date: Sun May 15 21:40:15 2005 +0000 freebsd60-readme-20050515 Add FreeBSD 6.0. Consolidate linux kernel header notes in Linux Notes section. Reformat system types section. commit 761c6ca7ff623a85532cd11c946734925a0e1dbc Author: Derrick Brashear Date: Fri May 13 22:43:55 2005 +0000 macos104-not-yet-20050513 rewrite attrs section a bit to deal with 10.4 commit 65682542456058462ff9cfa41543a6d5024721c6 Author: Derrick Brashear Date: Fri May 13 04:00:24 2005 +0000 macos104-not-yet-20050512 virtualize vnode refcount "greater than" testing so we can use tiger primitive commit 38f6b037e42d0e9342d846da33014719b68088a8 Author: Jim Rees Date: Thu May 12 21:06:59 2005 +0000 fix-tuiop-20050512 tuiop, not tuio commit a5cb6d6c4e4fef19dc1b02a138bc671605e68a8a Author: Chaskiel M Grundman Date: Thu May 12 19:30:35 2005 +0000 macos104-not-yet-20050511 further work ==================== 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. ==================== ifaddr/ifnet compat macros for older versions, and clean up afs_server interface ot use it. fix vnode_isinuse macros ==================== further work ==================== further work commit 116c2d680ebcb7bd977ee13c8ad2fe94e59ecfe3 Author: Jeffrey Altman Date: Wed May 11 22:33:33 2005 +0000 windows-scache-release-20050511 Add additional "if !NULL" checks before calling cm_SCacheRelease commit 1279af120c1a876e975892c12deba1ff255e9936 Author: Jeffrey Altman Date: Tue May 10 04:34:03 2005 +0000 windows-minidump-20050509 Enable support for Minidump generation and crash reporting commit dca8867b9eb8b578078ee6ebe17d46766c06fd62 Author: Jeffrey Altman Date: Tue May 10 04:33:28 2005 +0000 windows-server-manager-20050509 Enable KFW support for server manager commit aa2f2fdd143904329ead91873dca0e55f0af141d Author: Jeffrey Altman Date: Tue May 10 04:32:30 2005 +0000 windows-makefile-20050509 reorganize dependencies to allow kfw to be integrated into Server Manager commit 144e51ccd06b25dc08d9ba3435614fe72c94bf85 Author: Jeffrey Altman Date: Tue May 10 04:31:56 2005 +0000 windows-notes-20050509 latest updates commit c206977d93116adf1d8ff79f2fd6374fa5a728fc Author: Chaskiel M Grundman Date: Sun May 8 07:49:43 2005 +0000 macos-104-not-yet-20050508 shadow@dementia.org to blame for some of this. commit 5afb5d6246d34948d15e93d1af9c2370d26c9f3a Author: Klas Lindfors Date: Sun May 8 07:16:45 2005 +0000 export-calleraccess-via-pioctl-20050508 FIXES 18442 provide pioctl to get CallerAccess bits commit f519e0457caaff9be2926518efffac586202e266 Author: Chaskiel M Grundman Date: Sun May 8 07:09:19 2005 +0000 volinfo-fixes-20050508 FIXES 18391 large (>31bit) volume id handling and fixed handling of cloned volumes commit ccdab705071cf7ab1a508b06bf09b472806a8b1f Author: Christopher Allen Wing Date: Sun May 8 07:05:09 2005 +0000 linux-proc-read-seq-file-20050508 FIXES 18612 use sequenced file interface for proc copy of CellServDB commit c1315b3b63b2ca2a1b95c63ede59d25bb9f6fe93 Author: Tom Keiser Date: Sun May 8 06:59:58 2005 +0000 fix-64bit-assign-int64-20050508 FIXES 18611 make this match the way the 32 bit (struct lo/hi) version works commit 2669e1103bc733df4e27e24438c72d7d39a4c476 Author: Marc Horowitz Date: Sun May 8 06:55:45 2005 +0000 sparc64-linux26-20050508 FIXES 18485 add sparc64-linux24 port commit 160c01035ca3775d8bf21dd9a34bd0f51f309159 Author: Steve Roseman Date: Sun May 8 06:50:23 2005 +0000 aix-auth-speedup-20050508 FIXES 18467 The security module "afs_dynamic_auth" can get VERY slow if trying to authenticate against a user in a large NIS password file. This happens because it "replaces" getpwnam with code which loops through the "passwd" file. this 1) makes external programs use the "real" getpwnam, and 2) changes the internal routine afs_getpwnam_int to use getpwnam instead of iterating. commit e8efb3970aef3ec9d2f2ca01a4550ed6c7cf62a1 Author: Chaskiel M Grundman Date: Sun May 8 06:46:14 2005 +0000 linux-copyin-copyout-dont-check-errors-20050508 FIXES 18293 improved macros which do error checking commit f6883dfbbcbe14f65c2b9e44f2841392050e755f Author: Chas Williams Date: Sun May 8 06:38:15 2005 +0000 d-revalidate-redux-20050508 FIXES 18588 when the callback for a directory is broken the children of this vnode are not invalidated as well. so VerifyVCache() always believes these vnodes to be up to date since they will still have the CStatd flag. perhaps breaking the callback on a directory should also clear CStatd on children vnodes? this isnt a problem for other operating system which go through the dnlc which does purge the children entries for the vnode in question during ClearCallBack(). since d_revalidate now avoids the dnlc (and afs_lookup) the following patch tracks the parent vnode's DataVersion (just the lower half really but this should be sufficient) in d_time. if the parent has changed then the dentry is flagged as neededing updated. commit ba9a46089417c13ca5570839713ddeadc2413ef7 Author: Derrick Brashear Date: Mon May 2 03:04:45 2005 +0000 macos104-not-yet-20050501 push first group of 10.4 changes commit 35c9cef27e3f60588b5b15e3795d9475ed377e32 Author: Jim Rees Date: Fri Apr 29 22:55:58 2005 +0000 freebsd60-mount-20050429 Fix new FreeBSD mount vfs op. Client works now, at least for a little while. commit 02bbfe94abe7aa617d3e841df7e1fab98f43c64c Author: Jeffrey Altman Date: Fri Apr 29 21:00:10 2005 +0000 windows-version-20050429 1.3.8201 ==================== 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. ==================== 1.3.8201 (do it right this time) commit 2a46337042e9aee6ddb3152f8edd892db7ebdeb4 Author: Jeffrey Altman Date: Fri Apr 29 20:51:18 2005 +0000 windows-fix-kfw-dependency-20050429 a failure to install KFW would lead to crashes commit e89913282cfe3a9cc029911e0d6bb24bad90892a Author: Jeffrey Altman Date: Fri Apr 29 20:49:58 2005 +0000 windows-notes-20050429 1.3.8201 ==================== 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. ==================== remove AFS Gateway option commit 36957dd203ddb45d993e1ea9ad1ffaeccc3b9390 Author: Jim Rees Date: Fri Apr 29 19:24:01 2005 +0000 freebsd-20050429 Move module init/uninit code from module event handler to vfs ops Use VFS_SET for FreeBSD 6.0 commit ff6259a9c4122f098328c2b256093bd32f979e8f Author: Jim Rees Date: Fri Apr 29 18:01:08 2005 +0000 getpid-20050429 rename our getpid() to osi_getpid() to avoid name collision with kernel version commit a15d665e1d3a5cb564f2d32d6700b1bdef069728 Author: Derrick Brashear Date: Fri Apr 29 02:48:21 2005 +0000 macos-osi-flushpages-20050428 reenable osi_FlushPages commit 4fa2511a449a332a0217ab00dbdb9714ce4aa156 Author: Derrick Brashear Date: Thu Apr 28 23:14:57 2005 +0000 split-dcache-20050427 split for rw/ro dcaches to allow portion of cache to be dedicated ==================== 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. ==================== update commit 7a4c7609c8ec87030813687b4a015ea58281ffaa Author: Jeffrey Altman Date: Thu Apr 28 19:12:43 2005 +0000 windows-version-20050428 1.3.8200 commit 1e75a2fdc1979beba0df0837e4588230acfdc4c1 Author: Derrick Brashear Date: Thu Apr 28 06:02:19 2005 +0000 vnode-nusers-avoid-potential-overflow-20050428 a byte is very small... commit 965864f2ed8659b02c0ff6ed88ca2b8d24271837 Author: Chaskiel M Grundman Date: Thu Apr 28 04:10:19 2005 +0000 osi-initcacheinfo-cleanup-20050427 FIXES 18429 remove extraneous variable, be consistent about cacheMnt type commit 48e618ff0aa6708bcc2fe8cd577f7db7342e8c48 Author: Peter Somogyi Date: Thu Apr 28 04:04:13 2005 +0000 change-s390x-linker-binding-20050427 FIXES 18447 to avoid binding against xdr_int_internal in xdr use from the pam module commit c90b1bd66a8c2565a4b6927d2344768b0768c545 Author: Chaskiel M Grundman Date: Wed Apr 27 22:43:18 2005 +0000 linux-always-glock-20050427 finish this up, always glock on linux commit 8085bc4d476a2e77b26454929cdfa1d034c754f7 Author: Jeffrey Altman Date: Wed Apr 27 16:32:22 2005 +0000 windows-callback-race-20050427 cm_EndCallbackGrantingCall contained a race condition due to the release of the cm_callbackLock in the middle of the for() loop. The race was removed by optimizing out the call to cm_CallbackNotifyChange(). There is no reason this needed to be called once per callback revoke in the list. commit bd6345779e38b4de1d7b83269cace93ccc8bfb8a Author: Jeffrey Altman Date: Wed Apr 27 16:28:00 2005 +0000 winnotes-20050427 more updates commit f2558d6b89d4d3e6effbd8fc3868303cc3e69e7b Author: Derrick Brashear Date: Wed Apr 27 02:49:47 2005 +0000 add-ptprocs-prototype-use-20050426 thanks to Chris Wing for pointing this out commit e911b292af2c35f8f4af29aed26c557bf856d498 Author: Derrick Brashear Date: Wed Apr 27 02:36:40 2005 +0000 daemonize-log-somewhere-so-fds-can-close-without-harm-20050426 FIXES 18405 switch to VLog from printf commit 35285dad3e20e50f592afa95d994b68ded5c8b2b Author: Tom Keiser Date: Mon Apr 25 21:52:59 2005 +0000 rx-fpq-optimize-20050425 FIXES 17805 here's a patch that reduces the overhead of transfers between the local and global free packet queues. The old algorithm was O(n) in the number of store instructions -- 7 per rx_packet. I've added some bulk transfer macros to the rx_queue package. Now, the number of store instructions is O(1) -- 6 total. This should help reduce bus contention and cache line invalidates on SMPs. commit 3a30e787f2ab5c16bc1fdf34d74f67963ef63155 Author: Derrick Brashear Date: Mon Apr 25 18:20:16 2005 +0000 linux-global-sunlock-always-20050424 ok, well, in the land of pre-emption i guess we need this always commit 7631e20aa097ff062cbd3b04f2d483e3e7a95707 Author: Chas Williams Date: Mon Apr 25 15:54:54 2005 +0000 linux-dentry-revalidate-one-more-20050424 further updates commit 9213494ea84370f095d1d43e81b78fa11e5529e7 Author: Chaskiel M Grundman Date: Sun Apr 24 15:54:03 2005 +0000 add-missing-inotify-test-20050424 so we actually detect the inotify sem commit 937e96cfd192c86affa8a86f24ea4a5cdd81c7cd Author: Chas Williams Date: Sun Apr 24 15:26:53 2005 +0000 dentry-revalidate-cleanup-20050424 clean up dentry_revalidate one more time so performance improves commit 87de2a0c8f3870017dddaf7cc7e3a748a7c71fb4 Author: Niklas Edmundsson Date: Sun Apr 24 15:24:57 2005 +0000 aix53-20050424 add param file for aix 53 check for cache partition type commit 6115ace770c1b63db2bae9a883c63c7f478315a6 Author: Rainer Toebbicke Date: Sun Apr 24 15:19:55 2005 +0000 maintain-volume-filecounts-20050424 maintain file counts in volume header commit 21610a43f7bd4a0f1df1c1184308c04b26d77785 Author: Christopher Allen Wing Date: Sun Apr 24 15:16:21 2005 +0000 use-daemon-in-bosserver-and-afsd-20050424 provide daemon() if none exists. call it in bosserver and in afsd for afsdb handler ==================== 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. ==================== add the file, too commit 1ecb15494a769dad02d2278dbe50d34cab0cab05 Author: Chas Williams Date: Sun Apr 24 15:01:29 2005 +0000 avoid-leaking-stat-info-20050424 otherwise we are effectively giving stat powers to people who shouldn't have it commit 6c0ca56a91dba4e74819d169a387f9c07be6ec9a Author: Chaskiel M Grundman Date: Sun Apr 24 02:02:52 2005 +0000 osi-file-use-dentry-open-20050423 FIXES 18335 use dentry_open et al instead of doing the work ourselves commit 784854caceb5b9fa6e1a6db1446887b99b4bb14e Author: Derrick Brashear Date: Sun Apr 24 01:54:42 2005 +0000 linux-osi-module-proc-csdb-sprintf-bug-20050423 FIXES 18334 remove extraneous %s commit 8e3f1f45b0615e38aa8b8171b2d99e0d2d72cc0a Author: Jim Rees Date: Fri Apr 22 15:57:09 2005 +0000 freebsd60-20050422 Preliminary FreeBSD 6.0 support. Builds, but unlikely to work. commit 8a009bf15110b94245c638e89ea91bbbd859238c Author: Jim Rees Date: Thu Apr 21 23:08:12 2005 +0000 ignore-ytab-20050421 add y.tab.h to .cvsignore commit 0223153f50ea07e7714ddd34e00317210a01b15f Author: Michael Niksch Date: Thu Apr 21 13:03:43 2005 +0000 restore-tab-20050421 Restore lost tab. commit 9198f00b19d0ba793d62241973403d7d1e8acfab Author: Jeffrey Altman Date: Thu Apr 21 03:16:57 2005 +0000 windows-shell-ext-remove-mtpt-20050420 Conditionalize the AFS->Mount Point->Remove menu item based upon whether or not the selected item(s) contain mount points commit 1099227e08af3df856d8a998746d98405e3ef04b Author: Tom Keiser Date: Wed Apr 20 22:21:16 2005 +0000 rx_fpq_take_three-20050420 FIXES 17805 I've been stress testing a patch all weekend that changes the way thread-local packet quotas are computed. I was able to replicate the unbounded packet alloc problem on unix server components by eliminating my code from rxi_StartServerProcs that sets the maximum number of expected threads. This patch makes the upper thread limit get computed on the fly, adds some thread-local free packet queue statistics, and a few other minor tweaks. I still don't have a working windows development environment, so I can't say whether this will fix all the windows client problems. But, the unbounded packet allocation problem should go away with this patch. stress testing on windows succeeds as well. commit 92920f732d8c9b2ca623ede5ffe5a56e98e32624 Author: Jim Rees Date: Wed Apr 20 17:35:44 2005 +0000 fix-vc-v-macro-20050420 Fix IsAfsVnode and friends for OpenBSD and NetBSD. Use "v" instead of "vc" for vnode args to macros (cosmetic only). Redefine OpenBSD macros instead of using #ifdefs in afs_osi.h. commit 5dd44b7a0f04ea43ca8ddea97ae7f1591de9fd54 Author: Jeffrey Altman Date: Tue Apr 19 22:06:22 2005 +0000 windows-hookdll-20050419 Some more tweaks for hook dll processing. commit 77111b823235eefbcc43a61fc7917d25c1bdac44 Author: Chas Williams Date: Tue Apr 19 17:27:25 2005 +0000 linux-conflate-rdwrs-20050419 FIXES 17561 conflate the 2 rdwr routines we have commit 9b506fb588eb884b3255f298f204b36e95b46851 Author: Niklas Edmundsson Date: Tue Apr 19 16:50:25 2005 +0000 aix53-20050419 add aix 5.3 support commit c0753e9ee7ff61ecd162cebbb30da7f0a8ca0bb6 Author: Jeffrey Altman Date: Tue Apr 19 07:26:27 2005 +0000 windows-hooks-20050418 Add new hooks from "AfsdHook.dll" to the afsd_service.exe AfsdInitHook - where you currently have one AfsdRxStartedHook - after RxInit but before SmbInit AfsdSmbStartedHook - after SmbInit AfsdBkDaemonHook - called by the BkDaemon thread and is executed once per cycle AfsdStoppingHook - called just after a shutdown event has been received but before any shutdown has been performed AfsdStoppedHook - called just after all shutdown operations after completed but before the service terminates The type of the function is BOOL ( APIENTRY * AfsdHook )(void) in all cases. Returning FALSE will cause the service to shutdown. commit f4f8176464bab9256786135df2f09fe8b129e7c1 Author: Jeffrey Altman Date: Tue Apr 19 06:04:35 2005 +0000 windows-O_NOBLOCK-20050418 O_NOBLOCK is not defined on Windows commit c630f81194666e438d93b79fc2510d112050e524 Author: Jeffrey Altman Date: Tue Apr 19 06:04:03 2005 +0000 windows-rx-ts-fpq-20050418 FIXES 17805 Add a new function called rx_StartClientThread() which parallels the behavior of rx_StartServer but is used for initializing client threads. ==================== 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. ==================== FIXES 17805 Add a new function called rx_StartClientThread() which parallels the behavior of rx_StartServer but is used for initializing client threads. Also, disable RX_TSFPQ_ENABLE for Windows as it slows the client down. commit 66b82d3c10101b70abcbcc6933b439aa1904600f Author: Jeffrey Altman Date: Tue Apr 19 06:03:10 2005 +0000 windows-formatting-20050418 keep formatting consistent commit ebf2022608aa239756a3a43e18ece02f3e512abc Author: Jeffrey Altman Date: Tue Apr 19 06:02:48 2005 +0000 windows-free-lib-20050418 call FreeLibrary not CloseHandle commit 61c5f8c0c89cb15f2bc4e47edb018c33d9ba256e Author: Derrick Brashear Date: Mon Apr 18 21:09:38 2005 +0000 macos104-not-yet-20050418 push first group of 10.4 changes commit e93bf762518b9afe91dee604e46fd8339c78360d Author: Jeffrey Altman Date: Mon Apr 18 15:43:50 2005 +0000 windows-syscfg-20050418 GetAdaptersAddressess -> GetAdaptersAddresses commit bf094cb5f4994d403c1fd0f6bf26c83447d95ae9 Author: Chaskiel M Grundman Date: Mon Apr 18 15:30:53 2005 +0000 linux-fmode-set-20050418 to avoid problems where we don't get truncated commit 7b71eb265efc727c88de0f25c1c6569831e6cbf9 Author: Rainer Toebbicke Date: Mon Apr 18 15:28:05 2005 +0000 logging-in-linux-vnodeops-sucks-20050418 given that we keep ending up with these weird errors, it's just not worth it. commit d8c0cc4c26fc779cf157fba07606060500555f38 Author: Robert Banz Date: Mon Apr 18 15:25:34 2005 +0000 solaris-largefile-not-on-ia32-20050417 disable largefile on solaris x86 32 bit commit eb71287333da152158cb2ea35c8f6c9f97752e6c Author: Jeffrey Altman Date: Mon Apr 18 03:28:31 2005 +0000 missing-eof-20050417 add missing eof commit 93ece98ccb1fd54c8c10848c574efe8932befc28 Author: Derrick Brashear Date: Fri Apr 15 20:39:33 2005 +0000 ptserver-restricted-mode-20050415 add restricted mode to pts only admins can make changes commit 6fe57dcfdae6efbf1aaf8e994e280c813c8c30dd Author: Derrick Brashear Date: Fri Apr 15 20:32:31 2005 +0000 make-linux-proc-cellservdb-info-20050415 use info hook instead of read so we can have larger than a slab commit 16982614437754880951c8a1c0220e61d13eccf7 Author: Derrick Brashear Date: Fri Apr 15 20:04:55 2005 +0000 license-compromise-20050415 just copy the full list of licenses here. bleh. commit 44eac0a8ac135b76876c6740b852406dad042f97 Author: Derrick Brashear Date: Fri Apr 15 20:02:08 2005 +0000 license-update-20050415 FIXES 18131 collect all licenses here commit a72d598e09a935f5974243cd622e0b986222b8b8 Author: Kris Van Hees Date: Fri Apr 15 19:43:57 2005 +0000 vos-release-compare-update-timestamps-20050415 FIXES 17758 use last updated timestamps to determine if a release needs to be done commit c38270884ad47b4d04d6212739e2fcee34568d3a Author: Peter Somogyi Date: Fri Apr 15 19:34:30 2005 +0000 fix-rxkad-prototype-20050415 FIXES 18079 fix cbc_encrypt prototype commit 2dc87bcf1e632444b163eea94172b77e7d376d5c Author: Derrick Brashear Date: Fri Apr 15 19:33:22 2005 +0000 kill-struct-osisocket-20050415 FIXES 18079 more complete version of what's in the patch, kill all refs to struct osi_socket in favor of just osi_socket from psomogyi@gamax.hu commit 4625fe8f93518d68bb61f58bb51a9c430ede37e9 Author: Chas Williams Date: Fri Apr 15 19:23:06 2005 +0000 viced-already-regd-warning-20050415 FIXES 18049 the ethernet address is irrelevant commit 3e20db8bbbcfd4f725d803b705b8816aa84f859d Author: Jeffrey Altman Date: Fri Apr 15 17:01:40 2005 +0000 windows-locking-freeacls-20050415 Ensure that the appropriate mutex locks are held on the stat cache entry referred to by the acl back pointer when performing a cleanup commit bee80ed64c042d63e9a57875a064744199d44996 Author: Jeffrey Altman Date: Fri Apr 15 17:00:15 2005 +0000 windows-memmap-adjust-20050415 Prepare to allow the maxVolumes and maxCells parameters to become independent of the MaxStats value commit 671b02194a49c2548bdad45d2f1ba3c6452f3d43 Author: Chas Williams Date: Fri Apr 15 14:40:31 2005 +0000 sema-init-takes-2-args-20050415 FIXES 18271 init sema correctly commit b086690fbb27b8ee31c8d8f546f9ed4824007cd7 Author: Derrick Brashear Date: Fri Apr 15 14:31:42 2005 +0000 fifo-logs-20050415 use O_NONBLOCK during open if it's a fifo suppress SIGPIPE in case we care (EPIPE handling still not needed: return value of write is discarded) commit e2d6d9bf2e8d628096b9ce4d6eb558524231bac4 Author: Jeffrey Altman Date: Thu Apr 14 06:46:34 2005 +0000 windows-winlogon-logon-event-20050414 Apparently the problem with multi-domain forests with cross- realm trusts to non-Windows realms was not entirely solved. The authentication to the AFS SMB service failed because the wrong name was being used. Using ASU as an example, the authentication was being performed with the name "QAAD\user" (an account in the forest root) and not "user@ASU.EDU (the MIT Kerberos principal used to login with) The solution was to add an additional dependency on KFW in order or to be able to easily obtain the client principal name stored in the MSLSA ccache TGT. This information is used in two locations: - the pioctl() function - a new WinLogon Event Handler for the "logon" event. The pioctl function will now be able to use the correct name when calling WNetAddConnection2() and the "logon" event handler will now be able to call WNetAddConnection2(). The hope is that the "logon" event handler will be called before the profile is loaded but I have not guarrantee that will happen. commit bdc7e43117706d0aa46d3b6435489e9d4c2b0888 Author: Derrick Brashear Date: Thu Apr 14 05:41:59 2005 +0000 support-named-pipe-logs-20050414 so log files can be named pipes commit 5aab14c8434e9ea5f3bfa05b6a8cc20de1856c6a Author: Derrick Brashear Date: Thu Apr 14 05:29:34 2005 +0000 renamefile-for-mrafslogs-20050414 call the renamefile wrapper so mrafs style logs on windows work like other logs commit cffa1571bb7122cdd5fc18251685af5a3c5cbaaa Author: Chas Williams Date: Thu Apr 14 05:22:24 2005 +0000 kill-rxglock-20050413 FIXES 18222 the rxglock was being defined out by all the platforms, just kill it. commit 004be0249387802cc7abe45d50c6f8b67c4832d0 Author: Tom Keiser Date: Thu Apr 14 03:41:18 2005 +0000 rx-fpq-trying-again-20050413 FIXES 17805 this time we'll work it out on windows. multitier free packet queues to increase performance commit 7dd07b912b62b62cc19a24abfd6ebd81abc3cca7 Author: Chas Williams Date: Thu Apr 14 03:32:46 2005 +0000 bye-getitimer-20050413 FIXES 18221 stop using getitimer on linux commit dbeab01c12fd61305b9b5cc9a61036d934db1ce8 Author: Chas Williams Date: Thu Apr 14 03:25:02 2005 +0000 kill-rxglock-20050413 FIXES 18222 the rxglock was being defined out by all the platforms, just kill it. commit 12df63ce9a626dded034e90f92ec9f15326ab96c Author: Chaskiel M Grundman Date: Thu Apr 14 03:18:33 2005 +0000 linux26-unlocked-ioctl-20050413 FIXES 18224 add unlocked_ioctl support and compat_ioctl support commit c7774aa1177e4363db92d7c309263204093a440d Author: Chaskiel M Grundman Date: Thu Apr 14 03:13:50 2005 +0000 tbutc-avoid-lwp-libs-20050413 FIXES 18225 stop using lwp family libs when building tbutc commit d489574156ff01b0a8ff362c14eb12d9a8642d1f Author: Chas Williams Date: Thu Apr 14 03:09:46 2005 +0000 kill-clock-advance-20050413 FIXES 18228 we don't use clock_Advance, so it's gone commit 9307de2fe7780b2df43b5f8e21871f8e5eb633dc Author: Peter Somogyi Date: Thu Apr 14 02:59:34 2005 +0000 aix-volser-fix-retry-20050413 FIXES 18240 destroy lock only after we gave up permanently commit 40e03e078f02fd819a187457678b001065a0972f Author: Douglas Engert Date: Thu Apr 14 02:38:37 2005 +0000 hpux1123-parisc-20050413 FIXES 18245 hpux 11.23 changes for parisc commit 0fb256419d48beadc6236481b6b27839e6ad6dd9 Author: Chaskiel M Grundman Date: Thu Apr 14 02:14:21 2005 +0000 linux-inotify-sem-20050413 FIXES 18260 add inotify sem detection commit 84d997e240979271472721e80980cc6d9f19b9e5 Author: Chaskiel M Grundman Date: Thu Apr 14 01:54:25 2005 +0000 rx-dont-use-kmutex-outside-linux-kernel-20050413 FIXES 18261 don't use kmutex in prototypes outside linux kernel commit 87e748f20df109be127827f7f45c1ce549e217f4 Author: Tom Keiser Date: Mon Apr 11 19:10:58 2005 +0000 cblater-hold-lock-on-broadcast-20050411 avoid race from not holding lock around fsync_cond broadcast commit a054c419176c6ad73dafed66ce6acfbdf3f36952 Author: Derrick Brashear Date: Mon Apr 11 19:03:03 2005 +0000 cleanup-rcmd-killing-20050411 cleanup killing of rcmds. commit 1ca15ed253d8273a9b47c9da95ea1c59412f3e8b Author: Derrick Brashear Date: Wed Apr 6 22:24:27 2005 +0000 linux-follow-link-light-needs-putlink-20050406 based on research by cg2v@andrew.cmu.edu and suggestion of jhutz@cmu.edu needed so kmaps are balanced by kunmaps commit b5be28de3093b225c2a2e927ecefe395d9a74388 Author: Chaskiel M Grundman Date: Wed Apr 6 06:08:56 2005 +0000 afsdb-lock-20050405 init one more lock commit 28c0189fa2a5880ef0c8f89645c69673def29027 Author: Derrick Brashear Date: Wed Apr 6 05:46:03 2005 +0000 osi-probe-old-kernels-20050405 old kernerls lack __user commit d0879e78e6a8824eb745359a00b1d3170b977eaa Author: Jeffrey Altman Date: Tue Apr 5 03:16:43 2005 +0000 windows-rx_mtu-20050404 cmdebug -addr should report the rx_mtu size if it is set and less than the actual mtu size commit 54d6578ae68f8a093661a69fa763499f10457623 Author: Jeffrey Altman Date: Mon Apr 4 12:51:02 2005 +0000 windows-notes-20050404 final updates before 1.3.81 commit 9e811713859a45e644f28c606e79701e422ea3f9 Author: Jeffrey Altman Date: Mon Apr 4 12:37:28 2005 +0000 windows-version-20050404 1.3.8100 commit 04ab517de87cb01c49b33afa74b25b7577a91c92 Author: Garry Zacheiss Date: Mon Apr 4 08:42:59 2005 +0000 make-afs-h-includable-outside-kernel-20050404 so you don't need to define KERNEL to cinlude this commit 9e7c3c015f2b89d360de43f70b8eb69d8adc9c10 Author: Garry Zacheiss Date: Mon Apr 4 08:34:58 2005 +0000 kdump-update-20050404 make kdump build again commit 9b10a8c4b85180a202123815b948581dda036d66 Author: Derrick Brashear Date: Mon Apr 4 06:02:56 2005 +0000 remove-insecure-and-ntp-20050403 rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now. ==================== 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. ==================== rcmds, inetd, ftpd and ntp are gone. in 1.4, files also go away. commit de920422171ab134f2821d1dd2feeb542750a0f7 Author: Derrick Brashear Date: Mon Apr 4 05:26:36 2005 +0000 remove-rx-2tier-freepacketq-20050403 needs more work. commit 2eda44d7eb3c1adc103600a3c3695e37b238441f Author: Derrick Brashear Date: Mon Apr 4 05:17:56 2005 +0000 macos103-update-20050403 use system vnodes. one remaining bug, dangling vnodes at shutdown. commit 2a3d2ad3af1a0443fe59d48b2889f2508ec5fe5f Author: Tom Keiser Date: Sun Apr 3 21:20:54 2005 +0000 vos-partinfo-summary-portability-20050403 make this work on systems with non-native 64 bit int commit 5c6b956257f4f43122d393eaf119ad7616084576 Author: Tom Keiser Date: Sun Apr 3 21:12:36 2005 +0000 rx-2tier-freepacketq-20050403 FIXES 17805 The attached patch turns the rx free packet queue into a 2-tiered cache with a local thread-specific queue, backed by a global queue when using pthreaded rx. The patch is against 1.3.79. Preliminary benchmarks show scalability much closer to 2 cpus on sparc with this patch. Also, fileserver performance under heavy load is improved: 50% improvement in throughput for sequential writes, and a 10% improvement in performance for random writes against an smp sparc solaris 10 fileserver. commit 4bf562265c18433868e3ae28c4b6fb3dd30d57af Author: Tom Keiser Date: Sun Apr 3 21:09:53 2005 +0000 hid2client-write-lock-20050403 FIXES 17867 h_ID2Client currently returns a client struct with a shared lock. The only caller of h_ID2Client (SRXAFS_FlushCPS) immediately calls BoostSharedLock. This patch just goes ahead and makes h_ID2Client return it with the write lock so we don't enter the Lock struct mutex multiple times in a row. This also happens to remove the last reference to BoostSharedLock in the tree. commit f9971b7729d31ecb08d22dcd3511f924c6681214 Author: Andrej Filipcic Date: Sun Apr 3 21:00:11 2005 +0000 alpha-linux26-20050403 FIXES 18081 alpha linux26 port commit c5c9bf0a7896047381d2d07ddaa954b231b7f356 Author: Chaskiel M Grundman Date: Sun Apr 3 20:53:43 2005 +0000 rx-clock-rollover-fix-20050403 FIXES 17990 itimer rollover comes faster now; handle it. commit becb3ea3ce793972f95523a3efd88f8c43837675 Author: Chas Williams Date: Sun Apr 3 20:48:32 2005 +0000 more-linux26-cred-fixes-20050403 FIXES 18009 instead of crget() getting a groups_alloc(0) just to put it, we just fix crref()/crdup()/afs_pioctl() to do the "right" thing added missing task_lock()'s as well. commit 423125bcb611a1790df93a6090959dab7364056a Author: Derrick Brashear Date: Sun Apr 3 20:37:29 2005 +0000 license-update-20050403 FIXES 18131 collect all licenses here ==================== 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. ==================== FIXES 18131 install LICENSE into destdir builds commit f96befff4353f7820afb7e1436360f84f92a902c Author: Derrick Brashear Date: Sun Apr 3 20:21:19 2005 +0000 hpux-license-update-20050403 FIXES 18129 update hpux psf file copyright info commit f8831d1ed74a3da346bb24162d1bace8467e3ab7 Author: Derrick Brashear Date: Sun Apr 3 20:13:11 2005 +0000 macos-update-packaging-20050403 FIXES 18127 add apsl 2.0 license. note it in ReadMe.rtf. update buildpkg to provide afsd options sample. update post_install to use sample ThisCell and options if none provided. commit face6451fda9809a28cf6bec42f50f211b51d07d Author: Sven Oehme Date: Sun Apr 3 20:02:28 2005 +0000 linux-ppc64-26-20050403 FIXES 18114 add support for ppc64 linux26 commit 10afa98bcd952b490d850054115e945bb44fd79f Author: Derrick Brashear Date: Sun Apr 3 19:48:16 2005 +0000 new-gcc-cleanup-20050403 more picky about some of this stuff, and it's right, so let's clean it up commit 228f109a4303db018f3e52db0822f8d70dc10d43 Author: Derrick Brashear Date: Sun Apr 3 19:32:20 2005 +0000 remove-insecure-and-ntp-20050403 rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now. commit 2f9948b7e72b5dde1d46ecb05498e8f0248aee67 Author: Sven Oehme Date: Sun Apr 3 19:17:58 2005 +0000 s390x-linux26-flavor-check-20050403 FIXES 18112 add missing flavor bit check for s390x commit 412854593cf368006c18e6c0dc607a9ecd76a0e0 Author: Niklas Edmundsson Date: Sun Apr 3 19:13:30 2005 +0000 aix5-allocator-cleanup-20050403 * Removed memory allocation functions only used on AIX and ancient HPUX. If the performance penalty is noticeable, implement a wrapper at the osi-level in the same manner as LINUX/FBSD (ie not sprayed throughout the code). * Removed all remnants of splnet()-style locking, it was not sufficient for MP anyway which the real locks are. Affects only AIX and HPUX. * Drop the global locking in rxi_Alloc since the real locks do their jobs, affects only AIX41 and up (ie. MP capable OS). * Fix the non-kernel wrapper for osi_Alloc/Free on AIX to take void * in the same manner as the rest of the functions. IMO this wrapper shouldn't be necessary since you should never ever malloc() 0 bytes, but since it's there I'd guess someone made stupid assumptions somewhere... * Restores MAXKTCTICKETLEN to 12000 on AIX * Restores AFS_LWP_MINSTACKSIZE to 48k on AIX (might affect server-stuff) commit 706530c295dcf528d7307a524020457a0a6d5f59 Author: Derrick Brashear Date: Sun Apr 3 19:09:05 2005 +0000 openafs-kill-dead-code-20050403 Code ifdef'd any of AFS_MACH_ENV, AFS_GFS_ENV, AFS_DEC_ENV dies Code ifdef'd AFS_SUN_ENV either becomes AFS_SUN5_ENV or dies as appropriate, in the kernel only. The database servers etc are probably still buildable, and I still have a SunOS 4.1.4 machine. ;-) But the Solaris vnops get all SunOS 4 code nuked. Uses of AFS_ALPHA_ENV which secretly meant OSF/1,D/UX,Tru64 become AFS_OSF_ENV. Bozon lock use gets its own ifdef. OSF and Solaris define it. Darwin and any BSDs have bozon lock usage removed: note that only OSF and Solaris were bothering to *init* the bozon lock during NewVCache. Bozon locks are for platforms where basically we could end up deadlocking ourselves because of how locks are handled. Some nonsensical ifdefs removed. Some if 0'd code removed. Some obsolete code (hpux pre-10, for instance) removed. commit 15d82b857efc21fd80f250d2f315e12f8b20db2a Author: Jeffrey Altman Date: Sun Apr 3 06:32:35 2005 +0000 rxdebug-unsigned-20040403 use unsigned types when displaying stat data via printf commit 6beff57613f56870218af992b1ae394aecb9fe09 Author: Jeffrey Altman Date: Sat Apr 2 10:06:44 2005 +0000 windows-notes-20050402 updates for version 1.3.81 commit 48b2968e0a3ff5f07bd1e04f01e625b110d78482 Author: Jeffrey Altman Date: Sat Apr 2 09:23:50 2005 +0000 windows-deadlock-20050402 One final deadlock was found in cm_TryBulkStat(). Do not hold the scp->mx through the RXAFS call. commit 9a3844a96b07ffa7b677460d0a9f0dbffd774e03 Author: Jeffrey Altman Date: Fri Apr 1 00:36:04 2005 +0000 windows-time-20050331 Replace the time translation hack based on smb_NowTZ with a purely mathematical conversion from UTC based unixTime (time_t) to UTC based FILETIME commit 0a9609d8eb599dfe11ff04d8752e15b58c3ef89d Author: Jeffrey Altman Date: Thu Mar 31 07:05:21 2005 +0000 windows-afsd-minor-20050330 Add bounds checking to the comparison of fid->vnode and cm_localMountPoints when Freelance mode is used. Fix typo in DJGPP section of smb.c Use rx_connection * instead of rx_call * in previous fix to cm_dcache.c commit b9bf7ee01acc7f2646fbc6e09c1ca8d41cc59d55 Author: Jeffrey Altman Date: Wed Mar 30 21:49:35 2005 +0000 windows-stress-test-fixes-20050330 Ran more stress tests against 1.3.80b on a dual processor machine and found a number of additional errors which could be fixed. cm_callback.c: correct the refCount handling of server lists when processing registering callbacks on the scache entry cm_conn.c: cm_Analyze was not handling the CM_ERROR_NOSUCHVOLUME case. In this case force a retry and Force Update the Volume info cm_dcache.c; do not hold mx locks around calls to rx_NewCall(). That is why we have reference counting on the rx_connection objects. cm_ioctl.c: replace references to afsdcell.ini with CellServDB cm_utils.c: formatting cm_vnodeops.c: improve the logging and add a missing call to cm_EndCallbackGrantingCall() cm_volume.c: allows cm_volume_t objects to be reused if their ref count is 0 and we have hit the maximum number allowed. smb.c: improve the logging and the handling of dead_vcp references. If all of the SMB sessions and NCBs are in use, return BUSY to the CIFS client. smb3.c: convert constants to preprocessor symbols commit c167d56b1afcf5f4dfb0fc50a430504e253a77c1 Author: Derrick Brashear Date: Sat Mar 26 07:10:39 2005 +0000 linux-vnode-macros-20050326 here's a place where we passed a vcache instead of a vnode for linux. doesn't matter today, might as well fix it now. commit 1156923e08d95972105fcb99045b29b2c7732fc5 Author: Chaskiel M Grundman Date: Sun Mar 27 21:19:45 2005 +0000 lwp-deal-with-unaligned-memory-20050326 FIXES 18050 don't double-free lwp stack space commit 4cbe2e7ebfc993a3d09d558cd58757e0b858facd Author: Derrick Brashear Date: Sat Mar 26 06:53:44 2005 +0000 rx-getaddrs-skip-loopback-addr-on-bsd-too-20050326 as reported by Tracy Demarco-White commit 79703698011d196616561072b6c531ad0a4f8c68 Author: Derrick Brashear Date: Sat Mar 26 05:37:42 2005 +0000 darwin-vnode-macros-20050325 use vnode to vcache conversion macros commit 977184e22026ae177427faf6c31fe920cbfae7e6 Author: Derrick Brashear Date: Sat Mar 26 00:44:39 2005 +0000 darwin-fstrace-20050325 holy crap, it just worked. commit 93ed4e14f0c1d8cee113f29e151bab14554b51cd Author: Jeffrey Altman Date: Fri Mar 25 17:58:47 2005 +0000 acl-maxentry-comment-20050325 correct the comment related to the maximum number of entries in an ACL. the number of ACEs must be less than or equal to ACL_MAXENTRIES not less than ACL_MAXENTRIES. commit 2ba2c97f90fdb9d3afa44f0436e1e9b46eb7feba Author: Derrick Brashear Date: Thu Mar 24 01:53:46 2005 +0000 sb-list-fix-20050323 fix gaffe from my attempt at this commit d33cd7595bc7afffec277d761d911b54e39f3dbf Author: Jeffrey Altman Date: Wed Mar 23 22:31:13 2005 +0000 windows-logon-20050323 Fix initialization error when getting domain parameters commit ef8eb1aef619b40f0c88a473841dc8e215ab1e72 Author: Jeffrey Altman Date: Wed Mar 23 22:30:09 2005 +0000 windows-version-8002-20050323 1.3.8002 commit 6132fc038434759daabd5d501cbcfa99de963654 Author: Jeffrey Hutzelman Date: Tue Mar 22 23:52:59 2005 +0000 kbuild-one-more-try-20050322 and shortly i will confirm it works for all cases commit 19b681e32b4ae0f488a48af5c9acc4d5c87144bf Author: Jeffrey Altman Date: Tue Mar 22 19:39:44 2005 +0000 windows-toplevel-makefile-20050322 fix build dependencies for vl headers commit 46f7713f16c8c96983872a801cf1ce9cf7b80530 Author: Jeffrey Altman Date: Tue Mar 22 05:42:29 2005 +0000 windows-smb-fix-20050322 the use logon cache hack only works on xp and above. do not give up use of smb auth simply because it fails fix the smb_vc_t refCount fix to smb_CopyPacket. Only hold a smb_vc_t if there is one. commit 8d8fe4947882300c45347379fd826b7a55743951 Author: Jeffrey Altman Date: Tue Mar 22 05:40:13 2005 +0000 windows-version-20050322 1.3.8001 commit 247a58de77004ec10c2e55451d99dd04bd982df4 Author: Jeffrey Altman Date: Mon Mar 21 16:27:59 2005 +0000 windows-smb_vc_t-refcounts-20050321 conditionalize the assertions on smb_vc_t refcounts as they are only for debugging. We know there is a problem but don't want to deal with it for the 1.3.80 release. added logging info for each hold and release. perhaps that will provide a clue in the future ==================== 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. ==================== When copying a packet we must increment the vcp refcounts commit f9e3781fdb7600c5beba5727d4ddc7a86bd54b58 Author: Ervin Fenyak Date: Mon Mar 21 02:54:11 2005 +0000 vos-extended-format-20050320 FIXES 17961 vos listvol -extended with -format option (vos listvol -extended -format) had no effect. After applying the patch, vos listvol -extended -format outputs tab delimited output. ==================== 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. ==================== FIXES 17961 move variable declaration to the beginning of the block commit 6650b683bf999293d3473d0f7e2dd3fd4dc0daf7 Author: Derrick Brashear Date: Sun Mar 20 20:37:39 2005 +0000 linux-inotify-20050320 yay more inode fields. commit 4be6888040a9671e91e0732867a07a153c4d4d26 Author: Michael Niksch Date: Sun Mar 20 20:26:19 2005 +0000 install-cfgafs-20050320 FIXES 17712 cfgafs shoudl be installed regardless of AIX64 commit 5a8f1057b0e9d07246af9213b8388dee0a64fd41 Author: Chas Williams Date: Sun Mar 20 20:18:08 2005 +0000 linux-crref-held-longer-20050320 FIXES 17917 hold the cr ref longer we were putting it too soon commit 158f2d91b9e0a911494b3755768e209b12dea980 Author: Chaskiel M Grundman Date: Sun Mar 20 20:12:05 2005 +0000 linux-rx-spinlocks-for-preempt-20050320 FIXES 17966 force linux spinlocks on when CONFIG_PREEMPT is involved commit 1aa23c665347d00f9ef4f81e58830799a6e4783d Author: Chaskiel M Grundman Date: Sun Mar 20 20:08:06 2005 +0000 afs-lock-init-20050320 FIXES 17939 add missing afs lock initialization commit 3b6e82294bcf1e1545b3b3767289a5f7abc922c1 Author: Vitaly Chernookiy Date: Sun Mar 20 19:38:44 2005 +0000 linux-libafs-makefileproto-call-kbuild-correctly-20050320 FIXES 17972 call the script directly out of srcdir instead of looking elsewhere commit 70a8bba77b7e03d29edd8fab9b1cac098d1a7338 Author: Chaskiel M Grundman Date: Sun Mar 20 19:23:19 2005 +0000 amd64-linux-rx-clock-fix-20050320 FIXES 17950 avoid initial delay in rx on amd64 linux due to interval timer issue commit 37f7895c48c2a5cafae15ae79d04f196e6fa6989 Author: Tom Keiser Date: Sun Mar 20 15:11:54 2005 +0000 vos-partinfo-summary-mode-20050320 FIXES 17868 add a summary mode to vos partinfo commit 2cfd611e919524ec39403a1eef3970a41f2e348f Author: Jeffrey Hutzelman Date: Sun Mar 20 15:07:19 2005 +0000 linux-find-kernel-build-link-path-to-kernel-headers-20050320 look in /lib/modules for a path to the kernel build instead of just in /usr/src commit b0b3b02bd18c404d9323d1a060abbdfbdcc2e0af Author: Jason McCormick Date: Sun Mar 20 15:00:43 2005 +0000 linux-afsd-rc-better-defaulting-20050320 FIXES 17630 default to a small cache rather than breaking if the client is ill-configured commit efda40565de69c3b144d78b77c32d8d7d2833211 Author: Ervin Fenyak Date: Sun Mar 20 14:32:06 2005 +0000 afsd-rxpck-switch-20050320 FIXES 17837 add rxpck switch to afsd to allow overrding maxpackets commit af22fcd182df1ebe31aec70b6544c5bd58a97d01 Author: Derrick Brashear Date: Sat Mar 19 20:42:04 2005 +0000 revert-salvager-verbosity-entirely-20050319 simply remove the verbosity added to salvager commit ab67e8970f8342d4814737b6c27204dc3f6a1d6b Author: Jeffrey Altman Date: Thu Mar 17 17:50:22 2005 +0000 windows-notes-20050317 final notes for 1.3.80 commit 9055824240a1c7c5b1a13c179159922098ba0b05 Author: Jeffrey Hutzelman Date: Thu Mar 17 17:42:26 2005 +0000 CellServDB-update-20050317 Public CellServDB 16 Mar 2005 commit 54119c1e0e479b32fc77db42ea1a308621804d7e Author: Harald Barth Date: Thu Mar 17 15:52:54 2005 +0000 nosettime-20050317 Make -nosettime default for afsd. Use -settime to get old behavior. commit 164d4ee959547e4791a497bc86377b269ec43dd2 Author: Jeffrey Altman Date: Wed Mar 16 21:37:07 2005 +0000 windows-dns-crypt-20050516 Found another case in which the windows client could break connections which should not be broken if cryptall is on. If the connection is unauthenticated because there are no tokens, the connections will be broken. If a site relies on AFSDB records and the client machine is configured to append a domain suffix to all queries it is possible for "foo" and "foo.bar" to appear to be separate cells. fixed by appending a trailing '.' to all AFSDB queries if there is not already one. commit 1c5e550e99b3a7fd8fc53106f8e4ac01860a2ef8 Author: Jeffrey Altman Date: Wed Mar 16 04:49:02 2005 +0000 rollback-20050315 Rollback changes to 1.68 commit 0949ca36faf493b235a4fde03b3b9a3eb3745d9c Author: Jeffrey Altman Date: Tue Mar 15 00:55:56 2005 +0000 windows-notes-20050314 Update notes to describe fix for cross realm trusts to Windows multi-domain forests commit 80d60b9cd1275c4a4ded571c5876a1e704baf53e Author: Jeffrey Altman Date: Tue Mar 15 00:43:21 2005 +0000 windows-comments-20050314 Update the comments to indicate how we force authentication to be performed against the Windows logon cache instead of a domain controller and how BackConnectionsHostNames will work in Longhorn Beta 1. commit 834adacf6a65609d2d013b31ccbfba44d540abfa Author: Jeffrey Altman Date: Fri Mar 11 18:16:47 2005 +0000 windows-mumble-20050311 Add new registry setting to force a lana to be treated as a loopback Move hack to force use of MSV1_0 cache commit 01a4455f37921829896f47fa26465a587fd394f9 Author: Jeffrey Altman Date: Fri Mar 11 07:30:00 2005 +0000 windows-1380-20050310 updates for 1.3.80 ==================== 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. ==================== update issues list commit 0b90d69f8a44e6c7ba20553cfb7d5cf7072bab57 Author: Jeffrey Altman Date: Fri Mar 11 05:33:12 2005 +0000 windows-pcache-20050310 This patch applies all of the work done to add persistent cache support, cache manager debugging, and a variety of bug fixes. A full description will be committed within doc/txt/winnotes as part of a later commit. commit c41aa8245ed0b9847d40671fa72d34350a75a569 Author: Derrick Brashear Date: Fri Mar 11 04:35:39 2005 +0000 fix-linux22-20050310 fix accumulated linux 2.2 damage commit d82d85f7c4802db6ddadb42657d4ffa72b6c10cf Author: Derrick Brashear Date: Fri Mar 11 02:54:49 2005 +0000 volinfo-dont-bomb-on-attach-failure-20050310 let volinfo keep going in the face of failure commit d849943aabd248fde92686094e7bb82fb29d451b Author: Tom Keiser Date: Tue Mar 8 22:14:50 2005 +0000 vos-listaddrs-dont-infinite-loop-20050308 FIXES 17814 avoid possible infinite loop in vos when checking a non-existant uuid commit a91a5fc68658f845f18d288925d4ef0498e29f93 Author: Johan Danielsson Date: Tue Mar 8 22:09:29 2005 +0000 linux-osi-gettime-avoid-collision-20050308 FIXES 17802 don't reuse tv as a variable name in osi_GetTime macro commit e9084af7bfe8ef50e4ebbc57b580b8f6fffbf230 Author: Chaskiel M Grundman Date: Tue Mar 8 22:05:45 2005 +0000 linux-writepage-sync-20050308 FIXES 17792 "The attached patch 1) makes afs_linux_writepage_sync do the required lock_kernel and AFS_GLOCK()'s instead of making the caller do it. 2) removes the 2.4+ afs_linux_updatepage wrapper function which just calls afs_linux_writepage_sync and is only called by afs_linux_commit_write 3) removes the kmap/kunmap in afs_linux_{prepare,commit}_write on 2.6 since the caller of afs_linux_{prepare,commit}_write (do_generic_file_write) does the kmap/kunmap itself, and has since before 2.4.19 (early 2.4's do require it, and it doesn't break anything to do it twice, so !defined(AFS_LINUX26_ENV) is appropriate)" commit 011a40a56da8c36ebfe6d3216d35ec5618132393 Author: Chaskiel M Grundman Date: Tue Mar 8 21:57:41 2005 +0000 osi-lookupname-nuke-dirvpp-20050308 FIXES 17791 osi_lookupname doesn't need dirvpp anymore commit 4e3107a00270132b23194a0e776504f4cb425251 Author: Chas Williams Date: Thu Mar 3 16:56:48 2005 +0000 osi-syscall-fix-20050302 FIXES 17666 fix typo _nr should __nr commit 248d5402fe893044e37b7395887c7e5b69829836 Author: Love Hörnquist-Åstrand Date: Mon Feb 28 20:18:11 2005 +0000 fake-admin-on-create-file-20050228 pass back admin in status bits for create file commit 7c3aeba6869320852e3366b48e4549f83edab79b Author: Karl Ramm Date: Sun Feb 27 18:31:42 2005 +0000 salvager-less-verbose-20050227 make the salvager less verbose commit 6477c929cda3e6ebd2be5235132eded0f3268421 Author: Derrick Brashear Date: Sun Feb 27 04:26:41 2005 +0000 fix-uae-20050226 sometimes the proeprocessor is cranky. bah. commit 403e8cfa5e4a48a778175fc09a8c2b1637cbb127 Author: Jeffrey Hutzelman Date: Fri Feb 25 19:51:51 2005 +0000 osi-probe-update-20050225 update osi_probe for machines with no mmap2 commit c9b63162b696589b6772847038f73bfd5d1df896 Author: Derrick Brashear Date: Fri Feb 25 19:49:10 2005 +0000 cblater-protection-and-paranoia-20050225 with additional fix from jaltman for case where we need to get a fresh fe. don't reuse FE_LATER file entries. commit 21fae1faf649e946f276912d94c58ec589c4b3de Author: Derrick Brashear Date: Fri Feb 25 18:02:35 2005 +0000 unified-afs-cleanup-20050225 use EIO as base error commit e697e7bd13e40cafb5eb146ab0a8ec207ba84f13 Author: Jeffrey Altman Date: Fri Feb 25 17:42:17 2005 +0000 fe-clear-status-on-reuse-20050225 jeff pointed this out yesterday, it may fix more than he guessed. commit 89d655566f3c9556768e83ab9e8cc4b272be2fc0 Author: Derrick Brashear Date: Thu Feb 24 15:21:28 2005 +0000 tviced-log-thread-at-high-loglevel-20050224 if loglevel > 999, log thread id as part of logging commit 202d87e6ec0fafa3c87af3dc16d46b0294c35451 Author: Sam Hartman Date: Thu Feb 24 05:04:50 2005 +0000 ppc64-linux26-param-20050224 FIXES 15581 missed before commit 0801ce99b717954c9748c9170ebde4dacd98ac63 Author: Derrick Brashear Date: Thu Feb 24 04:44:59 2005 +0000 fix-uae-20050223 make uae flag not secretly overflow hostFlags commit 0b1be0bedb8a7e6dcaed6e6f353d46c89966ad21 Author: Chaskiel M Grundman Date: Wed Feb 23 23:07:31 2005 +0000 ioctl32-linux26-20050223 FIXES 17669 add ioctl32 support for linux 2.6 commit f7ff156ec1f2daf9c9c81c44314034e178132717 Author: Chas Williams Date: Sun Feb 20 05:42:47 2005 +0000 ia64-smp-definition-20050220 FIXES 17640 change how smp is defined so we pick up a mutex commit cb3ec9004e095a11db6e349d6feef6d08243aa19 Author: Jeffrey Hutzelman Date: Wed Feb 16 22:47:35 2005 +0000 unified-osi-probe-2-20050216 FIXES 17548 update osi_probe commit 66735f54b79bcc610f6185df98d9caeab8476a8b Author: Chas Williams Date: Wed Feb 16 19:22:49 2005 +0000 solaris-x8664-support-20050216 FIXES 17628 add amd64 support for solaris 10 commit ef85cb144dc433879cfd05d0fd3a380d7ce78098 Author: Tom Keiser Date: Wed Feb 16 19:13:01 2005 +0000 fix-multirx-checkservers-20050216 FIXES 17549 put results in an array. commit d164b1d311f55af08e020d3d163f67595271b003 Author: Harald Barth Date: Sun Feb 13 00:23:52 2005 +0000 fbsd-amd64-20050212 initial fbsd support for amd64 commit c92132eba3250d3ef3647b578a363be970496597 Author: Derrick Brashear Date: Sat Feb 12 19:52:19 2005 +0000 solais10-declares-mem-funcs-20050212 mem* funcs now declared in sys/systm.h with a different prototype so there's a conflict. (but delcared means they exist, so this is fine) commit cefe48fc1353c0f5e2831b8b81443d35e983fc96 Author: Chaskiel M Grundman Date: Sat Feb 12 19:47:03 2005 +0000 store64-cleanup-20050212 fix several deficiencies in 64 bit file size handling commit e4552599b0e1d1ef8b8100a901510591f2e0c6b7 Author: Chaskiel M Grundman Date: Fri Feb 11 22:37:31 2005 +0000 linux-avoid-leaking-refs-20050211 FIXES 17451 hopefully this fixes all the not-able-to-unmount leaks commit 8d1d71913cebee105416affa940fe96d63b12696 Author: Chaskiel M Grundman Date: Fri Feb 11 22:27:22 2005 +0000 linux-sysincludes-needs-slab-20050211 add linux/slab.h to includes commit d47aace39f22a83f7c15b28c631695dc6aa362b5 Author: Chas Williams Date: Thu Feb 10 16:30:41 2005 +0000 linux26-inode-got-i-sb-list-20050204 another thing to do at inode initialization commit a0732a579ac1aea9cfdee2de530b3afcffe30bac Author: Chas Williams Date: Thu Feb 10 04:49:10 2005 +0000 linux-flush-release-rewrite-20050209 FIXES 17509 rewrite afs_linux_release and afs_linux_flush commit 08b998f798b44673f058b6a262c81cc077f20123 Author: Derrick Brashear Date: Thu Feb 10 03:57:27 2005 +0000 client-conndeadtime-tunable-20050209 make the fs and not just the vldb interface dead time tunable commit 3aaeae0ee6fa13209fff93fd5d9dfe709804cee5 Author: Derrick Brashear Date: Thu Feb 10 03:02:46 2005 +0000 linux-lwp-work-around-signal-lossage-20050209 some versions of linux seem to lose signals sometimes. very annoying. commit 641c2b17efbffa523818a950761e612e9fc6f5f7 Author: Jeffrey Altman Date: Mon Feb 7 19:27:35 2005 +0000 windows-misc-20050207 smb3.c: another fix for pattern matching. Patterns can include '<' and '>' instead of '*' and '?'. Treat any pattern with angle bracket as star patterns afslogon.c: instead of retrying the username lowercased if it is all uppercased. retry the username lowercased if it was not already lowercased. this captures the mixedcase username case. afskfw.c: If Leash is configured to not import tickets from the MSLSA, neither should we. cm_vnodeops.c: If the second to last component of a path is a symlink and the last component cannot be found, return NOSUCHPATH instead of FILE_NOT_FOUND. commit 96e09aa1099e7877dffb5134fe24edfa261032b4 Author: Guillaume Rousse Date: Mon Feb 7 15:31:31 2005 +0000 linux-libafs-fix-20050207 create osi_vfs.h in the right place commit 5d0ed437731496c6f2441fffe9994a50a3814168 Author: Chas Williams Date: Fri Feb 4 21:13:51 2005 +0000 linux26-inode-got-i-sb-list-20050204 another thing to do at inode initialization commit 053e901f6bbd3237ca58147d4986e1c528ae503d Author: Jeffrey Hutzelman Date: Fri Feb 4 21:09:58 2005 +0000 ubik-remote-ntoa-20050204 afs_inet_ntoa needs a prototype for 64 bit systems commit d5495f26ec6e02bc09ad0d6ee6a9a62f545bfd9c Author: Jeffrey Altman Date: Fri Feb 4 04:55:51 2005 +0000 windows-longfilename-matching-20050203 retry pattern matching when ambiguous matches are found for long file names commit a6f560b80575a246b4ee347622f1fd3f6fdd1420 Author: Derrick Brashear Date: Thu Feb 3 17:02:54 2005 +0000 macos-dont-inactive-vnodes-were-still-referencing-20050203 don't VOP_INACTIVE if we intend to keep using the inode, the refcount will go bogus commit 09feb1be1711dbbe053b572915df4384f488eb0e Author: Jeffrey Altman Date: Mon Jan 31 18:52:30 2005 +0000 windows-misc-20050131 afskfw.c: fix cross-realm token acquisition in ANDREW vs CS CMU case cm_aclent.c: when ACL's timeout, remove them from the associated cm_scache_t object's randomACL list and place them on the end of the ACL LRU queue correct tgtLifetime to be unsigned smb3.c: fix case sensitive matching commit 51ec9e099e22e16dbf8aee3333568b9ff26abd3f Author: Chaskiel M Grundman Date: Sat Jan 29 05:46:42 2005 +0000 linux-tasklist-lock-weak-20050129 FIXES 17424 weak binding to tasklist_lock commit f126dbdbe226bb05687f0bcbd0e379431f666219 Author: Jeffrey Hutzelman Date: Sat Jan 29 05:41:59 2005 +0000 osi-probe-syscall-20050129 FIXES 17405 add osi_probe commit 4cc0394af02a07a0000dd4ce9384398d8b03a6f4 Author: Jeffrey Altman Date: Thu Jan 27 00:09:32 2005 +0000 createx-null-ptr-20050126 Don't release null scps commit 4c27de95394d44e2066413de7eca65315b83cacb Author: Jeffrey Altman Date: Thu Jan 27 00:00:10 2005 +0000 windows-aclent-20050126 Undo the FreeACLEnt lock as it is an automatic deadlock commit ff2e55343fdf14d730825c8e09dbe42b6037abb8 Author: Chas Williams Date: Wed Jan 26 22:07:33 2005 +0000 revert-afs-indextimes-in-dcache-20050125 FIXES 17377 indexTimes needs to persist, revert for now commit 1de152256aeb1d2b54e177a327404efe2504c815 Author: Chas Williams Date: Wed Jan 26 21:09:08 2005 +0000 afs-indextimes-in-dcache-20050125 FIXES 17377 move indextimes array into dcache struct commit e41837e876f7dc947e8718b6dc972b803023eae5 Author: Jeffrey Altman Date: Wed Jan 26 15:51:46 2005 +0000 winnotes-update-20050126 add dr watson info to install notes. update changes list commit 516614090190f34cb74ec741cf06f86384bff4d1 Author: Jeffrey Altman Date: Wed Jan 26 15:49:14 2005 +0000 windows-misc-20050126 * The list of ACL entries was becoming corrupted because the function which obtained a free entry was doing so without the appropriate lock being held. * Changed the default @sys name list to "x86_win32 i386_w2k i386_nt40" for 32-bit x86 systems. The default for itanium will be "ia64_win64" and "amd64_win64" for amd 64-bit processors. commit ff3436446e1c8447d0f9703b088c6d65c6845aa0 Author: Jeffrey Altman Date: Tue Jan 25 23:24:43 2005 +0000 windows-misc-20050125 The list of ACL entries was being corrupted because the function which obtains a free ACL entry was doing so without the appropriate lock being held. Returning Not A Directory is not the right thing to do when we are attempting to resolve a path if the error is found on one of the intermediary path components. Instead return No Such Path or No Such File as appropriate. commit e86eb73e30fe492c8be99a0a7a4788ec1b136ead Author: Jim Rees Date: Tue Jan 25 23:00:35 2005 +0000 obsd-vattrs-20040125 compare vattrs against VNOVAL, not -1 fixes mode setting now that modes are 32 bits commit 9b7e78b048869e0319a369912d9fef63288dca7f Author: Chas Williams Date: Tue Jan 25 20:19:17 2005 +0000 unpin-out-of-order-oops-20050125 FIXES 17346 unpin before freeing commit 8a68d38977d4311a62350dd60645e39ded4650f1 Author: Jeffrey Altman Date: Tue Jan 25 18:46:33 2005 +0000 rxdebug-withWaited-20050125 copy/paste error corrected. 'withWaited' never assigned a value commit 96cf60ef3e830d16325fba664044f751ca164f85 Author: Derrick Brashear Date: Tue Jan 25 06:54:31 2005 +0000 linux-mmap-ro-means-no-write-20050125 don't allow a write map of a file which cannot be written to commit 187f26a3afe805180268322d93dd7e01974c5fb1 Author: Nathan Neulinger Date: Fri Jan 21 22:02:02 2005 +0000 no-copy-libafs-builds-20050121 make things so file copies from src/libafs don't happen; change how libafs_tree is done commit 72ea4e2c690d28b6c5c464368099b49dac847642 Author: Chas Williams Date: Fri Jan 21 19:13:33 2005 +0000 linux-revised-dentry-invalidation-20050121 FIXES 17337 "the latest 2.6 version of "tryflushdcachechildren" is probably good enough for 2.2/2.4 as well. further, we can just call d_invalidate() to make things less complicated. unification is good. its seen limited testing here under 2.4/2.6." commit 01aca8ca222373d71941cd007bdc00260bd3ff5c Author: Nickolai Zeldovich Date: Fri Jan 21 18:27:37 2005 +0000 rx-hash-table-mod-prime-20050121 see https://lists.openafs.org/pipermail/openafs-devel/2004-September/010967.htmland https://lists.openafs.org/pipermail/openafs-devel/2004-September/010968.html commit 110b1f14bd5b5548211ece9a32c540490e0aef6a Author: Douglas Engert Date: Fri Jan 21 17:44:36 2005 +0000 rx-packetreadwrite-adjust-offset-20050119 offset - l must be zero in the second loop pass to avoid overwrites commit 90115511209e59ff4728a66a575899312fdf3e5b Author: Derrick Brashear Date: Fri Jan 21 14:33:40 2005 +0000 readd-qwaiting-20050121 FIXES 5616 the problem was caused by optimization on solaris. sigh. commit 76d6e43eb8e1ec72fcfde7cf8f303f954c11da14 Author: Derrick Brashear Date: Fri Jan 21 14:31:38 2005 +0000 linux-no-log-in-tryflushdcachechildren-20050121 FIXES 5835 just don't log, and lock order doesn't matter commit a0ce71a84374cc0600813a3101b76f89df04ee76 Author: Jim Rees Date: Thu Jan 20 18:00:28 2005 +0000 alloc-confusion-20040120 use osi_Alloc instead of osi_AllocLargeSpace for tokens, to match free commit 7f430a45aa12108ed1dc93e4a41ac154b1397818 Author: Jim Rees Date: Thu Jan 20 17:59:02 2005 +0000 obsd-cred-ptr-20040120 **credpp, not *credp (OpenBSD only) commit dacae61bda0105497e912b3cdac429066cd68fcf Author: Jim Rees Date: Thu Jan 20 17:33:38 2005 +0000 re-indent-20040120 re-indent so I can read the file so I can fix a bug commit 73437ee7d469765df30285369301e3907fee0a3c Author: Chas Williams Date: Wed Jan 19 22:46:06 2005 +0000 linux26-vcache-reclaim-cleanup-20050119 "ok, if you ever drop dcache_lock you need to go to restart (i think that's pretty clear). shrink_dcache_parent() _might_ reduce a dentry count to 0. in the previous version, it seemed to make the assumption that this would always happen. if shrink_dcache_parent() is unsuccessful and the dentry is a directory, we cant restart. we would just find the the dentry again and do the same thing over (we could always d_drop but you shouldnt do this to active directories -- see d_invalidate). if we find a busy dentry, we abort all processing for this inode. going back to restart would find the same busy inode. (i suppose we could use a d_flag to keep track of which dentry has been shrunk. this has other trouble, like who resets the flag and when?) since we only do this for directories and d_alias typically only grows due to soft/hard links (as far as i can tell) this scheme seems reasonable." commit 8ccd2d91d89fc3ed0170a458853ec95ff274c87d Author: Chaskiel M Grundman Date: Wed Jan 19 22:35:40 2005 +0000 dirbuffer-fid-is-index-20050119 "The new buffer code (which I wrote) did not deal with dcache object re-use, as I had conflated the concepts of "dcache * reuse" and "dcache slot reuse". This patch should fix this problem. It now stores the dcache index (aka slot number, which is the same as the numeric part of the cache file's filename) in the buffer instead of the ephemeral struct dcache pointer." commit f42701022203605f8509b106fe8ca1677666aaa9 Author: Jeffrey Altman Date: Wed Jan 19 05:14:11 2005 +0000 rx-multiple-packets-20050118 Doug Engert reports that large tokens are corrupted when being sent using RX. This patch fixes two bugs which prevent the transmission and receipt of multiple packet exchanges. commit 5f498279b827675a48c80b7c2f43c78d8e41d406 Author: Jim Rees Date: Tue Jan 18 16:15:36 2005 +0000 obsd-cleanups-20040118 remove dead code add (commented out, non-working) new reclaim code commit eabe2b6f77da6913b4a6bd51220708c363762fe6 Author: Jeffrey Altman Date: Tue Jan 18 07:36:25 2005 +0000 windows-smb_vc_t-refcounts-20050117 Rework the reference counting of the smb_vc_t objects to use smb_ReleaseVC and smb_HoldVC. Add missing counts for references from waiting locks. Fix cm_ioctl.c to allow it to compile once again. commit cadc5b46e103fd543814d450dd9a568961c9886a Author: Chas Williams Date: Sun Jan 16 16:49:06 2005 +0000 linux26-rename-more-cleanup-20050116 FIXES 17284 cleanup how renaming does moving and unhashing of dentries commit 646028dbdb90640f14f7a22aede858432ffa9025 Author: Chaskiel M Grundman Date: Sun Jan 16 16:43:34 2005 +0000 linux26-dcache-lock-20050116 FIXES 17266 "The changes I submitted previously, and committed as linux-26-vlru-cycle-20041012 do not satisfy necessary invariants of the dcache api. 1) the dcache_lock is not held when calling d_unhashed and list_empty(&dentry->d_subdirs) 2) the caller of d_prune_aliases does not hold it's own ref on the inode Patch attached.(has been used lightly for a month or so)" commit 091d64876bea6737dd6cf89a9232dd11d0072677 Author: Chaskiel M Grundman Date: Sun Jan 16 16:41:33 2005 +0000 linux26-zomb-gcpags-cleanup-20050116 FIXES 17265 clean up for newer non-TASK_ZOMBIE kernels commit 8db7eb1876380df8100c5df37e6a25a7ebc4f43b Author: Chas Williams Date: Sun Jan 16 16:36:53 2005 +0000 linux25-rename-rehash-not-move-20050116 not tested yet commit 9e81a8e4c2e7830ab18de1f5dd23dfc916ef2bf0 Author: Matthew Miller Date: Fri Jan 14 17:36:39 2005 +0000 linux26-rlim-20050114 detect rlim stuff for linux 2.6 commit 270f675b6f64df5cca73de2ae097a12fd56c59b9 Author: Chas Williams Date: Fri Jan 14 17:31:31 2005 +0000 fstrace-linux-proc-20050113 FIXES 17240 support /proc interface commit d9e55baca180891ef999919118a5ad2d73764abb Author: Derrick Brashear Date: Fri Jan 14 03:03:27 2005 +0000 fs-busy-stats-20050113 add support for counting number of vbusies returned commit 0cea4432fcceff07103cb4df0eba9b5667ce1fa4 Author: Johan Danielsson Date: Fri Jan 14 01:34:54 2005 +0000 linux26-pag-copy-groups-always-20050113 FIXES 17226 always copy the group list on linux 2.6 commit 7854052b3827a3853cb80a6f7de5dcc32756aa95 Author: Chas Williams Date: Fri Jan 14 01:27:26 2005 +0000 x86-sol10-param-cleanup-20050113 FIXES 17082 make user section match kernel section commit 2519680a2c93f4a3049e64bd22760510775e3343 Author: Chas Williams Date: Fri Jan 14 01:11:48 2005 +0000 sol10-afsd-rc-20050113 FIXES 17036 install an rc file for solaris 10 commit ed02afba553ca9944c5e3c338188ba38b5946a0c Author: Love Hörnquist-Åstrand Date: Fri Jan 14 01:07:45 2005 +0000 nbsd30-20050113 FIXES 16889 netbsd 3 this time for sure commit 0a872abd75fa27bb91aa2724c54fc72fce03f241 Author: Derrick Brashear Date: Fri Jan 14 01:04:13 2005 +0000 largefile-efbig-20050113 FIXES 16964 return EFBIG instead of E2BIG commit a18937e6a4e5f8a3266e6208bf51fea9bb636c48 Author: Douglas Engert Date: Fri Jan 14 00:57:32 2005 +0000 sol9-vfsck-interleave-becomes-si-20050113 FIXES 16941 fix remaining fs_interleave ref commit e4961402747d02f51b0ea82aad7f0d4f774dbeac Author: Rainer Toebbicke Date: Thu Jan 13 23:55:27 2005 +0000 lih-host-hold-20050113 FIXES 17211 "lih_r now leaves the current lih_host held, and h_Releases those for which it changed mind during h_Enumerate. It also closes the window that ClearHostCallbacks_r opens. The problem was: due to the leak on the h_Hold table, rx connections and host and client structures stopped being garbage collected once the fileserver went through GetSomeSpace_r. Only relevant for "busy" servers, many would never even invoke this routine." commit 543d4464d8afe11e74b239abb5da20b0269259b3 Author: Chas Williams Date: Thu Jan 13 23:50:15 2005 +0000 linux26-avoid-memory-zone-fun-20050113 FIXES 16965 " the wake_up_bit() mechanism has replaced 'per object' wait queues (atleast when testing for single bit changes). the actual wait queue to use is determined using a hash on page->flags (which encodes the zone table in the lower 8 bits). afs inodes come from a vmalloc() since afs gets all the inodes in one go. vmalloc()'d memory apparently doesnt get mapped to any particular zone. so when an afs inode uses wake_up_bit() they index off the end of the zone_page table. " commit 1307b891888c61debe2eadd47ddfe8717fc75ddd Author: Derrick Brashear Date: Thu Jan 13 23:37:21 2005 +0000 memcache-no-volitems-20050113 Don't try to open VolumeItems when using memcache commit b11e76ce63b6c23265d17d5597342e4aa296f6c0 Author: Jeffrey Altman Date: Thu Jan 13 04:47:37 2005 +0000 windows-fs-wscell-20050112 when freelance mode is in use, "fs wscell" will now return "Freelance.Local.Root" commit 5a3eddc8ba75832c55e322c7189ff5f20df834fe Author: Jeffrey Altman Date: Thu Jan 13 04:46:18 2005 +0000 windows-pioctl-20050112 Fix a bug introduced in 1.3.75 within Tranceive(). If the file handle is invalid, be sure to return an error. commit 4c861ab65683add205d062790036b27123d0fe6b Author: Jeffrey Altman Date: Wed Jan 12 21:34:36 2005 +0000 windows-misc-20050112 New AFS Logo Icon Fix the assignment of the dataVersion for the freelance scache entries Fix the calling convention of the AFSD Service Main function to be WINAPI. commit 1a8519de16a2dad989300da94d597fac57c20c0f Author: Derrick Brashear Date: Fri Jan 7 23:08:27 2005 +0000 rx-avoid-xmit-overflow-panic-20050107 instead of losing, just send the packets and then make another pass to collect more commit d3fc023d07f923eb53c28d2bc480745ae9227593 Author: Jeffrey Altman Date: Wed Jan 5 04:23:58 2005 +0000 windows-notes-20050104 updates commit 1a3e8d9e1641a301a87dd0a0f5b2ca5ef2528e58 Author: Jeffrey Altman Date: Wed Jan 5 04:18:34 2005 +0000 windows-remove-extra-parameter-20050104 aklog.c - remove extra parameter from pr_Initialize() commit ca1c67688bf92903c9803976e918266753ef0aae Author: Jeffrey Altman Date: Wed Jan 5 04:17:16 2005 +0000 windows-cb-deadlock-20050104 afskfw.c - remove extra parameter to pr_Initialize afsd_service.c - move SERVICE_STOP_PENDING to before we start to do any work. afsd_init.c - initialize rx and rpc after starting the cache manager cm_callback.c - release cm_callbackLock before attempting to re-obtain scp->mx lock in cm_EndCallbackGrantingCall() commit 5bbfc9302503af54ecfd78450abc0b1edf88a860 Author: Jeffrey Altman Date: Mon Jan 3 01:29:29 2005 +0000 windows-misc-fix-20050102 fix typo commit 48ba9a0cd5869264790e3d0d539dd7798813009c Author: Jeffrey Altman Date: Mon Jan 3 01:13:44 2005 +0000 ptuser_h-20050102 add ptuser.h to provide prototypes for ptuser.c ==================== 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. ==================== add ptuser.h commit c27d32d2efbd7d8b085083c0f3c349ca99ffd74c Author: Jeffrey Altman Date: Mon Jan 3 01:11:21 2005 +0000 new-afs-logo-icon-20050102 Use a new icon file based upon the new OpenAFS logo for afs_config.exe and the afs control panel. commit 635abf2d8fb4cfb94ecb396f125e8b65af1d7813 Author: Jeffrey Altman Date: Mon Jan 3 01:07:56 2005 +0000 windows-misc-20050102 * The AFS Service needs to respond to SERVICE_ACCEPT_SHUTDOWN messages in addition to SERVICE_ACCEPT_STOP. * Move RPC shutdown until after the SMB and RX shutdown procedures complete. Block until RPC shutdown is complete. * Modify afslogon.dll (integrated logon) to wait for service if its state is START_PENDING. If the timeout period occurs, reset to the retry interval and not the sleep interval. * When renewing the server list for a cell obtained via DNS AFSDB records, the cm_cell_t entry must be removed from the list of all cells. Otherwise, the list of cells will be corrupted. * In the dcache and scache modules, use the cm_scache_t dataVersion instead of the cm_fakeDirVersion. * Synchronize fs.c with the unix version. ==================== 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. ==================== Include ptuser.h for prototypes. ==================== link to afsutil.lib for hostutil functions commit d3d4af7795dd7371750bfdb9612b6419561cf32b Author: Jeffrey Altman Date: Fri Dec 24 17:21:06 2004 +0000 windows-virtual-memory-20041224 * The variable used to determine whether a file or virtual memory mapped cache is used was not properly initialized to a default value. If the registry setting "NonPersistentCaching" was not set, the choice would be random. Properly initialized to be "file". * The memory mapped view was never unmapped before closing the file at service shutdown. This is now properly cleaned up. * Default location of Cache file is now %TEMP%\AFSCache commit a66c63315b2cb83cc356068972ba4ffbbcb609f1 Author: Derrick Brashear Date: Fri Dec 24 06:31:35 2004 +0000 dux-vnops-cleanup-20041224 move DUX code out of vnops and into dux os dependant code commit a69e758875b420de6d5ae8ac9c303da5b708d63b Author: Jeffrey Altman Date: Thu Dec 16 20:11:08 2004 +0000 windows-notes-20041216 document bug found in 1.3.75/76 release commit f26bd30c980288132f800ebbc1bfc1a2b281c2b2 Author: Jeffrey Altman Date: Thu Dec 16 19:02:05 2004 +0000 windows-freelance-default-root-cell-20041217 Forgot to add trailing dot on auto-generated default root.cell mountpoints. commit b6ef8c484f47e100298e5187abf117e7cc88e242 Author: Jeffrey Altman Date: Mon Dec 13 23:48:21 2004 +0000 windows-smb-auth-debug-20041213 Add more OutputDebugF() calls to the smb auth routines to assist in debugging commit 570b2df988688c309d4e58a663f06093ec504e84 Author: Mike Becher Date: Fri Dec 17 15:33:43 2004 +0000 linux-rxk-header-update-20041217 update header to not defien _LINUX_CODA_FS_I if it is commit f639e4b41ef12bb78feb27495952f065b917fc73 Author: Mike Becher Date: Fri Dec 17 15:30:55 2004 +0000 kdump-update-20041217 update kdump for ia64_linux26 commit f4f365c7c9c604ef52f0c6d28d61b7f297167706 Author: Mike Becher Date: Fri Dec 17 15:28:19 2004 +0000 ia64-linux26-20041217 add ia64 linux26 support commit 1c8ad1139cce630f77854a3d9f2e7bf4cabd8889 Author: Mike Becher Date: Fri Dec 17 15:13:19 2004 +0000 linux-rc-update-20041217 update rc scripts for 2.6 commit 937ba22002f3bb3dddf45c4906349a48c7601cb7 Author: Christof Hanke Date: Fri Dec 17 14:41:36 2004 +0000 linux26-generic-sendfile-20041217 FIXES 16842 enable loop mounting to work. commit ae3cbf270fc84bd315981b5abb6a19699c635223 Author: Travis Broughton Date: Fri Dec 17 13:45:56 2004 +0000 dumptool-update-20041217 FIXES 16751 large file support for dumptool commit 2d52203a51c96adde5bbeb9fa79720f01c538f63 Author: Jeffrey Altman Date: Thu Dec 16 20:06:47 2004 +0000 windows-version-update-20041216 1.3.7700 commit 0d4b452e25bd8b1672fc46aa13afbe640b3ce58b Author: Jeffrey Altman Date: Mon Dec 13 23:43:17 2004 +0000 windows-afs-all-20041213 In addition to establishing a connection with \\AFS; use \\AFS\all to ensure that we can access ioctl calls even if other methods fail. commit 29e4920cd86d7186fc96c442666b698b60499874 Author: Jeffrey Altman Date: Mon Dec 13 14:04:25 2004 +0000 windows-version-number-20041213 1.3.7600 commit d9c409437d443a95ddefede0db91f7639de5e183 Author: Jeffrey Altman Date: Mon Dec 13 14:03:55 2004 +0000 windows-smb-and-symlinks-20041213 Fix bug in automatic symlink generation for freelance root.afs. do not create symlinks if cell resolution fails Update SMB files to use preprocessor symbols for InfoLevel constants. commit 3400f8d4da4c0f08bc226730f4d00b252fbad52e Author: Jeffrey Altman Date: Mon Dec 13 14:02:32 2004 +0000 windows-notes-20041213 update notes for 1.3.7600 commit 19ff527496735814a68af3c406be91c28f49f4f6 Author: Jeffrey Hutzelman Date: Sat Dec 11 11:02:00 2004 +0000 implement-vpeek-for-listvol-20041211 FIXES 16765 All of AFSVolListOneVolume, AFSVolXListOneVolume, AFSVolListVolumes, AFSVolXListVolumes currrently attach each volume to be listed with V_READONLY. This makes the fileserver update and sync the volume header before releasing the volume to the volserver. The result is that volume list operations are slow, and generate lots of fileserver load, as Jimmy pointed out during his talk this afternoon. The attached patch introduces a new attach mode, V_PEEK, which is like a cross between V_READONLY and V_SECRETLY. It can be used for read-only operations on the volume header, where it is not necessary to inform the fileserver that the volume is being accessed. The patch also changes the above-named RPC's to use the new mode. commit 6cd93d304142724c7c0fd37272e84f1a7eacb951 Author: Jeffrey Hutzelman Date: Sat Dec 11 10:52:16 2004 +0000 fix-linux-kvers-setting-20041211 FIXES 16763 set SYS_KVERS reasonably on linux always commit efb0f66b66821d5155d7c1b0232427c4b5af2c73 Author: Derrick Brashear Date: Fri Dec 10 21:57:06 2004 +0000 revert-mwaitprocs-20041210 FIXES 5616 revert this for now commit 80016e804616f7d233831716b1127e3a48c51038 Author: Jeffrey Altman Date: Fri Dec 10 10:47:17 2004 +0000 ubik-calliter-update-20041210 if we're going to prototype it we need to match this commit 8c912bedbcb532d6aa40134a54679539ae8b7245 Author: Derrick Brashear Date: Fri Dec 10 10:03:54 2004 +0000 sys-depinstall-20041210 add depinstall in sys directory commit e9c5e2af894e3556c1758e3bf60ba2f140bb6654 Author: Jeffrey Altman Date: Thu Dec 9 23:14:01 2004 +0000 windows-multihomed-20041209 FIXES 16564 Add support for VL_GetEntryByNameU and VL_GetAddrs for the purpose of working with multi-homed servers commit 8f660ba178b0a05bea16331c4335ca9f377a9006 Author: Kris Van Hees Date: Thu Dec 9 16:16:55 2004 +0000 linux-page-follow-link-light-20041209 FIXES 16742 new 2.6 uses page_follow_link_light detect and use commit f8432c77965a79047429b18ae0ee214a45e4c9a4 Author: Chas Williams Date: Thu Dec 9 16:14:21 2004 +0000 linux-remove-negative-dentry-20041209 FIXES 16735 during unlink, afs sometimes renames the file instead of deleting it. this isnt reflected properly in the dcache in linux. the following patch attempts to address this issue. newname is renamed to afs_newname and exported. afs_linux_unlink() checks to see if the file is open. if so, it creates a negative dcache entry using the name suggested by afs_newname(). then dmove() moves (exchanges) dp and __dp. __dp is now a negative dentry for the old name and is put/dropped. commit e400114f4486cc7be18de13a3a68a38b446620d3 Author: Derrick Brashear Date: Wed Dec 8 22:55:28 2004 +0000 only-libafs-update-20041208 only_libafs needs sys on irix commit 867c3010731daa89f58e54c2c620215de0a94c1f Author: Jim Rees Date: Wed Dec 8 18:33:48 2004 +0000 ubik-iter-proto-20041208 prototype, casts, and proper arg count for ubik_CallIter thanks to Christof Hanke for some of this commit 038116a881c1773cda50eca783f5308a52121681 Author: Chaskiel M Grundman Date: Wed Dec 8 17:21:04 2004 +0000 linux26-dont-fix-inode-size-ourselves-20041208 hopefully fix cache truncation commit 727a2a01ccc8fd4645deafba590f583e4a19b288 Author: Matt Benjamin Date: Wed Dec 8 10:39:58 2004 +0000 STABLE12-umlinux26-20041202 FIXES 16591 umlinux 26 support. i wonder what i just reverted commit 655de549a4115c4ebdb18417aeeba4280ad54162 Author: Derrick Brashear Date: Wed Dec 8 10:35:02 2004 +0000 update-irix-bhvl-20041208 define BHV_IS_BHVL(x) to 0 for non-CELL cases where BHV_PREPARE is defined. 6.5.20f is "broken" commit e8e9a297bc92f40ff03a468b64e8f0b5c930fa6c Author: Jeffrey Altman Date: Wed Dec 8 10:19:57 2004 +0000 wix-update-20041208 Add new Property for StoreAnsiFilenames ==================== 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. ==================== Add property for StoreAnsiFilenames commit 8a9f304b868bd74a30c1059253acd2094673ad8b Author: Jeffrey Altman Date: Wed Dec 8 09:12:52 2004 +0000 windows-version-20041208 1.3.7500 commit 3b361484428cd276627c92add48747c57f3db360 Author: Robert S Murawski IV Date: Wed Dec 8 09:09:34 2004 +0000 nsis-installer-20041208 Preserve previous install settings when upgrading commit f41121f32825cf31de238af871605d523727b9cf Author: Derrick Brashear Date: Tue Dec 7 22:26:46 2004 +0000 x86-solaris-20041207 fix my mistake commit d271c1c295d138fa5da622a4dd9136d535f4e42d Author: Douglas Engert Date: Tue Dec 7 18:30:11 2004 +0000 sparc32-no-largefile-20041207 FIXES 16719 disable largefile on 32bit sparcs see the bug for better commentary commit 54643e26780bed06f1194602426f16dffcf9077d Author: Derrick Brashear Date: Tue Dec 7 18:24:44 2004 +0000 afsd-chunksize-error-20041207 FIXES 16723 based on work from mmokrejs@ribosome.natur.cuni.cz commit beff42414aeb908b141f116d2b47b2a5baee28ad Author: Harald Barth Date: Tue Dec 7 16:48:57 2004 +0000 aix-5-update-20041207 updates for aix 5 commit d6c8b023bb580ccb48198fb4ee070b9e1f950f51 Author: Harald Barth Date: Tue Dec 7 16:36:43 2004 +0000 volname-cleanup-20041207 cleanup how volname or id number is parsed commit 4d550ad6b6ec430e3d2564f37ed4b471f8928a38 Author: Matt Benjamin Date: Tue Dec 7 15:59:12 2004 +0000 umlinux26-20041207 FIXES 16591 umlinux 26 support. i wonder what i just reverted commit 1183771a422a00fcc95d47d06b71479fcc99f4b7 Author: Joakim Fallsjö Date: Tue Dec 7 14:23:36 2004 +0000 sunx86-20041207 update to provide sun x86 support commit 882a97985726eadbf1be7e936e08be8ce2712cce Author: Jeffrey Altman Date: Tue Dec 7 12:41:15 2004 +0000 winnotes-20041207 update text files for StoreAnsiFilenames. ==================== 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. ==================== Allow users to choose to store file names in AFS using ANSI code pages instead of OEM code pages. commit 00d1015b18d00e683e21a069baafe76761ebb81b Author: Matt Benjamin Date: Tue Dec 7 05:45:26 2004 +0000 umlinux26-20041202 FIXES 16591 umlinux 26 support. i wonder what i just reverted setting mps correctly. fixed now ==================== 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. ==================== FIXES 16591 umlinux 26 support. i wonder what i just reverted commit a3b31a12531558717d46b501222040c1bf4c1402 Author: Jeffrey Hutzelman Date: Tue Dec 7 05:07:06 2004 +0000 rxdebug-more-dewarn-20041207 FIXES 16660 more dewarning commit 60a97cdc87340de738835d8548b8e76f45ad731e Author: Derrick Brashear Date: Mon Dec 6 16:43:20 2004 +0000 lwp-elf-labels-on-solaris9-need-underscore-20041206 solaris 9 x86 wants _ in labels. ==================== 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. ==================== solaris 9 x86 wants _ in labels. nope, i lied commit d39b99f3da856672edd61adb82532039631b7cb4 Author: Jim Rees Date: Mon Dec 6 14:17:47 2004 +0000 no-oscheck-20041206 remove ostype and osrelease check; more trouble than they're worth commit cca8097cb99349bd57aca44113cc0c3cebb537ca Author: Jeffrey Altman Date: Mon Dec 6 12:00:24 2004 +0000 windows-smb-20041206 Fixup references to SMB Dfs functions. Now need to fill in the details commit fe97ddf25b550365fd54a3300fa7388cf71d8631 Author: Jeffrey Altman Date: Sun Dec 5 21:20:00 2004 +0000 windows-shutdown-20041205 Synchronize the shutdown of all smb_Server threads by waiting on a shutdown event before continuing Do not lock a buffer object if the attempt to obtain the buffer failed. commit d2d84479cfc9288cfa2c6d7c012ad0418229d225 Author: Jeffrey Altman Date: Sat Dec 4 21:30:25 2004 +0000 windows-pioctl-20041204 Be more agressive about trying to establish a connection to the SMB server if it fails. This requires adding a new dll: secur32.dll commit eb164be09070dbf3aeabaa04afef5d16cdbfaa7a Author: Jeffrey Altman Date: Sat Dec 4 21:29:35 2004 +0000 windows-version-20041204 1.3.7402 commit 38ed975350a879cd2a8d45c3e71aa2ed49e8b664 Author: Jeffrey Altman Date: Sat Dec 4 21:29:10 2004 +0000 windows-freelance-20041204 perform a bit more error checking and logging when loading mountpoints and symlinks from the registry commit 86420864cddb9148b89eafc9926b92910e576697 Author: Jeffrey Altman Date: Sat Dec 4 21:28:21 2004 +0000 winnotes-20041204 make note that the contents of this file are no longer up to date commit a8d0ca81a8d79b65e265ebf67ae6b9ddc868cac6 Author: Jeffrey Altman Date: Fri Dec 3 01:26:14 2004 +0000 windows-afsd-init-20041202 Fix a memory overwrite condition caused when the BackConnectionHostNames key does not exist commit 40d674c9bcefc9b701a2e39edbf3f7e54c8fbcc0 Author: Matt Benjamin Date: Thu Dec 2 05:59:55 2004 +0000 rxdebug-use-afs-ntoa-r-20041202 FIXES 16050 use afs_inet_ntoa_r in rxdebug for consistency commit bdd73ef446e4fb1788f414549f39a63ac2419470 Author: Horst Birthelmer Date: Wed Dec 1 23:48:14 2004 +0000 afs-server-multi-rx-clesnup-20041202 clean up multirx code 's use of lock commit 75e31ca662dc32581bde67ef5102ec15bac1be60 Author: Jeffrey Hutzelman Date: Wed Dec 1 23:38:53 2004 +0000 amd64-linux-dewarn-20041202 FIXES 16342 clean up warnings for amd64 commit ffce916e8e37662bb032287a06ee85c28c5e2b3a Author: Jeffrey Hutzelman Date: Wed Dec 1 23:36:48 2004 +0000 rx-dewarnify-20041202 FIXES 16277 dewarnify rx commit a8cb095e85fba7ecdeb7bdb7848cfb2f498d5cc8 Author: Jeffrey Hutzelman Date: Wed Dec 1 23:31:54 2004 +0000 osi-gettime-20041202 FIXES 16346 osi_GetTime needs to bdeal with 64 bit time on platforms that have it commit db3a694498e6fc000933e2a8fd30e8812dd75a65 Author: Matt Benjamin Date: Wed Dec 1 23:21:18 2004 +0000 umlinux26-20041202 FIXES 16591 umlinux 26 support. i wonder what i just reverted ==================== 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. ==================== FIXES 16591 umlinux 26 support. i wonder what i just reverted setting mps correctly. fixed now commit 70df053245459ebb9b3874719fbc5229b94c114c Author: Douglas Engert Date: Wed Dec 1 23:07:21 2004 +0000 ubik-calliter-pass-all-args-20041202 FIXES 16556 pass in all args to ubik_CallIter instead of doing (pseudo) varargs commit 93bc285e69f1588b04224e65424bfb7e67b14f6d Author: Jeffrey Hutzelman Date: Wed Dec 1 22:53:30 2004 +0000 vol-bless-20041202 FIXES 15928 add volume blesser commit f32f9810b188878e1e79b004873f91c1c538d40e Author: Jeffrey Hutzelman Date: Wed Dec 1 22:46:22 2004 +0000 linux26-set-mps-correctly-200412102 FIXES 15645 set MPS correctly when compiling on 2.6 commit d8e6630fffbbc6635c49c8c6d45a4550144e7f94 Author: Chaskiel M Grundman Date: Wed Dec 1 22:40:47 2004 +0000 libafsrpc-assertion-failed-20041202 FIXES 16432 need AssertionFailed in libafsrpc. ndon't need casestrcpy in libafsauthent VS: ---------------------------------------------------------------------- ==================== 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. ==================== FIXES 16432 need AssertionFailed in libafsrpc. ndon't need casestrcpy in libafsauthent commit b208926c260105159bdf03bf219966a341e76197 Author: Jeffrey Altman Date: Tue Nov 30 16:53:59 2004 +0000 windows-pioctl-debug-20041130 Output the error number and not just the text string when reporting failures from CreateFile. commit 53f0da3fb019cbc44bc012fbf0af0c85e7341381 Author: Jeffrey Altman Date: Tue Nov 30 07:40:11 2004 +0000 windows-notes-upd-20041130 update docs commit 9ba17afadb859bf9e3ef912aa1a4c120b7998eb5 Author: Jeffrey Altman Date: Tue Nov 30 07:31:07 2004 +0000 windows-auto-disable-sig-verify-20041130 If the desired cache size is greater then 700MB auto disable the signature verification check in order to prevent fragmentation of memory. commit f8ce184140b2f54bd2d82d4f62b47b5387225419 Author: Jeffrey Altman Date: Tue Nov 30 07:21:35 2004 +0000 windows-maxmem-20041130 There is currently a maximum cache size of 1.3GB. The limit is imposed by the largest contiguous block of unused memory within the 2GB process space which can be assigned to the memory mapped file. Unfortunately, when the executable digital signature verification code is activated Windows sees fit to further segment the process memory which in turn reduces the size of the maximum cache file to less then 800MB. If larger cache sizes are desired, a new registry value should be set: HKLM\SOFTWARE\OpenAFS\Client (DWORD) "VerifyServiceSignature" = 0x0 Setting this value will disable the runtime verification of digital signatures on afsd_service.exe and the afs dlls which it loads. It will not disable the the version number check on those same files. The signature verification is not a security messure and is only meant to enhance the ability to afsd_service.exe to detect potential destablizing mixtures of DLLs from incompatible distributions. commit 852a0518624c13e45a4d0f2561b171687e07b9cc Author: Jeffrey Altman Date: Mon Nov 29 21:05:26 2004 +0000 windows-digital-sigs-and-more-20041130 Switch the Trust Provider used to verify the validity of executables and libraries to the Software Publisher Trust Provider. Add code (with Asanka's help) to extract the certificate details and log them to afsd_init.log. Ensure that if files are signed that all of the files are signed by the same entity. Add a number of missing prototypes Correct conversions from time_t to long or short. commit 0f1892f09b123d8251c99e81106aae49b42d477e Author: Asanka Herath Date: Mon Nov 29 09:23:46 2004 +0000 windows-clean-20041129 Cleanup clean targets to not break with cmd shell commit 1a050671c9af89857a31cd41e13c64e95ae7a8e3 Author: Jeffrey Altman Date: Mon Nov 29 08:12:11 2004 +0000 windows-dyn-symlinks-20041129 in the freelance root.afs volume, instead of creating a mountpoint when a name is evaluated and it is a partial representation of a cellname, create a symlink. commit a3c06afa0b7a9a94248af080bc5208291c08e08f Author: Jeffrey Altman Date: Mon Nov 29 07:56:35 2004 +0000 winverifytrust-20041129 Add support for WinVerifyTrust(). If afsd_service.exe is a digitally signed executable, make sure that all of the associated binaries not only have the same file version number but are signed as well. commit a688328e8524f7232bfc294ea02b4d87d7172656 Author: Jeffrey Altman Date: Sun Nov 28 02:07:45 2004 +0000 windows-freelance-init-20041127 replace the registry population scheme with cm_freelanceAddMount based on the CellRootName commit 3c487ecb59c0bace3a417245f639f7e3388ae5dc Author: Jeffrey Altman Date: Fri Nov 26 17:09:51 2004 +0000 windows-robust-freelance-20041126 Implement new functions: cm_freelanceMountPointExists and cm_freelanceSymlinkExists. Use them along with other validity checks in cm_freelanceAddMount and cm_freelanceAddSymlink to ensure that name collisions do not occur and that empty strings are not valid file names. A symlink may not have a name which would resolve to a valid cell name. Doing so would prevent access to the cell. commit 976465c87e027a3721a464324cf1d83c522dd996 Author: Jeffrey Altman Date: Fri Nov 26 08:32:16 2004 +0000 windows-scache-locks-20041126 replace all direct manipulations of the cm_scache_t refCount field with calls to cm_{Hold,Release}SCache[NoLock](). add missing call to cm_HoldScacheNoLock in freelance Mount Point re-initialization code. experiment a bit more with "special folders". ensure that checks for "desktop.ini" are case insensitive. commit 081993a6274866507bfa3969a7b692a24e6491e1 Author: Dave Tanner Date: Thu Nov 25 01:25:30 2004 +0000 windows-ini-file-mapping-20041124 Install registry values to force a mapping from afsdsbmt.ini file updates via the old profile API to the new HKLM\Software\OpenAFS\Client\Submounts key. commit 2a7cf0d2ae5094dcf2b09e5794c86fe4326b9c4f Author: Love Hörnquist-Åstrand Date: Wed Nov 24 18:57:58 2004 +0000 netbsd21-20041124 netbsd 2.99.x (aka 3.0) support (aka 2.1?) commit 487bf88c403cbe0ae93b92556623913962b4b871 Author: Jeffrey Altman Date: Wed Nov 24 18:42:31 2004 +0000 windows-updates-20041124 update docs ==================== 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. ==================== conditionalize the cleanup of language files on their existence ==================== reformat parts of afsd_init.c add support for version number checking to afsd_service.exe ==================== Fix the afs_config.exe submount dialog operations: Edit Submount name and Remove submount entry. ==================== Fix the version info data stored in the resource block to use the same language identifier as is advertised. commit 50ca88be2a8dcce74ba9386d0161c39e46e1d57c Author: Jeffrey Altman Date: Tue Nov 23 04:19:42 2004 +0000 freelance-import-20041122 Fix the afs_freelance.ini import code. Check both the Client install directory and the %WINDIR% directory for afs_freelance.ini commit 06edeed70c9b3c7a2b8909c2069e720c97478799 Author: Jeffrey Altman Date: Tue Nov 23 03:49:05 2004 +0000 windows-misc-20041122 the VC++ 2003 Toolkit is missing some important libraries. remove it from the README-NT file ==================== 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. ==================== update docs ==================== simplify the freelance import from afs_freelance.ini code. don't generate an new file if the old one does not exist. begin conversion from old string functions to new strsafe functions. this will need to be done for all of the afsd_service.exe source modules before we can regularly use VS .NET 2005 Add support for VL_GetEntryByNameN. Still need to figure out what needs to be done for VL_GetEntryByNameU. (multi-homed support) ==================== fix a deadlock situation if an Obtain Tokens dialog is produced by an expiration event and the user chooses to cancel instead of obtain new credentials. commit cef225f20e88cffaaa4a4a7dfc74d39137bc4e64 Author: Ken Hornstein Date: Fri Nov 19 20:01:29 2004 +0000 aklog-intergration-20041119 Import the aklog source from the MIT AFS-Kerberos 5 migration kit. commit 32c55d118baa6315402d896d6b874705fe1189a5 Author: Derrick Brashear Date: Thu Nov 11 07:12:42 2004 +0000 kdump-in-kernel-20041111 first step at integrating kdump functionality into the kernel; all the rx stats. commit 9b579bf0f77b6832897c5b50fa6a5f6b40940717 Author: Derrick Brashear Date: Thu Nov 11 04:34:40 2004 +0000 proc-cellservdb-20041110 put a cellservdb in /proc/fs/openafs commit fbec56963df5d556056e4da37c3b6468a1ca69c5 Author: Nathan Neulinger Date: Thu Nov 11 04:24:13 2004 +0000 update-objdir-20041110 make objdir builds work (with fix from shadow@dementia.org in src/rxkad/...) commit aa204b0a4b586a3bfec532c16bd64a5964f092f5 Author: Derrick Brashear Date: Thu Nov 11 04:20:45 2004 +0000 mask-loopback-address-allow-loopback-interfaces-to-be-advertised-20041110 some software network adapters use instances of lo but are real network adapters . allow them to be advertised. the modified functions are called only in the pro cess of collecting a list to advertise. at the same time, make sure we mask 127.0.0.1. i wonder if that's a mistake. commit 248aa3980eb4cf35d153119ed88b94a129ea9198 Author: Jeffrey Altman Date: Tue Nov 9 17:07:28 2004 +0000 windows-version-bump-20041109 1.3.7400 commit 8e3f7c5cb04a2e2950f2c56cd41f697b857ae8a7 Author: Jeffrey Altman Date: Tue Nov 9 12:47:36 2004 +0000 winnotes-upd-20041109 windows note updates for 1.3.74 commit c0dd32748f5a64676ddbc7897d1a622e0f250cd7 Author: Horst Birthelmer Date: Mon Nov 8 19:59:57 2004 +0000 aix-vol-salvage-make-malloc-not-be-cast-20041106 When you have a 64bit big endian machine with a 64bit off_t in the stat the salvager won't work. Malloc takes an "unsigned long" and a implicit cast will be almost always zero :-). commit 565126d68eed60e5787be6202fb38619baeab3e5 Author: Sam Hartman Date: Mon Nov 8 06:30:37 2004 +0000 ppc-linux26-20041108 FIXES 15770 support ppc linux 2.6 commit c3d9ed3cb553747b9b317fc4794755ba98afc24b Author: Jeffrey Hutzelman Date: Mon Nov 8 06:26:01 2004 +0000 readdir-report-correct-inums-20041108 FIXES 15962 We currently try fairly hard to make stat() on a volume root return the same vnode number as is listed for the mount point by readdir(). This behaviour is desirable; in fact, getcwd would not work otherwise. However, we are _not_ careful about making readdir list correct inode numbers for "." in a volume root or ".." in a directory whose parent is a volume root. This means that applications which examine these entries will still see inconsistent inode numbers. Clearly, it would be more desirable to report consistent inode numbers in all cases, instead of only in some cases. The attached patch, written while I was tracking down some NFS translator problems (which ultimately proved to be unrelated), makes readdir return consistent inode numbers for volume roots. We are running this on a few machines and have seen no problems, but it has not been extensively tested. commit 40c1d00508b3ad9e4384ad7cc3f39f7a206c4014 Author: Douglas Engert Date: Mon Nov 8 06:20:54 2004 +0000 vfsck-sol9-breadwrite-args-20041108 FIXES 15927 fix arg types for bread/bwrite for solaris 9 commit 31dd436712c7119a0bcb0ad534b7e9e6304dd298 Author: Jeffrey Hutzelman Date: Mon Nov 8 06:07:16 2004 +0000 nfs3-no-readdirplus-20041108 FIXES 15961 don't support readdirplus in nfsv3 commit 08af3229f3c4d961e5d662e049476229fbb11767 Author: Chaskiel M Grundman Date: Mon Nov 8 06:04:12 2004 +0000 callback-rxcon-use-safely-20041108 FIXES 15973 add get/put refs to all callback rxconn usages to preclude any possibility of race commit 884335d78318aca00293245c9d481fd285ceba59 Author: Jeffrey Hutzelman Date: Mon Nov 8 05:52:36 2004 +0000 nfs-root-mtime-20041108 FIXES 15960 don't reset root mtime, solaris 9 wants it to be the same across multiple calls commit ee23c5f90a7069bd8203fbf44575da361a63d7b8 Author: Derrick Brashear Date: Mon Nov 8 04:03:10 2004 +0000 any-way-damnit-20041107 no comment. commit 27fbf495163784c7d9a88001441b671f446ce547 Author: Derrick Brashear Date: Sun Nov 7 17:11:50 2004 +0000 mask-loopback-address-allow-loopback-interfaces-to-be-advertised-20041106 some software network adapters use instances of lo but are real network adapters . allow them to be advertised. the modified functions are called only in the pro cess of collecting a list to advertise. at the same time, make sure we mask 127.0.0.1. i wonder if that's a mistake. commit 10c1abfa31273ebf99c5eaf401cb8c5b9e8df0dd Author: Chaskiel M Grundman Date: Sat Nov 6 07:16:54 2004 +0000 client-dir-package-interface-update-20041106 FIXES 15726 cleanup from dread-do-validation; change to using dcache and not just fcache commit 756488a8395b5c45ceb383ca0106164e24bcb66c Author: Kris Van Hees Date: Sat Nov 6 07:02:44 2004 +0000 vos-timestamp-handling-20041106 FIXES 15708 fix timestamp handling on create; display "never" for copy time commit 6dce8ba4e23c6482856aaf35cb5dc5168ef054cc Author: Chas Williams Date: Fri Nov 5 04:21:29 2004 +0000 irix-largefile-update-20041104 from peter tripician via chas. update so largefile support stands a chance of working commit df99b514f619cde44b223a0e1f22ba856e548842 Author: Jim Rees Date: Thu Nov 4 15:49:58 2004 +0000 openbsd36-20041104 auto-detect OpenBSD 3.6. commit 98057f4ac4047e1b28bfa56cd91c32ee04a2a8b4 Author: Jeffrey Altman Date: Tue Nov 2 06:10:29 2004 +0000 dnlc-optimize-20041102 * Optimize calls to the DNLC. Do not search if the FID is the Freelance root.afs volume. Do not search if we are looking for the magic _._AFS_IOCTL_._ name. * Enable Buffer Trace logs in debug builds. commit 66cf365c50efa09b0629cf3c211659b070457f63 Author: Jeffrey Altman Date: Mon Nov 1 11:45:29 2004 +0000 readme-nt-20041101 Remove last vestiges of Win9x comments Update Wix 2.0 information Provide download or ordering information on how to obtain all the necessary tools required to build OpenAFS for FREE commit b9f527243e6aa7fc24a0ea0e52d1ec753dd04fa9 Author: Asanka Herath Date: Mon Nov 1 10:45:48 2004 +0000 wix-compatibilityK-20041101 Wix has been updated. to avoid warning/error messages some changes to the scripts were required. there were no changes to functionality. commit 5745d6e260998288c2411057b661e3ff33ece78e Author: Jeffrey Altman Date: Sat Oct 30 00:38:53 2004 +0000 windows-invalid-dir-handles-20041029 * Define new error CM_ERROR_TOO_MANY_SYMLINKS * Fix storage location for Freelance Mount Points broken in previous patch * Correct locking throughout the Directory Search code which was resulting in invalid handle errors being generated when objects were freed while they were still in use by the CIFS client commit f0824d9f4e06d2f305dcc63cf0d10f9fe3ccb805 Author: Jeffrey Altman Date: Thu Oct 28 22:20:10 2004 +0000 ioctl-dbg-windows-20041028 Output error codes in hex commit a3da9532a930720e4e9fba5f6520c3c9e1d67bc4 Author: Derrick Brashear Date: Thu Oct 28 21:46:42 2004 +0000 inlinebulk-put-ref-on-error-20041028 if we got an error during InlineBulk, put back the reference commit 2fbfef7f9157aad571307564faae1ce7aae4e3be Author: Derrick Brashear Date: Thu Oct 28 19:08:06 2004 +0000 drop-h-lock-around-putconn-20041027 the problem with rx_PutConnection is h_FreeConnection uses the host global lock ==================== 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. ==================== the problem with rx_PutConnection is h_FreeConnection uses the host global lock but it shouldn't matter (callback conn should be a client not server conn and thus not h_FreeConnection on cleanup) further, we should free the conns we GetConnection'd not the ones still in the host struct at the end. commit 28171bbc9c33d40e6e0064c951a1ab542b48a3de Author: Jeffrey Altman Date: Thu Oct 28 17:37:52 2004 +0000 more-freelance-symlinks-20041028 * Fix Find Cell By Name pioctl call to return a name "Freelance.Local.Root" for the fake root.afs volume. This allows the IsPathInAfs() type functions to succeed for \\AFS\all * Add missing dialog template for Explorer Shell Extension Symlink->Add operation * Increase the acceptable length of the link destination path in the Add Symlink dialog box support code. * Fix up some missing prototypes commit f8c4c2fd3b831794cbcd16c1689179cd593ea491 Author: Jeffrey Altman Date: Thu Oct 28 15:33:05 2004 +0000 windows-unused-vars-20041028 remove unused vars commit c7f18e4946ffe5b22b19079ad412bd962bed5092 Author: Jeffrey Altman Date: Thu Oct 28 02:22:25 2004 +0000 windows-docs-20041027 Documentation updates commit 4cbee84b4c1d1eca5913a64a392e2b31779ca7b5 Author: Jeffrey Altman Date: Thu Oct 28 02:13:51 2004 +0000 windows-freelance-symlink-20041027 * Remove the fallback to KRB4 in afskfw when obtaining tokens * Add support for symlinks to Freelance root.afs volume Stored at HKLM\SOFTWARE\OpenAFS\Client\Freelance\Symlinks = ":." Use symlink.exe to create, list, or remove commit e751ec6a3683a175e1cdad910dd1311d61f632e1 Author: Jim Rees Date: Wed Oct 27 20:46:54 2004 +0000 fbsd53-20041027 support for FreeBSD 5.3 builds and runs as well as it did on 5.2 commit 5bacdac16c2efda7a22125ce89cc617d6ba2c285 Author: Jim Rees Date: Wed Oct 27 16:01:03 2004 +0000 acinclude-fbsd-20041027 auto-detect FreeBSD 5.3 commit 0297f7d573b1acd5428816f39400880076746cf2 Author: Jeffrey Altman Date: Tue Oct 26 02:55:32 2004 +0000 undo-patch-windows-20041025 pull patch which breaks submount creation from gui commit 0e8e8c988950b94ae71d815817b1474d0c4ddab1 Author: Jeffrey Altman Date: Tue Oct 26 02:53:40 2004 +0000 windows-misc-20041025 * fix loading of SysName from the registry * reformat cm_scache; change flags to unsigned ==================== 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. ==================== * fix loading of SysName from the registry * broken patch to tab_drives.cpp - this will be pulled commit 58f0334640f989a955930cae37d43d86aa999509 Author: Jeffrey Altman Date: Wed Oct 20 05:16:57 2004 +0000 hklm-reg-fix-20041019 fix the logic to ensure that HKLM is checked if HKCU does not exist for EnableKFW and Use524 commit cabe659f112e70e5ff9e5979b14a6ac6057af58e Author: Derrick Brashear Date: Tue Oct 19 23:34:33 2004 +0000 provide-fPIC-method-for-amd64-20040508 FIXES 3680 allow building fPIC on amd64 commit 37e865b235ad6e7d85c4cc47f842d60c60965b4a Author: Derrick Brashear Date: Tue Oct 19 07:07:53 2004 +0000 irix-cleanup-20041019 clean up my messes. commit 9f3a32c75121490eb1260e6ee36da7bb5ec8cccf Author: Jeffrey Altman Date: Tue Oct 19 01:51:48 2004 +0000 windows-cleanup-20041018 cleanup AFS_component_version_number.h commit 8b09add2a4b52d02a6ffc2c9dedaaa7eddbedc26 Author: Jeffrey Altman Date: Mon Oct 18 23:31:56 2004 +0000 lang-clean-fix-20041018 Fix the for loop used to clean the language directories commit 78736ba21b90199de364f235aa7d03cd3ec6666d Author: Jeffrey Altman Date: Mon Oct 18 21:25:58 2004 +0000 windows-version-update-20041018 1.3.7300 commit efee9917cbb3130dfd73b5f064c4ff266c284333 Author: Derrick Brashear Date: Mon Oct 18 19:39:16 2004 +0000 configure-linux-header-path-help-20041018 thanks to Kris Van Hees for pointing this out commit 98a7c79f2f9fee1ac66d4ab96a9acf6258f58ff7 Author: John Bucy Date: Mon Oct 18 07:49:45 2004 +0000 setpag-print-throttled-20041012 kernel printf when we start throttling for time commit 8bb47b67a00bd4ff6a89d57cff706aba0551db8a Author: Derrick Brashear Date: Mon Oct 18 07:12:49 2004 +0000 partly-revert-volser-restore-timestamp-cleanup-20041018 messes up creation field on new volume. commit 8b7de1a484228a77048fee98c73b7fe8b7a550ab Author: Jeffrey Hutzelman Date: Mon Oct 18 07:08:14 2004 +0000 amd64-ccobj-update-20041018 update ccobj for amd64 commit 8e335f4079d2c62d7cfe932eb46b59b8ceb695c1 Author: Jeffrey Altman Date: Mon Oct 18 05:22:18 2004 +0000 windows-version-20041017 update version to 1.3.7200 commit 02d99c8c98be8921147d9f84c4d2fe1be2235d9f Author: Jeffrey Altman Date: Mon Oct 18 03:44:14 2004 +0000 freelance-end-of-line-20041017 modify the algorithm used for loading mount point entries to ignore all data beyond the terminating dot. commit 564f4a8022beaf9e131f784fa15ea00759b5bd80 Author: Jeffrey Altman Date: Sun Oct 17 22:19:13 2004 +0000 flushonhibernate-20041017 Fix Asanka's patch. commit 3c291a5fcce47c361670266e466a4785aaddda08 Author: Asanka Herath Date: Sun Oct 17 22:02:01 2004 +0000 flushonhibernate-registry-20041017 Add a new FlushOnHibernate registry option to allow users to disable the Power Management Flush support commit 1fd9a66fc692bf003feab8d1d2b4eaa8dc18fe56 Author: Jeffrey Altman Date: Sun Oct 17 22:00:24 2004 +0000 winnotes-updates-20041017 Updates for 1.3.72 New FlushOnHibernate registry option commit 3d15cfc3ca8fb159e8b4a22717a3d53421e3c88a Author: Jeffrey Altman Date: Sun Oct 17 21:24:19 2004 +0000 krb5-no-dot-20041017 Generate error in the client if a krb5 principal contains a dot in the first component. commit 3c89433fc9e5229ad19c2096f5758a7730c47f0c Author: Jeffrey Altman Date: Sun Oct 17 16:18:24 2004 +0000 local-system-acct-20041017 When testing for Administrator privileges always grant them to the Local System account commit 38a75434706093569359e7d87b8726fd8f865955 Author: Jeffrey Altman Date: Sun Oct 17 03:46:56 2004 +0000 wix-clean-20041016 Clean the intermediary build files before each build. commit c8feac3a2e8dcd89882aa1d9edf9b08566b162ea Author: Jeffrey Altman Date: Sun Oct 17 03:44:52 2004 +0000 windows-updates-20041016 * Correct the handling of Over Quota errors * Update all of the reference count fields to use unsigned long instead of shorts or ints * Reformat touched files ==================== 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. ==================== * Update reference count fields from short to unsigned long commit 4803a9d7f9ad7952148b45a8ebb04eeb1e69127a Author: Jeffrey Altman Date: Sat Oct 16 23:41:18 2004 +0000 des-fix-mustalign-20041016 FIXES 15637 Forgot to fix the MUSTALIGN case commit 43dca8542be38c947e6cbee45293f183f3d4ed93 Author: Jeffrey Altman Date: Sat Oct 16 23:31:49 2004 +0000 des-fix-20041016 FIXES 15637 Correct previous patch. commit 85835f169cf47207795e00cbc2dae6fd77950f78 Author: Derrick Brashear Date: Fri Oct 15 07:01:35 2004 +0000 rx-peer-and-conn-refcounts-now-unsigned-int32-20041015 FIXES 15459 in an extreme case, the peer object refcount could wrap we should probably also log if wrapping is imminent commit 5862d1612aaab259fa7f7bbb07776b7c7fa04ee8 Author: Jeffrey Altman Date: Thu Oct 14 02:52:05 2004 +0000 pioctl-debug-20041013 Add more debug statements commit c66f4f6f50ed50502847a9b1dfb750bd61e57586 Author: Peter Nelson Date: Wed Oct 13 22:00:04 2004 +0000 makefileproto-linux26-20041013 add "linux26" to the case where we symlink asm commit 8be8a671c5dfa478b571c70d6c6a9757ebec553d Author: Chaskiel M Grundman Date: Wed Oct 13 17:29:36 2004 +0000 h-tossstuff-r-leak-20041013 don't leak host hash objects in h_TossStuff_r commit 1bf42dd73c2f47137cb4adfc682ac852b696bf68 Author: Peter Nelson Date: Wed Oct 13 15:46:29 2004 +0000 amd64-use-flock-20041013 so we stand a chance of compiling on amd64 commit 9ce92cb420da6c003257aeef092480d6c0131278 Author: Jeffrey Altman Date: Wed Oct 13 15:23:25 2004 +0000 uninitialized-vars-20041013 FIXES 15604 initialize flags in SetFields so that it has a default value otherwise a runtime exception is generated on windows due to lack of initialization before use. commit 33809f6c7382ab07d018809922a2a2b06e798b63 Author: Joe Buehler Date: Wed Oct 13 15:07:53 2004 +0000 linux-pagelaunder-avoid-deadlock-20041012 FIXES 15239 mmap'd files can deadlock on linux; fix by not letting kernel free pages out of our space predictively ==================== 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. ==================== FIXES 15239 mmap'd files can deadlock on linux; fix by not letting kernel free pages out of our space predictively commit 181c134ed87385f38261893b02c6554b892fbbfd Author: Jeffrey Altman Date: Wed Oct 13 07:41:38 2004 +0000 expand-strings-20041012 Stop blowing away the drive mappings of REG_EXPAND_SZ values due to the use of the incorrect order of the parameters commit 4050980d3c1f7eec40a95a1c35122b89ff2a651c Author: Jeffrey Altman Date: Wed Oct 13 03:48:24 2004 +0000 winnotes-20041012 Update documentation files with latest changes commit d8a4052f72bb5620559ff80bc4ef36e8daf6f0e1 Author: Jeffrey Altman Date: Wed Oct 13 03:30:49 2004 +0000 rx-refcount-20041012 FIXES 15585 * use new rx_GetConnection/rx_PutConnection functions to increment/ decrement the refCounts on the rx_connection objects so that the objects are not invalidated during RXAFS_xxx calls when: - the user tokens change - the global cryptlevel changes * import SysName from registry and parse along white space boundaries commit 63a1a5b27cc0ec321069cfa7b73715f059c98348 Author: Horst Birthelmer Date: Wed Oct 13 02:28:25 2004 +0000 aix-des-cleanup-20041012 incrementing pointers behind casts apparently pisses of vac 6 commit 3e9f470025ad4191c084dee6e129d3320bf1d9fd Author: Jeffrey Hutzelman Date: Wed Oct 13 02:16:40 2004 +0000 amd64-linux26-20041012 FIXES 15617 support for amd64 linux26 commit 2fb7971aa120a92d1cf58c3940f85f7a7b3d091f Author: Jim Rees Date: Wed Oct 13 02:10:58 2004 +0000 build-fcrypt-from-domestic-20041010 don't install rxkad/domestic/*.c, just compile them where they live commit 512f3b0555c10d26ea6b05695471481df11fe1c9 Author: Eric Melski Date: Wed Oct 13 02:04:55 2004 +0000 solaris-fix-ulimit-write-size-bug-20041012 FIXES 15609 convert nonsensical comparison to one which makes sense in light of code and comments below it commit d566c1cf874d15ca02020894ff0af62c4e39e7bb Author: Chaskiel M Grundman Date: Wed Oct 13 01:51:00 2004 +0000 dread-do-validation-20041012 FIXES 15340 so we can do directory object validation in DRead() commit ef08d58e9361ca72b22bff091c870dbcae6ab1f1 Author: Chaskiel M Grundman Date: Wed Oct 13 01:36:59 2004 +0000 linux-26-vlru-cycle-20041012 FIXES 15339 it was only a matter of time... commit f1e789f75f3ccc7f7055cfebc970437680931a61 Author: Chaskiel M Grundman Date: Wed Oct 13 01:30:03 2004 +0000 asmlinkage-for-pioctl-20041012 FIXES 15338 another place where we need to declare a function asmlinkage commit e106a39fe62a8d338ac7f8cf4ed857c97a9b3484 Author: Jeffrey Hutzelman Date: Tue Oct 12 21:51:55 2004 +0000 cleanup-rx-peer-leak-20041012 if the peer was the second in the chain we could throw away our reference to the first, effectively leaking it forever. commit 07d62e8a6f266f554ee39720941da8254bbbc518 Author: Chaskiel M Grundman Date: Mon Oct 11 23:31:26 2004 +0000 linux-setgroups-need-asmlinkage-20041011 FIXES 15460 sys_setgroups pointers must be asmlinkage everywhere commit d98a0af85d857f74ba8c50ae85f397a526822cb8 Author: Derrick Brashear Date: Mon Oct 11 19:39:55 2004 +0000 viced-callback-lock-host-during-multi-breakcallback-20041011 since it looks like CheckHost is using a gc'd client conn, this more or less has to be it. ==================== 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. ==================== since it looks like CheckHost is using a gc'd client conn, this more or less has to be it. and don't deadlock. ==================== since it looks like CheckHost is using a gc'd client conn, this more or less has to be it. and don't deadlock. ==================== since it looks like CheckHost is using a gc'd client conn, this more or less has to be it. and don't deadlock. commit 3b9cdc23b5122e371139828e557732c5e434230a Author: Jeffrey Hutzelman Date: Mon Oct 11 19:35:30 2004 +0000 rx-getputconnection-20041011 FIXES 15584 add Get/PutConnection funcs to diddle conn refCounts. commit d0898af1876fcbd5ac6962a8e11b3ca776791fde Author: Sam Hartman Date: Mon Oct 11 19:19:35 2004 +0000 osi-timeval-can-be-timeval-20041011 FIXES 15580 since the timeval is used only internally, let's just use struct timeval commit 1d1412bbc4b19b901dde5f6f2a16223be2230026 Author: Sam Hartman Date: Mon Oct 11 17:21:28 2004 +0000 ppc64-26-support-20041011 FIXES 15581 commit 9a0eb2496d990b6bb4fcd3a459047f7434835c87 Author: Derrick Brashear Date: Mon Oct 11 17:01:58 2004 +0000 libafsrpc-cleanup-20041011 FIXES 15586 remove unwanted files commit d8453a3f467e6350da304dbc0f494591737662cd Author: Jeffrey Altman Date: Mon Oct 11 00:50:37 2004 +0000 windows-combined-20041010 * fix the Windows cache manager to prevent it from replacing the rx_connection object associated with the cm_conn_t object on each and every operation if "fs crypt" was set. This explains the dramatic performance difference when crypt is used vs clear. The problem: 'cryptall', a boolean flag indicating whether or not "fs crypt" is set, was being compared to the rx_connection cryptlevel which is either rxkad_clear:0 or rxkad_crypt:2. 1 != 2 and therefore the rx_connection was always destroyed and replaced on each and every operation. Lock the cm_conn_t object around every call to RXAFS_xxxx functions. It is not safe for the cm_conn_t object to not be locked because rx_DestroyConnection might be called from another thread if: - the user's tokens have changed or expired - the crypt mode has changed * Modify cm_Lookup to evaluate a list of possible values for @sys instead of just a single entry. Re-write cm_ExpandSysname and add cm_LookupInternal. * Reformat affected files * Add cache file name to cache creation errors commit 346f60b807693c5ee480d105520b4a11cc283675 Author: Jim Rees Date: Sun Oct 10 03:13:41 2004 +0000 crypt-take-voids2-20041009 make various crypt/decrypt routines take void * args to eliminate more compiler warnings commit d114c46e85624c1988a7f61a872251660c7d52c4 Author: Derrick Brashear Date: Sun Oct 10 03:03:11 2004 +0000 pr-initialize-dont-leak-ref-20041009 we were leaking an afsconf_Open ref. let's not. commit d4d2fc438654939348b92dca1b8a6b09b56dfd6c Author: Derrick Brashear Date: Sun Oct 10 02:53:32 2004 +0000 generic-client-init-function-20041009 FIXES 15464 so we can have this code in just one place commit d764e768f94464021462e4b53c40a467eb4840f3 Author: Chaskiel M Grundman Date: Sat Oct 9 23:34:45 2004 +0000 linux-disable-pmtu-discovery-20041009 FIXES 15505 don't set DF bit; use setsockopt to turn of kernel "pmtu feature" commit 2ad64703d4942b7a64751c24aa8af790b271f93e Author: Jim Rees Date: Fri Oct 8 20:30:37 2004 +0000 add-rocks-20041008 add rocks to cmd args to match prototype commit 7e7475981f2f0ba9fa8937c07514548580834981 Author: Kevin Coffman Date: Wed Oct 6 18:35:19 2004 +0000 revert-fix-seclevel-20041006 Ticket #15367 revert rev 1.12 fix-seclevel-20030213: Use requested security level instead of "clear" in pr_Initialize commit ba58f50caf44e14493eaa5ccaf5d30f17b792782 Author: Jim Rees Date: Tue Oct 5 21:40:59 2004 +0000 crypt-take-voids-20041005 make various crypt/decrypt routines take void * args to eliminate more compiler warnings commit 04ec8ea29d1440beca6e8be9bac12a64650c900b Author: Jeffrey Altman Date: Mon Oct 4 08:35:13 2004 +0000 admin-group-nsis-20041004 correct the test for -create and -remove so that the proper action is taken for each commit e845efc4428fa5764eb5e450b7f5ec8a805eb4f7 Author: Jeffrey Altman Date: Sun Oct 3 15:06:46 2004 +0000 pioctl-debug-20041003 Add a new registry value HKLM/SOFTWARE/OpenAFS/Client "IoctlDebug" DWORD which when set to a non-zero value will output error messages to stderr. This is to assist in debugging ioctl failures when fs.exe, tokens.exe, etc. fail because of an inability to open the ioctl file name. commit fdaf6f793398fb7dd61bdb7030447918dbe30b38 Author: Jeffrey Altman Date: Sun Oct 3 14:53:35 2004 +0000 windows-symlink-access-20041003 FIXES 15250 One more fix for the symlink problem. Access control checks cannot be performed until after we have walked all of the symlinks. Otherwise, we are checking access to the symlink itself and not to the file. commit 2469663d0d4b2df8100ec8e09954163ddf1aa042 Author: Jeffrey Altman Date: Sun Oct 3 14:34:27 2004 +0000 win-power-mgmt-flush-test-20041003 The windows power management code responds to a request to suspend or hibernate by performing a "fs flushvol" as the logged in user on each of the SMB/CIFS mounted shares. This can be very time consuming if the cell servers cannot be reached. This patch adds a test to ensure that there is at least one network adapter in the machine which is not a loopback adapter. While developing this patch other areas of concern have been raised. The power management code waits a fixed period of time based upon the hard dead timeout before allowing the suspend/hibernate to continue. This allows the machine to shutdown even if there are active flush operations being performed. This defeats the benefit of performing the flush at all. A better mechanism could be developed if the functions called via cm_IoctlFlushVolume returned and checked error codes. Then it might be possible to abandon the flush operation if a Server Not Reachable state was obtained. The power management flush operations will also not work on Terminal Server. This would be important in the case where a terminal server is shutting down due to a switch over to a UPS. The reason it does not work on Terminal Server is that there is that it is not possible for afsd_service.exe to enumerate the SMB/CIFS shares and impersonate the individual logged in users. It would be preferred for there to be a new cm_FlushAll() function implemented which was not dependent on the use of the ioctl mechanism for the purpose of identifying a volume ID or a user ID. commit 3f2e943d430ea85ece5c1f96f197122a7c47851c Author: Derrick Brashear Date: Sat Oct 2 16:54:28 2004 +0000 vol-fix-nuke-iteration-and-nuke-globals-20040928 allInodes global dies; don't use ti as an iterator right after freeing it. commit 9592e1b10c23d99a9f7b29b77033b054974bbff1 Author: Jim Rees Date: Fri Sep 24 16:42:32 2004 +0000 rx-nprocs-static-20040924 make nProcs static so it will count up correctly also change its scope to eliminate compiler warning commit d3c732bcbd5970f4f20cf5576fa43269e37c99d4 Author: Nickolai Zeldovich Date: Fri Sep 24 02:42:28 2004 +0000 rxi-flushwrite-fake-a-better-empty-packet-20040923 Fake a better empty packet in rxi_FlushWrite(), with enough space for an rxkad header. Otherwise rxi_PrepareSendPacket may panic. commit d7c3b0a1466654961160e5cd1db632f6c419e07c Author: Derrick Brashear Date: Thu Sep 23 04:55:52 2004 +0000 threaded-volserver-and-protoization-update-20040922 fix a deadlock between GCTrans and DeleteTrans more protoization commit d69e6641e5fc423b41fcfc9345a6f917ec958f37 Author: Jeffrey Altman Date: Wed Sep 22 16:04:59 2004 +0000 kfw-hklm-registry-fix-20040922 Fix the registry query in afskfw.lib to read the HKLM machine value even if the HKCU key is present. Update text in the install notes to better describe the krb524 issues commit b40090233989aad1b96fdd9fd9d8d0478c2abd6e Author: Jeffrey Altman Date: Wed Sep 22 07:00:56 2004 +0000 windows-force-krb524-20030921 Provide mechanisms to force the use of krb524 via afscreds, afslogon, and aklog. afslogon and afscreds rely on a new "Use524" registry value (see registry.txt) and aklog has a new "-m" command line option. commit a135e0d30c077e19c3f10f7a6ccc46fa3fb6c234 Author: Jeffrey Altman Date: Tue Sep 21 21:05:14 2004 +0000 cifs-pattern-match-20040921 The pattern matching algorithm was failing to match strings when the pattern terminated in a '*'. The logic was also too complex because it failed to simply the patterns prior to processing. Any combination of '*' and '?' == '*' according to the Windows file name pattern matching rules. ==================== 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. ==================== FIXES 15365 The pattern matching algorithm was failing to match strings when the pattern terminated in a '*'. The logic was also too complex because it failed to simply the patterns prior to processing. Any combination of '*' and '?' == '*' according to the Windows file name pattern matching rules. commit e07406e551cc5c67e83c9985dbbfe5952ada6518 Author: Jeffrey Altman Date: Tue Sep 21 15:00:08 2004 +0000 windows-links-20040921 FIXES 915 FIXES 15250 * smb_ReceiveCoreRename() was factored to produce smb_Rename() which is used by both the original function and the new smb_ReceiveNTRename(). smb_ReceiveNTRename() supports the creation of HardLinks in addition to Renaming. smb_Link() is a new function which creates HardLinks via cm_Link(). cm_Link() is a new vnodeops function which creates links using RXAFS_Link(). smb_ReceiveNTRename() does not support the File Copy and Move Cluster Information operations described in its interface. ReceiveNTRename is under documented in CIFS-TR-1p00_FINAL.pdf. * When opening files via symlinks, we should follow the symlinks until we reach the actual file stat cache entry. The stat cache entry of the file should then be stored in the FID instead of stat scache entry of the symlink. * return bad operation errors for all unimplemented functions even if we do not know the functions exist. * Log bad packets and unknown operation packets to the trace log * Map CM_ERROR_BADOP to STATUS_NOT_SUPPORTED instead of 0xC09820FF * Update list of known CIFS operations to include all those listed in CIFS-TR-1p00_FINAL.pdf. commit 9a213dba7776f9571d34c8b11416d88440ece827 Author: Derrick Brashear Date: Mon Sep 20 03:07:22 2004 +0000 rx-unrefd-peer-may-be-gcd-so-be-safe-20040919 this means we potentially "lose" some received bytes in the tracking, but the alternative is to add and then drop a ref (which i suppose would be ok) commit cbe0d7cc1daca4a2d9a634f7cdb8da8d01ad050d Author: Derrick Brashear Date: Fri Sep 17 14:35:51 2004 +0000 rx-stats-calls-waited-ever-20040917 keep track of the number of calls which have waited for a thread ever (not just those waiting now) update rxdebug to be able to print it. commit 1ea05bb5679ba0e00b02ef2b20f72f7b2c39eb14 Author: Christof Hanke Date: Wed Sep 15 04:54:28 2004 +0000 segments-keep-chunkbytes-and-validpos-in-sync-20040914 FIXES 15200 "Basically, the pointers (struct dcache *)->validPos and (struct dcache *)->f.chunkBytes are not kept in sync." commit 8c887b207210e0b7b01d2c8621149e8a92d0224c Author: Jeffrey Altman Date: Thu Sep 9 21:19:06 2004 +0000 nsis-1400-compiler-20040908 Add support for MS VS 2005 commit 24da12afa3b7b79b4af097daa39b98093e10a743 Author: Jeffrey Altman Date: Wed Sep 8 22:35:33 2004 +0000 time_t-pointer-conversions-20040908 FIXES 15169 Modify all parameters to functions which take a pointer to time_t to actually provide a pointer to time_t instead of pointers to long, afs_int32, afs_uint32, etc. This is to provide compatibility with systems that use 64-bit time_t typedefs such as the IBM compilers for AIX and the Microsoft Visual Studio 2005 compiler. This patch does not address any of the issues of data loss caused by converting 64-bit time_t to 32-bit signed or unsigned values. commit f31658317a77346759f165ff13b5dcf77a8b3683 Author: Jeffrey Altman Date: Wed Sep 8 06:52:20 2004 +0000 windows-misc-20040907 * modify registry.txt to replace QWORD with DWORD ==================== 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. ==================== * add expanded registry support to "submounts" commit 4d906fec23916230936763ef36d6bc7a79c8eebf Author: Nickolai Zeldovich Date: Thu Aug 26 22:07:01 2004 +0000 placate-netbsd-cc-20040826 netbsd's cc doesn't like multiple semicolons in variable declarations, so let's adjust the XSTATS_DECLS macro appropriately. ==================== 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. ==================== netbsd's cc doesn't like multiple semicolons in variable declarations, so move OSI_VC_CONVERT down to the last statement commit 33460d3571b0faf4ca394aa6f7f4980b20942895 Author: Jim Rees Date: Thu Aug 26 19:14:37 2004 +0000 fix-missing-config-quote-20040826 fix missing quote and CPPFLAGS from last commit commit d05d58a816059b8489d1aaf1b0c8bf126f65755a Author: Rainer Toebbicke Date: Thu Aug 26 18:45:59 2004 +0000 snprintf-ip-printing-20040826 don't treat ip address as long long, cast to 32 bit... commit ce6d83d6aa2af4da6a3010bad10ff2dbcb44fcf2 Author: Derrick Brashear Date: Thu Aug 26 06:15:57 2004 +0000 allow-loopback-interfaces-to-be-advertised-20040826 some software network adapters use instances of lo but are real network adapters. allow them to be advertised. the modified functions are called only in the process of collecting a list to advertise. at the same time, make sure we mask 127.0.0.1. i wonder if that's a mistake. commit cb1b41b159b98881f66319d7f65d941ba9fab911 Author: Sven Menke Date: Wed Aug 25 21:39:21 2004 +0000 linux-5-arg-sock-create-20040825 update for sock_create 5 arg with a better configure test commit 5e1c6d613544574e61aedbf456fbd6f36c04383f Author: Derrick Brashear Date: Wed Aug 25 08:21:39 2004 +0000 no-interleave-on-solaris-9-20040825 a patch does away with it and it doesn't look like we need to care commit 854d15634a149777070a08ebe8ce59029e88f2e2 Author: Jeffrey Altman Date: Tue Aug 24 08:09:47 2004 +0000 version-update-20040823 1.3.71 commit bca5ba20e678ffc7b5dbbd3d9e2760b16b1ff1a9 Author: Jeffrey Altman Date: Mon Aug 23 20:36:22 2004 +0000 expand-drive-mappings-20040823 Drive mappings are now per user and stored in the registry. Allow them to continue to use environment variables in the paths. commit f1ff3887a269a541eb42b13c7e743ad0394e0bef Author: Derrick Brashear Date: Mon Aug 23 17:15:36 2004 +0000 libafsauthent-mapfile-update-20040823 export a few more symbols commit 40d2f5f7c02e28cf471d284e5be9fb97c91d145a Author: Jeffrey Altman Date: Mon Aug 23 16:49:45 2004 +0000 windows-admin-group-20040823 Update text files for 1.3.71 and describe the new Windows Authorization Group "AFS Client Admins" ==================== 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. ==================== Add support for "AFS Client Admins" windows authortization group ==================== NTMakefile changes for Admin Group commit 65884b7d946f045f0f3c6ee15f0d808181e6e756 Author: Asanka Herath Date: Fri Aug 20 21:11:57 2004 +0000 wix-admin-20040820 - Support administrative installations ( 'msiexec /a openafs-en_US.msi') - Register services as interactive - Move product code into NTMakefile.i386_nt40 ==================== 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. ==================== - Move product code into NTMakefile.i386_nt40 commit 97031c31689312a783630e1c270372a063949e46 Author: Rolandas Naujikas Date: Fri Aug 20 21:07:18 2004 +0000 afslogon-20040820 Modifications to support local machine profiles redirected to AFS commit e82bc5223192fc2a7270aec53aed951ba4a24cae Author: Alf Wachsmann Date: Fri Aug 20 05:05:14 2004 +0000 kdb-enhancement-20040820 FIXES 6355 - It resolves all IP addresses to names unless the "-numeric" parameter is used. This is the same behavior as "fs listcells [-numeric]" - If the "-numeric" parameter is used, IP address will be printed in dotted decimal form instead of a 8 digit hex string. - A new parameter "-long" allows to print all information for all entries in the log. This is the same info you get for entry XYZ when called with "-key XYZ" only you get this for _all_ keys. The output is slow if not also called together with "-numeric commit 59cc46ef7e41d21288034df0a850b1c2ca7b4e5c Author: Steve Roseman Date: Fri Aug 20 04:55:56 2004 +0000 aix-config-guess-20040819 FIXES 6352 detect aix 5 commit b0f773c41c68fd7833a669693d30b27a12f3ba8e Author: Nickolai Zeldovich Date: Thu Aug 19 22:37:51 2004 +0000 fix-indent-bug-with-lock-macros-part-four-20040819 Thanks to jaltman for pointing out some files I missed (basically those in two-level deep directories). commit c18d67d9a0d653b6557824d3583c827f076e29d3 Author: Horst Birthelmer Date: Thu Aug 19 21:25:22 2004 +0000 aix52-updates-20040819 make des crypt module be built without optimization. make aix 5.2 be "supported" make ukernel work on aix 5 commit 7c01e673176e9de75620a9765aacc25324ce36a4 Author: Jeffrey Altman Date: Thu Aug 19 20:50:03 2004 +0000 callback-deadlock-20040819 cm_CallbackNotifyChange(scp); must not be called with scp locked commit f2b18e7af85093f88b8afb8d7a344fd15fc90164 Author: Rolandas Naujikas Date: Thu Aug 19 20:47:56 2004 +0000 non-ad-afs-profile-20040819 NetUserGetProfilePath function provided by Rolandas Naujikas commit 481b170d88e1821bd4d498e3c75e514facbff0a5 Author: Hartmut Reuter Date: Thu Aug 19 06:42:20 2004 +0000 aix-5-updates-20040819 updates to aix 5 code since last patches commit 06478aeaae1e7812230f31c63e9cae8b7cc1b643 Author: Nickolai Zeldovich Date: Thu Aug 19 03:19:13 2004 +0000 fix-indent-bug-with-lock-macros-part-three-20040818 Add trailing semicolons to more macros and re-indent. commit 1d6cf7729ca06c95eb4dd8b2f72d61bda6010304 Author: Derrick Brashear Date: Thu Aug 19 02:37:24 2004 +0000 revert-linux26-selinux-20040621 well, i'm not sure what the right way to deal is, seeing as this change weas reverted later in the kernel commit 3fa71885aecae85a3ddadc04dd1fcbfaa2a7e8b0 Author: Nickolai Zeldovich Date: Thu Aug 19 02:34:47 2004 +0000 fix-too-many-close-parens-20040818 Noone seems to be using this code anyway, as it's been non-compilable for 2 years now. But indent noticed that we have too many close-parens in there, so might as well fix it... commit 5ca50c575abed691bf2e726f84f35241fcef8242 Author: Derrick Brashear Date: Thu Aug 19 02:16:04 2004 +0000 banish-fstrace-trydcachechildren-entirely-20040818 we really don't need this... commit 4d44764c157b1310de81e010975ae5867028fa5b Author: Derrick Brashear Date: Thu Aug 19 02:07:10 2004 +0000 butc-xbsa-cleanup-20040818 make things compile when xbas is defined. commit fc441042fcfe619cc8fac528886782caed12ab48 Author: Derrick Brashear Date: Thu Aug 19 01:58:18 2004 +0000 linux-kernel-header-tests-20040818 check for existance of some headers (in_systm.h, mm_inline.h) to decide on inclusion commit 6f1cd5a43e1240ecc7a964b8236e25e1d0e46fca Author: Hartmut Reuter Date: Thu Aug 19 01:28:29 2004 +0000 ubik-multihome-byte-order-problem-20040818 "Playing around with multi-address database servers on little-endian machines I found out that there is one conversion of the ip-address too much" commit 788ca86bdc139ee42aeecceb4b453c87bfd2426f Author: Nickolai Zeldovich Date: Thu Aug 19 01:22:38 2004 +0000 fix-indent-bug-with-lock-macros-part-two-20040818 Add trailing semicolons to _LOCK and _UNLOCK macros and re-indent. This should've been in fix-indent-bug-with-lock-macros-20030729 but somehow it slipped by and I've only found it now. commit 9a39ae21fea305029f1bcdc6a864170ff6503793 Author: Derrick Brashear Date: Thu Aug 19 01:11:37 2004 +0000 aix-install-cfgafs-20040818 based on feedback from tdamato@odu.edu commit 0ed8f55d597a247980412f004852446d8f138324 Author: Derrick Brashear Date: Thu Aug 19 01:08:50 2004 +0000 aix-make-install-install-everything-20040818 install the other stuff when you make install commit 399785acf166dac15123889c28974ff06d6d2de0 Author: Derrick Brashear Date: Wed Aug 18 23:46:37 2004 +0000 attachserverproc-dont-dequeue-if-not-in-queue-take-two-20040818 nWaiting ended up negative, because the dequeuer (GetCall) decremented. commit 3de51188f75dd1503c300d87cc00c30b0ba4a0b0 Author: Jeffrey Altman Date: Wed Aug 18 18:52:03 2004 +0000 time_t-20040818 Make sure the response of time() is stored in a time_t commit f21740a0acc44ae5493bbe1f53b94acc14af0ac8 Author: Jeffrey Altman Date: Wed Aug 18 18:10:17 2004 +0000 time_t-200408018 time values in the cache manager and smb engine which are passed to the run time library must be of type time_t and not long or int or unsigned long or unsigned int or ... commit ddaba14e372c96f572b0762f1f0de824aac06d5a Author: Jeffrey Altman Date: Tue Aug 17 21:16:01 2004 +0000 cellservdb-20040817 update to current gco commit 202a27f07329527f2a488d8d949b572879846aab Author: Jeffrey Altman Date: Tue Aug 17 18:15:37 2004 +0000 osilog-messages-20040817 move the cm_GetCell_gen debug messages to the trace log commit 1ae8a71dfa8a5efea7d31ad985746b026b444f48 Author: Jeffrey Altman Date: Tue Aug 17 16:25:33 2004 +0000 smb-notify-callback-expire-20040817 When the callback expires on an scache item, if there is an smb client listening for updates send it is a notification of change. This will force the smb client to refresh its listener which will in turn cause a new callback to be registered. Also, remove debugging statements from GetServer/PutServer commit 3dce18d2481ee07ac27af8bd691d640247526a5d Author: Jeffrey Altman Date: Tue Aug 17 05:21:17 2004 +0000 post-1-3-70-windows-changes-20040816 * Fix aklog.exe to not add the AFS ID to the username * PTS registration of new users to foreign cells has been added to afscreds.exe * The cm_Daemon thread is used to perform checks for down servers, up servers, volumes, callback expirations, lock maintenance and token expiration. Due to a gaff in larger integer division the thread never performed any work. Instead the current time computation would always be less then the trigger times. This had an adverse affect on the client's ability to maintain communication with servers, keep volumes up to date, and flush user tokens and acls when they have expired. This was broken when the 1.3 branch was modified to support VC7 which no longer included largeint.lib * An initialization problem with the Freelance code was detected while fixing the callbackRequest. The cm_rootSCachep object is obtained during afsd_InitDaemons() but the callback information is incomplete. The callback information will not be obtained until cm_MergeStatus is called from within cm_GetCallback. Unfortunately, cm_SyncOp did not properly test for the conditions under which the callback information must be obtained. * Reports have been filed indicating that callbacks were being lost. An examination of the code indicated that the cm_server_t objects were not being properly reference counted by the cm_scache_t and cm_callbackRequest_t objects. In particular, the cm_server_t objects may have been freed from beneath the cm_conn_t objects. All of the reference counting is now done via the functions: cm_GetServer cm_GetServerNoLock cm_PutServer cm_PutServerNoLock this improves the ability to track the referrals. Each cm_BeginCallbackGranting Call now allocates a reference to the cm_server_t. The cm_EndCallbackGrantingCall either frees the reference or transfers it to the cm_scache_t cbServerp field. These are then appropriately tracked through the cm_Analyze call. * Ensure that the dnlc hash table is the same size as the dir name hash table (as per original author's note). Increase the dnlc CM_AFSNCNAMESIZE to a multiple of 8 for compatibility with 64-bit systems. * fix smb_ApplyV3DirListPatches to properly apply the hidden attribute to dotfiles when the infoLevel < 0x101 and cm_SyncOp has failed. * Fix the Freelance registry initialization code. There was a possibility that some systems could end up with garbage in the registry during a clean install. commit e6c7148abed9f88d6dd83ce8dba77a434cce231a Author: Kris Van Hees Date: Mon Aug 16 22:23:26 2004 +0000 initialize-i-security-20040816 modern 2.6 kernels with i_security need this such that if the i_security field got garbage-collected out from under us we don't deref a null pointer. commit 8651d7a69315735db866e7bf6a9539e10a6b1f9f Author: Sven Oehme Date: Wed Aug 11 16:45:35 2004 +0000 s390x-20040811 zLinux on S390x (64 bit S390) commit cf8a163c20179d76075653af243305446604bc92 Author: Love Hörnquist-Åstrand Date: Tue Aug 10 21:35:08 2004 +0000 netbsd20-config-20040810 cleanup config files for NetBSD 2.0 commit 46b847e3678f01b5f1bd2ef4db54cb66a55d057e Author: Love Hörnquist-Åstrand Date: Tue Aug 10 20:57:09 2004 +0000 netbsd-lwp-no-param-h-20040810 fix NetBSD process.o build commit 2e8a3050d39ead364cad038647f0049b5c03b119 Author: Jeffrey Altman Date: Tue Aug 10 05:07:58 2004 +0000 1-3-70-release-really-20040809 Restore the installation of afslogon.dll as a winlogon event handler. Microsoft identified the problem as being a newly added restriction on the behavior of DllMain entry points. Network operations such as bind() may no longer be called. The ICF blocks them but does not cause an error to be returned. commit 7a2fea24df9600e5f2f0f46a2a28864b25b34601 Author: Jeffrey Altman Date: Tue Aug 10 01:16:34 2004 +0000 xp-sp2-fix-plus-20040810 The XP SP2 problem was caused by attempting to call bind() from within DllMain which is no longer permitted. Added a new function AfsLogonInit() which is called from every entry point to ensure that the necessary initializaton is performed. Cleaned up the prior fix to smb3.c to better test the invalid conditions. commit 3fd571cb1014f61101e0b82fc9944f9d5285cea1 Author: Jeffrey Altman Date: Mon Aug 9 21:51:56 2004 +0000 null-pointer-20040809 protect against a null pointer reference in smb_ReceiveV3Trans when its the first packet and the totalData and totalParms are 0 commit 4394e421bb9baadde8a26daaf58f3e15ace30349 Author: Jeffrey Altman Date: Mon Aug 9 10:45:35 2004 +0000 msvs8-20040810 changes to support building under msvs8. this will allow us to produce 64-bit binaries. commit 7bc57bc068238b9f8c672b502c8f7ddef7ab01a9 Author: Joakim Fallsjö Date: Mon Aug 9 10:18:51 2004 +0000 solaris-x86-9-support-20040809 osconf stuff for solaris x86 9.0 commit d98157d514dd000f68e0b27cd73b4039715d7433 Author: Jeffrey Altman Date: Mon Aug 9 06:13:38 2004 +0000 remove-winlogon-key-20040810 Make sure installers remove winlogon event handler key commit 88418dccc815ac6f6439c74a8b7d2da4076df473 Author: Derrick Brashear Date: Mon Aug 9 05:35:51 2004 +0000 tvolser-default-20040809 build and install tvolser on platforms with tviced. commit 544afa6bcc2dd8a72f58e1fb9e95517a0abba7e3 Author: Jeffrey Altman Date: Mon Aug 9 05:20:07 2004 +0000 release-1370-20040810 Disable the installation of the WinLogon Event Handlers to avoid problems with XP SP2 Final Release booting and profiles being released on logoff. Update version to 1.3.7000 Add VS8 entries to the build system commit c1b72715c2c3c88c8edacc82440512a63808c1b6 Author: Derrick Brashear Date: Mon Aug 9 05:13:57 2004 +0000 prepare-for-1-3-70-20040809 get configure scripts ready for 1.3.70 ==================== 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. ==================== unget configure scripts ready for 1.3.70. not what i meant to do commit aa72caacc4092bb29bd13df19f2e19456d48c8cc Author: Derrick Brashear Date: Mon Aug 9 05:07:33 2004 +0000 enable-largefile-clients-20040808 the linuxes should all work. it at least builds on openbsd. i can't imagine freebsd doesn't work, likewise "netbsd 2.0", only question is hpux. commit bdbb4fd7672216fe3e56831a2ff9a52d39c08736 Author: Derrick Brashear Date: Mon Aug 9 04:30:18 2004 +0000 irix-largefile-client-20040808 enable largefile support in the client commit b26b38a321b6b3f07277b73b111c2b8e65d87cc0 Author: Derrick Brashear Date: Mon Aug 9 04:25:45 2004 +0000 irix-osi-cred-decl-20040808 add cred declaration for irix back commit 9a2ff82f9b23b60a4c96b0cef0a3785281d1da55 Author: Derrick Brashear Date: Mon Aug 9 02:23:32 2004 +0000 dux50-largefile-client-20040808 good here also commit faf9b110123a014d233ea8e5a783018f9e4b8a15 Author: Derrick Brashear Date: Mon Aug 9 01:58:50 2004 +0000 dux-rxk-init-is-void-20040808 rxk_init is a void function commit 20074af8e13da929dbc9c493edd54a5d425224be Author: Derrick Brashear Date: Mon Aug 9 01:54:05 2004 +0000 dux-min-direct-20040808 someone removed d_fileno from the generic case, put it back there. (maybe it was me, who knows...) commit 3ffd1b18ad08d2f0797c583184bd1ac6a3dd958f Author: Derrick Brashear Date: Mon Aug 9 01:24:57 2004 +0000 dux-kernel-cleanup-20040808 more "cleanup cleanup" commit 34a078003da5328d089bdea01da079d55dcdf52d Author: Derrick Brashear Date: Mon Aug 9 01:17:33 2004 +0000 dux-gcpags-20040808 pidtab and npids need to be pulled in so this works commit 1a7e336a169fff770933c3ca963ce625f8693d3b Author: Derrick Brashear Date: Mon Aug 9 00:59:51 2004 +0000 dux-vol-cleanup-20040808 make partition code work again on dux commit fc2133da492c9adb6edfcec9e63fcf7c15f04885 Author: Derrick Brashear Date: Mon Aug 9 00:57:23 2004 +0000 ubik-reorder-functions-20040808 avoid need for prototypes by reordering commit 5f93afbeff04804d4aaf05eb263dd53ae1e68fab Author: Derrick Brashear Date: Mon Aug 9 00:49:52 2004 +0000 dux-lwp-makefile-fix-20040808 tru64 hates indented comments inmakefiles commit 3feb2837fa769f57729aad5c9eb1cd9a90974c9b Author: Derrick Brashear Date: Mon Aug 9 00:12:55 2004 +0000 macos-largefile-client-20040808 libcc_kext is needed for ashldi3, ashrdi3, so that long long operations don't result in undefined symbols commit 5bc0d218f5ee1488301c641734fad636fb282bee Author: Love Hörnquist-Åstrand Date: Sun Aug 8 20:21:33 2004 +0000 rxgk-import-20040808 not actually hooked in yet, but getting it in so we can work with it. commit 2376b591d08cfae37e39eedee849cbb12bb9932c Author: Derrick Brashear Date: Sun Aug 8 20:07:09 2004 +0000 macos-10-autoconf-update-20040808 10.3.4 and 10.3.5 work commit ed1098ad102490a2540832a849cf64e96ccf8a39 Author: Derrick Brashear Date: Sun Aug 8 19:14:08 2004 +0000 solaris-largefile-client-20040808 enable largefile client for sparc and x86 solaris 8 and on. commit e3627407b26881034f9501d115781fef39b28128 Author: Jeffrey Altman Date: Sun Aug 8 17:55:28 2004 +0000 debug-messages-20040808 make sure that all messages logged to the Event Log are also in the trace log commit 3d790dd2326f1268a33a70c07eb06d6438ceb052 Author: Jeffrey Altman Date: Sat Aug 7 22:32:46 2004 +0000 winnotes-20040807 document new freelance functionality and update install notes ==================== 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. ==================== more updates commit 99cd190567f969366051f67f0fbc03919b375cdd Author: Asanka Herath Date: Sat Aug 7 17:56:26 2004 +0000 hidden-dot-files-20040807 Hide dot files even when we can't stat the file. commit 9fef137786ed5da93fa3ed982119cba35f54e606 Author: Jeffrey Altman Date: Sat Aug 7 15:14:17 2004 +0000 unused-vars-20040807 remove unused variables commit 413f2aaf6098c52bb9c8f9a421c70a617df35a17 Author: Jeffrey Altman Date: Sat Aug 7 15:12:11 2004 +0000 free-serverref-list-20040807 Freeing the cm_serverRef_t has proved to be a challenge to get it right. We now pass a pointer to a pointer to the first object in the list to the function. We must be very careful to not destroy the list as we walk the contents of the list with the extra level of indirection. On the other hand, when we are freeing members of the list which have reached a refCount of zero, we must be sure to maintain the fiction of the extra level of indirection. commit e8553285e20c4650340eccb8928ef0cebe94c36e Author: Jeffrey Altman Date: Sat Aug 7 14:45:59 2004 +0000 ignore-me-20040812 ignore this commit commit 0cf725772b6c019401ad485906d0c08d885536e5 Author: Jeffrey Altman Date: Sat Aug 7 06:44:05 2004 +0000 freelance-misc-20040807 Added a change monitor to the HKLM\SOFTWARE\OpenAFS\Client\Freelance key. When a change occurs mark the root.afs data as invalid and for it to be reloaded on the next access. This allows administrators to modify the mount point list without restarting the service. The freelance client used to provide a fake modification time for the root.afs volume data and its mount points of 7/09/2001 14:24 EDT. Added code to extract the last modification time of the Freelance registry key and use that instead. The time now represents the most recent mount point change. smb3.c: Fake the timestamp if we can't stat the file. A zero FILETIME value causes problems. commit 6fc2e2900cc68973a05acedf51462281d8fc89c0 Author: Tracy Di Marco White Date: Fri Aug 6 22:48:28 2004 +0000 netbsd-20-update-20040806 make it compile with current netbsd commit 01845f22fb5847b30c9ab9c687f926ddcd3e35d2 Author: Derrick Brashear Date: Fri Aug 6 21:13:44 2004 +0000 netbsd-has-long-long-20040806 feedback from gendalia@iastate.edu commit bcc2794e26de749359f06a382dd87ae62610d285 Author: Jeffrey Altman Date: Thu Aug 5 17:51:41 2004 +0000 ntlang-20040805 No longer warn about executing language registry file. commit c35e327595565d36b6965374d2c6237c3dd76f54 Author: Jeffrey Altman Date: Thu Aug 5 17:50:04 2004 +0000 ntbuild-lang-20040805 No longer warn about executing a language registry file since the file no longer exists and is not used with the new installers commit 4c20d3d1fc11bfb1b8fc054d991caa2d6e36dede Author: Jeffrey Altman Date: Thu Aug 5 17:47:28 2004 +0000 winnotes-20040805 Updates winnotes with current info ==================== 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. ==================== summary of changes performed this week for 1.3.70 commit 432479c4bb20fef14043cf913bdd669d01281990 Author: Jeffrey Altman Date: Thu Aug 5 17:31:34 2004 +0000 mpr-lib-required-20040805 All executables which include the pioctl functions now require mpr.lib to be linked commit 1adc13467055e916b45e54c010dda1f6917bd4cb Author: Jeffrey Altman Date: Thu Aug 5 17:28:10 2004 +0000 winxp-sp2-pioctl-20040805 On Windows XP SP2, when a Kerberos principal is used for login and the KDC is not reachable, Windows will return a DOWNGRADE_DETECTED error when attempting to open the ioctl file. This is because NTLM will not be permitted when there is the potential of an attack. There is a hack to get around this. Manually create a CIFS connection to the AFS client service while specifying the current user's name. This will use the cached password and allow the downgrade to NTLM. commit 0ce0ec85860dcc0f8541f0bcab75f9a91806defa Author: Jeffrey Altman Date: Thu Aug 5 17:24:27 2004 +0000 nsis-20040805 Correct missing debug conditional commit fd297f88e4d4299e51dcc5e9afce8db4a5599d45 Author: Jeffrey Altman Date: Thu Aug 5 17:23:25 2004 +0000 readme-nt-20040805 Update readme with latest WiX installer info commit c50f171f2c9922c6d156f33f12af40ebbcade70d Author: Derrick Brashear Date: Thu Aug 5 15:48:09 2004 +0000 findclient-print-stolen-clients-20040805 when a client is "stolen" due to a race, print it. commit fca4ef8bfdfd2ddc0dba970427783e4841b5bb50 Author: Asanka Herath Date: Thu Aug 5 04:09:26 2004 +0000 loopback-install-20040804 If the backup hosts file can't be deleted, try changing attribtues first, and failing that try to come up with a unique name for the backup instead of failing. commit b4566d725e1aa4f57d1e6db5821c590a4b6da7c0 Author: Derrick Brashear Date: Wed Aug 4 20:41:53 2004 +0000 partly-revert-rx-cleanup-20040804 if there's a callback connection to a multihomed client, you need this or you end up with multiple connections, one per IP, being made from the single connection commit 29971c6e9f79f936e5c0b87a4c858543180b2b74 Author: Jeffrey Altman Date: Wed Aug 4 20:30:03 2004 +0000 ticket-6077-20040804 FIXES 6077 Patch from Joe Buehler modified by Asanka commit 993051678f84137fd216a95ca3af84a59ca66451 Author: Asanka Herath Date: Wed Aug 4 17:36:10 2004 +0000 misc-post-1366-20040804 Update documentation on cache control and credential manager options in MSI deployment guide. 'CachePath' setting in registry allows REG_EXPAND_SZ type. Update registry documentation for 'CachePath' setting. Both installers save the credential manager command line options in registry. Fix handling of existing 'afsdcell.ini' file in WiX installer. WiX 2.0.1927 changed the XML schema. The WiX installer has beed updated accordingly. commit fc128997e7d9b4bd4555731da60bd6a425179596 Author: Jeffrey Altman Date: Wed Aug 4 16:54:42 2004 +0000 shortcut-params-20040804 Fix the retrieval of the shortcut params from the registry when the HKCU\Software\Openafs\Client key exists but the AfscredsShortcutParams is missing. commit 306f75eb4cfe174da3ad7524320316109d75bd76 Author: Jeffrey Altman Date: Wed Aug 4 16:52:56 2004 +0000 server-list-refcount-20040804 cm_GetVolServers must return a pointer to the pointer to the server list so the volume can be updated when the list is freed commit 03dd9eefd3e8e797493463522ee9f3eb1e36e8bd Author: Jeffrey Altman Date: Tue Aug 3 21:10:36 2004 +0000 freelance-deadlock-20070803 oops commit 986bee7d66fc98e7efb14575939ca30ad6152f57 Author: Jeffrey Altman Date: Tue Aug 3 20:40:31 2004 +0000 freelance-deadlock-20040803 Avoid deadlock in Freelance mount point re-initialization commit cb1730a07c0ed597b2cd59e85366204af459f2ea Author: Jeffrey Altman Date: Tue Aug 3 18:27:52 2004 +0000 windows-misc-20040803 Increase max chunksize to 128K from 32K. Windows uses 64K SMB writes. The large chunksize helps reduce the overlapped write to afs issue. Increase number of server threads from 4 to 25. Also helps to aleviate the symptoms of the overlapped write to afs issue. I can now write files as large as 80MB. 120MB files still fail. Export pr_CreateUser and pr_SNameToId from afsauthent.lib in order to allow aklog.exe to use them to determine if a new pts uid should be created for a user when accessing a foreign cell. Modify pioctl to output a message to stderr if a Downgrade Detection error has been returned when attempting to open the __IOCTL__ file. Increase version number to 1.3.6601 Use HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer:Logon User Name to determine the current user name for the afscreds.exe display Do not allow submount names to have forward or backward slashes Add debug info to cm_ioctl to track token addition and deletion Add register new user code to aklog.exe from KenH's AFS kit Correct test in cm_callback.c for freelance root.afs volume which should not have been applied when freelance was not active. commit 268b92917024bab8321b347275afe32ff8e0e5cc Author: Jim Rees Date: Tue Aug 3 15:45:49 2004 +0000 fix-lwp-includes-again-20040803 Fix lwp includes AGAIN. commit acfafa740df96b71989383fd24191d1ef03cb6d1 Author: Jeffrey Altman Date: Sun Aug 1 01:20:34 2004 +0000 submount-20040731 Change "Description" field to "Submount" commit 4a4c214cbcbf65e2028a57e36fe774eb3cf23192 Author: Jeffrey Altman Date: Sun Aug 1 01:19:08 2004 +0000 osi-save-strings-20040731 Increase the save string length to 128 from 30 in order to be able to handle principal names, paths, etc. commit 16e5767cc91e62721ce8c14ba6180efb9f404b97 Author: Jeffrey Altman Date: Sun Aug 1 01:16:37 2004 +0000 misc-windows-20040731 Move most log entries to the osi trace log from the afsd_init.log Add log entries to help diagnose the lost callback problem Fix a variety of type errors in header files and casts More fixes for cm_Analyze. Do not allow a retry to be performed if the timeLeft on the call has expired. Forcing a retry resets the timeout period causing the call to never expire. The side effect is that the SMB sessions never close. When the Windows SMB client times out it will create a new session at a rate of one per 66 seconds. This causes the SMB session limit to be exceeded and we panic. Modify the SMB Session limit to be four less then the number of SMB NCBs. This is because the server itself uses 4 NCBs which are not associated with sessions. commit 6eaeb762448b0887cd3319bbd4cdb242838bc3b2 Author: Jeffrey Altman Date: Fri Jul 30 21:02:57 2004 +0000 server-list-and-volume-updates-20040730 As discovered previously, the cm_serverRef_t objects were not reference counted. This resulted in the objects being freed while they were still in use. This patch adds reference counting to the cm_serverRef_t objects which are locked using the cm_serverLock. Once the reference counting was fixed it became immediately obvious that cm_VolumeUpdates could not succeed in altering the state of a server list from ALLOFFLINE to NOTBUSY. cm_VolumeUpdate calls cm_Analyze without a fid_t object which was required to obtain the server list for the affected volume. Of course, cm_VolumeUpdate has a pointer to the volume so cm_Analyze was updated to take an optional pointer to a cm_serverRef_t which avoids the need for the fid_t object. commit 24411ebbd7a2644225b60b83c1fb36912fb34145 Author: Jeffrey Altman Date: Fri Jul 30 05:04:27 2004 +0000 get-server-list-20040729 Undo the previous patch. the server list can't be cloned. instead we will have to refCount the cm_serverRef_t objects. This is going to be a lot of work. To be continued ... commit e5453d2814a45978d291133e3e0799c27ed1361c Author: Rainer Schöpf Date: Thu Jul 29 22:29:18 2004 +0000 linux26-dont-lose-afs-smp-status-20040729 this should be fixed better later, but for now we'll go with this commit 9c5895b8c124a307fb2f7c939fdf7d62901d1bba Author: Chaskiel M Grundman Date: Thu Jul 29 19:51:20 2004 +0000 vos-shadow-print-status-correctly-20040729 we were printing that volumes were shadowed to partition partition instead of server partition commit 333d836050361ae3a7423da9e270784db378bdf0 Author: Jeffrey Altman Date: Thu Jul 29 17:55:01 2004 +0000 aklog-20040729 Fix afs_realm_of_cell5() to validate the return value of krb5_get_host_realm commit 20cfcb0aea5aedc63fcb2695d540ed28c5cf899d Author: Jeffrey Altman Date: Thu Jul 29 15:38:57 2004 +0000 nonpersistentcaching-20040729 document new value commit 46bafc8a620ba956f057b47a32287a87a857e407 Author: Asanka Herath Date: Thu Jul 29 15:34:21 2004 +0000 virtual-cache-file-20040729 This is a variation of Joe Buehler's request. New registry key "NonPersistentCache" places the cache file into the Windows paging file. One limitation of doing so is that the page file cannot be grown with "fs setcachesize" and the associated ioctl. commit 924fb5f5b96e4288a70bf64deee37886f78e2d38 Author: Asanka Herath Date: Thu Jul 29 14:53:35 2004 +0000 server-ref-list-20040729 There was a race condition where between a thread calling cm_GetServerList and using the returned server list, another thread could free the server list. Now cm_GetServerList duplicates the server list with proper locks held. Callers of cm_GetServerList call cm_FreeServerList to free the returned list. commit 2395eb60757025a47b5d729948baf1951cc4467a Author: Derrick Brashear Date: Thu Jul 29 05:29:33 2004 +0000 afsmonitor-update-stat-descriptions-20040729 FIXES 5952 correct list of available stats commit d6df153cead8ecd26645320a05576a4636947c66 Author: Alf Wachsmann Date: Thu Jul 29 05:20:52 2004 +0000 afsmonitor-results-fix-20040729 FIXES 5929 use the correct variable when converting result sto ascii commit 276d7351122263a76ce0122e36b8218569480e2f Author: Alf Wachsmann Date: Thu Jul 29 05:17:02 2004 +0000 afsmonitor-document-usage-20040729 FIXES 5931 update the docs to reflect the usage correctly commit 9e6977f39e04f9700b1923f7167331f59cb711ae Author: Alf Wachsmann Date: Thu Jul 29 05:09:18 2004 +0000 afsmonitor-remove-pointless-if-20040729 FIXES 5933 an if in an else which will always trigger is dumb commit 5ece0001b8bf4de2c6e3b7afc435f322e887cad5 Author: Alf Wachsmann Date: Thu Jul 29 05:03:31 2004 +0000 afsmonitor-document-stat-entries-correctly-20040729 FIXES 5934 NUM_CM_STAT_ENTRIES should match the docs commit 0bc9af9ed91689ef8a9e0c631b927f1674195a35 Author: Jeff Mahoney Date: Thu Jul 29 04:57:03 2004 +0000 makefileproto-configer-cleanup-20040728 make config tool for MakefileProto processing able to deal with e.g. "linux26" for all linux 2.6 platforms commit b1289615e1737536769ca7e1a83434b140102c7b Author: Alf Wachsmann Date: Thu Jul 29 04:53:27 2004 +0000 afsmonitor-categories-correction-20040728 FIXES 5951 wrong number of categeories defined. oops. commit 21592fe61aac073eca6807dec1b294b475735cfa Author: Kris Van Hees Date: Thu Jul 29 04:44:08 2004 +0000 volser-restore-timestamp-cleanup-20040728 FIXES 5926 This patch solves the problem of how timestamps are handled by during a 'vos restore' by allowing the specification of there the creation and last updated timestamps are taken from: - generate a new one using the current time - retain the one in the target volume if there is one - restore the timestamp from the dump file This is needed to allow sequences of restoring incremental dumps on top of full dump work, and to ensure that a subsequent vos release can do a real incremental release for the restored incremental dumps. It also fixes the fact that the vos exa command hides potential problems with timestamps by refusing to display a last updated timestamp that is older than the creation timestamp. commit 08a623793fa7e9fc5c4428f5b575eded9b40e6bd Author: Phil Holland Date: Thu Jul 29 04:36:53 2004 +0000 darwin-rc-script-update-20040728 FIXES 6027 update rc script to support stopping afs commit 9728182c00db80f61aa78e225ecaffcc4df7615c Author: Phil Holland Date: Thu Jul 29 04:32:56 2004 +0000 darwin-afsdb-handler-signal-mask-20040728 FIXES 6027 mask signals on darwin so afsdb handler doesn't die commit f01257a2042a4c39186b4f417f71b6024beaf61e Author: Rainer Schöpf Date: Thu Jul 29 04:18:07 2004 +0000 afs-dont-shutdown-if-not-started-20040728 FIXES 6001 if the module is loaded, but afsd hasn't been started, don't allow a shutdown. commit 4054aec72b4cfd922a044d73bf92f73374219638 Author: Kris Van Hees Date: Thu Jul 29 04:13:37 2004 +0000 afs-suser-consistent-20040728 FIXES 6034 always call afs_suser() with one arg. always take one. commit e5e7801db895b1e57ff99fb59371aee47ac33b9c Author: Rainer Schöpf Date: Thu Jul 29 04:08:48 2004 +0000 linux-null-superblock-if-mount-failed-20040728 FIXES 6002 The appended patch resets afs_globalVFS to NULL if /afs cannot be mounted, eg., if no cell server is accessible. There are two advantages: - it is possible to do "afsd -shutdown" to terminate all daemons - more importantly, if /afs cannot be mounted, the linux kernel will probably free the superblock, ie the memory pointed to afs_globalVFS. commit 563894500fa0a108aeec400077b57b062b7db96c Author: Derrick Brashear Date: Thu Jul 29 03:46:48 2004 +0000 rx-provide-binding-version-of-init-20040728 i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets ==================== 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. ==================== i should be dragged away and beaten for this ==================== i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets ==================== i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets ==================== i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets ==================== i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets ==================== i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets ==================== i should be dragged away and beaten for this first pass at interface to allow bound Rx sockets commit 5dc0642264fd97ab255ff5b15c08a172eb25f831 Author: Derrick Brashear Date: Wed Jul 28 22:49:18 2004 +0000 fssync-more-offline-volumes-20040728 just let the offline volumes array be larger commit 40d54d5dd1c64564410f9efa8806b97e952a00ca Author: Jeffrey Hutzelman Date: Wed Jul 28 21:59:58 2004 +0000 lwp-track-qwaiting-second-try-20040728 FIXES 5616 track qwaiting lwps rather than potentially leaking them commit b20129a33794c2c1b28852cb2e6af51eb2e9e06d Author: Jeffrey Altman Date: Wed Jul 28 04:54:19 2004 +0000 unc-paths-current-directory-20040727 fix the handling of unc paths in pioctl calls when the current directory is the unc path. (not likely to be the case with cmd.exe since it does not support pure unc path environments. 4nt.exe shows the problem though.) commit 49fb21afc5a9c0f5d5568d93167b6d8561ba78a5 Author: Jeremy Mika Date: Tue Jul 27 17:24:40 2004 +0000 fbsd53-20040727 FreeBSD 5.3 has an extra thread arg to vflush() commit 58069bf38068b559e10460b0d6c814d0cd7c96ad Author: Jim Rees Date: Tue Jul 27 15:39:31 2004 +0000 bsd-new-releases-20040727 Preliminary support for FreeBSD 5.3 and OpenBSD 3.6. OpenBSD osi_vnodeops.c patch from brent@graveland.net (slightly modified) Remove obsolete src/lwp/process.fbsd.s to prevent further confusion commit 22fbf94fcd6a3be86f197b26ffdcd5891fd91906 Author: Asanka Herath Date: Tue Jul 27 14:32:38 2004 +0000 msi-deployment-guide-20040727 a guide to making organization specific modifications to the msi installer commit 71530bc5c0e6cfffc5d18f1766d6cada9e608b5f Author: Tommie Gannert Date: Tue Jul 27 14:23:11 2004 +0000 registry-txt-20040727 Remove duplicate entries commit 93a9087c5c2876ed8f4718cced27c82b9e1b51e9 Author: Jeffrey Altman Date: Tue Jul 27 22:34:46 2004 +0000 freelance-rw-20040727 Fix cm_Lookup to properly set the rw flag when adding Freelance mount points based on whether the filename begins with a '.' Fix cm_FreelanceAddMount to set the cellname to the cellname without the '.' when rw mode is used and a cellname is not provided. commit b02dabd24edd97a44f5f27ca5116e47588981660 Author: Jeffrey Altman Date: Tue Jul 27 00:24:09 2004 +0000 winnotes-20040726 Updates for 1.3.66 commit 92076d87491618f3194da528d8d824d3888dad95 Author: Asanka Herath Date: Tue Jul 27 00:22:20 2004 +0000 afsd-20040726 Prevent a TID allocated for IPC from being used for anything other than RAP. Implement NetServerGetInfo instead of returning an error. When looking for shares, go through root.afs first before trying to add a mount point. commit 3c402009821570b840641be6afe261f1187f0da3 Author: Jeffrey Altman Date: Tue Jul 27 00:14:42 2004 +0000 afslogon-20040726 Only display the "Integrated Login failed" message box if Integrated Login is in fact being used. commit 06634de3494db97c182b3452e1f7a9b70e608606 Author: Jeffrey Altman Date: Tue Jul 27 00:01:31 2004 +0000 afsconfig-dns-cells-20040726 Another annoying bug. afs_config.exe now validates cell names against DNS in addition to the CellServDB file. commit 7ab88f29eae461f7e6aee819e2e6885921a173f2 Author: Jeffrey Altman Date: Mon Jul 26 21:40:23 2004 +0000 misc-patches-20040726 Update .cvsignore files for 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. ==================== cleanup uninitialized variables ==================== more dlls to be replaced ==================== When determining the full path of a UNC path, strip the server and share names commit 1d4e40b3604daec3d1cba3f2f4b473d6dc7fd2f4 Author: Jeffrey Altman Date: Mon Jul 26 20:08:42 2004 +0000 freelance-cellid-20040726 Replace Freelance cellid constant 0x1 with a #define and set its value to 0xFFFFFFFF to avoid collisions with the root.cell volumes on remote cells. commit 0b41cf16f003a9d60a6fbf3941d6de94e9243195 Author: Jeffrey Altman Date: Mon Jul 26 03:48:47 2004 +0000 novolume-20040725 if we are going to return CM_ERROR_NOSUCHVOLUME do it whenever the server list is empty. If the server list is empty, allDown and allBusy will always be set but there is nothing we can do. commit 0dbdc359dfbcf794303b398f00692b914c5f0f6b Author: Jeffrey Altman Date: Sun Jul 25 22:47:20 2004 +0000 version-update-20040725 Update version to 1.3.66 commit c281138620a634e805f86b29d6dd58fdc4dcb286 Author: Jeffrey Altman Date: Sun Jul 25 22:45:19 2004 +0000 kfw-2-6-4-20040725 Update KFW SDK to 2.6.4 commit 3a89df255ce6de5b7bf4473931e9cdfe5b059156 Author: Jeffrey Altman Date: Sun Jul 25 21:53:09 2004 +0000 small-tweaks-20040725 * update winnotes * add osi trace log entries to help diagnose issues with overlapped writes from CIFS client * fix osi trace log entries for freelance add mount to use osi_SaveLogString * fix afscreds "Start Service" to automatically obtain tokens if kerberos tickets are available * update afscreds systray menu to use "..." after Remove Icon * remove extra "." in wix installer resource commit 1a711beba6e8e0ea402a5c85f58263fe508eab3d Author: Jeffrey Altman Date: Sat Jul 24 19:59:32 2004 +0000 force-vol-upd-20040724 Change cm_ForceUpdateVolume to not try to perform an immediate update. Just set the CM_VOLUMEFLAG_RESET flag. Calling cm_UpdateVolume calls cm_connByMServers which then calls cm_Analyze which is how we ended up having cm_ForceUpdateVolume called in the first place. commit 6c2eaf58156782c8665d647a33040f17680fd774 Author: Jeffrey Altman Date: Sat Jul 24 16:25:35 2004 +0000 global-drives-20040724 If creating the global drive letter fails, attempt to cancel the previous use and then re-create. commit e73c65900fe5285f9bbff9783d10713b2b9bdd36 Author: Jeffrey Altman Date: Sat Jul 24 09:31:15 2004 +0000 smb-extended-20040724 Don't fallback to SMB_AUTH_NTLM. Apparently, allowing SPNEGO to be used each time prevents the failure of authentication when logged into Windows with an external Kerberos principal mapped to a local account. commit ed8fdaa8e152ed1e607b187b15ae072db30ccfa9 Author: Asanka Herath Date: Sat Jul 24 08:35:04 2004 +0000 wix-updates-20040723 Change default security level to 'crypt'. Add registry key for SMBAuthType. Add configurable property for SMBAuthType. Remove high security mode option from the UI. Workaround UI bug where a text control would redraw twice, once properly, once without interpreting format codes when there are two properties to replace. commit efd0f88ed5a90bff92ab2b3b7ad47c02d704c450 Author: Jeffrey Altman Date: Fri Jul 23 23:58:24 2004 +0000 down-before-busy-20040723 slight correction to previous patch. check allDown before checking allBusy commit 74197f04f373758368dcc99a86260d62e55625ac Author: Jeffrey Altman Date: Fri Jul 23 23:25:23 2004 +0000 install-notes-20040723 Update the install notes to describe conflicts between SMB Authentication and Windows machines configured with non-Windows Kerberos authentication used to map to local accounts. ==================== 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. ==================== More updates to smb auth vs external kerberos login commit 56f82397c60ce968f7d02c9bba22bc6489f7e162 Author: Derrick Brashear Date: Fri Jul 23 23:06:22 2004 +0000 linux-null-out-stat-struct-20040723 FIXES 3812 we should memset this to 0. we should also only do it once for linux 2.2. code is slightly different in the cvs head. commit d4b14b4e947b44c8e167c81d07554ca52bc814ff Author: Jeffrey Altman Date: Fri Jul 23 22:55:23 2004 +0000 allserversdown-20040723 When all servers associated with a volume get into the CM_SERVERFLAG_DOWN state, the error CM_ERROR_ALLOFFLINE would be returned by cm_ConnByMServers. cm_Analyze was then supposed to be pausing for 5 seconds and then reset the volume information. Unfortunately, although it called cm_ForceUpdateVolume, cm_ForceUpdateVolume does not reset the CM_SERVERFLAG_DOWN state on the servers. Therefore, when cm_ForceUpdateVolume calls cm_ConnByMServers it would be given a CM_ERROR_ALLOFFLINE. In other words, there was no way out of the state. cm_Analyze will now reset the CM_SERVERFLAG_DOWN as well as setting the server status to not_busy after its 5 second wait. This will allow cm_ForceUpdateVolume to actually reset the volume information, and refresh it if servers for the volume are newly accessible. Also, added some missing locking calls in cm_Analyze. In cm_ConnByMServers, change the error reporting to return CM_ERROR_ALLBUSY only when all servers are busy or down; return CM_ERROR_ALLOFFLINE when all servers are down; and only return CM_ERROR_NOSUCHVOLUME if the server list for the volume is empty. In all other cases return CM_ERROR_TIMEDOUT. commit f84f7306a3bfe143fba59294429af3ba1598222d Author: Jeffrey Altman Date: Fri Jul 23 00:21:06 2004 +0000 afslogon-domain-20040722 Fix null reference to bstr when active directory is not available during a short domain acquisition commit 7da4cd1adc8ce09effe52071691d5bafa32371f2 Author: Jeffrey Altman Date: Thu Jul 22 23:41:27 2004 +0000 prototypes-20040723 fix prototype for afs_realm_of_cell commit 1a5fbdb9432add6f5acad22d7ee787d567c00fca Author: Jeffrey Altman Date: Thu Jul 22 23:15:37 2004 +0000 afslogon-20040722 the procedure used to obtain the profile directory failed in Domains which were not Forests. If ADS_NAME_INITTYPE_GC fails, we must try ADS_NAME_INITTYPE_DOMAIN which requires the Domain. Added a Domain parameter to QueryAdHomePathFromSid. This was easy to obtain in the NPLogonNotify since the logon domain is provided as a parameter. Unfortunately, the domain provided to the winlogon event notification routine is the user authentication domain, not the logon domain for the local machine. Needed to create a GetLocalShortDomain function which uses the IADsADSystemInfo COM interface to obtain the local short domain. With this in place, we can now properly detect the profile directory in all cases. Document MaxLogSize in registry.txt commit d538abeb1b03b4a77d18aa17e13ac8347f4df336 Author: Jeffrey Altman Date: Thu Jul 22 10:42:40 2004 +0000 misc-cleanup-20040721 pass the correct data type into afssw_GetClientCellServDBDir commit 2743691b770268ba0584369aa960ef2f656759b4 Author: Jeffrey Altman Date: Thu Jul 22 10:23:52 2004 +0000 misc-cleanups-20040721 * Cleanup debug logging. In particular, allow the TraceOptions registry value to be used as a bit flag as it was intended. Give each type of debugging its own value instead of having each module test for the zero bit. * Modify the handling of the afsd_init.log file. This file originally was replaced on each start. However, with auto-restart this causes any error information from the previous halt to be lost. So it was changed quite a while back to append forever. The problem with this is that the file gets unreasonably large. Solution: add a new registry value, MaxLogSize, which determins how large the file should be allowed to become before truncation. The default is 100K. The magic value 0 means grow indefinitely. * Update afslogon.dll. Cleanup logging. Fix some errors. Remove unused variables. AND do not Forget Tokens on Logoff if the profile is located in AFS space. * Fix a bug introduced yesterday in cellconfig.c which caused problems accessing the CellServDB file * Update the NSIS installer to replace the CRTL DLLs instead of overwrite them. * Add new Startup Winlogon handler to initialize the TraceOption. commit efce9b6f2994bb1e0a9f28f059e9733fb0d964fb Author: Derrick Brashear Date: Wed Jul 21 23:23:38 2004 +0000 fstrace-avoid-double-glock-in-dentry-code-during-fstrace-20040719 fstracing on a linux machine and trying to fs flush a file in the cache would trigger a hang on a machine with SMP kernel. fix it. ==================== 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. ==================== fstracing on a linux machine and trying to fs flush a file in the cache would tr igger a hang on a machine with SMP kernel. fix it. commit 9bc1b6a7b9f09922d2a097b36e4e5f8d763eaece Author: Jeffrey Altman Date: Wed Jul 21 22:41:33 2004 +0000 trace-logging-20040721 TraceLogging is supposed to be activated for different purposes with bit flags. The osi log and afslogon both used the same bit flag. Bit 0 is now for afslogon; and Bit 1 is for osi log. commit 0e64553af6333305fbd227635a1800c476539b48 Author: Jeffrey Altman Date: Wed Jul 21 17:08:28 2004 +0000 cifs-rap-20040721 Fix smb_ReceiveRAPNetShareEnum to report the correct buffer size to the client commit b0920fe9c2cfbb314146c7a9941aec3cc20b96c8 Author: Jeffrey Altman Date: Wed Jul 21 15:05:59 2004 +0000 registry-docs-logoff-20040721 * Update Windows Notes files * Modify logoff procedure to use a pioctl to check if an arbitrary path exists within AFS * Add a new registry value HKLM\Software\OpenAFS\Client CellServDBDir which can be used to locate the CellServDB file in an arbitrary directory commit feb3e7641257afd050f1dc6b11d5a7fc09f58a30 Author: Jeffrey Altman Date: Wed Jul 21 06:27:44 2004 +0000 afslogon-20040720 Do not release the AFS Tokens at logoff if the user's profile was loaded from AFS. In this case we must keep the AFS tokens because we have no idea how long writing back the profile might take. commit 8517719bc83406e966b472067c43156db5b5da5d Author: Asanka Herath Date: Wed Jul 21 05:43:07 2004 +0000 smb-rap-20040720 Add CIFS RAP support to the SMB server. This allows AFS to be queried with NetGetShareInfo, NetGetServerInfo, etc. This allows the AFS SMB server to be browsed using NET VIEW. commit 3ed447174447e7d423f28dddb9244a2465ed28b4 Author: Jeffrey Altman Date: Tue Jul 20 16:51:07 2004 +0000 user-auth-cell-20040720 remember to return the authentication cell name if found commit fd8e75df5ef3dd503a31c75c952655ecd50213c4 Author: Jeffrey Altman Date: Tue Jul 20 16:48:18 2004 +0000 submounts-20040720 Fix afsshare.c to strip the MountRoot off the afs-path before inserting into the registry Fix smb.c to read the submounts out of the registry. ==================== 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. ==================== fix submount extraction from registry commit aa9dff3b1b5d3a483862773a211395a8d02566ce Author: Jeffrey Altman Date: Tue Jul 20 06:16:35 2004 +0000 afsshare-20040719 correct off by one error commit 25ec4c8140f765d5d25874947a12cc193ac2f88d Author: Jeffrey Altman Date: Mon Jul 19 23:40:12 2004 +0000 ioctl-freelance-20040719 Do not perform a Cell Search when the name matches the SMB IOCTL filename. This is a special name and is not to be treated as a cell. The failure to find the name produces DNS queries as well as disk access. commit 32ee04d17d1709050b567494cb115ec0a4a6b3e0 Author: Derrick Brashear Date: Mon Jul 19 16:25:16 2004 +0000 pthread-ft-approxtime-is-time-20040719 for tvolser most code paths simply never result in time being updated. seems dangerous. commit f02a7996b96c646df6d210347e26a501a136b44d Author: Jeffrey Altman Date: Mon Jul 19 15:39:38 2004 +0000 win32-fd_set-20040719 Make sure that we do not alter the FD_SETSIZE on Windows. On Windows this is an array of FD_SETSIZE. FD_SETSIZE does not define the maximum socket handle value. commit 60446a8ffe48e9ab93bb8657f7fe29010c1ebfda Author: Asanka Herath Date: Fri Jul 16 05:49:26 2004 +0000 registry-20040715 Description of new afslogon functionality commit 7930ab49288141d4ebbe6bd58c8841f817891ed7 Author: Asanka Herath Date: Fri Jul 16 05:40:54 2004 +0000 strsafe-20040715 String Safety fixes commit 9a8b4bbd934d4490f3bc9df127d1ce3e1ae67268 Author: Jeffrey Altman Date: Fri Jul 16 04:56:46 2004 +0000 ntmakefile-20040715 Updated makefiles to avoid macro redefinitions and add new files to src/WINNT/afsd commit 01e6e22c15c646931c63e2595f063a8e3822c1b4 Author: Asanka Herath Date: Fri Jul 16 04:48:22 2004 +0000 afslogon-20040715 New file for AD logon processing routines. commit fe991aa74f9c289a36f6ecae7e74bb42c2b178c6 Author: Jeffrey Altman Date: Fri Jul 16 04:38:25 2004 +0000 afslogon-wix-cleanup-20040715 - Fix NTMakefiles in many directories to define WIN32_LEAN_AND_MEAN NOGDI to avoid macro redefinitions - update text files - add "authentication cell" registry value for afscreds.exe From asanka@mit.edu: Network provider : - If the user is logging into an AD domain, then look up the user's profile path, find out which cell it's in and then authenticate to that cell instead of the default cell. - Domain specific registry keys - A few fixes for handling UNICODE_STRINGs smb3.c : - Delete partial security context during negotiation client_cpa : - As per the SDK which says we must handle CPL_INQUIRE message, we do. Also fixes a small bug where the icon isn't properly set when viewing the Control Panel folder. loopbackutils.cpp - Don't bother setting the app data template, because we are setting it in the MSI anyway. install/wix/NTMakefile - Add a configurable symbol AFSDEV_AUXWIXDEFINES which can be used to customize a build of the msi. install/wix - Move afslogon.dll to SYSTEM32 directory - Add registry keys to support WinLogon notifications. - Rename afsdcell.ini to CellServDB and move it to the client directory. - If there's already an afsdcell.ini in the Windows directory, copy that over to the client directory instead. - Add descriptions to AFS client and server services commit 8063c68dc8a57447cac39444197511d21257ea88 Author: Jeffrey Altman Date: Thu Jul 15 17:26:35 2004 +0000 winnotes-20040715 Update Windows note files with the latest changes. commit aeae9c030125ab14b1a465b667d43d5984ef8236 Author: Jeffrey Altman Date: Thu Jul 15 07:53:12 2004 +0000 nsis-installer-20040714 Move afs_cpa.cpl control panel to the OpenAFS\Client\Program directory and register it in the registry via the HKLM\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cpls\ key. commit f63ba24b48cab6484ba37e58564b3b42a612437e Author: Jeffrey Altman Date: Thu Jul 15 06:24:22 2004 +0000 nsis-20040714 Rename afsdcell.ini to CellServDB Add Winlogon Event Notification support Move afslogon.dll to %WINDIR%\System32 commit 671792a8d2ffc68153d812d4b2a9078f287c7f55 Author: Jeffrey Altman Date: Thu Jul 15 06:22:14 2004 +0000 cellservdb-20040714 Search for the CellServDB in the OpenAFS client install directory not in the %WINDIR% directory commit 674afe86c0ffbc808803127564a744ee59311737 Author: Jeffrey Altman Date: Thu Jul 15 06:20:33 2004 +0000 afslogon-20040714 Add a Winlogon Event Notification handler to afslogon.dll to process Logoff events. Upon Logoff call ktc_ForgetAllTokens() on behalf of the logged off user. Fix a filename wildcard matching error introduced a few versions back. commit 7aca33e6ebeafc96af8e62a99fea9b9bfae8bf25 Author: Jeffrey Altman Date: Wed Jul 14 07:34:09 2004 +0000 incorrect-level-of-indirection-20040713 When freeing a server_t, do not indirect to GC the connections commit 59d81d9d24f8bc1fecdab7cd7661f1145fb10066 Author: Asanka Herath Date: Wed Jul 14 07:12:20 2004 +0000 xp-sp2-icf-20040713 Windows XP SP2 adds a firewall which blocks all incoming ports by default. This patch adds support to the AFS Client Service (but not the AFS Server) to automatically open the firewall to ports in use by the application. One of the new requirements of this functionality is the use of the latest Platform SDK "Microsoft Platform SDK for Windows XP SP2". ==================== 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. ==================== For the XP SP2 SDK both the Core and Data Access SDKs are required commit ccea80c085da5671a0b7228eec9f67ddb92ffe77 Author: Hans-Gunther Borrmann Date: Wed Jul 14 05:46:48 2004 +0000 butc-xbsa-20040714 FIXES 5827 update for xbsa 5 commit 4f13d9daa981d1c55c19a1606a5f0638846ffe88 Author: Chas Williams Date: Wed Jul 14 05:34:46 2004 +0000 glock-kernel-lock-ordering-20040714 FIXES 5836 make lock order consistent some routines have kernel lock held when entered, so... commit b7b62574fdf64e5d6aa4e3dd932bafc59685f5c0 Author: Chas Williams Date: Wed Jul 14 05:21:54 2004 +0000 fix-fstrace-for-linux-20040714 FIXES 5835 don't deadlock when flushing dcache children commit 4aba717d6404cad38583e96eb38227f542dad430 Author: Chas Williams Date: Wed Jul 14 05:14:31 2004 +0000 linux-free-dont-drop-alloc-sem-20040714 FIXES 5831 dropping semaphore not needed, so don't commit f70a694a15c7ce6d042506e9b8af5323056faeda Author: Christoph Becker-Freyseng Date: Wed Jul 14 05:08:06 2004 +0000 linux24-update-20040713 FIXES 5713 make getgroups compile deal with afs_suser(x) and afs_suser() commit 8e3383a9eacb39a0e90eaabf5c78679c720f8e39 Author: Jeffrey Altman Date: Wed Jul 14 04:28:36 2004 +0000 no-more-ini-files-20040713 Get rid of all %WINDIR% INI files afs_freelance.ini moved to the HKLM hive SOFTWARE\OpenAFS\Client\Freelance afsdcell.ini moved to the Openafs Client install directory and renamed to CellServDB to match Unix and the Openafs Server. afsdsbmt.ini moved to the registry. Submounts are moved to HKLM hive SOFTWARE\OpenAFS\Client\Submounts. Active Maps and Drive Mappings are moved to the HKCU hive SOFTWARE\OpenAFS\Client\Active Maps and Mappings. CSCPolicy is moved to HKCU hive. afsdns.ini is no longer used. NSIS installer updated to migrate the afsdcell.ini to CellServDB The cm_freelance.ini module has been modified to migrate the afs_freelance.ini data to the registry on first execution. The afsdsbmt.ini file data is not currently being migrated. commit f2235b4832f9745608cde593daa22fcf79070220 Author: Jeffrey Altman Date: Tue Jul 13 14:09:16 2004 +0000 migrate-to-registry-20040713 * NTMakefile: missing commit from SMB AUTH patches * cm_config.c: obtain location of CellServDB from registry [HKLM\SOFTWARE\OpenAFS\Client] "CellServDB"=reg_sz This will allow us to move from %WINDIR%\afsdcell.ini to C:\Program Files\OpenAFS\Client\CellServDB. This is necessary for compatibility with Terminal Server in which applications are not given access to %WINDIR%. * cm_freelance.c: migrate freelance mount point data from %WINDIR%\afs_freelance.ini to the registry [HKLM\SOFTWARE\OpenAFS\Client\Freelance] Each value, whose name is unimportant, contains one mount point entry. After the first execution of this code, the current data in afs_freelance.ini will be moved to the registry and then all subsequent data access will be performed via the registry. The afs_freelance.ini file will be deleted after the migration has occurred. commit 10e32e99cea35cfe0da7726171fb2343f5e52a35 Author: Jeffrey Altman Date: Tue Jul 13 07:22:53 2004 +0000 ntlm-back-connection-hostnames-20040713 Add function configureBackConnectionHostNames(void) On Windows XP SP2, Windows 2003 SP1, and all future Windows operating systems there is a restriction on the use of SMB authentication on loopback connections. There are two work arounds available: (1) We can disable the check for matching host names. This does not require a reboot: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] "DisableLoopbackCheck"=dword:00000001 (2) We can add the AFS SMB/CIFS service name to an approved list. This does require a reboot: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0] "BackConnectionHostNames"=multi-sz The algorithm will be: Check to see if cm_NetbiosName exists in the BackConnectionHostNames list If not, add it to the list. (This will not take effect until the next reboot.) and check to see if DisableLoopbackCheck is set. If not set, set the DisableLoopbackCheck value to 0x1 and create HKLM\SOFTWARE\OpenAFS\Client UnsetDisableLoopbackCheck else If cm_NetbiosName exists in the BackConnectionHostNames list, check for the UnsetDisableLoopbackCheck value. If set, set the DisableLoopbackCheck flag to 0x0 and delete the UnsetDisableLoopbackCheck value commit 229051032dbf6a56e99fa3231990df6c61b6fa9b Author: Derrick Brashear Date: Tue Jul 13 07:08:32 2004 +0000 admin-doc-sysname-20040713 FIXES 4054 update docs to reflect sys being static. commit 320ddefc691b71ba4bf29a91ced8e55028f9bfb6 Author: Hans-Gunther Borrmann Date: Tue Jul 13 06:52:44 2004 +0000 butc-xbsa-20040713 FIXES 5761 update for butc xbsa support commit 4bd03a76c55b6f90f82a3625207ed31be375bcf8 Author: Rainer Schöpf Date: Tue Jul 13 06:49:54 2004 +0000 kdump-linux-26-20040713 FIXES 5814 update kdump for linux 2.6 commit 3791318ca4faa230dc32304c055896661fc24fa5 Author: Rainer Schöpf Date: Tue Jul 13 06:45:14 2004 +0000 afs-cold-shutdown-20040713 FIXES 5768 use correct syscall parm for cold shutdown commit d03840f85c698a39483b225133898a36d57dce2e Author: Jeffrey Altman Date: Sun Jul 11 22:22:57 2004 +0000 smb-auth-20040711 Over last several years significant efforts have been made to work around the inability to protect user tokens from use by inappropriate entities. The tokens are associated with a given userid and session by a combination of an SMB based ioctl and an authenticated/encrypted RPC. This has opened the door for tokens to be borrowed by other users if they could connect to the same SMB server with the identical userid. This was trivially possible because the SMB connections were unauthenticated. This patch adds two forms of authenticated SMB connections: NTLM and Extended Security (aka GSS SPNEGO). By default Extended Security mode is used. This patch has been tested on 2000 workstation, 2000 server, XP SP1, and 2003 Server, and XP SP2 RC2. The Extended Security works on all platforms except for XP SP2 RC2 regards of whether or not the machine is part of a domain or not; and whether or not a local or domain account is used. On XP SP2 RC2, attempts to use negotiate Extended Security result in a Logon Denied error from AcceptSecurityContext() and a substatus code of 0x7C90486A is logged to the Security Event log via the NTLM SSP. The SMB AUTH NTLM mode succeeds on XP SP2 RC2. Disabling SMB Authentication or specifying the use of NTLM mode may be done via the registry. Value : smbAuthType Type : DWORD {0..2} Default : 2 If this value is specified, it defines the type of SMB authentication which must be present in order for the Windows SMB client to connect to the AFS Client Service's SMB server. The values are: 0 = No authentication required 1 = NTLM authentication required 2 = Extended (GSS SPNEGO) authentication required The default is Extended authentication commit 5489c6c955748d43c942009b7b93f0704607f80f Author: Jeffrey Altman Date: Sun Jul 11 21:56:27 2004 +0000 unicode-strings-20040711 UNICODE_STRING buffers are measured by their length field; do not assume they are nul terminated commit ec5b34b8fc1d0871c9a4a7ca62161ae1429fd45f Author: Jeffrey Altman Date: Thu Jul 8 15:45:58 2004 +0000 winnotes-registry-20040708 Add descriptions of Global Drive Mappings; MaxCPUs, and Environment Variables commit 3f337727bc68794db172b5d5163e96938d917f89 Author: Jeffrey Altman Date: Thu Jul 8 14:25:40 2004 +0000 aklog-uninitialized-variable-20040708 make sure that the krb5_context is initialized to 0. Otherwise, we might try to free it. commit f328d29f96f1db187bf6e0080491c4372d07391a Author: Jeffrey Altman Date: Thu Jul 8 14:24:00 2004 +0000 local-rpc-20040708 change the default RPC type from "ncacn_np" to "ncalrpc" This says to use local rpc instead of named pipes from the client to the server. Named pipes can still be used by specifying the "AFS_RPC_PROTSEQ" environment variable. commit 3fb32a2561e3171761e7b434cde1da4d37b2aef2 Author: Love Hörnquist-Åstrand Date: Thu Jul 8 06:35:26 2004 +0000 openafs-for-arla-20040708 FIXES 5490 allow use of openafs binaries with arla's linux 2.6 support commit fa82c5e6a9a6eadd97588b6b2e028fe0595bb375 Author: Kris Van Hees Date: Thu Jul 8 06:23:53 2004 +0000 solaris10-20040624 FIXES 5396 as substantially done by Jeff Woodward , work diffed out and slightly rewritten ==================== 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. ==================== FIXES 5396 this should be the correct way to give up the socket on all solaris versions commit 775933e89544da31c0cf22cd0937614f5616c50e Author: Jeffrey Hutzelman Date: Thu Jul 8 06:16:55 2004 +0000 rx-lwp-fdsetsize-20040708 FIXES 5615 limit our fd set size so we don't "lose" fds. commit c4b6351fc56fe853b0cc97a2e6c6c68ce68f251f Author: Jeffrey Hutzelman Date: Thu Jul 8 06:11:34 2004 +0000 lwp-track-qwaiting-20040708 FIXES 5616 track qwaiting lwps rather than potentially leaking them commit 85a973a7b997b66d009e46c8b4116c00e1182b3c Author: Rainer Schöpf Date: Thu Jul 8 05:52:38 2004 +0000 afsd-bitch-about-xfs-not-about-dir-for-memcache-20040708 FIXES 5728 make afsd complain if cache partition is linux don't complain if no cachedir and we're -memcache. commit cccb91291f77ce0c6be0ed4659b43c848938e022 Author: Jeffrey Altman Date: Thu Jul 1 09:00:40 2004 +0000 dns-fix-20040630 Fix the dns portion of cm_GetCell() to prevent against a NULL pointer dereference when the ttl expired. commit a193405623427b9c0de034ebd3f6e982c745853b Author: Jeffrey Altman Date: Mon Jun 28 17:33:20 2004 +0000 afscreds-aklog-only-20040626 Modify the Obtain Tokens dialog to allow a blank password if a full principal name is provided. (for aklog only requests) commit d26145606529756389f07c2e518ca841ecbf8d6c Author: Jeffrey Altman Date: Mon Jun 28 17:29:42 2004 +0000 freelance-rw-mounts-20040626 Extend Freelance code to support r/w mount points in the fake root.afs volume commit 7262f41cd15dfe54e8f2bae3212c48ee21815cb9 Author: Jeffrey Altman Date: Mon Jun 28 17:28:38 2004 +0000 afskfw-aklog-only-20040626 If no password is specified, perform aklog only using the provided principal name commit e2149ea3f246c9fa946f781e1a678d71bdba2e50 Author: Jeffrey Altman Date: Fri Jun 25 22:18:44 2004 +0000 maxcpus-20040625 Add documentation on MaxCPUs entry. commit 5f1c38764d4d23587234740d215342e7daf11f87 Author: Jeffrey Altman Date: Fri Jun 25 20:48:44 2004 +0000 hyperthreading-bad-20040625 Give folks an option of running afsd_service.exe on fewer processors than are installed in the machine. A new registry value TransarcAfsDaemon/Parameters MaxCPUs allows a restriction to be applied. Set to 1 to use a single CPU (or hyperthreading instance) The restriction is applied with SetProcessAffinityMask() commit 291f2e2043eae83d0cbbd541ab0dfa76fab0b94c Author: Jeffrey Altman Date: Thu Jun 24 19:57:51 2004 +0000 nsis-default-loopback-ip-20040624 correct the default loopback IP addresses used 10.254.254.253 mask 255.255.255.252 commit 4586c298ae2d44e3a577a1097b394841bf7216ca Author: Jeffrey Altman Date: Thu Jun 24 19:24:14 2004 +0000 windows-install-notes-20040624 A first cut at installation notes for windows. commit 51d766814160caa6ce6af0d08ac96af3c22a095b Author: Kris Van Hees Date: Thu Jun 24 18:38:19 2004 +0000 solaris10-20040624 FIXES 5396 as substantially done by Jeff Woodward , work diffed out and slightly rewritten commit f42cf2a991b9ac37f9525cbdd7afddd02bb4c9b9 Author: Chas Williams Date: Thu Jun 24 18:28:03 2004 +0000 linux-make-lock-unlock-20040624 FIXES 5430 don't double lock the kernel commit c91503f32dc94515ce623428d6da04fabcb83cf6 Author: Derrick Brashear Date: Thu Jun 24 17:56:20 2004 +0000 getce64-cleanup-20040624 get rid of 64bit client & !64bit env case: won't work as is. commit 62c7e9dafc4fd6e6ecfcd552f86d7407fd3b9389 Author: Derrick Brashear Date: Thu Jun 24 17:55:00 2004 +0000 irix-ukernel-define-64bit-env-move-200406024 FIXES 4896 don't include afs_sysnames.h before defining AFS_64BIT_ENV oops commit fa71ea11afba7b727579b8369b60d10f5e8ef0dd Author: Asanka Herath Date: Thu Jun 24 17:28:51 2004 +0000 wix-add-crypt-20040624 1. Add gui option for SecurityLevel. 2. Fix grouping of symbol files. commit ec3b49a1cd0288706dd7518cad36e38df39025da Author: Jeffrey Altman Date: Thu Jun 24 05:51:54 2004 +0000 loopback-20040623 properly set dependencies for NSIS and wix targets to build loopback target ==================== 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. ==================== do not install a second loopback adapter if one is already installed. ==================== 1. Custom actions should not depend on any library that is not in the Windows distribution. Change makefile to link with a static runtime. 2. Add common reporting mechanism to report ActionData messages back to the MSI process during the loopback installation. 3. CoInitializeSecurity can be called only once per process. When running as a custom action DLL under the MSI process we won't be able to successfully call this since the MSI process beats us to it. ==================== Compensate for difference in argument passing in MSI and RunDll32 commit d346e2ed5314ee9b00f31045d56cfb50a29aaaa0 Author: Jeffrey Altman Date: Thu Jun 24 05:16:46 2004 +0000 version-1365-20040623 Version number to 1.3.6500 commit cc0abf8054c1aa51ea63fcacd7081e469422cd6b Author: Asanka Herath Date: Thu Jun 24 05:12:07 2004 +0000 nsis-20040623 Remove obsolete registry entry: TruncateNetbios commit 8dbd908bddee81d10c84740d737b6406bb0e2973 Author: Asanka Herath Date: Thu Jun 24 05:11:02 2004 +0000 wix-20040623 1. We are packaging debug symbols for all builds. In a checked build the default is to install debug symbols while on a free build debug symbols won't be installed unless asked to. 2. Change impersonation level for loopback installation. 3. Change UI to allow for ActionData messages during the long wait while the loopback is installed. 4. Add templates for displaying ActionData. 5. Parameterize language resources. commit 74e6409d65a906cb80f3ca659e56f813a5500531 Author: Derrick Brashear Date: Wed Jun 23 23:25:06 2004 +0000 darwin-updates-20040623 this should be switched to use the freebsd style getnewvnode perhaps it will be commit c7d8ba8371b75504ea541f98e7faba63d515f382 Author: Jeffrey Altman Date: Wed Jun 23 21:22:42 2004 +0000 winnotes-20040623 Updated change list and issues list to reflect the state of the world as of 1.3.65 commit d763078f3a081ff9bf24f94ca9844e4d9b2fc926 Author: Marcus Watts Date: Wed Jun 23 16:01:04 2004 +0000 ptserver-flags-default-switch-20040623 FIXES 5418 allow ptserver flags to be defaulted different per switch commit 4e2c9285f412438efaf42227cef5709153a004f2 Author: Derrick Brashear Date: Wed Jun 23 15:27:35 2004 +0000 prototyping-20040623 i had this laying around, i don't know from when, but i should flush it to cvs commit d344a584239383a4d51b450f41e654d70fc3fc0a Author: Marcus Watts Date: Wed Jun 23 14:45:09 2004 +0000 ptserver-flags-default-switch-20040623 FIXES 5418 allow ptserver flags to be defaulted different per switch commit a8cb8a265067c5e360cb7421d9ecafa43fce30a0 Author: Derrick Brashear Date: Wed Jun 23 14:35:20 2004 +0000 cvsignore-updates-20040621 FIXES 5209 update cvsingore files commit 6b18244984f94e8959455839b3f73d25c87ef450 Author: Jeffrey Altman Date: Wed Jun 23 14:17:22 2004 +0000 loopback-ok-2000-20040623 The afsloopback.dll will configure the LMHOSTS and HOSTS files for "AFS" therefore it is safe to use the loopback adapter on win2000 even though it does not support broadcasts commit 5d7681b5aa5ab9290be007101515a2d258f9bcf1 Author: Jeffrey Altman Date: Wed Jun 23 14:03:30 2004 +0000 use-afsloopback-20040623 Use the new afsloopback.dll in NSIS commit 5d133b13a78f79fc9eb4ba6a3f905b644ab7795e Author: Jeffrey Altman Date: Wed Jun 23 09:30:19 2004 +0000 wix-use-loopback-dll-20040622 alter wix installer to use msi interface to afsloopback.dll instead of instloop.exe commit 50e18fe02468daf94a6d5f851f60543dbf015737 Author: Jeffrey Altman Date: Wed Jun 23 09:12:07 2004 +0000 wix-msi-loopback-20040622 convert wix installer to use msi interface to loopback dll instead of instloop.exe commit be70343e2a5e4d050363c8cad1a1132e43d24a51 Author: Jeffrey Altman Date: Wed Jun 23 08:48:18 2004 +0000 new-loopback-dll-20040622 Construct a new afsloopback.dll which contains the routines for installing, removing, and verifying the existance of a loopback adapter. This dll will be used by both the NSIS and the Wix installers. ==================== 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. ==================== Update the wix installer to use the new version of instloop.exe which uses the new afsloopback.dll commit e0b9d58142e2796f342383143d33a9c58f989413 Author: Asanka Herath Date: Wed Jun 23 04:55:13 2004 +0000 license-mit-20040622 Add MIT's license to their Wix contributions commit f7be9862d956a10e4cf3d85889d1ea91fa0f29be Author: Jeffrey Altman Date: Tue Jun 22 20:00:37 2004 +0000 dword-instead-of-bool-20040622 use DWORD instead of bool for function return types commit 6a035f21605e625e3d07a7f39d7298c40dfdc60b Author: Jeffrey Altman Date: Tue Jun 22 06:04:32 2004 +0000 default-realm-20040621 Set the default build realm to openafs.org commit a4950863fc0528df9f12ba2dafc3ac7329e5d740 Author: Asanka Herath Date: Tue Jun 22 05:00:13 2004 +0000 wix-changes-20040621 1. Fix choice for logon options to include only 'not integrated', 'integrated' and 'integrated with high security'. 2. Add configuration page to select whether or not to run afscreds.exe when logging in and also choose the command line options for afscreds.exe. 3. Assert that all dependencies are satisfied at install time when installing the server component. 4. If running in full UI mode and installing the server component, the user is notified about dependencies and given a choice to review selections or just let the installer add the required components. commit 6ed3d79dbd1183557098755d89dbb414c1ce1b89 Author: Rainer Schöpf Date: Mon Jun 21 22:56:37 2004 +0000 rx-xdr-deal-with-linux26-regparm-20040621 deal with regparm side effects in xdr calls. no clue if this works without regparm yet, that might actually be an issue commit e82999dedffd04e456b943d481a48db427ba6422 Author: Rainer Schöpf Date: Mon Jun 21 22:54:15 2004 +0000 linux26-i-security-20040621 configure test is shadow@dementia.org's fault test for i_security inode field and init if exists commit 1c94ac6950f3943027023cce668b1cf15f8d5b41 Author: Rainer Schöpf Date: Mon Jun 21 22:46:17 2004 +0000 linux-syscall-asmlinkage-20040621 FIXES 5138 deal with asmlinkage for CONFIG_REGPARM, so afs syscall prototype matches declaration commit cebf4da48df4187828f8a26b8ab8443f473a35be Author: Matthew Miller Date: Mon Jun 21 22:40:53 2004 +0000 linux26-vermagic-cleanup-20040621 clean up vermagic to not be defined twice commit b9683ad8508e3640c73f5764aa3095b27dcaf9a3 Author: Robert S Murawski IV Date: Mon Jun 21 22:22:39 2004 +0000 nsis-debug-symbols-20040621 Force Debugging Symbols to on when Debug installer is used commit 9cae2bb1f3a39933a2a1fc4dc292a054288b70db Author: Jeffrey Altman Date: Mon Jun 21 21:13:55 2004 +0000 loopback-installer-fix-20040621 Convert all Loopback installation code to use Unicode always Fix case sensitivity of loopback adapter type comparison commit 827ff40465832184b40d4006a4169f4612f757b6 Author: Kris Van Hees Date: Mon Jun 21 21:06:18 2004 +0000 linux26-selinux-20040621 FIXES 5372 add selinux configure checking, and make sock_create take extra arg if needed commit e1092aa9b560499a48394f35f5f4e8cef7ef0d19 Author: Chas Williams Date: Mon Jun 21 21:01:50 2004 +0000 linux26-cred-cleanup-20040621 FIXES 5362 change how cred is stored on linux 2.6 commit 7b06d5a9f53ee984fe16b6b034af2e5432f63cd6 Author: Love Hörnquist-Åstrand Date: Mon Jun 21 20:57:52 2004 +0000 venus-clean-livesys-20040621 FIXES 5316 update clean target commit f8b90da03c42d2734eec3cc50e03aec2f854a301 Author: Derrick Brashear Date: Mon Jun 21 20:53:07 2004 +0000 aix-makefileproto-updates-20040621 FIXES 5252 fix makefileproto for aix to not use $$ commit d9765e5bd5650853ed5612f5e29ab787182e952f Author: Jeffrey Hutzelman Date: Mon Jun 21 20:30:18 2004 +0000 linux26-allow-suspend-20040621 FIXES 5208 necessary changes for swsusp to work. commit 25a1518f04378e205375f63b01d579b62b3dcbc7 Author: Rainer Schöpf Date: Mon Jun 21 20:17:14 2004 +0000 linux-afs-call-printf-20040621 FIXES 5138 add missing printf arg commit 50125cb62ad4695ed122b603742829d137d584a1 Author: Asanka Herath Date: Mon Jun 21 18:48:11 2004 +0000 wix-msi-installer-20040621 One more file for the Wix installer commit 54f02cabe2404a48c30053ed0469c67fc97333cb Author: Jeffrey Altman Date: Mon Jun 21 18:25:35 2004 +0000 missing-file-20040620 Forgot to checkin cm_vnodeops.h commit cb5052f2e9b0c060ac51cd52f4790a22a2b57e37 Author: Jeffrey Altman Date: Mon Jun 21 18:23:36 2004 +0000 readme-nt-20040620 Update README-NT with details on Wix MSI installer (last time README-NT did not get picked up by cvs) commit 4606c98156cbc8c66254a97fbfdf898bcfb9101a Author: Jeffrey Altman Date: Mon Jun 21 06:59:18 2004 +0000 missing-file-nsis-20040620 add missing file to nsis installer commit b7aab5ea00d95f398d24472be998cd5cd9b08134 Author: Jeffrey Altman Date: Mon Jun 21 06:24:04 2004 +0000 msi-wix-installer-20040620 Update README-NT to include details on Wix MSI installer builder. Modify build system to create work directories and provide "wix" and "install-wix" build targets commit a5a69cd4b05bc55f7258252b4cc63fdf425aa48a Author: Asanka Herath Date: Mon Jun 21 06:21:44 2004 +0000 wix-msi-installer-20040620 New MSI installer based on the open source Wix installer builder commit 64a65ad7dc896ff39d68a9e622ee457c009ed5d7 Author: Jeffrey Altman Date: Sat Jun 19 17:00:13 2004 +0000 fs-sysname-20040619 Begin the process of supporting multiple sysnames on Windows as is done on Unix. These changes replace the internal variable with a list of sysnames. Still to do: change command line interface to allow entry of multiple names; and replace cm_ExpandSysName() with code similar to Unix which allows expansion of one element in the list at a time. commit 83d1e43ad551ffd0436d76d1cbfbf000f957c208 Author: Jeffrey Altman Date: Sat Jun 19 16:18:58 2004 +0000 safe-strings-20040619 Begin to make use of the Microsoft strsafe library to avoid buffer overruns. commit b899b0ff5793139a0a86c01bf701cf186beee383 Author: Asanka Herath Date: Sat Jun 19 05:21:07 2004 +0000 ntmakefile-auth-headers-20040618 break up auth build step into two parts to avoid circular dependency in the build process commit 83c6908646e58fc8091d55d1013e012f48becb69 Author: Jeffrey Altman Date: Fri Jun 18 21:08:50 2004 +0000 ntmakefile-part-two-20040618 check in the correct version. commit faae04d83540098cd015d9926837c9e2b0ee4397 Author: Jeffrey Altman Date: Fri Jun 18 20:58:13 2004 +0000 ntmakefile-reorder-20040618 place 'auth' before 'afsdobjs' to ensure creation of afs/cellconfig.h allow DESTDIR to be specified as an arbitrary location earlier in the build process. commit 16f5052b412ab00cff7a0d9ca8f504333c0c2213 Author: Robert S Murawski IV Date: Fri Jun 18 19:56:03 2004 +0000 nsis-loopback-20040618 loopback installation executable code. the license is GPL which is ok because the NSIS installer does not contain any IPL code. commit f5f358bb164b717abcf4471389875eac4196e622 Author: Jeffrey Altman Date: Fri Jun 18 18:36:33 2004 +0000 afscreds-krb5-principal-error-20040618 afscreds did not properly construct kerberos 5 principals with multiple components. This prevented the use of user/admin@REALM tgts. commit 2cacc256d996fcdb024da70a933f92aeec9d9f3c Author: Jeffrey Altman Date: Fri Jun 18 06:05:48 2004 +0000 nt-makefile-configuration-change-20040617 Add support for building symbols in all configurations commit fcb7d1569f9a7803a144fc79c38d793d6aaace35 Author: Robert S Murawski IV Date: Fri Jun 18 06:03:19 2004 +0000 nsis-installer-updates-20040617 New BSD License for compatibility with GPL and NSIS licenses. Add Loopback Adapter installation Add Debugging Symbols for all builds (optional module) Add user configuration of afscreds.exe startup commit 5ffd9096680e15f886950359868585cf30fb508f Author: Jeffrey Altman Date: Fri Jun 18 05:59:51 2004 +0000 fs-admin-20040617 Add Is Administrator requirement to fs functions. - checkservers with a non-zero timer value - setcachesize - newcell - sysname with a new sysname list - exportafs - setcell - setserverprefs - storebehind - setcrypt - cscpolicy - trace Should create a user group to which users can be added so that non Admin users can issue fs commands. commit 113167c778e265d9002ee48cf5eda613b9cd444a Author: Jeffrey Altman Date: Fri Jun 18 05:56:48 2004 +0000 kfw-support-update-20040617 Fix improper use of krb5_data data field as null-terminated string. Reuse pre-existing context for obtaining the realm from the afs cell. commit c9fa134e65c557abf7a25122b2581b962ac1481f Author: Jeffrey Altman Date: Fri Jun 18 05:52:25 2004 +0000 nt-power-mgmt-fix-20040617 The fixed timeout of 19 seconds was too short. Should be set to the value of HardDeadtimeout as set by cm_conn.c. The failure to specify an adequate timeout value prevented successful Hibernation and Standby mode access when network connectivity was not available. commit 18a9be2b18b7baf3eb0d1aa40a6337c97bd0571e Author: Jeffrey Altman Date: Fri Jun 18 05:49:20 2004 +0000 nt-readme-upd-20040617 Update requirements for building OpenAFS on Windows 2000/XP/2003 commit e81615d0f1ca357eb5e44a0c3b54046798702a8f Author: Derrick Brashear Date: Mon Jun 14 09:36:09 2004 +0000 darwin-updates-20040613 complain if TryReclaim gets a vnode which is on the inactive 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. ==================== be willing to instantiate a ubc in our lookup vop (rename needs this so the followup vget doesn't get a vnode with no ubc) refuse to instantiate a ubc if VORECLAIM is set rework rename 2 links to same vnode case. (yes, you can have hard links in AFS) ==================== drop the parent directory ref and remove name from the kernel name cache when recycling a vnode. commit bc9bbe8a955aabfcf42265e3d81a60b5f4c1aa40 Author: Jim Rees Date: Tue Jun 8 18:27:46 2004 +0000 fix-havecallbacks-proto-20040608 afs_HaveCallBacksFrom, not HaveCallBacksFrom commit c3d0a688212d42f0ad6f028f900eb838646119cc Author: Jim Rees Date: Tue Jun 8 17:09:09 2004 +0000 temp-fix-PCallBackAddr-20040608 temporary fix for compiler warning in PCallBackAddr commit 202f407a15c23bc238018c3d57e0bb22e7b5b9bd Author: Chas Williams Date: Mon Jun 7 20:54:33 2004 +0000 objdir-libafs-ko-20040607 FIXES 4943 make libafs.ko build in objdir environment commit 4f33ab1992fad680478e70e3c1adf466fea08d9b Author: Derrick Brashear Date: Mon Jun 7 20:52:51 2004 +0000 export-havecallbacksfrom-20040607 i suck, the PCallBackAddr stuff needs this commit 3c1e497d753ad1201a564bb73fd3103724aba28f Author: Chas Williams Date: Mon Jun 7 20:48:50 2004 +0000 linux-use-page-count-macro-20040607 FIXES 4944 use page_count macro instead of accessing directly commit 7329d33e22eede068a17d583202c6ec2c1d1fc83 Author: Jeffrey Altman Date: Mon Jun 7 07:22:57 2004 +0000 freelance-fake-root-vol-id-fix-20040606 * add debugging to allow fs trace -dump to be used for freelance operations * Change the volume id associated with the fake root.afs from 0x20000001 to 0x00000001 to prevent confusion of remote cell root.afs volumes with the fake root.afs. (way to go Derrick.) * add function prototypes to cm_freelance.h commit a749be9ff374aafc1ddb04cfc9f616c186dc60e7 Author: Jeffrey Altman Date: Sun Jun 6 04:51:41 2004 +0000 uninitialized-variable-20040605 cm_dns.c: getAFSServers() did not initialize the output parameters before testing them when setting the return value. It therefore returned success when the network was unavailable. Bad Bad Bad. commit 326e26068fe8136c2c943665f8cf84cacc12cf9b Author: Jeffrey Altman Date: Sat Jun 5 21:11:06 2004 +0000 kpasswd-uninitialized-20040605 FIXES 4994 More uninitialized variables commit 6d4bdfc2f78605b4339523577d7726101eb38b42 Author: Jeffrey Altman Date: Sat Jun 5 19:59:41 2004 +0000 winnotes-20040605 Document changes up to this date since 1.3.64 and new registry values commit d58233a52f3d705b039d690c4cc0befd1ac54408 Author: Jeffrey Altman Date: Sat Jun 5 19:57:58 2004 +0000 timeout-logic-20040605 * The timeout logic in the AFS Client Service has been wrong for sometime. It is based on two different assumptions. First, the SMB client timeout is a fix value as was the case with OS/2 Lan Manager. This assumption is incorrect. The SMB timeout in Windows is a dynamic value computed based upon a fixed minimum timeout to which is added time based upon the size of the request and the performance characteristics of the connection. Second, it is the responsibility of the SMB Server to enforce the timeout requirements of the client. This is untrue. The SMB Server cannot be expected to know the requirements of the client. More importantly, if the SMB server uses the SMB client timeout as a value to restrict its behavior as an RX client, the performance characteristics of the local SMB session would be used to prematurely terminate WAN connections with significantly different performance characteristics. The timeout logic has therefore been modified in the following manner: . the Lan Manager Workstation (SMB) Session Timeout is used only as a basis for configuring the Connection Dead Timeout and Hard Dead Timeout values. The Connection Dead Timeout must be at least 15 seconds longer than the SMB Timeout and the Hard Dead Timeout must be at least double the Connection Dead Timeout. . New registry entries have been added to allow the Connection Dead Timeout and Hard Dead Timeout values independent of the Lan Manager Workstation Session Timeout . The test to enforce the SMB Client Timeout has been removed. One of the side-effects of removing the enforcement of the SMB Client Timeout is that regardless of whether or not the SMB client is available to receive the response (and how would the SMB server know) the RX protocol response can be used to update the AFS Client Service state for ready access by future SMB client requests. This should be the end of the "Server paused or restarting messages" commit 304fbc25279cef35724f042e0a6bf5a43a51e7a0 Author: Jeffrey Altman Date: Sat Jun 5 07:02:39 2004 +0000 cell-info-do-not-delete-20040604 * cm_cell.h: define new bit flag CM_CELLFLAG_VLSERVER_INVALID * cm_cell.c, cm_ioctl.c: Do not delete cell info either because it has been removed from the CellServDB file or because the volserver info becomes invalid due to dns ttl expiration. This is necessary because the cell info is pointed to by other structures which require continued access to the cellname and username fields. * cm_ioctl.c: provide UNC support for the MakeMountCmd commit 414fe9588a3532fcb648be3b9a7fbc04baa5e14b Author: Jeffrey Altman Date: Fri Jun 4 07:02:18 2004 +0000 ioctl-unc-20040603 * pioctl.c: handle another UNC case in GetIoctlHandle ==================== 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. ==================== * cm_ioctl.c: avoid running off the end of a string commit eb48b8e6caca5ac85dae43b2bbf029f8fb8a17aa Author: Jeffrey Altman Date: Fri Jun 4 04:10:44 2004 +0000 ioctl-changes-20040603 Fix more edge cases for ioctl handling. * cm_dcache.c: reformat the file to make it possible to set breakpoints on conditionals * cm_ioctl.c: add a call to smb_FindShare() when processing UNC paths * cm_vnodeops.c: move debug message from the afsi_log to the osi_log * fs_utils.c: reformat * smb.c: change smb_FindShare to take a smb_user_t * instead of a pointer to the input smb_packet_t. Change calls to smb_FindShare to use new prototype. * smb.h: change prototype for smb_FindShare * smb3.c: Change calls to smb_FindShare to use new prototype * smb_ioctl.c: reorganize use of smb_user_t so it can be passed to smb_IoctlPrepareRead in order for it to be used in the call to smb_FindShare. commit 913876f3a96da9608a18852cb54035854b0eb854 Author: Jeffrey Altman Date: Fri Jun 4 04:00:39 2004 +0000 ioctl-handle-20040603 * Fix GetIoctlHandle so that it will create the handle on the correct volume when a drive letter is not specified as part of the source path commit 4a69168cdf111e1e0ea77e7ecee612602bb75937 Author: Love Hörnquist-Åstrand Date: Thu Jun 3 06:13:27 2004 +0000 i-hate-aclocal-20040603 FIXES 4922 aclocal wants [] around macro names. good for aclocal. commit 1d5ddeb9dbb34108f5c3c1b6356d9dcdd86988d5 Author: Chas Williams Date: Wed Jun 2 20:40:34 2004 +0000 gconfd-lock-fix-20040602 FIXES 4905 "i believe i have managed to track this down to a missing lock_kernel() in the dentry (lookup) revalidate routine. this missing lock was already fixed in the 1.3 tree when i submitted the 2.6 support patches (although its not quite right i think -- the shrink_dcace_parent() should happen under the BKL)" commit 0dbbc2c4c5741859ce75afa253294c901625018f Author: Jeffrey Altman Date: Wed Jun 2 15:52:04 2004 +0000 ntmakefile-20040602 update comments commit fc250cc0be2dd73dad05b869bb41a7f3e12e8079 Author: Jeffrey Altman Date: Wed Jun 2 15:50:23 2004 +0000 win32-ewouldblock-20040602 * enable detection of EWOULDBLOCK errors on Windows commit b0161198cfbe35fd2663ad849d0ebe33c057c289 Author: Derrick Brashear Date: Wed Jun 2 09:43:02 2004 +0000 callback-rxcon-move-20040602 FIXES 4891 apply it disabled in the fileserver, but provide mech for client to suggest a particular IP address to the fileserver ==================== 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. ==================== FIXES 4891 apply it disabled in the fileserver, but provide mech for client to suggest a pa rticular IP address to the fileserver ==================== FIXES 4891 apply it disabled in the fileserver, but provide mech for client to suggest a pa rticular IP address to the fileserver ==================== FIXES 4891 apply it disabled in the fileserver, but provide mech for client to suggest a pa rticular IP address to the fileserver commit 07ba4620cf956d1cecd5bcd4448179b681c1cc3b Author: Derrick Brashear Date: Wed Jun 2 09:39:34 2004 +0000 vos-new-repsite-cleanup-20040601 FIXES 4730 if for some reason we got into a situation where all ROs were marked NEW_REPSITE in the vldb, vos release without -f deals very poorly. force a -f, and also, never print "Old Release" for the RW, to avoid confusion ==================== 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. ==================== FIXES 4730 if for some reason we got into a situation where all ROs were marked NEW_REPSITE in the vldb, vos release without -f deals very poorly. force a -f, and also, ne ver print "Old Release" for the RW, to avoid confusion commit d37b482873d1652ba74ac61005d49cd5facf7d96 Author: Derrick Brashear Date: Wed Jun 2 09:18:28 2004 +0000 irix-make-ukernel-build-20040602 FIXES 4646 ukernel needs 64 bit type defined, define it. commit fe370813b95b0268ecb134c8c20bfe8d4ba9ee4b Author: Derrick Brashear Date: Wed Jun 2 08:43:48 2004 +0000 linux-dont-mark-writer-on-mmapped-RO-20040602 FIXES 4892 don't mark an mmapped RO as an execOrWriter. commit 404f837d577da5ef46e99c63b9c7e7aba7a9ef45 Author: Michael Pronath Date: Wed Jun 2 08:08:46 2004 +0000 adviseaddr-call-dont-shadow-code-decl-20040602 FIXES 4536 removed shadowed declaration of code commit 5191f0038305b5b356dbb17d891fecf68ee2daac Author: Nathan Neulinger Date: Wed Jun 2 08:04:15 2004 +0000 volinfo-large-size-update-20040602 FIXES 4679 make volinfo useful for >4gb commit d5dfb9113bb6444fb46ab90ff807d40fdb6180d6 Author: Jeffrey Hutzelman Date: Wed Jun 2 07:15:45 2004 +0000 linux-26-build-updates-20040601 FIXES 4767 use 2.6 kbuild infrastructure to build modules. updates proc mechanism. ==================== 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. ==================== FIXES 4888 use 2.6 kbuild infrastructure to build modules. updates proc mechanism. commit 5d9fcb30347e97471e5604828ef433683ca7a766 Author: Derrick Brashear Date: Wed Jun 2 07:08:01 2004 +0000 attachserverproc-dont-dequeue-if-not-in-queue-20040602 FIXES 4699 can't see what else this can be. pile of details in the ticket. commit 7a46d3a0766a34816c468f5e00b720994778466b Author: Jeffrey Altman Date: Wed Jun 2 06:21:16 2004 +0000 unc-enable-fs-20040601 * modify cm_ParseIoctlPath() to be able to handle arbitrary UNC paths of the form \\netbiosname\mount\path. This enables all of the fs commands and the shell extension to be able to work with UNC paths. ==================== 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. ==================== * add support for UNC paths commit 8d442bea4f760366b0c2bb2053e0ebf6ffa3d5c6 Author: Rainer Toebbicke Date: Wed Jun 2 03:49:28 2004 +0000 rx-protect-queue-during-debug-20040601 FIXES 4811 "in rx_packet.c:rxi_ReceiveDebugPacket() the rx_idleServerQueue is scanned without taking a lock first. The queue_Remove macro zeroes the ->next field (luckily), but this can lead to a crash when Murphy strikes and the entry gets removed during the scan: queue_Scan will dereference 0x0 -> next. " commit 3d66364e7255e7802760cad2d12ea90be7366584 Author: Sam Hartman Date: Wed Jun 2 03:40:03 2004 +0000 make-distclean-do-it-20040601 FIXES 4814 remove some of the crap we were missing commit ab10f17e126312b34443acb32bfb21fc4ebde601 Author: Derrick Brashear Date: Wed Jun 2 03:37:45 2004 +0000 provide-fPIC-method-for-amd64-20040508 FIXES 3680 allow building fPIC on amd64 commit de972e77b34ab454310dbb495aa25f7c76b24c19 Author: Jeffrey Altman Date: Tue Jun 1 03:45:24 2004 +0000 corrections-winafs-20040531 * cm_server.c: remove locking from cm_FreeServer(). Must call while holding a write lock * afskfw.c: Remove manual dynamic loading of ktc_xxxx functions Change some of the debugging logic commit 78f184e3076a015508db89cfc345710c3d0c3aec Author: Jeffrey Altman Date: Sun May 30 16:54:13 2004 +0000 afscrds-dns-20040530 * Fix afscreds.exe (by updating afskfw.lib) to search for cells via DNS if the cell configuration cannot be determined via CellServDB commit d64679ee4c125f6df5772007b69a9d7a1b69c32e Author: Jeffrey Altman Date: Sun May 30 15:39:05 2004 +0000 dns-and-server-ref-counts-20040530 * Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING are ever set more than once at a time * Fix the management of lists of cm_cell_t structures when using DNS to lookup cell information. The previous code would fail to reuse the same cellID for a cell if DNS was used more than once for a given cell name. When the ttl expired, a single cm_cell_t could be inserted into the cm_allCellsp list more than once producing a loop. In addition, the vlServerp list belonging to the cell was not freed resulting in improper refCounting of the servers. * Add DNS support to cm_IoctlNewCell() which previous only examined the CellServDB file * Add cm_FreeServer() function and call it from cm_FreeServerList() to properly garbage collect cm_server_t objects * Add numVCs variable to smb.c to track the number of smb_vc_t objects created and use it to initialize the vcID field which previously was set to 0 in all objects resulting in FindByID collisions. commit 52898404c69832c3954cb746b7529174d57169fc Author: Jeffrey Altman Date: Sun May 30 01:25:19 2004 +0000 rx-debug-20040529 Fix MakeDebugCall to properly check the return code of select() and recvfrom(). Do not copy data buffer unless recvfrom() succeeds. commit 6b488b4c99ae5b57143ed2417638b60b0b546a4f Author: Jeffrey Altman Date: Sun May 30 00:47:59 2004 +0000 batch-commits-windows-20040529 * Fixed DNS lookups to work consistently throughout the OpenAFS product instead of just from within the afsd_service.exe * Added a runtime check to ensure that AFS Client Service SMB Server is accepting connections before attempting to mount global drives. * Read IP addresses for volume servers out of the CellServDB file if gethostbyname() on the hostname fails. * Fix getcellconfig() to populate both the Hostnames as well as IP addresses when loading cell data via DNS * Increase the Connection Dead Time to 50 from 20 seconds Increase the Hard Dead Time to 120 from 40 seconds (matches the Unix values) * Fixed an assertion validating the number of allocated NCBs * Fixed the build environment to consistently build for Windows 2000 and above. (APPVER = 5.0) * Fixed rx_debug to properly validate the receipt in incoming data with select() and recvfrom(). Do not copy data out of the socket buffer unless success is indicated. commit e21149cec321d055c715d0362e77a85118cdf561 Author: Nickolai Zeldovich Date: Thu May 20 20:15:04 2004 +0000 uafs-fixes-20040520 Make uafs not crash if uafs_fstat() is used. Fix open(O_RDONLY). commit 0d1159c724a03ff10a4b31641e8b07d5722dc360 Author: Jim Rees Date: Wed May 19 21:31:18 2004 +0000 banish-ushort-20040519 Change ushort to afs_uint16. ushort is a SysV thing, not present in FreeBSD. commit 849122ff1113b5e2c5f1fb2d90bd6b363da7a72a Author: Nathan Neulinger Date: Wed May 19 16:47:16 2004 +0000 kdump-build-update-20040519 FIXES 4639 more cleanup of kdump build commit b1ae3fc1a6e30392e08b93177b005cc6fa79f27f Author: Chas Williams Date: Sat May 15 07:43:09 2004 +0000 linux-26-updates-20040515 FIXES 4027 update autoconf for linux 2.6 commit 7d2dd14c62f2bd06278eb1907f12a2ad3bd20a59 Author: Love Hörnquist-Åstrand Date: Sat May 15 07:32:35 2004 +0000 netbsd-has-statvfs-20040515 FIXES 4535 netbsd has statvfs, use it commit c05beb30dc90a745a5a1a812fc7658afbf2a38b1 Author: Nathan Neulinger Date: Sat May 15 07:16:55 2004 +0000 kdump-build-cleanup-1-20040515 FIXES 4521,4522 remove KDUMP/KDUMP64 configure stuff, clean up kdump targets in Makefile commit e59d92b03e187506ccae82df7cbd530ae81ce11f Author: Love Hörnquist-Åstrand Date: Sat May 15 07:11:40 2004 +0000 salvager-log-instead-of-abort-20040515 FIXES 4533 insert of assert, log an error commit 4ec1f3fcd36a265b564a30af6e59b184568db196 Author: Derrick Brashear Date: Sat May 15 05:53:30 2004 +0000 rx-include-afsconfig-before-param-h-20040515 FIXES 4578 make sure afsconfig.h is included before afs/param.h commit 02f83314df745178ff48eeb3bcb6918d176bcf54 Author: Jim Rees Date: Wed May 12 18:57:11 2004 +0000 openbsd-35-20040512 Add OpenBSD 3.5 notes to top README. commit a2233de3fd00a3351078429943ce8af1e9e8bcae Author: Jeffrey Altman Date: Tue May 11 23:31:51 2004 +0000 cellservdb-20040511 Latest CellServDB as of 2004-05-11 commit 6b50d377b0b4ff2af12044c1dc15d37aad864e76 Author: Jeffrey Hutzelman Date: Tue May 11 21:36:13 2004 +0000 linux26-proc-interface-use-long-not-int-20040511 FIXES 4462 arguments to sys_call are long, not int ioctl returns -ERROR, not -1 return -EINVAL on ioctls we don't know commit a2c0be066193802b7c1d3aa2d21c8bb2a50ff06d Author: Jeffrey Altman Date: Tue May 11 21:08:57 2004 +0000 update-winnotes-20040511 Update the changes and issues files for the 1.3.64 release commit ce5e3e99d7e0f3518644f531068fd7ab1cf1f521 Author: Nathan Neulinger Date: Tue May 11 20:52:28 2004 +0000 kdump-reorder-nfsclient-header-20040511 FIXES 4520 nfsclient.h needs afs.h for MAXNUMSYSNAMES definition commit 7db901bda1bdbbe23a9ebcb0264e94c617ac2bb2 Author: Jeffrey Altman Date: Tue May 11 20:43:20 2004 +0000 nt40-version-20040511 Update version number to 1.3.6400 commit f6318c58054c7e6435494925dc5ed4cdd7f13557 Author: Jeffrey Altman Date: Tue May 11 20:35:02 2004 +0000 reference-counts-20040511 Correct VC reference counting. (not that it is used for anything but there is no reason the reference counting should be allowed to perpetually increase) Fix smb_FindFID. Do not do anything if fid == 0 without SMB_CREATE_FLAG being set. Ensure that the event object name is unique by both the fid and the vcid. commit 7441eb8f59a946fa568ae2f6bf361a6f687039c3 Author: Jeffrey Altman Date: Tue May 11 14:26:14 2004 +0000 move-memdump-file-20040511 Move the memdump file produced on Windows by "fs memdump" from %WINDIR% to %WINDIR%\TEMP commit 265c009c72e7a7cbb29421c06f13fc97179e287a Author: Jeffrey Altman Date: Tue May 11 03:45:20 2004 +0000 KRB5KRB_AP_ERR_BADADDR-retry-20040510 retry once if KRB5KRB_AP_ERR_BADADDR error is received while attempting to obtain tickets. This is often produced when using transitive trusts. a retry is then successful. commit 6f571891869a3a4f903bdb5953579d4c655419f9 Author: Jeffrey Altman Date: Tue May 11 03:08:50 2004 +0000 off-by-one-20040510 off by one error when allocating memory for mountPointStringp in cm_GetSCacheEntry when using Freelance mode commit 861fa50de1d54ed7b333e9b86c63262707c0d3a9 Author: Nickolai Zeldovich Date: Mon May 10 14:51:16 2004 +0000 ukernel-take-two-20040415 Make uafs work enough to support readdir() ==================== 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. ==================== Make uafs work enough to support readdir() (add casts for irix) commit 329f256d42fcf575fca3216a2107e3e155a64b7e Author: Jonathan Curley Date: Mon May 10 05:39:21 2004 +0000 linux-26-provide-proc-interface-instead-of-syscall-20040507 FIXES 4462 provide /proc file interface to use instead of AFS system call. doesn't solve the PAG problem. commit ad57d95089928e7626bef13bb2dbc87bec90a049 Author: Derrick Brashear Date: Mon May 10 04:43:02 2004 +0000 snprintf-irix-needs-sys-socket-h-20040510 6.5.9 or so wants sys/socket.h to get AF_INET commit 05060d53255a17478e78a9a07e50c6d62640e5dc Author: Derrick Brashear Date: Mon May 10 04:18:58 2004 +0000 provide-fPIC-method-for-amd64-20040508 FIXES 3680 allow building fPIC on amd64 commit 3812a973cd6c8329ce18802a7c5bb980308ae87a Author: Jeffrey Altman Date: Sun May 9 05:39:05 2004 +0000 user-instance-20040508 Enable afscreds.exe to support instance components of usernames for non-kfw token retrieval commit 98bcba19235a6ff40ba9c3dd1bf4054a870d8a20 Author: Jeffrey Altman Date: Sun May 9 05:04:52 2004 +0000 case-sensitivity-20040508 Correct the number of parameters to cm_Lookup calls in smb_ReceiveNTCreateX and smb_ReceiveNTTranCreate. Also, do not allow directories to be created if there are any files with names that differ only by case. Miscellaneous reformatting. commit 8023007863f21234104aa3588b798e32fd4b9192 Author: Derrick Brashear Date: Sat May 8 05:50:38 2004 +0000 kdump-linux-install-typo-20040508 FIXES 4430 fix @? to be $? commit 75b51e6192d9758e5abf1984c139ecc00be397b6 Author: Derrick Brashear Date: Sat May 8 05:47:10 2004 +0000 update-README-20040508 update list of supported platforms, slightly commit 686eb8de49c3e59a99cbd8f1e93cc0949a253621 Author: Hartmut Reuter Date: Sat May 8 05:45:36 2004 +0000 aix-dynamic-auth-20040507 FIXES 4278 make dynamic auth work for aix 5 commit 87f6d5a8f003f71724c7a49c6ab178a3f1efd2f9 Author: Chas Williams Date: Sat May 8 05:33:07 2004 +0000 writethru-dslots-allocate-once-20040507 FIXES 4071 only allocate once for WriteThroughDSlots commit 9e9a617786ed6b21fcf8f052e08f2a9f9b75fe0e Author: Chas Williams Date: Sat May 8 05:28:35 2004 +0000 dcache-shutdown-free-20040507 FIXES 4070 free dcache list during shutdown commit b660e7d7cd3029e7325ba8af7ea0bb15e0d43436 Author: Chas Williams Date: Sat May 8 05:26:37 2004 +0000 linux26-updates-20040507 FIXES 4068 define NGROUPS if it doesn't exist commit fc25d8cf697db8fde0eb3e89b39a1fbd39a6313c Author: Chas Williams Date: Sat May 8 05:23:56 2004 +0000 add-shutdown-server-20040507 FIXES 4067 cleanup server list during shutdown commit bfe8ffc7278b4f7850a20eaf604527cc762978c4 Author: Chas Williams Date: Sat May 8 05:22:19 2004 +0000 shutdown-cell-free-cellname-list-20040507 FIXES 4066 also free cellname_list when doing shutdown, part of quest to free all allocated memory commit dd38ea87cf0208463e64379e9b74fbe5fc7297fe Author: Chas Williams Date: Sat May 8 05:20:39 2004 +0000 shutdown-vcache-free-after-using-20040507 FIXES 4065 don't free the VClist until after use commit fae4792e91bfd16b1d15f912dab88a90851ec8e9 Author: Chas Williams Date: Sat May 8 04:58:27 2004 +0000 linux26-update-20040507 FIXES 4027 updates for modversions and for symbols which we don't need to grovel out of the kernel commit 48e39b49431d902b6c51723df70b62a45b4e1f8d Author: Joe Buehler Date: Fri May 7 15:56:00 2004 +0000 ntmakefile-20040507 remove extraneous '*' characters from C2OBJ rules commit 6b1cb8b1a8fcb8f48110e4583e38b696d38f6c05 Author: Jeffrey Altman Date: Thu May 6 22:06:58 2004 +0000 active-mapping-20040506 Write active drive mapping data to afsdsbmt.ini from afs_config.exe commit 847d870c14c0c9b126d5a1691c10e5fc4b3e412b Author: Jeffrey Altman Date: Thu May 6 21:52:16 2004 +0000 mounttab-20040506 ensure that we do not access an array with -1 commit d941303ccc06e2d5ee517d8f25f5b4e095e2ad2f Author: Jeffrey Altman Date: Thu May 6 21:46:31 2004 +0000 afsd-20040506 Andrei provided a replacement for the pattern matching algorithm. It has been applied but the old version is still there and can be activated with a #define The KFW_AFS_get_cred() routine does not use the "instance" parameter so removed it. commit 2d788598693ec1578d2f3abafe5858c44f67fe57 Author: Jeffrey Altman Date: Thu May 6 21:40:03 2004 +0000 incorrect-filename-after-install-20040506 the TaAfsApp_1033.dll was incorrectly installed as TaAfsAppl_1033.dll This prevented the user manager from starting commit 620cd80707f42a280b64a933a3a0751ab5c58855 Author: Jeffrey Altman Date: Thu May 6 21:37:12 2004 +0000 mkdir-20040506 Make src/WINNT/aklog directory if missing commit 9552283298757ca7f44643a5a26cf909e12c589f Author: Jeffrey Altman Date: Thu May 6 16:17:29 2004 +0000 case-sensitivity-20040506 from asanka@mit.edu We now strictly prefer exact case matches. This does incur a performance penalty because we can no longer be satisfied with an inexact matches in cache (we make an extra trip to the server to make sure there aren't any exact matches or pick up the extra match if there is one). Of course, the name lookup cache is now case sensitive. * cm_dnlc.c : case sensitive name lookup cache * cm_vnodeops.{c,h} : changes to cm_Lookup to first look for exact matches, failing which, look for inexact matches. Also, only put a name in the name lookup cache iff it exactly matches something on the server. * smb.c : look for exact matches first. * smb3.c : as above. Also T2 Search is used by the SMB client to resolve filenames. Respond accordingly. and: * added new CM_ERROR_AMBIGUOUS_FILENAME mapped to ERROR_POTENTIAL_FILE_FOUND This error is not yet used but is intended for situations in which an AFS volume contains two files which differ only by case "Foo" and "FOO" and the user says "DEL foo". Since we do not have an exact match by case the existing code deletes one of the two files at random. In the future we want to return an error. commit 786ead5cef01d76169a4fec33a6eb584fa5cea5e Author: Jeffrey Altman Date: Thu May 6 15:21:44 2004 +0000 ipaddrchg-20040506 ipaddrchg.[ch]: contains the ip address change monitor thread functionality which was previously in afskfw.[ch] but which is now a library in src/WINNT/afsd commit d44da96287a7cb5c6a67fd7c18112b52a6180085 Author: Jeffrey Altman Date: Thu May 6 15:19:19 2004 +0000 afscreds-20040506 creds.cpp: add support for principal name instances to the Obtain Tokens function. Previously instances were not parsed. main.cpp: Fix the -M (renewMaps) option to always call DoMapShare() mounttab.cpp: When removing a drive mapping, remove the "active" entry from the afsdsbmt.ini file. commit 233fa17c01c614c2d436d1c285c728fcb30b746a Author: Joe Buehler Date: Wed May 5 19:49:47 2004 +0000 lzma-compress-20040505 Use lzma compression instead of bzip2 commit e2af5db575e71bb3a7d5a75be9144d0fdbc2ba60 Author: Jeffrey Altman Date: Wed May 5 04:24:57 2004 +0000 uninitialized-variable-20040504 Do not assign reference to declaration in cases which declaration is not assigned a value. commit 14005bc769bbca0a1944aacce1f4c9aae7d55d9b Author: Jeffrey Altman Date: Tue May 4 23:48:15 2004 +0000 afskfw-library-20040504 Migrate KFW functionality from src/WINNT/client_creds/afskfw* into a a new library to be shared by afslogon.dll, afscreds.exe Add KFW support to afslogon.dll ==================== 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. ==================== Migrate KFW functionality from src/WINNT/client_creds/afskfw* into a a new library to be shared by afslogon.dll, afscreds.exe Move IP Address Change Monitor into new source files. Add smbname support to the KFW set token functionality in afscreds.exe commit 48f4c91cb4957ddf3763c39ce7a802b9b726cfd7 Author: Nathan Neulinger Date: Tue May 4 22:38:15 2004 +0000 dangling-comments-are-bad-20040504 Fix an unterminated comment.. Oops! commit 0b807876f1d68ef8a76bf31a1a63bb9642b0d348 Author: Nickolai Zeldovich Date: Tue May 4 10:36:01 2004 +0000 fun-with-a-profiler-20040504 fun with a profiler: afs_RemoveVCB accounts for 20% of the total AFS client CPU utilization, even under a moderate vcache turnover rate of less than 10 new vcache's per second. introduce a hash on the afs_cbr objects to speed this up. if you are seeing your AFS client being CPU-bound, e.g. on your web server, you may want to try this. commit 64b8ee9d887c4d7d669734e30bfd66c758efb51e Author: Nathan Neulinger Date: Tue May 4 10:31:55 2004 +0000 linux-handle-short-reads-gracefully-20040504 break out of the read loop with EIO if we've reached EOF, rather than looping forever hoping the file will grow. commit 5b6b91e6b803536058203a3404190af39bfa9292 Author: Nickolai Zeldovich Date: Tue May 4 10:31:11 2004 +0000 add-missing-uafs-prototypes-20040504 add missing prototypes for uafs_seek commit 746aab497cce0987431909734a6b28ef2f6e15af Author: Jeffrey Altman Date: Tue May 4 05:05:25 2004 +0000 csc_policy_logon_updates-20040503 From Andrei: CSC Policies Updates to afslogon.dll: attempt lowercased name on authentication failure if LSA provided name is all upper-case. commit cedfdb08734dcf4fcd4aa7dead5bf9af0809a2df Author: Robert S Murawski IV Date: Sun May 2 23:09:22 2004 +0000 nsis-server-updates-20040501 This implements: 1) Does not delete server config data on uninstall 2) If an upgrade or a re-install with existing server config data, will not auto-start the Server Configuration Wizard. 3) Checks for RPC keys on install. (I believe you only need one because not all of the keys are required for AFS to work. However, it might require TCP or UDP based RPC) Still to do: 1) Server data should be destroyed if user answers "No" to "Do you want to keep your existing configuration data?" 2) If installing when existing server configuration data is present, populate the client cell to be the contents of the "ThisCell" file. commit 86c8433bc6ef85f44a9a6f65e62dd710b4300fa6 Author: Jim Rees Date: Tue Apr 27 20:43:04 2004 +0000 obsd35-20040427 get ready for OpenBSD 3.5 (due May 1) commit e1814aeb8427090304d6577de9c732a880022aad Author: Jeffrey Altman Date: Tue Apr 27 19:58:48 2004 +0000 fixes-from-andrei-20040427 Cleanup the makefile to remove unnecessary defaultlib restrictions Remove the DST fix added to address Rodney's bug with the timezone being off by an hour on files one hour after the time change. Still need to identify the real cause. Finally fix once and for all the afsd_service.exe shutdown error. The ServiceHandler must be declared with the WINAPI calling convention because it returns a value. commit e116ec14765a25a2af41d456065f78b281783a12 Author: Jeffrey Altman Date: Tue Apr 27 19:54:28 2004 +0000 release-vs-debug-flags-20040427 Move a few debug only compiler flags into a debug only build section of the makefile commit f4cc1fdc491e7e217686d22673d17acd882e7153 Author: Jeffrey Altman Date: Tue Apr 27 02:26:01 2004 +0000 no-mfc-20040427 remove the reference to afx.h. there is no reason to bring in MFC for lanahelper.lib. (thanks to Andrei) commit 519e7f0669d61c1d339d156f96469bbd68a328e3 Author: Nickolai Zeldovich Date: Mon Apr 26 22:39:33 2004 +0000 check-if-compiler-supports-__FUNCTION__-macro-20040426 Add an autoconf check to see if the compiler supports __FUNCTION__ and __LINE__ commit a40db2ebc0490dfd63f02900fa2aa077a8276f6a Author: Jeffrey Altman Date: Fri Apr 23 04:43:24 2004 +0000 kfw-upds-20040422 (1) remove the tkt_lifetime table which is no longer used (2) improve the handling of token to k5 principal mapping (3) assign the REALM to the token client name if the realm of the cell does not match the realm of the user commit 9374963fcade1390ce97e388c19ccf104f969f18 Author: Jeffrey Altman Date: Fri Apr 23 04:38:54 2004 +0000 ren-msgbox-logfile-20040422 Several fixes: (1) the log file afsd_logp should not be referenced in the smb modules instead the smb_logp should be used (2) Properly define the dummy_MessageBox function as _stdcall (3) When afsd_service.exe fails due to a Network Error (IP address change) display a MessageBox to the end user (4) Fix "rename foo foo" to not generate a "destination file exists" error (Thanks to asanka) commit 171cec34dcca479573551ac7a48b3892b1442f87 Author: Chas Williams Date: Wed Apr 21 03:20:21 2004 +0000 linux26-more-updates-20040420 FIXES 4027 . osi_cred now uses struct group_info . the big kernel lock has been moved from the fs generic code for some of the operations in 2.6 . 2.6 now just uses iput() and hooks the appropriate routines . the dummy inode list handling should be clearer commit 37d106e228998d58cfe3427ba9bdae66e464c042 Author: Jeffrey Altman Date: Tue Apr 20 15:56:16 2004 +0000 kaanswertoolong-20040420 when determining whether or not the ticket len is too long for the receiver to accept we want to compare against the actual ticket length and not MAXKTCTICKETLEN which is what is used when sizeof(ktc_ticketAnswer) is used for comparison. commit daa011af022ac9b7434aa86be0489692c616ae67 Author: Nickolai Zeldovich Date: Mon Apr 19 06:43:58 2004 +0000 more-memory-leak-fixes-20040418 Another memory leak plugged; thanks to Jeffrey Altman for noticing it. commit 6f22e163a5e79df4ce96d7234a634fc717fa1e4a Author: Nickolai Zeldovich Date: Sun Apr 18 07:13:47 2004 +0000 memory-leak-fixes-20040417 Fix some memory leaks. commit b06c35909060e644f170b3210e7934803e74aae4 Author: Nickolai Zeldovich Date: Sun Apr 18 07:10:33 2004 +0000 more-uafs-support-20040417 Some more minor uafs fixes commit 66e04e9f88452b4afef19fb8dbba431018ec1bbb Author: Nickolai Zeldovich Date: Sun Apr 18 07:09:49 2004 +0000 add-fs-exa-file-support-20040417 Make "fs exa filename" print out the FID for the filename, not just the status for the volume containing that file. commit 194c348298d146fe5a59892de0da2d8fb461e537 Author: Jeffrey Altman Date: Sun Apr 18 04:16:14 2004 +0000 uninitialized-20040417 ngroups was uninitialized. This produced a run-time warning even though its value was never used in subsequent calls. set to 0. commit 733af496e822a07f216ec3d815946cb0212c4e1b Author: Nickolai Zeldovich Date: Fri Apr 16 07:26:11 2004 +0000 more-memory-scrubbing-20040415 Scrub the callBacks array just in case, as we're exposing some arbitrary kernel stack contents to the user. commit 5db578e0786707b6ab1bf94a830bf8cff9bb4902 Author: Nickolai Zeldovich Date: Fri Apr 16 05:57:01 2004 +0000 dont-leak-random-kernel-data-20040415 Zero out data structure being returned to user, so that we don't send random kernel memory garbage to them. commit cd495f072760736c3e962ed11796e6d682b98f98 Author: Nickolai Zeldovich Date: Fri Apr 16 00:49:13 2004 +0000 make-uafs-work-a-little-20040415 Make UAFS at least a little more likely to work. commit e604accb426158b00be8442c8cc6bc82b4f1eb65 Author: Nickolai Zeldovich Date: Thu Apr 15 23:48:12 2004 +0000 fix-linux-build-20040415 It's AFS_LRALLOCSIZ, not AFS_LRALLOCSIZE. commit f3983124b17e00357c5ae21c2d98939784fe6b9e Author: Jeffrey Altman Date: Thu Apr 15 22:04:21 2004 +0000 ticket-1241-20040415 Correct mistaken use of >= when > is appropriate commit fa189b670dbbbf493b86f1c56539ff2693ed49c0 Author: Jeffrey Altman Date: Thu Apr 15 03:23:41 2004 +0000 ntmakefile-20040414 Fix the makefile to build with vc.net 2003 in a release configuration. /GZ and /Ox are mutually exclusive commit fad225bab61ac1a3be430aacd9af9ef0cf675561 Author: Jeffrey Altman Date: Thu Apr 15 03:21:23 2004 +0000 resource-fix-20040414 There was one more off by one error in the resource file enumeration preventing the loading of the "Drive" string table entry commit f8ed1111d76bbf36a466036ff74b44e1425be8bd Author: Jeffrey Altman Date: Thu Apr 15 00:26:13 2004 +0000 ticket-1241-20040414 FIXES 1241 Modify buffer allocation to support tokens up to MAXPIOCTLTOKENLEN (3*sizeof(afs_int32)+MAXKTCTICKETLEN+sizeof(struct ClearToken)+MAXKTCREALMLEN) in length. commit 1757180dab3f5fb74044f665f5e603fafa8e7e22 Author: Ken Hornstein Date: Tue Apr 13 21:41:11 2004 +0000 fileserver-no-longer-asserts-when-read-past-EOF-20040413 commit 4a0729240ae03929502de36039b6f982c08c905d Author: Jeffrey Altman Date: Tue Apr 13 04:47:50 2004 +0000 uninitialize-20040412 Fix uninitialized use of ltto commit 9dc32a5a18ac5a9228e916f207ee2e7815ab741e Author: Jeffrey Altman Date: Tue Apr 13 04:06:17 2004 +0000 aklog-20040412 MIT's aklog.exe imported into the OpenAFS for Windows distribution ==================== 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. ==================== MIT's aklog.exe imported into OpenAFS for Windows commit f3cd6ca06315691c46f9a3f917099efaed57fe3d Author: Chas Williams Date: Mon Apr 12 20:42:19 2004 +0000 linux-26-progress-20040412 FIXES 4027 if you complain about any of it, you better include a patch, or risk being severely flamed. very much a work in progress commit 6a3068af6a1237302e6baa59d64a65b4e2cf45e3 Author: Jeffrey Altman Date: Fri Apr 9 07:48:22 2004 +0000 md4-md5-20040408 Integration of Heimdal MD4/MD5 code ==================== 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. ==================== Integration of Heimdal's MD4/MD5 code ==================== Integrate Heimdal's MD4/MD5 code ==================== Integrate Heimdal's MD4/MD5 code ==================== Integrate Heimdal's md4/md5 code ==================== Integration of Heimdal's MD4/MD5 code commit 02deda384d77262b733437872833ce1fc0e91234 Author: Jeffrey Altman Date: Fri Apr 9 06:57:39 2004 +0000 remove-extra-compare-20040408 do not check for i < 2000 and i < MAXKTCTICKETLEN commit efd0c52372a9439dfee20d69a9d09870a7d5a038 Author: Jeffrey Altman Date: Fri Apr 9 00:32:03 2004 +0000 cross-realm-obtain-tokens-afscreds-20040408 If afscreds.exe you can now obtain credentials for cell "foo.com" with credentials from "user@BAR.COM" when specifying a password. This is a first step since if there are already valid credentials for "user@BAR.COM" the password should not be requested. That would allow you to obtain tokens for multiple cells with the same kerberos tgt. commit 6bcdc8cae3bafcc37da491117050c16d58e1bcbf Author: Jeffrey Altman Date: Thu Apr 8 23:20:39 2004 +0000 unitialized-vars-20040408 Fix uninitialized pname reference Rename afs_int32 pname to pnum commit 99c6354d4f92eadf5d57f4001d0fadc37ef4f40c Author: Jeffrey Altman Date: Tue Apr 6 23:31:03 2004 +0000 more-mutex-20040406 Rodney found in his logs "Event Object Already Exists fid_t" messages. This lead to another location in the code where problem mutex usage was missing. In this case, multiple fid_t structs were created with the same fid number. commit afb8a665406f68fd9996b8c9e6f444880d533aff Author: Jeffrey Altman Date: Tue Apr 6 23:26:37 2004 +0000 va_args-20040406 Who at IBM was stupid enough to believe it is acceptable to pass a va_args variable into a function without initializing it with va_start()? Why would you ever bother to do otherwise? commit 6818e27fc3adcf6f800d80db6caaca5e65292eb9 Author: Jeffrey Altman Date: Tue Apr 6 09:54:54 2004 +0000 debug-changes-20040406 Add run time checks to the compiler flags when debug commit 991edf329f7e0bff7a8b1f86337fab3aa4a321a6 Author: Jeffrey Altman Date: Tue Apr 6 09:53:15 2004 +0000 i-need-sleep-20040406 * fix uninitialized return variables in smb.c and smb3.c * open the osi_log file as early as possible in afsd_init.c * create an argv to use for non-service executions * add support for \\afs\.cellname for rw volumes ==================== 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. ==================== Do not use IsKerberosLogon() it does not always report the right value. commit 00543744955243dcfb829286aacc6e3d7bb88c89 Author: Chas Williams Date: Mon Apr 5 23:39:51 2004 +0000 linux22-fix-20040405 FIXES 3909 make linux 2.2 work again commit b624c2bc738ab053761383043ef8f960b15e16cb Author: Jeffrey Altman Date: Mon Apr 5 07:32:57 2004 +0000 afs-release-notes-20040405 release notes as of 1.3.63 commit b32ac50073e8fe7b6a3034afba98b807dbdae410 Author: Derrick Brashear Date: Mon Apr 5 07:26:17 2004 +0000 remove-vnop-dont-umount-fix-entirely-20040405 circumstantially it doesn't work. /afs/andrew.cmu.edu/usr/shadow/tempdata is a file and mvstat is 2, so I get EISDIR. so i'll remove this for now and fix it after the next release. commit 3e45fd85912ad14fa88eb7d16fa1dfe6c3c8664c Author: Chaskiel M Grundman Date: Mon Apr 5 07:21:33 2004 +0000 darwin-pageout-limit-to-filesize-20040405 FIXES 3870 previously we weren't limiting to file size, now we are commit 1f5b66ecaac6fb3b0ba34f3cfe32410f3199fa86 Author: Jeffrey Altman Date: Mon Apr 5 07:00:11 2004 +0000 version-1-3-6300-20030405 Update version number to 1.3.6300 commit aa7f0cf9d5f56405e813a3218b39081fa35cda80 Author: Jeffrey Altman Date: Mon Apr 5 05:26:45 2004 +0000 preserve-server-config-20040404 Fix the replacedll macro Comment out the code which deletes the server configuration files on AFS Server uninstall. We need to do this to protect existing volumes if the product must be uninstalled and reinstalled commit 5a8e37d8820d63587bf8acf916da06bfe7daa893 Author: Jeffrey Altman Date: Mon Apr 5 03:16:11 2004 +0000 for-rodney-20040404 Formatting changes Fix the problem with a corrupted cell table when using \\afs\cell-alias Attempt to fix Rodney's DST problem. Added a check for tm_isdst to the computation of the local vs GMT differential. commit 4ad381d8959ba11a2991e6001464d367dd4054ab Author: Jeffrey Altman Date: Sun Apr 4 03:41:07 2004 +0000 shell-extension-20040403 Fix missing resource strings for Symbolic Links and error strings (english only) commit 0d00d2f08da7fe37cc14babd111d49c17e732409 Author: Jeffrey Altman Date: Sun Apr 4 03:38:49 2004 +0000 nsis-installer-20040403 Change UpgradeDLL to ReplaceDLL Fix missing pts.pdb commit 1f0e197dbfa920f1e257524f0055d294ce252052 Author: Jeffrey Altman Date: Sun Apr 4 03:35:47 2004 +0000 ktc_nt-20040403 Increase TBUFFERSIZE to match increase in KTCMAXTICKETSIZE commit 0a0f0e023b761ec7d04778e14568681ae7105627 Author: Jeffrey Altman Date: Sat Apr 3 23:33:35 2004 +0000 tchar-ptr-20040403 TCHAR != TCHAR * but MS VS .NET 2003 does not care. Why not? commit 4449276b5c16ca59fb95bfb573018ede60303763 Author: Jeffrey Altman Date: Sat Apr 3 23:16:37 2004 +0000 upgrade-dll-20040403 Apply the upgradedll to .CPL files as well as .DLL commit 086376b593f78d390d4031b2840b38dea1c1a2f2 Author: Jeffrey Altman Date: Sat Apr 3 20:50:37 2004 +0000 afsd-improvements-20040403 continuing attempts to identify the cause of the crash after the service shuts down successfully. (without success) Add shutdown logic for SMB and RX daemons. Fix Global Drive Mapping Add Global Drive Unmapping commit 9a7b375bcf2999d1bc92803a0d6af0d927233112 Author: Jeffrey Altman Date: Sat Apr 3 20:47:22 2004 +0000 fix-missing-parameters-20040403 Fix missing username parameter in calls to Mount Drives commit ce17273242d6864becde3c58fd0c75d1cc42fdb6 Author: Jeffrey Altman Date: Sat Apr 3 20:45:48 2004 +0000 resource-20040403 conflict resolution commit 426f7d6a01b6530417f7b565321ce527f3c094fb Author: Jeffrey Altman Date: Sat Apr 3 20:43:15 2004 +0000 precedence-20040403 != has higher precedence than & commit 9e4d68ffba1d0e6d370f80ced8e199e203db7b9a Author: Jeffrey Altman Date: Sat Apr 3 10:34:16 2004 +0000 more-cleanup-20040403 removal of unused variables, formatting, comments, etc. commit 536c4547d6c31031d96a9b2b05b5888d88bd0b7e Author: Jeffrey Altman Date: Sat Apr 3 08:59:53 2004 +0000 even-larger-ticket-sizes-20040403 Microsoft Windows 2003 max ticket size is 12000 commit c38e32c7786e7a913cb431c81d5ffc9dc0a30cf1 Author: Jeffrey Altman Date: Sat Apr 3 08:17:52 2004 +0000 reformatting-20040402 Reformatting of the source code. Minor editorial changes to comments. commit 2d0b67fed04275407daa5f9f1130def159bdc063 Author: Jeffrey Altman Date: Fri Apr 2 17:41:27 2004 +0000 unitialized-return-variable-20040402 krb5_des_decrypt() does not initialize the return value to 1, failure, therefore it returns random success (0) values when ticket types of DES-CBC-MD5 or DES-CBC-MD4 are used because we do not have checksum functions for those types. commit 4c6238b3d9a18bc5ac0bb0ebde1dc2d47f7cdb22 Author: Jeffrey Altman Date: Fri Apr 2 12:12:01 2004 +0000 restore-original-size-test-20040402 feeling like an idiot. the original test compared the size of the ticket field in the ktc_token struct allocated by the app which might be smaller than the size of the field defined in the library commit 8939c5189d4ef626de580dd4790499ceaa56b2b4 Author: Jeffrey Altman Date: Fri Apr 2 11:54:35 2004 +0000 something-weird-20040402 something weird. the previous commit had diff marks. commit 92e83f6d684d967d3fdbb4c2147a98a3eba45fbf Author: Jeffrey Altman Date: Fri Apr 2 11:52:49 2004 +0000 one-more-try-20040402 much too sleepy. TBUFFERSIZE for all tbuffers commit 64fe0b914d0f4d22feb24239995a50be9c8288cb Author: Jeffrey Altman Date: Fri Apr 2 11:41:58 2004 +0000 lowercase-cell-20040402 Lowercase the cell name (from realm name) for which we are requesting set/get token operations Return the error code generated by the ktc_SetToken operation and not one of the many Kerberos operations. commit 49fd75dce4a56ce76659aaff296e9e106c614b00 Author: Jeffrey Altman Date: Fri Apr 2 11:39:13 2004 +0000 maxticketsize-20040402 When processing pioctl() operations, properly perform the test of the ticket size to the ktc.ticket field. The field is of fixed size MAXKTCTICKETLEN and not some value which is adjusted based upon the content of the message. commit 2b0160125f80266e811987a1fc453fa892e7f2c1 Author: Jeffrey Altman Date: Fri Apr 2 08:46:07 2004 +0000 maxktcticketlen-20040402 The buffer size for the ktc_SetToken and ktc_GetToken should be of size MAXKTCTICKETLEN not some arbitrary value. commit 52abace67922a1da7c99334a2352817721fb1f42 Author: Jeffrey Altman Date: Fri Apr 2 07:56:24 2004 +0000 windows-server-config-20040402 Corrections to the libadmin interface for the Windows Server Configurator ==================== 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. ==================== Use lanahelper.lib for the server configurator as well commit 3ee69178951dcb50168d53e4d4c7f2c032c4c273 Author: Ed Moy Date: Thu Apr 1 23:26:22 2004 +0000 macos-fstab-fun-so-fileserver-works-20040401 so we use getfsent and actually find vice partitions (and make volinfo work) commit 1503077a553eefe40104b7b60300ea4ac1d825f3 Author: Jeffrey Altman Date: Thu Apr 1 20:53:49 2004 +0000 rxkad-increase-token-ticket-sizes-20040401 In order to support the large ticket sizes produced by Microsoft Active Directory and allow the use of raw Kerberos 5 tickets as tokens increase the size of MAXKTCTICKETLEN and MAXKRB5TICKETLEN to 4096 from 344 and 1024 respectively. commit 10e3aa6cc28d74bcc65eaf43fcf78c229fed72b6 Author: Jeffrey Altman Date: Thu Apr 1 20:51:09 2004 +0000 kill-afsd-20040401 Remember to kill afsd_service.exe when uninstalling. commit 3f91e4305a8261e202e71d62f119fd92940dc9cd Author: Jeffrey Altman Date: Thu Apr 1 20:49:49 2004 +0000 smb-8dot3-pattern-matching-20040401 Do not enforce the funky 8dot3 pattern matching rule that the first "." is special when using long file names. (you must use "*.*" and not "*") Instead only enforce it when performing 8dot3 searches. commit a346d60fee93916b6a6e0ecace8cd2d77a695ffe Author: Jeffrey Altman Date: Thu Apr 1 20:46:42 2004 +0000 afsd-debugging-20040401 Add additional debugging during initialization commit 9692a83f626cf362c2b796a9ea79d80dcf1dc8fe Author: Jeffrey Altman Date: Thu Apr 1 20:45:03 2004 +0000 resource-string-loading-20040401 Fix TaLocale_Initialize to be thread safe Fix String Resource loading to not generate exceptions which must be caught by try-catch(...) commit c357237a23785092f1d5b46824612a3ba3720b3a Author: Jeffrey Altman Date: Thu Apr 1 20:43:06 2004 +0000 kfw-ak5log-20040401 Remove internally defined life_to_time. Instead rely on version in rxkad Use kvno = RXKAD_TKT_TYPE_KERBEROS_V5 when setting tokens. No longer use krb524d. Fix the assignment of the username and instance to place the instance within the aclient.instance field instead of appended to the aclient.name field. commit 784c86de8cc5e8329fafceeb5724957c31239024 Author: Jeffrey Altman Date: Thu Apr 1 20:38:37 2004 +0000 windows-srvr-cfg-resource-20040401 Renumber and re-organize all of the String Table entries to adhere to the rules specified for dynamically loading them with the tools in WINNT/talocale. All numbers must be sequential. Each block must begin on a mod 16 == 0 value. ==================== 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. ==================== Update resource constants to avoid conflicts commit a75d4cd3f8c4c90ace20da98c543ae745b88e089 Author: Jeffrey Altman Date: Thu Apr 1 20:29:38 2004 +0000 ntmakefile-clean-20040401 Cleanup the *_component_version_number.* files in all directories commit b197192bcc2922b98f05909e88a32616680c82ae Author: Derrick Brashear Date: Fri Mar 26 07:42:21 2004 +0000 winnt-dont-display-ibm-legal-message-20040326 remove the ibm legal message display at bosserver startup commit df33edc04970e10262ac04c9b80ad1d7e7c26327 Author: Jeffrey Altman Date: Fri Mar 26 06:39:23 2004 +0000 win-xp-sp2-20040325 Support for punching holes in the Win XP SP2 Firewall for AFS Cache Manager Callbacks commit 2e455c370266d8f522532b8a8b4073ee603cd89b Author: Derrick Brashear Date: Thu Mar 25 23:25:50 2004 +0000 pam-login-sia-et-al-reorg-20040325 FIXES 3680 rework top makefile to build pam or not depending on acinclude.m4 commit 7e55cf6c267e808315ed0150202423e6ce9f0b50 Author: Nickolai Zeldovich Date: Thu Mar 25 22:52:15 2004 +0000 remove-vnop-dont-unmount-fix-20040325 Make remove-vnop-denies-unlink-on-mtpt-20040325 more likely to work, and don't forget to afs_PutFakeStat() while we're at it. After we call afs_EvalFakeStat(), there's no way that mvstat can be 1 -- either the object wasn't a mountpoint and it'll be mvstat 0, or EvalFakeStat will evaluate it and it'll be mvstat 2. commit df744ad374e51255883eb69dcf9f226d673af7be Author: Derrick Brashear Date: Thu Mar 25 22:10:54 2004 +0000 remove-vnop-denies-unlink-on-mtpt-20040325 FIXES 3724 if mvstat is 1, we're a mountpoint; simply short circuit EISDIR and return commit 75f081a027e10c335e680136b44f60af6e0357b4 Author: Jeffrey Altman Date: Thu Mar 25 19:37:41 2004 +0000 afsd-service-shutdown-crash-20040325 More fixes to the afsd client service which do not result in solving the problem but still should be done. commit 82817983fec1cdffe8bc9f2fc0d2f8edaa48ac9d Author: Jeffrey Altman Date: Thu Mar 25 19:35:49 2004 +0000 global-mapping-20040325 Undo change imported from MIT bulk changes commit 02991c3b70950049a157231df29cdf6669095e50 Author: Jim Rees Date: Thu Mar 25 17:04:44 2004 +0000 openbsd-20040325 go back to using afs_vget instead of VREF for VN_HOLD in afs_vget, only insert vnode in mount queue if it came off freelist commit a1bfd0339cb3a6bcb42ac9821972ce34d59c5fb5 Author: Jim Rees Date: Wed Mar 24 22:53:19 2004 +0000 openbsd-packaging-20040324 fix small typo commit 819a0a44fe6da377584c58eea33285c4ba54353f Author: Derrick Brashear Date: Wed Mar 24 17:36:57 2004 +0000 viced-dont-atoi-NULL-20040324 FIXES 3726 check argument number when processing args at startup commit 6ec96854457716f5b056007b013db998c1f31683 Author: Jeffrey Altman Date: Wed Mar 24 09:47:06 2004 +0000 nsis-install-20040323 Uninstall should be deleting CRT and MFC DLLs; not be installing them Add new startup flags to the LogonScript for Integrated Logon commit 8b6ff6ca6b73051104ffd8bf1a8ee74b0be7ce74 Author: Jeffrey Altman Date: Wed Mar 24 09:24:16 2004 +0000 static-cm_dnsEnabled-20040323 Make cm_dns.c cm_dnsEnabled static to prevent potential conflict (not really) with a variable of the same name in afsd_init.c commit fa95e92340e92f23ddb7bd182c3b2d1cc98b6763 Author: Jeffrey Altman Date: Wed Mar 24 09:22:59 2004 +0000 bad-checkin-20040323 bad checkin commit 344b1f3f2ce5d50c560d905199dbac9d2c2165e0 Author: Derrick Brashear Date: Wed Mar 24 08:40:19 2004 +0000 sunx86-59-sysname-id-20040324 add missing sysname id for solaris 9 x86 commit afcb78c966d30aae222c5d3b3812e315396ca03b Author: Derrick Brashear Date: Wed Mar 24 08:38:15 2004 +0000 aix52-add-param-header-20040324 FIXES 3718 copy and modify the aix 5.1 header commit 074c2f0909c389bc4fee44e7849650a44e1695fd Author: Jeffrey Altman Date: Wed Mar 24 08:35:36 2004 +0000 version-update-20040323 1.3.6200 commit 28c0534dfbfdb90809118ddf9fa5d224a828c11b Author: Jeffrey Altman Date: Wed Mar 24 08:32:16 2004 +0000 no-getcellconfig-error-20040323 don't produce a MessageBox when getcellconfig fails commit 5cf8fc1d99460d3d7a99bf0950b7e8f6852515e7 Author: Jeffrey Altman Date: Wed Mar 24 08:27:36 2004 +0000 no-longjmp-20040323 Do not use setjmp/longjmp in multithreaded code. It will destroy the stack. commit 14de0321462526f69390586475e56950abd53c92 Author: Jeffrey Altman Date: Wed Mar 24 08:25:39 2004 +0000 integrated-logon-20040323 Cleanup the integrated logon code. Remove memory overwrites. Refactor the rest of the code. Make it readable. commit 5865e9cbd8f3b7c91e0bdd6cd4c1bbe1f10bdaa0 Author: Jeffrey Altman Date: Tue Mar 23 04:45:29 2004 +0000 doug-nsis-20040322 apply patch to include more header and lib files. ==================== 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. ==================== Fix doug's patch. remote extraneous colons Move (once again) the DependsOnXXX values to the right place. (how did these end up back in NetworkProvider?) commit 08845d854861dd7c4b1cefce61e49e4e8d01dc2b Author: Jeffrey Altman Date: Mon Mar 22 05:40:52 2004 +0000 uninstall-exception-handler-20040321 Before we shut down the service and return control to the service manager uninstall the exception handler before it gets unloaded from the process. commit f31cd9a4f3911aafd5b0c634b2159edcd6150972 Author: Jeffrey Altman Date: Mon Mar 22 04:09:48 2004 +0000 power-mgmt-20040321 #define REGISTER_POWER_MANAGEMENT commit 45ca8632f29e21e00bf8d687beff1d5aa8106a75 Author: Jeffrey Altman Date: Mon Mar 22 04:07:10 2004 +0000 power-mgnt-close-handles-20040321 Close the Handles before terminating the thread to ensure that additional power events cannot be queued during shutdown. commit efc9d62e932c283700ce7ad66258fb6eb63a8a04 Author: Jeffrey Altman Date: Sun Mar 21 23:03:56 2004 +0000 nofindlanabyname-20040321 Disable the Find Lana By Name functionality for 1.3.61 because it appears to be causing grief for too many people. commit ec0b44efad35f859057c1e059f9723202de52666 Author: Jeffrey Altman Date: Sun Mar 21 21:35:27 2004 +0000 version-1-3-6100-20040321 update version to 1.3.6100 commit 8ef7d621c5903eeeacaeded88384e38e4f666339 Author: Jeffrey Altman Date: Sun Mar 21 20:56:25 2004 +0000 nsis-installer-20040321 Remove Rob's new way of installing services as it does not appear to work properly. Add in code to test the legitimacy of the upgrade to ensure we don't try to upgrade an old IBM AFS version that isn't supported Make sure that the only AFS in the PATH is ours and that we are only in once. Add the TransarcAFSDaemon entry into the Control\NetworkProviders::Order value to support Integrated Login Build service.exe and killer.exe with static libraries to avoid run-time dependencies at install and uninstall time ==================== 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. ==================== Check both Client and Server for unsupported previous installation commit 53029f4827f2769fe149f5082e11428cfdc92cf5 Author: Jeffrey Altman Date: Sun Mar 21 19:48:49 2004 +0000 debug-log-20040321 A more informative log message plus fix uninitialized variable commit f1a997e27528fce3ea550e51f01f853806602d33 Author: Jeffrey Altman Date: Sun Mar 21 11:41:57 2004 +0000 VLCallBack-vos-20040321 The variable 'm_unique' is an afs_uint32 where the desired parameter must be of type struct VLCallBack when attempting to call VL_GetAddrs. I do not know how this code ever worked on any platform as the stack was being overwritten. This produced binary, vos.exe on windows, also generates massive memory leaks. I do not think we care all that much because the utility does not stay around all that long. However, the fact that the API makes it so easy to lose memory is scary. commit 6b11da1d0c4b7773be3aa4888d87e37fe3011239 Author: Jeffrey Altman Date: Sun Mar 21 05:24:19 2004 +0000 nsis-service-20040320 Incorporate a new NSIS library ServiceLib.nsh which will allow us to avoid using the Service.exe which we must build from Service.cpp commit 4e5c8d47a2e15bd827ee9d6f627d0c66d52301e8 Author: Jeffrey Altman Date: Sun Mar 21 04:27:10 2004 +0000 registry-20040320 Document "NoFindLanaByName" commit 010b9d04371b7abb0fa3d943fe75d849d87744d9 Author: Jeffrey Altman Date: Sun Mar 21 03:12:55 2004 +0000 more-optimizations-20040320 Replace all calls to lana_GetNetbiosName with GetClientNetbiosName which performs the local caching commit d1bbfc0d0e1348bf2faffb2c784bae3038435b71 Author: Jeffrey Altman Date: Sun Mar 21 03:05:45 2004 +0000 find-netbios-optimize-20040320 In Mount_ReadSubmount() cache the first response to GetNetbiosName() since the result won't change and the work necessary to get the result is considerable. We don't want to be calling it loops over and over again. commit e3b52b0bc6089a100df804698c96081cd48e8229 Author: Jeffrey Altman Date: Sat Mar 20 18:42:16 2004 +0000 prevent-crash-at-shutdown-20040320 The Power Management Exit routine was instructing the thread to terminate but was not waiting for the conclusion of the operation before returning control to the caller. This allows the service to pass control to the Service Manager before cleanup was properly completed. commit aaed9b1a5a8799290b7063a173e5bb0a023cf3d0 Author: Jeffrey Altman Date: Sat Mar 20 18:00:01 2004 +0000 per-user-registry-20040320 Rename existing registry Read/Write functions to Global Add new registry functions to support Per User Read/Write operations Clean up references to Registry Key strings Change "ShowTrayIcon" to be a "Per User" item from a "Global" item commit 804a85a4872643925e0d204ff301ef68aca2bef6 Author: Jeffrey Altman Date: Sat Mar 20 17:23:48 2004 +0000 fs-setserverprefs-bug-20040320 FIXES 3555 Rodney Dyer (UNCC) reported that the "fs setserverprefs" command if issued multiple times would result in the AFSD server becoming unresponsive. This appears to have been caused by improper use of writeLocks, a failure to use writeLocks when necessary, and improper reference counting on the cm_server_t data structures placed into the cm_allServersp list. commit c763e4b64308867c4bbc36f243462701c63874bf Author: Jeffrey Altman Date: Sat Mar 20 07:55:38 2004 +0000 tab-drives-20040319 the mount root is used to define mount paths not the netbios name commit 2b0462c68d9a319d56743a67d850bd5218d34840 Author: Jeffrey Altman Date: Sat Mar 20 01:03:08 2004 +0000 use-dns-install-fix-20040319 allow use of dns to be configurable commit 16125086891f14efb1618e2d5ac30697518007db Author: Jeffrey Altman Date: Sat Mar 20 01:01:07 2004 +0000 non-kfw-probe-fix-20040319 Fix the non-KFW case of the KDC Probe. Prevent infinite loop. commit 24cee2b758cfd8f1ed4054781034ab97fdadaae3 Author: Jeffrey Altman Date: Sat Mar 20 00:56:28 2004 +0000 version-update-20040319 Update version to 1.3.6090 commit 4b0f00c40799cdecfaaac232dea41afed1fd8219 Author: Jeffrey Altman Date: Fri Mar 19 19:50:27 2004 +0000 dns-fixes-20040319 Reorganize some debug statements to put them in more consistent locations Do not initialize the internal dns support if using the Windows DNS API. (Win2000 and above) commit bd1febc8932662ff6407af62cc7093f25c42078d Author: Jeffrey Altman Date: Fri Mar 19 19:44:31 2004 +0000 nsis-installer-20040319 Fix: The use a provided CellServDB file option was not working. You can't compare a filename to "1" and expect it to work. Add: Make the use of DNS optional and default it to off. commit e53d7575f364efe014fe01bb85b38f5a1f404b3a Author: Jim Rees Date: Fri Mar 19 16:38:29 2004 +0000 obsd-vnops-warnings-20040319 eliminate compiler warnings commit 9c05a6f66d6a1e0c2c3e13a98042a104fd33d15d Author: Jim Rees Date: Fri Mar 19 15:37:10 2004 +0000 freebsd-mkdir-panic-20040319 don't vput(dvp) on error return from afs_mkdir (vfs already does this) bug found by, and fix tested by, adridg@sci.kun.nl commit c396fdec11f575cfa8adcdc268e30eeec2e98449 Author: Derrick Brashear Date: Fri Mar 19 07:58:52 2004 +0000 irix-ucred-is-really-cred-20040319 FIXES 3651 gotta wonder what crack monkey came up with this AFS_UCRED is ucred in osi_machdep.h, and ucred is redefined to cred in osi_vfs.h whatever commit e1cc03f597954d6e70086dbccf989f791b123c66 Author: Jeffrey Altman Date: Fri Mar 19 05:16:24 2004 +0000 getipaddrlist-20040318 Improve error checking in GetNumOfIpAddrs to prevent potential invalid memory access if the IP Address Table cannot be accessed. (win2000 with no privs) commit 48913f747f4f3df491295b78a51167dfa7f0d264 Author: Jeffrey Altman Date: Fri Mar 19 03:52:07 2004 +0000 afslogon-20040318 Fix memory deallocation errors (never call free() on memory allocated by GlobalAlloc() or LocalAlloc()) Modify event logging to be consistent between High and Low Security Only generate a random user name when using High Security. Use the normal user name when running with Low security. commit e8fc0557d3da988b9a830af0dd0b84c27a4c1ff4 Author: Jeffrey Altman Date: Fri Mar 19 01:09:40 2004 +0000 notifyaddrchange-20040318 NotifyAddrChange() on Win2000 without privs fails. Detect the failure and terminate the IPChangeMonitor thread to prevent an infinite loop eating up system resources. Anyone have a clue which bits are required? commit 8f0422422defc4e74f05e0e36c54f810c204bfa5 Author: Jeffrey Altman Date: Thu Mar 18 06:13:55 2004 +0000 the-correct-mkdir-fix-20040318 Apply the correct file including the fix to the MIT recursive directory creation patch. commit 1d568df733ce07f252800b1e2ca86cf89ee8625f Author: Jeffrey Altman Date: Thu Mar 18 06:10:12 2004 +0000 mkdir-fix-20040318 Fix recursive directory creation from MIT for single component case. commit c9aaa428368f9a3eb0d1bff45c185929fcfaa5b2 Author: Derrick Brashear Date: Thu Mar 18 05:12:18 2004 +0000 irix-attempt-to-detect-kernel-mem-routines-20040317 FIXES 3651 first pass at routine to detect kernel mem* routines ==================== 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. ==================== FIXES 3651 second try ==================== FIXES 3651 third try ==================== FIXES 3651 this time for sure. includes the definitions too, this way we can not have macros conflict with headers we don't need ==================== FIXES 3651 this time for sure. includes the definitions too, this way we can not have macros conflict with headers we don't need ==================== FIXES 3651 this time for sure. includes the definitions too, this way we can not have macros conflict with headers we don't need commit 83b2f72a94b9e6953006acef4729694ee6b74271 Author: Jeffrey Altman Date: Thu Mar 18 04:32:20 2004 +0000 move-readme-to-top-20040317 Move the README files to the top directory where they belong. ==================== 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. ==================== As of 1.3.60 move the Windows Readme files from src to top directory commit 455c1786bc1e833006b0229a76b5258e04045843 Author: Jeffrey Altman Date: Thu Mar 18 04:03:21 2004 +0000 windows-readme-updates-20040317 Add warning to WIN9X indicating that OpenAFS probably won't build on WIN9X anymore. Describe the new build procedure for 2000/XP/2003 in README-NT commit 3110c898e71856bfb63a21ea40004582e2a21283 Author: Jeffrey Altman Date: Thu Mar 18 03:39:54 2004 +0000 fix-install-bugs-20040317 Fix: Compatibility with IBM/Transarc and 1.2.10 installations Correct Pathname Compatibility with incorrect Pathname from 1.3.xx > 1.3.5299 Call CheckSDK on upgrades commit 367c8076b1a38dc6294dfb7f394512dfe3311766 Author: Jeffrey Altman Date: Thu Mar 18 01:46:48 2004 +0000 a-better-way-20040317 Make the directories first, then the trailing spaces won't matter. commit 18cdb6be81e22cbd31f8ed5b2b39a241a6a21218 Author: Jeffrey Altman Date: Thu Mar 18 01:42:36 2004 +0000 missing-spaces-20040317 Add trailing spaces to xcopy commmands. commit 096366d658312d882751aac401a5241996dcc7e8 Author: Jeffrey Altman Date: Thu Mar 18 01:20:10 2004 +0000 nsis-20040317 make sure that afscreds.exe is terminated after executing with the -z option. commit eecfad90abfb3db3f132da21c97e5fe31ca39fb7 Author: Jeffrey Altman Date: Thu Mar 18 00:34:50 2004 +0000 update-afsdcell-20040317 grab current version from http://grand.central.org/dl/cellservdb/CellServDB ==================== 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. ==================== grab latest version from http://grand.central.org/dl/cellservdb/CellServDB commit 03c7ef7b7fcfced553456cf3c40974705fbb7f8e Author: Jeffrey Altman Date: Thu Mar 18 00:00:15 2004 +0000 1360-version-20040317 Update the version number to 1.3.6000 commit c7b595608e1a691194871be239de3e02823cace8 Author: Derrick Brashear Date: Wed Mar 17 08:24:13 2004 +0000 darwin-new-systypes-20040317 make autoconf figure it out for us commit 7e1fa15ac11ece2a7a08fa3637e8c789aea39127 Author: Derrick Brashear Date: Wed Mar 17 07:51:57 2004 +0000 aix-install-kmods-20040317 would be nice if make dest worked again commit b0601bd700b74a76adaf8daa865cc47b4eead312 Author: Derrick Brashear Date: Wed Mar 17 07:21:43 2004 +0000 aix64-dont-build-on-aix4-20040317 don't build the 64 bit stuff on aix 4 commit 02ed7daa25442fbe33b7be8743c4fb0e10d8492d Author: Derrick Brashear Date: Wed Mar 17 06:43:34 2004 +0000 support-nfs-translator-sysname-lists-20040317 support sysname lists in nfs translator commit a14a3dd7c19f54c434fc01d4dafd0384d1f9c608 Author: Derrick Brashear Date: Wed Mar 17 06:38:38 2004 +0000 macos-update-readme-20040317 FIXES 3317 update readme to indicate success through 10.3.3 commit 9f546d5700193beabc00761b4f8e9e1532cc5a12 Author: Derrick Brashear Date: Wed Mar 17 06:27:37 2004 +0000 distclean-remove-include-lib-20040317 FIXES 3610 include a lib directories generated during build not removed fix it. commit 1da4853098c494e35fcb00089381d69446fdbd5d Author: Jeffrey Altman Date: Wed Mar 17 04:20:31 2004 +0000 fix-typo-20040316 fix last commit commit 7bb8cfd27fa67987872100cda07df2f4a2cff1f7 Author: Jeffrey Altman Date: Wed Mar 17 04:17:20 2004 +0000 use-oldstyle-netbios-name-for-default-20040316 For UNCC, allow old style netbios name to be the default for this release to give them time to convert their scripts to use \\AFS\... instead of \\%MACHINENAME%-AFS\... commit 8022d7659eb2ab04bc4102c5a016857bf5815d1a Author: Hartmut Reuter Date: Wed Mar 17 02:29:39 2004 +0000 aix-largefile-update-20040316 FIXES 3647 don't allow reading past the end of a file commit ec0ba71b30179be312452208bed139db0d9f01cf Author: Jeffrey Altman Date: Tue Mar 16 22:03:00 2004 +0000 reg-expand-str-20040316 Change the NetbiosName registry value from REG_SZ to REG_EXPAND_SZ and add the necessary code to expand the strings. This will allow the use of %COMPUTERNAME%-AFS in case people want to explicitly use a non-portable name. ==================== 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. ==================== Update text for NetbiosName value. commit b0ba6348441e330509e444d77753d44940da19dd Author: Jeffrey Altman Date: Tue Mar 16 16:21:42 2004 +0000 registry-20040316 Fix the DependsOnGroup NetworkProvider key to ensure it is placed in the correct location Change the location of the ShowTrayIcon key so that we no longer store user data in the HKLM Transarc tree ==================== 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. ==================== Move the locations of the ShowTrayIcon and cell name based expiration reminder keys out of the HKLM\SOFTWARE\Transarc... key and into the {HKCU,HKLM}\SOFTWARE\OpenAFS\... tree. This is safe to do because these keys are transient in nature (created by afscreds.exe) and really do belong to the user and not to the machine. commit 462160c4d08d45dcc2ec9ec46397e83b4fb62c0c Author: Jim Rees Date: Tue Mar 16 16:19:07 2004 +0000 freebsd-pkg-builder-20040316 Mention the FreeBSD package builder, with warning. commit 6580ab06807de87fe6b4f7c9b83de004a8774772 Author: Jeffrey Altman Date: Tue Mar 16 16:15:36 2004 +0000 registry-notes-20040316 Update the registry usage for 1.3.60 Add information for the Network Provider values and the AFSCreds.exe values. commit 741486ef8356743aa3b42b07b9501c42ac1e1dec Author: Jeffrey Altman Date: Tue Mar 16 04:40:10 2004 +0000 service-dependencies-20040315 Fix the location of the registy values to be used for specifying the service dependencies of the AFS Network Provider. AFS is dependent on PNP_TDI (tcpip, netbt, etc); RpcSs; and NetBios. Upgrades were failing to read the Cell name from the proper location so that it could be restored. commit 18fde45d13a62f7e861887adffaa08bbbc63d2b3 Author: Jeffrey Altman Date: Tue Mar 16 04:32:45 2004 +0000 kfw-thread-safety-20040315 Add a mutex semaphore around the kfw initialization code to prevent multiple threads from attempting to initialize simultaneously. commit 348e26e10deaee7306a739c4f25ae8c0bf8bf5c4 Author: Dr. Dieter Mack Date: Mon Mar 15 18:51:03 2004 +0000 uss-kauth-support-lockout-20040315 FIXES 3637 minor reformat by shadow@dementia.org make uss kauth support account locking correctly. commit a70f5d8c51c9f81414f7604907f97caefa904657 Author: Jeffrey Altman Date: Sun Mar 14 01:28:24 2004 +0000 hourglass-20040313 Ensure that all functions which perform a pioctl() call also change the icon to an hourglass. Replace calls to InAFS() with the function IsPathInAfs() and remove InAFS() since they were identical functions. commit 79af038ceaecba4cf4a79308e6798baa0798fd20 Author: Jeffrey Altman Date: Sat Mar 13 21:51:07 2004 +0000 lets-get-it-right-20040313 the NSIS script crashed on a test machine. Fix the use of variables. When using the System.dll plug-in; you must use $1..$9 instead of $R1..$R9 commit 974943281e6bdb2c4d61f0e2dbc1115fbb2b9890 Author: Jeffrey Altman Date: Sat Mar 13 21:24:41 2004 +0000 update-to-nsis-script-20040313 Modify NSIS script to prevent overwriting variables commit d4b9b483df4f91928d1d6e1cf7e14901acc0566a Author: Jeffrey Altman Date: Sat Mar 13 21:07:36 2004 +0000 mutex-token-access-20040313 This is an initial crack at one of the big problems with the existing AFS client. Multiple processes in a single session or in multiple sessions (terminal server) can step on each others toes. This is because the dual use of RPC and SMB calls to perform operations. Since nothing is done in a single synchronized step, there are plenty of opportunities for data overwrites to occur. The change was to add a Global Mutex within all of the ktc_XXXToken calls. The use of "Global\" prefixed kernel objects are only supported on Win2000 and above. This is fine because this is all we claim to support. But if someone was to decide to run this code on NT4 or Win95 anyway bad things will now happen. This should probably be cleaned up if someone has time. commit 9b8b47a3d2402224f2180150ce1d49419625fc41 Author: Jeffrey Altman Date: Sat Mar 13 21:00:52 2004 +0000 empty-cell-name-fix-20040313 If the Registry contains a "Cell" entry which is the null string don't crash. Instead panic and log an appropriate error. commit facb3c0102a65522165fcb03dcbc8a5db9409bfc Author: Jeffrey Altman Date: Sat Mar 13 18:34:23 2004 +0000 add-registry-values-20040313 Add registry values to enforce service startup dependencies Increase the RxMaxMTU value from 1200 to 1260 based upon experience running across the Cisco VPN at MIT, Cert, and Fermi. commit 04f4e9849434bf06c89ed13b941f5b969d142373 Author: Jeffrey Altman Date: Sat Mar 13 18:28:39 2004 +0000 registry-call-optimizations-20040313 Do not read the same value from the registry three times in the same function. commit f3599342f6e85e01a351fb35bad0ee518b2a4980 Author: Jeffrey Altman Date: Sat Mar 13 18:26:42 2004 +0000 remove-extraneous-code-20040312 Remove calls to obtain the netbios name which is placed into variables which are never referenced. commit ffb5b960276fb59da08d4312690ff60cc36959e6 Author: Jeffrey Altman Date: Sat Mar 13 18:24:14 2004 +0000 remove-loopback-test-from-smb-20040313 Now that the loopback test is being performed within the LANA Helper library we should not be performing the test in the smb init code. commit 5febc849d9f4bd6b84bede9c23e840a0795fc2d5 Author: Derrick Brashear Date: Fri Mar 12 05:56:59 2004 +0000 linux-ukernel-pthreads-ugliness-fix-20040312 really an autoconf test should do this. in the meantime we do this. commit 4a4b438592af15bb1a574d77d18e404a65dacd8d Author: Derrick Brashear Date: Fri Mar 12 03:27:32 2004 +0000 juafs-makefile-fix-20040311 make the juafs rules not break the makefile (remove bogus quoting) commit 01653376bf4e649e755e5d1a3f0aaab147dd0975 Author: Derrick Brashear Date: Fri Mar 12 02:30:45 2004 +0000 irix-deal-with-sh-versus-make-vars-20040311 FIXES 3322 so the LDFLAGS variable doesn't get shadowed we do this commit e0a1f4ab4374852323660a250781865a545c4986 Author: Jim Rees Date: Thu Mar 11 22:35:45 2004 +0000 freebsd-pkg-builder-20040311 freebsd package builder not quite right yet, the rc file won't work commit dd2979bce9926895b2da1f534779c906dfd4db51 Author: Jim Rees Date: Thu Mar 11 20:39:07 2004 +0000 openbsd-shutdown-panic-20040311 openbsd: use vrele instead of AFS_RELE in unmount to avert panic acquire GLOCK in mount (not really needed but oh well) other finnicky and needless tweaks commit e1281a2014433fce1ec31caa2652cbf1ef743b6a Author: Chaskiel M Grundman Date: Thu Mar 11 20:22:07 2004 +0000 inode-largefile-attempt-20040311 FIXES 3519 attempt to deal with large file fileservers for inode versions. not done yet commit 49038f32b99088448609b54165dcc08b6429abc0 Author: Jim Rees Date: Thu Mar 11 19:14:46 2004 +0000 openbsd-vrefs-20040311 OpenBSD bug fixes: fix vnode refcount botch introduced by freebsd merge fix yet another deadlock in the vnode reclaim path commit fc4ab52ec4839afb91168f846b84a05bc6df60cc Author: Lynn Zhang Date: Thu Mar 11 07:31:46 2004 +0000 buserver-support-clones-20040311 FIXES 3355 support ubik clones in buserver as with other ubik servers commit 7b838f474b15f038d52603758460d987dbcf0369 Author: Derrick Brashear Date: Thu Mar 11 07:24:23 2004 +0000 base64-elsewhere-20040311 base64 is in util, and has a different name. commit 70a4232ec9d6b0b0fd4931e255a811afa86e2499 Author: Derrick Brashear Date: Thu Mar 11 07:20:31 2004 +0000 irix-afs-osi-credp-declared-elsewhere-20040311 revert to 1.2 declaration for irix commit 5cef3a3fca214a8ce576928bf922214f156bc5dc Author: Nathan Neulinger Date: Thu Mar 11 07:15:52 2004 +0000 viced-revert-EIO-and-instead-use-zero-length-20040311 FIXES 3594 this was the other considered approach, i'm unsure why it's needed, but we'll play along for now. commit bfc88419b13fc1df44f033dcd3a73a92b2f46693 Author: Derrick Brashear Date: Thu Mar 11 06:30:58 2004 +0000 rx-user-dont-redefine-isafs-glock-for-ukernel-20040311 rx/UKERNEL/rx_kmutex.h already covers this commit 76405667dcc7fe0dc91651d44346c686a6951515 Author: Derrick Brashear Date: Thu Mar 11 06:05:54 2004 +0000 aix-update-linktest-20040311 aix hates darwin, again. include netinet/in.h (which was implicit from rx/rx.h before) to make aix happy commit 04c2e8aef35efde22d0fcc678bd3163fbf47b54f Author: Derrick Brashear Date: Thu Mar 11 05:40:31 2004 +0000 aix-uafs-dir-compile-20040311 make dir package work for uafs on aix commit d0f33e1d88e6e252b9abffea77f2d5712ca3c23c Author: Jim Rees Date: Wed Mar 10 23:01:50 2004 +0000 freebsd-20040310 Support for FreeBSD 5.x client. Both 4.x and 5.x now use vnodes from the system pool instead of attaching a private vnode to the vcache. Most of this is from Garrett Wollman , I just did some integration and made it work again on 4.x. commit 9eea027e69d630d64da24fc1b69ac36c9a153e43 Author: Derrick Brashear Date: Wed Mar 10 17:14:13 2004 +0000 aix-dont-build-64bit-on-aix4-20040310 no 64 kit module for aix4.3.3 commit d3b28b180b1099c0267d6d9492ed319e277ef772 Author: Derrick Brashear Date: Wed Mar 10 17:12:08 2004 +0000 aix5-missed-autoconf-support-20040310 put back the aix5 stuff in autoconf files commit 7e1b1a2e0d6a70832ea993af71d130a0a8ff8239 Author: Derrick Brashear Date: Wed Mar 10 08:35:38 2004 +0000 macos-build-update-20040310 make the head build again. commit 99dbd4c52b0a8a13dc9e12662433dc4a856ddd4f Author: Jeffrey Altman Date: Tue Mar 9 05:47:30 2004 +0000 nsis-lang-file-fixes-20040308 Cleaned up the language file installations. Place language files in the same directories as the non-language files. Do not install the MSVC files twice. Install debug symbols for language files for all languages; not just German. commit 5afe47f3dbc93e21f88b9f198305a23f1d30a563 Author: Jeffrey Altman Date: Tue Mar 9 04:45:32 2004 +0000 nsis-improvements-20040308 UpgradeDLL updated by Rob Murawski Rob and I replaced dll installs with upgrades I removed all of the support for beta versions of NSIS now that 2.0 is officially released. commit 1269df5ffaebedeabb2afec48199500311cdc458 Author: Jeffrey Altman Date: Tue Mar 9 03:07:27 2004 +0000 unmap-debugging-20040308 Add more debug info to DoUnmapShare commit 91dac9e5b54925c2f410bd34b441fe8c44534f02 Author: Jeffrey Altman Date: Tue Mar 9 03:06:32 2004 +0000 afscreds-unmap-command-line-option-20040308 Add -z option to afscreds.exe which is called from the installer to unmap the drive shares when uninstalling OpenAFS. commit 5af850b9eefc20b6ae27ca1403917be0dc5294f9 Author: Jeffrey Altman Date: Tue Mar 9 02:02:38 2004 +0000 event-object-naming-20040308 Restore event object naming to the pthread objects. Be sure to identify the objects by PID this time to avoid conflicts. commit 1e97e0dcab286036411e320197158a6556fd6268 Author: Jeffrey Altman Date: Tue Mar 9 02:00:18 2004 +0000 kfw-not-installed-bug-20040308 * Remove attempt to free a krb5_context when KFW is not installed. commit 946b2218e29eef34e00355bffa70348dbb511acd Author: Jeffrey Altman Date: Tue Mar 9 01:57:34 2004 +0000 add-path-to-log-20040308 Discovered after wasting a huge quantity of time that it is possible for OpenAFS to be installed on machines already containing the IBM/Transarc AFS. Add the PATH environment variable to the log to allow this situation to be detected. commit 4c29d908300ed37f190681c07aa24c6e8dfbab1e Author: Jeffrey Altman Date: Mon Mar 8 14:02:50 2004 +0000 long-lifetimes-20040308 Add long kerberos 4 ticket lifetime support commit e0461bfb375a634850043b77b477e7015fbc3e9e Author: Jeffrey Altman Date: Mon Mar 8 02:23:34 2004 +0000 kfw-changes-20040307 * Increase debugging of the KFW code; * Remove the krb5_cc_remove_creds commit 28fe0be851223d4d08f1d4c54d9501592b96ac86 Author: Jeffrey Altman Date: Mon Mar 8 02:05:44 2004 +0000 fs-admin-privs-20040307 Add a requirement for Administrator privileges to the "fs setserverprefs" command. commit 2ad3f0377c1b1cb976379ba66d0df48f9c0bae0c Author: Jeffrey Altman Date: Sat Mar 6 21:38:48 2004 +0000 netbiosName-cellname-20040306 Add support for a new form of automatic share name generation \\netbiosName\cellname which means that on systems with the loopback adapter you can now refer to the athena.mit.edu afs cell as \\afs\athena.mit.edu\ This is implemented within cm_FindShare(). If the share name is not one of the special ones and cannot be found in the Submounts table, check to see if it is a known cell name, If so, create a path to the share of /afs/sharename with the "sharename" being lower cased. (I hope there are no cell names in mixed or upper case. This won't work.) commit 4ec7d4f8c29bbf750e85c68d684984c693470693 Author: Jeffrey Altman Date: Sat Mar 6 15:25:47 2004 +0000 NTMakefile-dependencies-20040306 Update dependencies on various libraries to enforce consistency checks commit c34c5822cd1629700e5da86b4a8b6cb879f071d8 Author: Jeffrey Altman Date: Sat Mar 6 13:27:48 2004 +0000 corrections-to-MIT-merge-20040306 * Corrections to MIT merge caught by Asanka. commit 30ad9faeb214fc1a2d362b79e73eb117ed2fe49c Author: Jeffrey Altman Date: Sat Mar 6 08:09:13 2004 +0000 lanahelper-20040305 Minor updates. Fix AFS Root UNC path string; add debugging code (off by default) commit 9be2bdb79de58c6c39478791bc1f4722a3c25483 Author: Jim Rees Date: Sat Mar 6 02:42:53 2004 +0000 inaddr-any-20040305 use INADDR_ANY instead of ADDR_ANY. commit 01059dcb66eef9d220b096730b9f168f42098865 Author: Jeffrey Altman Date: Fri Mar 5 23:27:07 2004 +0000 drivemap-fix-take2-20040305 * See I knew it wouldn't work. Revert to loop used in revision 1.14 commit 52d6f0920660cc736ee4b44edb566e9c2617550f Author: Jeffrey Altman Date: Fri Mar 5 23:19:33 2004 +0000 drivemap-fix-20040305 * an attempt at a cheap fix which probably won't work. commit 13c71ca0d33cde3dd9daecebb91012223e159b7f Author: Jeffrey Altman Date: Fri Mar 5 23:09:18 2004 +0000 lanahelper-library-20040305 * at my request Asanka Hearth of MIT ripped out all of the code used the compute the Netbios Name of the SMB Server and the mountRoot and constructed one commonly used library called lanahelper.lib. This library is now constructed in the WINNT/afsd directory and used throughout the tree. At least we now have consistency if nothing else. commit 93bb47640c5b672d924d934a6b81fab8a8410027 Author: Jim Rees Date: Wed Mar 3 22:41:05 2004 +0000 no-cdev-fsync-20040303 don't try to fsync() a character special dev reported and fix suggested by Helmut Jarausch commit ce9f211c09043f4888e46258f9d800e5c575a646 Author: Jeffrey Altman Date: Wed Mar 3 03:32:42 2004 +0000 smbname-consistency-20040302 These changes are an attempt to provide a bit more consistency when it comes to the establishment of SMB drive mappings. Whenever mappings are created, the same name is used when a name can be found. This is supposed to mirror what is performed in the integrated logon DLL. commit c5689df2864cb1f863cd35d760eefdb75ec4d965 Author: Jeffrey Altman Date: Tue Mar 2 15:41:43 2004 +0000 fix-service-start-permissions-20040302 When merging the Skyrope changes I forgot to specify the SERVICE_START privilege necessary to allow the -N option to work. commit 2617395f90db0c94c5c556c87ca0e82cc20fe649 Author: Jeffrey Altman Date: Tue Mar 2 07:23:41 2004 +0000 security-class-object-leak-20040301 Incorrect reference count management results in a leak of rx_securityClass objects. commit b37097c6b72528753bb81c15a254e00f2d29dbbd Author: Jeffrey Altman Date: Tue Mar 2 04:14:43 2004 +0000 name-event-objects-20040301 When naming event objects allocated in a library, make sure the names are unique by including the process id. commit 6152f1e0f21a8261bf5093ed972f1bdf4b20854f Author: Jeffrey Altman Date: Tue Mar 2 04:12:07 2004 +0000 openafs-nsi-20040301 Add two new registry keys: RxMaxMTU (DWORD) = 1200 (decimal) NoFindLanaByName (DWORD) = 1 (decimal) DEBUG builds only commit 403e46be7dfee98ef9ee818cf4b37530c5df1755 Author: Jeffrey Altman Date: Tue Mar 2 04:09:32 2004 +0000 afsi_log-buffer-20040301 Increase the size of the final buffer to be large enough to hold all of the data which is being written to it. commit 65b2c45287a42a7e6555c3a300e58e05d22c4039 Author: Jeffrey Altman Date: Sun Feb 29 22:22:19 2004 +0000 smb_fid_t-leak-20040229 There was a significant leak of smb_fid_t objects produced when copying files from an AFS volume. This is clearly part of the problem reported by UNCC. However, there is still an unexplained memory leak associated with reading and writing files even if the data is only being read from the cache. I am noticing reports of memory allocation overruns from the Debug CRT when freeing SCache objects. This could be a side effect of whatever is causing the memory leak. This will require more research. commit 85caa4d1ded464b2d89eb8d2a14a6cedf93de08c Author: Jeffrey Altman Date: Sun Feb 29 02:38:26 2004 +0000 win32-name-event-objects-20040228 This is a very bad leak of Event Objects. Name all of our event objects in an attempt to identify the source of the leak. Apparently, the leak is not coming from any Event Objects we are creating directly. Did find a misallocation of event objects in the smb code for the initial session object. Fixed. commit d83b9bb75aac67ef79857b731e421dbb6168311f Author: Jeffrey Altman Date: Sat Feb 28 19:13:26 2004 +0000 findlanabyname-20040228 * an attempt to fix the problems with stack overwrites when calling the undocumented calls does not work. check it in anyway. commit 7942e801d9b911139c6a947f5d6f7f32bee2dd7b Author: Jeffrey Altman Date: Sat Feb 28 19:10:05 2004 +0000 hidedots-fix-20040228 * Fix the Hiding of dot files. attributes were computed but never applied due to typo during merge * Prevent crashing during service shutdown by power management thread commit f0f49b80b0f4c5b400874dbe1fdeb6993bf20bee Author: Jeffrey Altman Date: Sat Feb 28 06:26:05 2004 +0000 afscreds-shortcut-params-20040227 Obtain Shortcut Parameters from Registry Key {HKLM, HKCU}\SOFTWARE\OpenAFS\Client (REG_SZ) AfscredsShortcutParams Default value is "-A -M -N -Q" if not found commit 1d7c0cc9024e0c142d0741baa5dde046c5c37057 Author: Jeffrey Altman Date: Sat Feb 28 06:20:12 2004 +0000 nsis-afscreds-shortcut-params-20040227 Add Shortcut Parameters to AfsCreds.exe -A -M -N -Q A automatically attempt to obtain tokens on startup if needed M renew drive maps N background check monitors network configuration and attempts to obtain tokens or restart client service if needed Q do not start AFS wizard commit d10a43683ae0beb844275f960f6dae26f31bd64a Author: Jeffrey Altman Date: Fri Feb 27 20:38:48 2004 +0000 NoFindLanaByName-regkey-20040227 Add a new registry entry "NoFindLanaByName" which can be set to 0x01 (DWORD) to disable the FindLanaByName lookup in case it crashes commit 4d9e419c8cdefc5fd9085beec6144eb6109fb8ad Author: Jeffrey Altman Date: Fri Feb 27 18:36:09 2004 +0000 enablekfw-part2-20040227 Current User should have priority over Local Machine commit c9b834d6e72189cacc08be199f16598ae53fe9a1 Author: Jeffrey Altman Date: Fri Feb 27 18:35:22 2004 +0000 enablekfw-regkey-20040227 * Add new Registry Key: {HKLM,HKCU}\\SOFTWARE\\OpenAFS\\Client DWORD EnableKFW Default value if missing is 0x01 commit 4cc93fd62692082cb6b847fa6ded2daaae91c1e0 Author: Jeffrey Altman Date: Fri Feb 27 18:20:34 2004 +0000 morgan-patch-20040227 * Add error checking and logging for WaitForMultipleObject calls * Place log file in directory pointed to by TEMP env variable if defined * Use the platform defined value for MAXIMUM_WAIT_OBJECTS instead of the value 100. (WinNT.h defines this as 64) * Add a new registry value "AllSubmount" which can be set to DWORD 0x00 to disable the automatic creation of the \\AFS\all submount. This is for sites which wish to restrict access to the world. commit 4eb61ff3471652427c1ff03cd4e413550f01cb95 Author: Jeffrey Altman Date: Fri Feb 27 07:40:20 2004 +0000 nsis-new-reg-strings-20040227 Make the NSIS installer create the registry strings for NetbiosName = "AFS" and MountRoot = "/afs" commit 94c5d9d6ad90bfc1b6943cce913377ee6fbb0320 Author: Jeffrey Altman Date: Fri Feb 27 07:35:25 2004 +0000 fix-unc-binding-message-20040227 Fix the UNC Binding message. commit 702e858526dad2dbec9564b9a60bfaaaea70c0ad Author: Jeffrey Altman Date: Fri Feb 27 06:44:46 2004 +0000 nbname-instead-of-mountroot-20040227 When determining what name should be used for the NetbiosName query the registry value "NetbiosName" instead of "MountRoot". commit 33f9f204bbe69637c160d9d09659f8c8fe617f1e Author: Jeffrey Altman Date: Fri Feb 27 06:21:59 2004 +0000 fix-getlana-typo-20040227 GetUncServerName had a typo which was using "=" instead of "==" not good. :-( commit 569602eb625780e02658bda84d325e7aec9e1794 Author: Jeffrey Altman Date: Fri Feb 27 06:02:18 2004 +0000 no-wspp-builds-20040227 the WSPP build references in the current ntbuild.bat are extraneous as there are no references to the defined variable anywhere else in the build system. remove them from ntbuild.bat commit a16b140dc876c4f52d15ba9f49ae7263653259cd Author: Jeffrey Altman Date: Thu Feb 26 19:22:35 2004 +0000 skyrope-mit-merge-hell-20040226 From Skyrope: The Skyrope work attempted to improve on the end user experience of using OpenAFS in the following ways: * Obtain tokens using renewable Kerberos 5 tickets in order to reduce the need for end users to renew expired tokens * Monitor the list of IP Addresses in order to detect changes in the network configuration which might affect the reachability of cells or the state of the AFS Client Service. When cells are newly reachable, obtain tokens for the cells. If the AFS Client Service is not running, start it. If tokens are expiring attempt to renew them. * Use KDC probes to detect the accessibility of realms/cells. If the KDC is not reachable, do not prompt the end user for a username and password. (fs probe is not implemented on windows) * Automatically obtain tokens using the Windows Logon Session Kerberos credentials (if available) * Allow tokens for multiple cells to be obtained by using the same Kerberos 5 tickets. (no UI yet implemented) * Perform drive mapping persistance by tracking it within the afsdsbmt.ini file instead of relying on the Windows Shell to persist the state. * Add new afscreds.exe command line options and change the default set used when creating the "AFS Credentials" shortcut in the Start Menu->Programs->Startup folder. From MIT: * Auto-detection of loopback adapters. Use "AFS" as the netbios name when a loopback adapter is installed. * Support for responding to power management events. Used to flush the cache when the machine is about to suspend, hibernate, or shutdown * Documentation of Registry entries * Support for Extended SMB Requests * Beginning of support for true Event Log reporting from a message database * Hidden Dot File support (configured via the HideDotFiles registry option) * Configurable Max number of Multiplexed Sessions (MaxMpxRequests registry option) * Configurable Max MTU size (RxMaxMTU registry option) * Configurable Jumbogram support (RxNoJumbo registry option) * Configurable Max number of Virtual Connections per Server (MaxVCPerServer registry option) * Win32 DNS API support * Addition of SMB_ATTR_xxxx defines for use instead of hex numbers * A variety of heap access and resource deallocation errors corrected in the SMB code * Support for recursive directory creation * Modifications to the en_US version of the client configuration dialog (need to port to other languages) Notes on the current check-in: * The KfW code will always be used when installed on the machine. This code only supports Krb5 and will not work with Krb4 only realms. A registry flag indicating whether or not KfW should be used if found needs to be added. * afscreds.exe needs to have a registry entry created to control the parameter list it should be started with. There should be a dialog to control this in the installer and within afscreds.exe * The MIT method of auto-assigning the mount-root and the netbios name is in conflict with the morgan stanley submissions in some parts of the code. If you are using the loopback adapter with this code both the "NetbiosName" = "AFS" and "Mountroot" = "/afs" registry options must be specified. This will be fixed in coming days. commit be6c29629b697077cdbeb979e9a8e8b149726267 Author: Jeffrey Altman Date: Tue Feb 24 20:23:42 2004 +0000 remove-nbt-reg-entry-on-XP-20040224 In discussions with Andrei Keis at Morgan Stanley it has become clear that the NBT registry parameter which disables the use of port 445 should only be used on Windows 2000. commit 6e880ed20e91ce1f83f8493b56947ef1d13dbf0f Author: Derrick Brashear Date: Fri Feb 13 18:58:39 2004 +0000 revert-linux-sysname-list-estale-fix-20040213 (despite just committing a leak fix) we can no longer find a kernel where this is needed so we'll leave it in the cvs history but revoke it. it may have been a "special" kernel commit 09d4822ebe7e5696244b56efaaf57e72eac82377 Author: Derrick Brashear Date: Fri Feb 13 18:55:36 2004 +0000 linux-sysname-list-free-sysstate-20040213 required by linux-sysname-list-sys-links-resolve-dentry-20031109 eithout this, if you're in a directory that the second or later entry in a sysname list resolved to, pwd returns ESTALE. force the true path to have its dentry cached. commit eca259c292f430de52414111e1b1514b22114510 Author: Sven Oehme Date: Tue Feb 3 06:23:30 2004 +0000 linux-ppc64-fixes-20040202 FIXES 3058 linux ppc64 port commit 0008bb59882acebb9a65f8ce76357686fb5a6e8c Author: Andrej Filipcic Date: Tue Feb 3 05:57:49 2004 +0000 amd64-update-20040202 FIXES 2756 deal with types in newer amd64 distributions initialize some variables commit 526c586898d5509a4abfdbd17e20c7325b75b312 Author: Derrick Brashear Date: Tue Feb 3 05:43:23 2004 +0000 fs-return-EIO-when-starting-read-beyond-EOF-20040202 FIXES 1493 large file support asserted when attempting to read beginning past the end of the file commit 3c4dd454dd61d9dc96ae32a41ff71a9e626ef458 Author: Hartmut Reuter Date: Tue Feb 3 05:31:52 2004 +0000 dumptool-largefile-support-20040202 FIXES 2720 make dumptool support large files commit 3f73524386f38f1a6fe004fec4dee6afbc3f288c Author: Derrick Brashear Date: Tue Feb 3 05:24:11 2004 +0000 macos-protect-kpasswd-20040202 FIXES 1893 rename kpasswd to kpasswd.afs in /usr/bin since krb5 kpasswd is included commit 43118d9396d26adf107530d49b60245b756d7455 Author: Shantonu Sen Date: Tue Feb 3 05:10:24 2004 +0000 darwin-avoid-hang-on-rename-20040202 FIXES 2967 this version deals with afs being multiply mounted. return EXDEV on cross device rename attempts as upper layer doesn't deal for us commit bb236704d338312192c155f83cd5584d2184d951 Author: Tom Maher Date: Tue Feb 3 04:53:43 2004 +0000 acquire-fsync-lock-inside-while-loop-20040202 FIXES 3205 in order to not violate the invariant that pthread_cond_timedwait be called with a locked mutex, we must relock if we unlock. commit 0a0b3c0974ab16ba574cdb65b9e1fafa7a932c13 Author: Jim Rees Date: Fri Jan 23 16:53:35 2004 +0000 dir-buffer-protos-20040123 take yet another stab at getting dir buffer prototypes right commit 80747b803f6923040545496c040ba67aee542355 Author: Jeffrey Altman Date: Thu Jan 15 04:13:37 2004 +0000 nsis-run-time-lib-fixes-20040114 - Update the installer script to properly install the required runtime libraries for all compilers - Update the AddToPath and RemoveToPath files commit 8730b44612435377a114a024efdb920b78db1897 Author: Derrick Brashear Date: Wed Jan 14 21:30:59 2004 +0000 kdump-linux-sucks-more-20040113 make it build on newer rhel attempt to deal with hugemem kernel dumbness commit 276df5918b057765e50b4c8a48ec8060f8abe5a7 Author: Jeffrey Hutzelman Date: Sat Jan 10 16:59:35 2004 +0000 ubik-election-epoch-fix-20040110 ubik's ability to keep quorum broke when unix time passed 2^30 seconds. Buy us another 2^30 seconds. commit c4f94dd3a5c1d15273bc54e4f42fc9069c3a3613 Author: Jeffrey Hutzelman Date: Thu Jan 8 21:54:10 2004 +0000 vos-move-copy-improvements-20040108 FIXES 2815 add switches to vos move and vos copy. add vos clone. commit d56b95d9a213cb862aeb1f31b6f2c9078530f631 Author: Jeffrey Altman Date: Sun Jan 4 10:39:03 2004 +0000 avoid-long-windows-shell-timeouts-20040105 * cm_conn.c: assume that if all of the servers for a cell are DOWN that there is NOSUCHVOLUME. We can't return TIMEDOUT because this assumes there is a server which is up and the windows shell will in turn continue to try to reach it for several minutes on each refresh. Of course, each refresh occurs more frequently than the timeouts. We can't return ALLOFFLINE because that in turn results in an attempt to cm_ForceUpdateVolume() will a NULL (cm_fid_t *). That in turn causes a null reference and a crash. * cm_volume.c: place a check in cm_ForceUpdateVolume() to return without performing its job if there is no (cm_fid_t *) value. Unfortunately, this in a ALLOFFLINE situation places the service into an infinite loop. Question: why is cm_ForceUpdateVolume() ever being called with a NULL parameter for the (cm_fid_t *)? * cm_smb.c: change the NTStatus for CM_ERROR_NOIPC to Remote Resources instead of Access Denied. * cm_buf.c: add a debugging statement commit 06af6dc9cfd16d42a90f0a58f0d47fa7d0b9cc41 Author: Jeffrey Altman Date: Fri Jan 2 07:03:47 2004 +0000 nsis-do-not-install-sdk-with-client-20040101 From Rob Murawski: This is a diff with the changes we talked about for making a separate section for the SDK files. It is not installed by default, unless the SDK files already exist. (To keep them consistent on the machine) Also, a fix to the ShouldClientInstall function to properly handle downgrades. commit 47eac162efd4d6cce9aa7207095a0980f16ca1e1 Author: Derrick Brashear Date: Thu Jan 1 07:58:38 2004 +0000 undo-flexelint-screwage-20040101 irix cc wants this prototype commit 49b42ef91dba7b866eb485546b87e0792cbd5474 Author: Derrick Brashear Date: Thu Jan 1 07:47:54 2004 +0000 irix-osi-prototypes-20040101 add prototypes header for irix kernel module commit c8185c54f742bdc2550687ea746cd6984008c96f Author: Derrick Brashear Date: Thu Jan 1 06:51:25 2004 +0000 vos-full-listvol-irix-20040101 irix needs a inet_ntoa prototype commit 858264ca909259e60526768e21e4681cdf85c97f Author: Derrick Brashear Date: Thu Jan 1 06:22:31 2004 +0000 undo-flexelint-breakage-20040101 make irix cc happy commit 754d8a94accd046499d433ed512ed9a21fb277cb Author: Derrick Brashear Date: Thu Jan 1 05:56:25 2004 +0000 undo-flexelint-damage-20040101 unfortunately the problem with making flexelint happy is that irix's cc becomes sad. commit c5e75ee015b791012f70a8d5238c0b8fad08b1eb Author: Jeffrey Altman Date: Tue Dec 30 22:34:18 2003 +0000 nsis-installer-20031230 remove some additional warning messages commit 02b6bdbc6ae00863e302936ce164aca20eec6de3 Author: Jeffrey Altman Date: Tue Dec 30 22:31:03 2003 +0000 nsis-installer-take-three-20031230 only use IsSilent on 2.0b3 commit a35d7330fd36eb4bc518d7b7d89885f6787ce1e1 Author: Jeffrey Altman Date: Tue Dec 30 22:24:11 2003 +0000 nsis-installer-take-two-20031230 Left out one change commit e445236521e23071e5a9adf335835cf77e87f4a5 Author: Jeffrey Altman Date: Tue Dec 30 22:21:33 2003 +0000 windows-nsis-installer-update-20031230 NSIS released v2.0 RC1 today. Updated the installer script to build with it. commit af52472a7595a2d848ec33785a00546e6551d17a Author: Nickolai Zeldovich Date: Sun Dec 28 01:26:32 2003 +0000 fix-softsig-on-freebsd47-20031227 The workaround for Darwin of setting a signal handler for SIGUSR1 appears to also be needed on FreeBSD 4.7. commit f91e4fd0e7481592944a1b2a077bfd637fdd231b Author: Jeffrey Altman Date: Sat Dec 20 19:28:07 2003 +0000 do-not-delete-krb5-ini-20031220 Do not delete krb5.ini unless we were installing KfW commit f35416a7fff2f0105ea0816611f16ed308998177 Author: Derrick Brashear Date: Sat Dec 13 00:04:56 2003 +0000 dir-header-dont-conflict-with-kernel-protos-20031208 kernel module has disjoint buffer package commit d938729a11c98e25d6be533d380e33245e88c0d9 Author: Derrick Brashear Date: Fri Dec 12 23:37:37 2003 +0000 libadmin-test-client-restore-prototypes-20031212 won't build without these. put em back. commit 829975edc7a38b0f214b98bd778c7aa8e51d0e65 Author: Derrick Brashear Date: Fri Dec 12 23:29:49 2003 +0000 dlq-moveb-also-returns-void-20031212 nothing even uses it... commit 61e6580fb675881db6fd8fdc7b82e343c3f920ea Author: Derrick Brashear Date: Fri Dec 12 23:16:12 2003 +0000 ulock-rellock-actually-returns-void-20031212 but seriously. commit 3458ec42cba8614967ce016268388e59ee178b43 Author: Jeffrey Altman Date: Fri Dec 12 01:21:06 2003 +0000 path-fixes-for-bos-logs-20031211 Fixes to paths to enable Bos Logs to function -Rob commit 46c42a763777c565d646c52888b98a1efa705962 Author: Jeffrey Altman Date: Fri Dec 12 01:20:14 2003 +0000 nsis-patches-20031211 To do list: * remove /wizard from afssvrcfg.exe shortcuts * add a "runonce" for afssvrcfg.exe /wizard when the Server is installed * enforce a restriction of no Freelance mode when the Server is installed * enforce a requirement of the Client install when the Server is installed * add a control panel shortcut to afssvrcfg.exe * remove "recommended" tag from the AFS Server option >>>>>>>>>>>>>>>>>>>>> This is everything we talked about, plus: 1) Fixes the installer so re-installation behaves as expected. All existing settings are preserved. (With the exception of what is modifiable during install. The cell name is prepopulated, but the user CAN change it) 2) Likewise, an upgrade will retain previous settings. (There might be a point from which you cannot upgrade, i.e., from IBM 3.4 or something) 3) Variables named consistently, more code left out if NSIS 2.0b4. -Rob commit 3d1da03178b2ff43010a814db78f99925ecb5e71 Author: Derrick Brashear Date: Thu Dec 11 19:06:16 2003 +0000 pr-initialize-silence-error-on-empty-dir-20031211 FIXES 2678 don't print an error if we're just flushing the cached directory info commit 94682458df6867991ec8354cd9d9ee2773a6be4c Author: Jeffrey Altman Date: Thu Dec 11 03:57:56 2003 +0000 nmake-convenience-20031210 Add new targets install-nsis and install-is5 to perform both a build and an installer in one shot commit 95e9e5dbbd7486b4930083d86b2f23085491bbbf Author: Jeffrey Altman Date: Thu Dec 11 03:21:20 2003 +0000 fix-netaddconnection2-call-svr-config-20031210 TEXT("") -> NULL commit 3e90ead98c4ac6da489d154300aa8e37106fe30f Author: Jeffrey Altman Date: Wed Dec 10 22:17:48 2003 +0000 murawski-20031210 Murawski's daily patch for NSIS: * user selectable registry settings * generated files placed in $(OUT) tree * installer produced in $(DEST) tree * auto-detection of previous installation * better naming to distinguish build date and Release vs Debug commit 3fe290665fba0fb6d1d715bee15a32dbcf840ce1 Author: Jeffrey Altman Date: Wed Dec 10 18:12:01 2003 +0000 nsis-registry-changes-20031210 Turn off High Security Mode Logon Option Turn on Freelance Client Turn off Use DNS Turn on Crypt Option commit 943ff7831500e47c08af55c7c33c731f5c192b45 Author: Jeffrey Altman Date: Wed Dec 10 08:01:35 2003 +0000 tal_string-was-coded-wrong-from-the-start-20031209 tal_string defines three types: String, Ansi, Unicode and provides functions to convert between them. The initial problem with this module was a lack of consistent memory allocation. The secondary problem was incorrect conversion of between string types. commit ad5a7108ead6d279c0b67409c3c0a73de8b8cb72 Author: Jeffrey Altman Date: Wed Dec 10 07:49:55 2003 +0000 oops-20031209 oops, typos commit 95252680a90f1fdcebeb53ef5834fcab5144493b Author: Jeffrey Altman Date: Wed Dec 10 07:48:06 2003 +0000 tal_string-must-allocate-memory-20031209 The tal_string routines must always allocate memory otherwise they double free strings. commit 14d9380559c1e931300179dd01f18239c478b923 Author: Jeffrey Altman Date: Wed Dec 10 07:03:55 2003 +0000 use-closesocket-not-close-20031209 In Winsock, the function to close sockets is closesocket() not close() commit 0f4d93c3091f1c31eeab2174e4262f3e686e83d5 Author: Jeffrey Altman Date: Wed Dec 10 07:02:43 2003 +0000 disable-optimizations-20031209 Many of the subtle problems we are seeing with the AFS Server are being aggrevated by compiler optimization bugs. Disable for now. commit a31feefdb13544bd3edb9295a5c866a2d4d81a17 Author: Derrick Brashear Date: Tue Dec 9 23:07:57 2003 +0000 volser-salvagedirhandle-fix-arg-order-20031209 make the order of these consistent with the vol package commit b6d499bf3cef0ac2a936b839f417f3aaba22faab Author: Jeffrey Altman Date: Tue Dec 9 21:44:42 2003 +0000 nsis-20b4-support-20031209 Add support conditionally building NSIS 2.0b3 or 2.0b4 commit ba08e660976786dc4a4a7f2d8415be2002802ef9 Author: Jeffrey Altman Date: Tue Dec 9 21:34:00 2003 +0000 remove-extraneous-appsver-20031209 Remove extraneous reference to APPSVER variable. This might have been an attempt at turning on debug info for the .NET compiler for non-debug builds. The debug builds already have debug info turned on. commit ebd13b027277211e78b2e83394020ef23c89d996 Author: Derrick Brashear Date: Tue Dec 9 19:58:28 2003 +0000 fix-ih-lock-macros-20031209 FIXES 1774 probably safe to remove trailing ; in ihandle.h now too. commit 6285a23dfdba8310171455f5d1950edcdb4809dd Author: Jeffrey Altman Date: Mon Dec 8 22:40:56 2003 +0000 nsis-installer-updates-20031208 From Rob Murawski. Add upgrade/downgrade support to NSIS installer Comment out the Loopback Installer code commit 36ac69eedca1b2de6119ddd19b99dd302d5a496b Author: Derrick Brashear Date: Mon Dec 8 07:31:57 2003 +0000 vol-linux-dont-assume-ext2-20031208 to deal simply with /usr/include/linux potentially having 2.6 kernel headers in newer linuxes. given that we might not have ext2 as root, this check probably wasn't sufficient anyway. commit 4b01f15c0c699ededec18dadf97469ba564f1cd0 Author: Jeffrey Altman Date: Mon Dec 8 06:18:46 2003 +0000 format-fix-for-fs-windows-20031208 spacing errors in List Quota command commit 6dc76e27f0a2993db0e360ceaf5ad9426966e0b3 Author: Derrick Brashear Date: Mon Dec 8 06:09:12 2003 +0000 fssync-extern-loglevel-20031208 wanna use LogLevel to determine whether to log? make sure it's declared. commit a3339d25459ea4cda9c2b01edfbddbef0f5c9859 Author: Jeffrey Altman Date: Mon Dec 8 06:08:45 2003 +0000 winnt-afsd-fs-header-fix-20031208 Improper prototype declaration commit 3f98530173838e31ce72564996872147c2d59995 Author: Derrick Brashear Date: Mon Dec 8 06:03:58 2003 +0000 protoize-buffer-20031208 we need a definition for struct buffer. while we're at it, protoize the whole file. commit 35192ba9e3bd8ffa0372373904f481471a671d56 Author: Derrick Brashear Date: Mon Dec 8 05:50:39 2003 +0000 ptserver-prototype-ubik-20031208 since ubik got prototypes, we have to make our shadow functions the same commit 2ea2e4debaf3b6863f9ae00a157f4684b872fb68 Author: Jeffrey Altman Date: Mon Dec 8 04:32:27 2003 +0000 import-fs-formatting-to-windows-20031207 TICKET 2651 Import string formating from venus/fs.c commit 705241efee4119b0f5c089771e5384a8a0dc9d66 Author: Jeffrey Altman Date: Mon Dec 8 04:01:20 2003 +0000 set-service-error-condition-afsd-20031207 TICKET 2619 If the service crashes unexpectedly (eg, when the network adapter list changes) we should return an error code so that system policy can be used to determine if the service should be automatically restarted. When there is an error GlobalStatus gets set to a non-zero value. If GlobalStatus is set, we will return ERROR_EXCEPTION_IN_SERVICE to the Service Manager. commit 8bdaee9e18359b3fb62ac19f26ee9a01fdb2195e Author: Jeffrey Altman Date: Mon Dec 8 03:14:08 2003 +0000 remove-int64-conversion-warnings-20031207 Use casting to avoid repeated conversion warnings resulting in data loss. commit 85f6cefe70b502b706ff57f5e79d3c555641e969 Author: Jeffrey Altman Date: Mon Dec 8 02:54:14 2003 +0000 jbuehler-add-missing-extern-c-patch-20031207 Add extern C modifiers to non-C++ functions in Windows files commit d5070bd9a08c0532364125909192347ea7f2f227 Author: Jeffrey Altman Date: Mon Dec 8 02:41:17 2003 +0000 more-must-returns-20031207 More must returns value warnings cleaned up commit 0c23b6fd77e6497c707a4cd1a3bebc94657bf6bc Author: Jeffrey Altman Date: Mon Dec 8 02:37:55 2003 +0000 ntmakefile-fix-20031207 remove extraneous include of src/config/NTMakefile.version commit 3dc648d7610641a530b06ecaddac6f6e576e1b74 Author: Jeffrey Altman Date: Mon Dec 8 01:45:23 2003 +0000 add-missing-return-values-20031207 Add missing return values producing warnings on Windows commit 08248560ea17cb0068025c821d08325ce18dc014 Author: Jeffrey Altman Date: Sun Dec 7 23:18:33 2003 +0000 ticket-2618-corrections-20031207 Remove extraneous declarations in dir.c commit 21caaae64f4565d1a7ed82e326ef852d4cd3642f Author: Jeffrey Altman Date: Sun Dec 7 22:49:00 2003 +0000 ticket-2618-patches-20031207 TICKET 2618 flexelint patches for prototype handling from Joe Beuhler >>>>>>>>>>>>>>>>>>>>>>>>>>>> This patch adds a bunch of missing prototypes, makes various corrections to global prototypes, and removes global declarations that are not needed. One set of added prototypes is commented out because it applies to some printf-like functions that are implemented the way it used to be done before varargs existed, and they need to be unprototyped or the code will fail to compile. (There are a number of functions in the OpenAFS code that need to be converted to use varargs...) There is one place of note in src/WINNT/afsd/fs.c where typedefs for afs_int32 and afs_uint32 conflict with afs/stds.h. I just added a note to that effect. Prototypes in src/WINNT/afsd/fs.c are incorrect for Windows NT. I don't know whether the return type involved changes from platform to platform -- they come from .xg files. Some prototypes are now commented out or #ifdef'd to match the code that uses them. Some global variables conflict between modules and have been made static. The bufferBlock variable was of two completely different types... In src/config/stds.h, I changed the declaration of afs_intmax_t to reflect the fact that the Windows platform supports 64 bit integers. This may be incorrect semantically, but I believe it is needed for the %llx format to match afs_intmax_t arguments (for printing of inodes mainly, I believe). There were two different declarations for the rxkad_stats structure -- I synced them up. - Joe Removed the conflicting typedefs from src/WINNT/afsd/fs.c Removed the changes to src/config/stds.h. Added declaration of AFS_64BIT_CLIENT to src/config/NTMakefile.i386_nt40 instead. Do not remove unused variables which are defintions of data type values. Instead comment them out to avoid space utilization and warnings. commit 4ceaebdbda533374ab7c66a832096988379a3ec8 Author: Jeffrey Altman Date: Sun Dec 7 03:39:50 2003 +0000 afssvrcfg-updates-20031206 Replace the mechanism used to register drives with WNetAddConnection2. This will hopefully be more reliable than then older code which was unable to register drive mappings. Corrected error string formatting. commit 8d0d3f16c3d6ee54154da056071d0e0befcfaeae Author: Jeffrey Altman Date: Sat Dec 6 21:17:39 2003 +0000 add-multiple-interface-support-20031206 The ubik support on Windows only verified against the first address on the system even if that address was assigned to a disabled interface. commit b2d84ee04786127ce73acf0120cefaf5095dc989 Author: Jeffrey Altman Date: Sat Dec 6 20:11:12 2003 +0000 reorg-ntbuild-20031206 Reorganize ntbuild.bat to place all of the user edits at the front commit 334f5f00f109dddeba5f9c5e09088302c51b4b16 Author: Jeffrey Altman Date: Sat Dec 6 19:29:31 2003 +0000 fix-memory-alloc-srv-cfg-wizard-20031206 The Windows AFS Server Config Wizard would produce an invalid memory deallocation error from the memory management routines due to the failure to allocate PROGRESSDISPLAY objects with the same tools used to deallocate them. commit 999ec32f9d1325b261ce1c64e0f2a1271f5752c9 Author: Jeffrey Altman Date: Sat Dec 6 19:01:41 2003 +0000 more-NSIS-fixes-20031206 from Rob Murawski commit 46b23d72d2b0637794c3efd85dafaca1ba92beed Author: Jeffrey Altman Date: Sat Dec 6 17:41:53 2003 +0000 add-pdb-files-to-server-nsis-20031206 Add PDB files for debugging to NSIS Server install commit 6e667ed9d1759d7679431cc0fd3aba4fa2e05c45 Author: Jeffrey Altman Date: Sat Dec 6 17:01:30 2003 +0000 more-vc-net-installer-fixes-20031206 Make sure we get the included libraries correct for install commit 53e72a1ec157ece226e9a2eb10c42c1158cc7203 Author: Jeffrey Altman Date: Sat Dec 6 16:01:03 2003 +0000 another-correction-ntbuild-bat-20031206 I wish .BAT files had IF-THEN-ELSE instead of just IF commit 6826cde0a6deff9e67f821fe4c7a86d5a1b2ee56 Author: Jeffrey Altman Date: Sat Dec 6 15:41:38 2003 +0000 no-debug-for-free-builds-20031206 Reorganize makefile to not generate debug files for free builds. commit 7bcb1e53bf4ed53d37f4b9d94b64a7b9507fb103 Author: Jeffrey Altman Date: Sat Dec 6 15:40:17 2003 +0000 correct-include-for-cl1300-20031206 CL 1300 uses the mfcatl paths just like CL 1310 commit 235cd101fde89df7c4777bd7369aae51ef9b0695 Author: Jeffrey Altman Date: Sat Dec 6 06:19:03 2003 +0000 nsis-installer-updates-20031205 Remove need for MakeCommon.bat Produce nsi-includes.nsi from NTMakefile Update OpenAFS.nsi to use MFC70.DLL and MFC71.DLL as needed. (Need to confirm with Rob Murawski) commit ad9367a9ada10016f704256fc017fbb7c8b77141 Author: Jeffrey Altman Date: Sat Dec 6 06:15:46 2003 +0000 product-version-number-update-20031205 Modify the variables used to construct the product version numbers to allow these same values to be used with the NSIS installer commit 090f882fd9917e05a65911a0611f432ad554b323 Author: Jeffrey Altman Date: Fri Dec 5 23:17:20 2003 +0000 typo-correction-ntmakefile-20031205 Fix a typo in msvcrtd.dll reference commit 492387b8d2f6b3b73684ace93999ee1661f078ac Author: Jeffrey Altman Date: Fri Dec 5 23:10:04 2003 +0000 updates-to-NSIS-to-support-debug-crt-20031205 Updates to NSIS installer scripts to conditionally build with debug or non-debug CRT libraries; also, now supports conditional library usage based upon the MS Compiler version used commit c6c803432275b27b8cffd87e664f148c77f3215b Author: Jeffrey Altman Date: Fri Dec 5 22:19:50 2003 +0000 i386_nt40-lex-macro-fix-20031205 Not that anyone has used it in forever and therefore would not notice but the LEX macro was a version number "1.2.2 a" instead of a program name. Changed to "flex -l" but it really depends on which lex type program is being used commit 7a60256d585487d3aa3b8cd5e62d9714bbd961c0 Author: Jeffrey Altman Date: Fri Dec 5 21:59:31 2003 +0000 NSIS-installer-debug-mode-20031205 NSIS installer debug mode activiation based upon AFSDEV_BUILDTYPE commit 5d0958127a05378bc85f186fdbdc049b7256d4b0 Author: Jeffrey Altman Date: Fri Dec 5 21:56:33 2003 +0000 pdb-files-for-checked-builds-20031205 Produce PDB files in the DEST/CHECKED tree for use by NSIS installer commit fb7ed4bf35c5e0d13445aae9275bb14ad54f0496 Author: Jeffrey Altman Date: Fri Dec 5 20:07:26 2003 +0000 fix-ntbuild-bat-20031205 Fix conditional contruction of AFSDEV_LIB variable commit 333b371389f6dc3fc5ff2ccadd359cbe119db5b0 Author: R. Lindsay Todd Date: Fri Dec 5 08:35:57 2003 +0000 largefile-support-continued-20031205 FIXES 1493 configure switch and minor largefile cleanup. not done. commit afb1b03e750d553066b47c0436b31a65ce751c14 Author: Derrick Brashear Date: Thu Dec 4 19:53:37 2003 +0000 vos-full-listvol-on-by-default-20031204 at the suggestion of miles@cs.stanford.edu commit ebe5567b3beec22e6e0608c3ff14b57dd625cf73 Author: Derrick Brashear Date: Thu Dec 4 17:02:38 2003 +0000 salvager-remove-orphaned-header-20031204 FIXES 2522 this should be fixed for the global case, but that's harder to test commit 0935f3838f451fc6e995e5c13ccf31afef7a97b1 Author: Nathan Neulinger Date: Thu Dec 4 16:47:05 2003 +0000 libafsrpc-fix-objdir-breakage-20031204 FIXES 2615 the not gmake workaround broke objdir builds. sigh. commit f0c992107a0d0e19ccbcff4836fd3697f4d861d9 Author: Kris Van Hees Date: Thu Dec 4 16:33:54 2003 +0000 solaris-kdump-build-rationalization-20031204 make kdump64 and kdump32 get built with sanity on solaris commit 8be29dc51638254f210795625c47a903104a0629 Author: Kris Van Hees Date: Thu Dec 4 16:23:28 2003 +0000 salvager-fix-misparented-vnode-1-20031204 if vnode 1 gets a parent (which is incorrect) arrange for it to be cleaned up properly commit 90f461c9128efd9980a9e7d75a9359fd5d253562 Author: Douglas Engert Date: Thu Dec 4 16:10:43 2003 +0000 hpux-1123-update-20031204 update the hpux 11.23 on ia64 support don't build libuafs. make kernel modules build. fix afsd. commit 2fba10f1637e655ce0402c9e935b3f1fe6f9967e Author: Jeffrey Altman Date: Wed Dec 3 23:28:50 2003 +0000 fix-checked-build-libraries-20031203 checked builds were linking against non-debug versions of the MFC libraries which produced warnings at link time. Replaced with the debug versions. commit 708b147ba544fa55b6969691a9ba81e3a96af105 Author: Jeffrey Altman Date: Wed Dec 3 20:07:55 2003 +0000 typo-20031203 commit 877a7bd74169b871b53179dfd4c742e411af3a58 Author: Jeffrey Altman Date: Wed Dec 3 20:06:37 2003 +0000 more-missing-crtdbg-includes-20031203 For when you are debugging ... commit c46ebfb07e99ff4d0758de6d1f8aabe215b6934d Author: Jeffrey Altman Date: Wed Dec 3 19:44:59 2003 +0000 add-missing-include-file-afsd-windows-20031203 ctrdbg.h but only when _DEBUG is defined commit 2542d907f1f1ffacebc0dda3715dd9f70490c3e7 Author: Jeffrey Altman Date: Wed Dec 3 19:24:38 2003 +0000 i-hate-bat-files-20031203 Add missing % at end of variable names to be compatible with cmd.exe commit 79b9432758f49ead13cec005d02a8b512adcca27 Author: Jeffrey Altman Date: Wed Dec 3 15:58:55 2003 +0000 do-not-make-commits-after-24hrs-awake-20031203 .BAT files do not use the same syntax as makefiles. don't make commits after being up more than 24 hours straight. commit dfed0829ddd9994b5077034bc2821913cea873ee Author: Jeffrey Altman Date: Wed Dec 3 04:53:12 2003 +0000 ntbuild-support-for-visual-studio-net-2003-20031202 Add LIB and INCLUDE files for Visual Studio .NET 2003 (Thanks to Rob Murawski for details) commit 1c5a7b4ea135dcccadea1775922a783c5fc42989 Author: Derrick Brashear Date: Mon Dec 1 20:16:02 2003 +0000 rpc-rename-avoid-loop-20031201 enumerated solution (n vnodes cannot yield n+1 loop passes) suggested by jhutz@cmu.edu. avoid looping forever on a corrupt parent. commit 6b81e7a4bb2f9ee2e748a945b233f301a7566732 Author: Derrick Brashear Date: Mon Dec 1 05:35:04 2003 +0000 tvolser-update-20031121 add transaction mutex to handle global list of transactions commit 6b375af14f6cfe6d6cc02a68b6c437853a640160 Author: Jeffrey Altman Date: Sun Nov 30 15:39:33 2003 +0000 remove-duplicate-include-from-shell-ext-cpp-20031130 Remove atlconv.h include the second time it is listed commit a42c1000050dd154ad61ce00d1e691a7081349e4 Author: Jeffrey Altman Date: Sun Nov 30 03:52:59 2003 +0000 update-version-number-for-windows-20031129 Updated the version number to 1.3.51 for both nt40 and win95 However, it is unlike that win95 will build at this point in time. Its version of the makefile had not been touched since 1.2.2b commit 1b618cd71fecd52a7923fda357dd11bdd59d652b Author: Jeffrey Altman Date: Sat Nov 29 22:50:14 2003 +0000 jaltman-missing-variable-20031129 jbuehler left out a variable declaration commit 61cf9fa731654b943a271dcf585b95062fbe7a4c Author: Jeffrey Altman Date: Sat Nov 29 22:07:57 2003 +0000 jbeuhler-flexelint-bugs-found-20031128 This patch covers bugs found by running flexelint on the CVS code on Windows NT. - incorrect enum used in al_creds.cpp and various other files - use of local after it goes out of scope in al_wizard.cpp - uninitialized class members in afsclass/* - cm_config.c looks like it has code commented out accidentally - useless statement in alert.cpp - no default case handling in problems.cpp - strange use of & on booleans in set_clone.cpp - fgets() and fclose() on closed stream in cellconfig.c - memory leak in cellconfig.c - *scanf into variables of unknown length in cellconfig.c - incorrect pointer passed to getAFSServer() in cellconfig.c - possible buffer overflows in userok.c - address of array in bos.c - too many arguments for printf() in commands.c - return code not saved in bucoord/main.c - bad types for argv arrays in bucoord/main.c - probably incorrect initializer list in ol_verify.c - extra argument to TLog() in lwps.c - memory leak in cmd/cmd.c - lack of typecast on malloc() in a couple files - lower-case L for long constant in touch.c (is it a 1 or an l...) - parentheses nesting error in util_cr.c - apparently invalid case fall-through in util_cr.c - various memory leaks in util_cr.c - macro missing parens in crypt.c - macro missing parens in quad_cksum.c - null pointer deref in kpasswd.c (CVS work in progress?) - Print_bos_ProcessState_p() code does not look correct - extra argument to printf() in kas.c - typo in vsprocs.c - macro missing parens in iomgr.c - address of array in threadname.c - storing result of getch() in char type in waitkey.c (may not match EOF constant) - storing pointer to local car in global in ptserver.c (benign -- it is in main()) - address of array in rx_lwp.c - macro missing parens in rx_packet.h - impossible == (signed vs. unsigned?) in rxdebug.c - bogus constants in xdr.c and xdr_array.c (possible security implications?) - incorrect test of fd for open file in update/server.c - dangerous unparenthesized macro in get_krbrlm.c - buffer overrun in regex.c - missing comma causes string concat and bad array init in vlclient.c - comparison of string < 0 in ntops.c - default case has no code in vos.c -- Joe Buehler >>>> Comments: Several comments for FIXME left in the code - unaddressed commit a95c759cd7601e0755f380ebe3b2b5493a188104 Author: Jeffrey Altman Date: Sat Nov 29 21:46:30 2003 +0000 missing-assert-h-20031129 Missing assert.h for added assert() commit 21ca23297494f1cf8e578fd848bfcd0be2c360cd Author: Jeffrey Altman Date: Sat Nov 29 21:37:50 2003 +0000 jbeuhler-flexelint-fun-with-printf-20031128 This patch addresses a number of problems with printf-like functions. Most of them are %x formats applied to pointers (which could be a problem depending on the architecture I would assume). There is a %p format for pointers on many machines but I don't know if it applies to all supported OpenAFS platforms so I didn't go that route. There is a buffer overflow fix to ktime.c There are a couple places where incorrect format characters were used. One call had two arguments swapped. Other fixes include the use of PrintInode() and %s formats for printing inode numbers. The code was inconsistent in this regard -- sometimes PrintInode() was used, sometimes it was side-stepped. There is one place where a local shadowed another variable, so I renamed the local. The last segment points out that an fdset need not be anything printable with an integer format. -- Joe Buehler Comments - The fdset comment relates to a WinSock only file on which the size is a pointer to int. Modified the source to use a %p instead of %x as it is supported on Windows. Added an assert(p != NULL) to src/rx/rx_packet.c commit e5a76ae386e909f151b6bde140a727520bffeee1 Author: Jeffrey Altman Date: Sat Nov 29 20:31:49 2003 +0000 jaltman-flexelint-aggregate-initialization-patches-20031129 Address FIXME concerns in jbuehler-flexelint-aggregate-initialization-patches-20031129 commit 10750393dc96b5892e6ae95b95f61e5009a7c2b8 Author: Jeffrey Altman Date: Sat Nov 29 20:23:24 2003 +0000 jbuelhler-flexelint-aggregate-initialization-patches-20031129 This patch mainly makes explicit some initializations that were implicit. There are several places where it looks like the missing initialization may be a bug, and I have inserted comments to that effect in the relevant patches. Someone needs to look at them and supply whatever is missing (if anything is). In make_keyperm.c, an array was sized too large. -- Joe Buehler commit 6e2f4f9df4d1370f3131d0904229e51a6365604d Author: Douglas Engert Date: Thu Nov 27 05:52:51 2003 +0000 hpux-rx-attach-file-struct-to-socket-20031124 FIXES 2450 attach a struct file to the socket; clean up when done commit 9ca613da43045d6e10a969af19345cf5851d48fc Author: Derrick Brashear Date: Thu Nov 27 02:27:55 2003 +0000 solaris-make-hates-dollar-lessthan-20031126 the $< macro support in solaris make is different from every other make due to POSIX not being fully specific. a perl script cleans up the mess, and gives us a different mess. commit cef7b6ae8c6751c23d98ed88d4d8a6f7481a5eb2 Author: Douglas Engert Date: Thu Nov 27 01:23:13 2003 +0000 hpux-snprintf-support-20031126 FIXES 2587 need sys/socket.h on hpux commit 49ab5ed14a0e5f98104146c01c1f03fcd9409ab3 Author: Douglas Engert Date: Thu Nov 27 01:17:34 2003 +0000 ia64-hpux1123-support-20031126 FIXES 2579 necessary changes to support hpux 11.23 on ia64. commit 93bd3784d68d56c33e1d94d19fbb18e7bfbf01ce Author: Jeffrey Altman Date: Wed Nov 26 21:32:52 2003 +0000 ticket-2584-patches-20031126 commit d15973aa12bf4eeb5d0d03497281cc4a946d1c27 Author: Douglas Engert Date: Mon Nov 24 22:44:20 2003 +0000 hpux-ia64-dont-optimize-lwp-20031124 FIXES 2450 remove -O when compiling lwp commit ff9c60a3c86c9891ac8420f82524e7eefe1a4d1a Author: Jim Rees Date: Mon Nov 24 22:09:18 2003 +0000 fix-joe-beuhler-patches-20031124 minor fixes to Joe Beuhler's NT patches for non-NT commit fc7931f4f23a7f2d368716abb6a194be559f9d0d Author: Jeffrey Altman Date: Sun Nov 23 04:52:52 2003 +0000 joe-beuhler-patches-20031122 Joe Beuhler's many patches merged into the tree commit 0f7c8a031073801e155d3158bc40df74d9944344 Author: Derrick Brashear Date: Sat Nov 22 03:11:46 2003 +0000 threaded-volserver-progress-20031114 not ready for primetime. not even close. commit 5e52289abf12261b9575a0226ae8c7b5e37e6e51 Author: Derrick Brashear Date: Sat Nov 22 02:57:04 2003 +0000 tvolser-update-20031121 add transaction mutex to handle global list of transactions commit 1972aa4414857e46d8e3537b143bc380e10d0833 Author: Jeffrey Altman Date: Sat Nov 22 01:28:05 2003 +0000 jaltman-afsd-loopback-w2k-and-noipc-patches-20031121 * Change handling of CM_ERROR_NOIPC to return an Access Denied error instead of a Bad Network Name error. The reason is that Bad Network Name results in a subsequent query by many apps to find a good network name which cannot be accomplished. Access Denied is more appropriate and results in an immediate error return. * Disable the Loopback Adapter hack for operating systems prior to Windows XP because the Loopback adapter on previous versions does not perform loopback operations on Broadcast messages which are necessary for the proper registration of the NETBIOS name for the AFS Service. * Many minor corrections to uninitialized variables; spelling errors; formatting errors; etc. commit 955d376ddd00f4c35d65c646dabefc7d159bf710 Author: Jeffrey Altman Date: Fri Nov 21 22:34:16 2003 +0000 rob-murawski-afscreds-scm-patch-20031121 Reduce the requested list of permissions to the minimum necessary to access the service manager and service for the requested task. commit 111e5bb562049818518e58a8f5dbf3e622977eca Author: Jeffrey Altman Date: Fri Nov 21 18:56:01 2003 +0000 fix-CH-lang-resources-for-afs_setup_utils-20031121 Rename afs_setup_utils/lang/zh_CH/afs_setup_utmls.rc to afs_setup_utils.rc commit f968f826e47e47d9a43023e45fd4963481a6b778 Author: Jeffrey Altman Date: Fri Nov 21 18:36:01 2003 +0000 afscreds-drivemap-updates-20031121 #undef REALLOC before importing drivemap.h to prevent the use of the wrong memory allocation routines. Remove extraneous code which computed strings which are no longer used and worse produced misleading debug information Improved consistency of drive mapping when HIGHSECURITY is in use commit 803678a90033b54606337e033cff5393a92adb5a Author: Jeffrey Altman Date: Fri Nov 21 18:33:10 2003 +0000 thread-and-timer-corrections-to-afscreds-20031121 Changes to afscreds to place the obtain tokens dialog into a separate thread to prevent blocking of the Windows Message queue. Requires utilization of mutex semaphores to protect credential data structures. Previous versions of afscreds would set/unset the timer event every time the program received an event indicating user activity including dragging the mouse across the systemtray icon. This resulted in extremely unpredictable behavior. Now the timer event is only turned off when it must be turned off; and turned on when it must be turned on. The result is a credential expiration check once a minute. commit df95472c3aa809493802d3c61f733f8fc2f853e0 Author: Jeffrey Altman Date: Fri Nov 21 15:41:04 2003 +0000 shadow-to-jaltman-bkbox-02-20031121 Remove another file which was included in the bkbox patch but is really autogenerated. Add a command to dolastcmp.bat to conditionally delete golast.bat if it exists. Otherwise, the initial CD command which is meant to be written to the file is lost. commit 7cf05a5e371c3f05540f050ba77f8715def16358 Author: Jeffrey Altman Date: Fri Nov 21 15:26:05 2003 +0000 shadow-to-jaltman-bkbox-01-20031121 Incorrectly committed NTLang.bat when it is copied from src/config commit 98544e6ab469a190c4e7c322365cc369c91484fc Author: Jeffrey Altman Date: Fri Nov 21 07:59:35 2003 +0000 patch-from-shadow-to-jaltman-bkbox-20031120 This massive patch contains changes in several significant areas for Windows: - the ability to specify the mount point to be something other than /afs - functionality to assist debugging of the NT Services - support for languages other than English (NTLang.bat) - revisions to the Build system to support separate trees for src, obj, dest and free or checked; allow any MS compiler to be used - updates to NSIS installer build - mutex locking added to critical locations - updates to IS5 directory tree creation - update to afswsNetscape_config.sh commit 69116e6cae89692a4aca60d4087d25f8f21ff3a4 Author: Jim Rees Date: Wed Nov 19 21:59:18 2003 +0000 compiler-warnings-20031119 fix various compiler warnings some are from jbuehler@hekimian.com commit d08f4a716fcfb012ae82d184b4cdd938048e4daa Author: Joe Buehler Date: Wed Nov 19 21:43:29 2003 +0000 error-typo-20031119 confusion of == and = commit b737d56f2970e0963b53fc39f1ed27cf417c2f53 Author: Nickolai Zeldovich Date: Wed Nov 19 04:02:29 2003 +0000 fixed-and-improved-afscp-20031118 Fix afscp to make it build and fix the -u option. Add support for explicitly specifying a file by host/fid. commit 63ba8d77fb139abdde915b5b44318edc9bc1bcbd Author: Garry Zacheiss Date: Mon Nov 17 23:21:52 2003 +0000 callbacks-later-locking-order-20031117 be consistent in the order we hold H_LOCK and FSYNC_LOCK; in this case acquire FSYNC_LOCK as needed. commit 7207fd6d3100dc5fd8736b944e41c26d1514bcde Author: Derrick Brashear Date: Sat Nov 15 05:57:42 2003 +0000 volser-protoization-20031114 more protoization in the volserver commit b1dd6e87cb615dcad234537751fb20ce91febeda Author: Derrick Brashear Date: Sat Nov 15 04:59:08 2003 +0000 threaded-volserver-progress-20031114 not ready for primetime. not even close. commit 76d2b6dabbf251a0e4e4149ba2da1395d9db9954 Author: Kris Van Hees Date: Sat Nov 15 04:02:37 2003 +0000 volser-restore-create-timestamp-not-touched-on-incremental-20031114 FIXES 2521 The issue: when you restore an incremental dump to an existing volume, the creation timestamp of the target volume gets reset to the current timestamp (literally the timestamp of when the 'vos restore' command is being executed). That messes things up for any subsequent 'vos release' operation, because such operation then needs to do a full release rather than an incremental one. For large volumes that can be quite an issue. commit e0d79ffeb6f456bbd6cc506752c7b166f43308eb Author: Joe Buehler Date: Sat Nov 15 03:20:01 2003 +0000 remove-redefined-warnings-20031114 FIXES 2512 don't redefine KABADARGUMENT commit 973c617d000fed52519de6da221ca8c85f6a17a9 Author: Joe Buehler Date: Sat Nov 15 03:14:32 2003 +0000 cvs-remove-wow3-20031114 FIXES 2505 remove empty file which came with the source commit 012a26f20b83dd259df0257709fee69572362d95 Author: Nathan Neulinger Date: Sat Nov 15 03:12:16 2003 +0000 restorevol-needs-gethostbyaddr-20031114 FIXES 2514 so restorevol will link on solaris commit 4458dd4410207fcdf8dec6789f0397adc6ce7b01 Author: Derrick Brashear Date: Sat Nov 15 03:08:10 2003 +0000 callback-rxcon-protection-20031114 FIXES 2498 CheckHost() sets the HOSTDELETED flag on a host, does its touch, calls H_UNLOCK at the end of its function; AddCallBCal1 in a different thread grabs the lock, does its thing. Gets to GetSomeSpace_r(), which calls h_Enumerate_r; the host in question isn't held, so h_Enumerate_r calls h_Hold_r and h_Release_r on the host that CheckHost() set the HOSTDELETED flag on; h_Release_r sees the HOSTDELETED flag and calls h_TossStuff_r, poof, we have our broken host entry for ClearHostCallbacks_r to trip commit 423c279a498ac4f691522f6d11e67921fd3d79e0 Author: Derrick Brashear Date: Sat Nov 15 03:02:23 2003 +0000 tail-dont-use-dash-one-20031114 FIXES 2453 new tail axes -1 support commit 79b67c7461097ab5ca1dac9b9c1f069dfb4d290d Author: Derrick Brashear Date: Fri Nov 14 23:36:16 2003 +0000 namei-ihandle-leak-20031114 FIXES 2518 namei_dec now logs if you have open ihandles when you unlink a file ==================== 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. ==================== FIXES 2518 flush all dir buffers we have cached when rewriting a volume from a restore avoids holding an ihandle which has an open fdhandle for an unlinked file ==================== FIXES 2518 remove logging code for now. it appears to trigger on some possibly legitimate operations. commit 0402a8c4405193e364cca9b66e59380e49799d15 Author: Jim Rees Date: Wed Nov 12 16:07:28 2003 +0000 more-posix-regex-20031112 remove more REG_BASIC commit d4b1d61d21de06465d81f57261e9d35dd386605c Author: Nathan Neulinger Date: Wed Nov 12 14:23:30 2003 +0000 regex-no-reg-basic-20031112 apparently not all posix regex implementations have REG_BASIC. get rid of it since it's the default. commit 917af567222abc6ec18730c067298f8c384cb8f1 Author: Jim Rees Date: Tue Nov 11 19:03:09 2003 +0000 rx-multi-incs-20031111 fix rx_multi includes so it will compile commit 456f1dfdc6cb04ba93e58b5af58e86305bb173cf Author: Jim Rees Date: Mon Nov 10 22:25:28 2003 +0000 rmtsys-uninit-20031110 fix uninitialized variable found by jbuehler@hekimian.com consolidate duplicate cases so this won't happen again commit edbf777400771ef0e5f262cfcba0d4271e18d9a0 Author: Derrick Brashear Date: Mon Nov 10 02:04:17 2003 +0000 cachemgr-rx-multi-gettime-20031109 use multi Rx to GetTime all servers we wish to talk to in parallel. This should have the effect of compressing the amount of time to time out all fileservers to (1 times full set of Rx transmit intervals) instead of (n times same). VLservers get handled out of band and so aren't in scope for this change. commit 2d3fda8c82c24b01537ed10fe614ce5eea130754 Author: Derrick Brashear Date: Mon Nov 10 01:36:09 2003 +0000 linux-sysname-list-sys-links-resolve-dentry-20031109 without this, if you're in a directory that the second or later entry in a sysname list resolved to, pwd returns ESTALE. force the true path to have its dentry cached. commit c5110942b97b06d423f0452cd9fceb219db1b513 Author: Joe Buehler Date: Fri Oct 24 07:31:49 2003 +0000 bos-fix-mode-complaints-20031024 FIXES 2277 complain correctly about mode commit e2e93aa8920c0b1bfc672a555a59eb4e15dbeaae Author: Ed Moy Date: Fri Oct 24 07:25:58 2003 +0000 macos103-20031024 FIXES 2325 support for macos 10.3 for 1.2.10 commit b35d52ba80e9c3236685311d47976365e3413319 Author: Jim Rees Date: Wed Oct 15 22:38:40 2003 +0000 freebsd-vnode-if-20031015 generate vnode_if.h dynamically for FreeBSD commit 7e554cf673820fe5a4ac11a57f47b4172ae97024 Author: Jim Rees Date: Fri Oct 10 21:01:56 2003 +0000 openbsd-deadlock-fix-20031010 release global lock when calling getnewvnode thanks to wollman@khavrinen.lcs.mit.edu for finding this commit 5f705ff1b9f1593123d3bcdf6b41105b1ed9d59b Author: Garrett Wollman Date: Fri Oct 10 15:08:31 2003 +0000 use-posix-regex-20031010 use posix regex if available instead of re_comp eliminates need for -lcompat on the BSDs, so remove it from XLIBS commit 7a8a5aaec374eb9040283d9d4d0ef2bd321e072d Author: Jim Rees Date: Fri Oct 10 14:12:05 2003 +0000 fix-lwp-20031010 abort needs _C_LABEL too add dependency on process.i386.s to process.o commit c4af168c73dce3cd059727d0ee0b607683eb2094 Author: Jim Rees Date: Thu Oct 9 17:13:16 2003 +0000 openbsd35-20031009 OpenBSD 3.5 config files fix afs_osi_suser for 3.5 (from provos@citi.umich.edu) commit 0bc7169a9c7abf2dc1b2a13cb97bf366a3174649 Author: Jim Rees Date: Wed Oct 8 14:48:11 2003 +0000 openbsd-20031007 use poll instead of select for 3.5 and beyond reported by provos ==================== 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. ==================== works much better if you check the right vnode pointer commit dc0e2fe16a877a1100945bbf15951296a3c23d23 Author: Jim Rees Date: Wed Oct 1 15:04:34 2003 +0000 freebsd5-20031001 FreeBSD 5.2 config files. commit 161a1f65095eb6da989a7386588918c9ec5ef640 Author: Kris Van Hees Date: Sat Sep 27 07:23:30 2003 +0000 ubik-dont-serve-data-while-syncing-20030927 while we're syncing a new database over, and if the sync fails, don't keep serving out of the truncated and/or trashed database. set the db version to 0 before starting the sync. commit d4d4680f403dd0f857a6571a0d9a8adfa1fbdc2d Author: Jim Rees Date: Fri Sep 26 17:57:45 2003 +0000 openbsd-20030926 check for (v_type == VNON) from VFS_VGET in UFSOpen remove dead prototypes from osi_vnodeops.c commit b39bf74e58096c0c8bc6c52cad8ffb0aa319200d Author: Jim Rees Date: Thu Sep 25 17:26:10 2003 +0000 more-sysnames-20030925 add openbsd 3.3-3.4, freebsd 5.1-5.2 (from wollman@khavrinen.lcs.mit.edu) commit 66ebac7872c41a57584ae7e734686e8486b08ac1 Author: Love Hörnquist-Åstrand Date: Wed Sep 24 20:26:54 2003 +0000 deal-with-new-gcc-multiline-behavior-20030924 FIXES 2154 "foo bar" is right out deal. commit 5b7f5d6f44d9ee73ba36b1507d929344bfb463a6 Author: Love Hörnquist-Åstrand Date: Wed Sep 24 20:02:05 2003 +0000 lwp-elf-bsd-and-assembly-cleanup-20030924 FIXES 2153 commit 5d4f88c5c32a63e368b9750481abf6c37a5bfde9 Author: Love Hörnquist-Åstrand Date: Wed Sep 24 19:54:10 2003 +0000 fsync-wait-typing-mistake-20030924 FIXES 2155 correct refs to fsync_wait commit 42d23ccf9aafc264a5e9d47bceb979c8e8caa0bf Author: Derrick Brashear Date: Wed Sep 24 19:33:36 2003 +0000 linux-dentry-revalidate-make-sysname-lists-work-20030924 pass the unmangled name into afs_lookup in dentry_revalidate if dnlc lookup fails. commit a4d467351ab715e20f94a31aa1aa1cc82c4b1564 Author: Robert A Basch Date: Tue Sep 23 22:44:16 2003 +0000 windows-doesnt-always-have-long-long-20030923 Still can't assume long long exists; can break Windows build. commit c5b9483a47f3240b6a12a97bb0028ea0e9dd3cef Author: Derrick Brashear Date: Mon Sep 22 20:19:21 2003 +0000 callbacks-later-remove-lhs-cast-20030915 FIXES 2100 lhs cast illegal, some compilers barf, remove it. ==================== 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. ==================== FIXES 2100 lhs cast illegal, some compilers barf, remove it. this time commit the correct patch commit d3093f2ba6eb7370f0056e1c140cb879212c75ba Author: Alf Wachsmann Date: Mon Sep 15 22:39:10 2003 +0000 vos-fix-fprintf-args-20030915 FIXES 2096 kill extraneous argument to fprintf commit ea4a465aa48fd79c6b04a3f9bb438d9c88daa85a Author: Jeffrey Hutzelman Date: Mon Sep 15 22:31:01 2003 +0000 res-search-test-shouldnt-use-res-close-20030915 FIXES 2099 res_close() not part of generally accepted resolver api commit 387f83d8d879be170c294fca66629d7559ff0619 Author: Jeffrey Altman Date: Mon Sep 15 22:12:28 2003 +0000 winnt-newcreds-dialog-missing-attribute-20030915 FIXES 2119 DS_CENTER attribute missing from dialog. commit 18d060c68d32807b1c694e58ae524d817d46266c Author: Jeffrey Altman Date: Mon Sep 15 22:02:25 2003 +0000 winnt-avoid-leak-and-memory-corruption-in-afscreds-20030915 FIXES 2120 WINNT/talocale/TaLocale.h conditionally defines REALLOC() to TaLocaleReallocFunction(). WINNT/client_creds/afscred.h conditionally defines REALLOC() to AfsCredsReallocFunction(). Unfortunately, AfsCredsReallocFunction is never used because REALLOC is always defined first by an include of Talocale.h within afscreds.h. This is a problem because it results in memory being allocated within a DLL and then freed by the EXE. This results in both a memory leak in the DLL and memory corruption in the EXE. commit 5aa025d9e46a47811818ae14d371837d5e518f48 Author: Robert A Basch Date: Sat Sep 13 21:14:32 2003 +0000 windows-doesnt-always-have-long-long-20030913 commit d2a51dfe9ab5a2f10fb734a95db8333030275279 Author: Jim Rees Date: Tue Sep 9 22:14:34 2003 +0000 freebsd50-20030909 use VFS_VGET with correct args instead of igetinode fix str warnings in dir.c commit c734141bdcd5dc2909ce2805c79b003f1397c9bd Author: Derrick Brashear Date: Thu Sep 4 16:57:38 2003 +0000 irix-volser-lwp-stack-20030904 FIXES 2031 may be needed on more platforms based on suggestion from salvet@ics.muni.cz commit b033d78f2906b313da957771d0b8cca536e63ea2 Author: Nathan Neulinger Date: Thu Sep 4 16:45:38 2003 +0000 sys-dont-rebuild-for-aix-files-20030904 FIXES 2040 hack, touch the files so we don't rebuild for them commit 8b59d97972fa80a2a65acbba10199de264fbab1b Author: Jeffrey Altman Date: Thu Sep 4 16:41:00 2003 +0000 winnt-use-current-platform-sdk-20030904 FIXES 2068 _WIN32_WINNT definition must match _WIN32_IE to use current platform sdk commit 333975e8797232b0e5c59572430e273dd169529b Author: Jeffrey Altman Date: Thu Sep 4 16:35:05 2003 +0000 winnt-checked-do-debug-20030904 FIXES 2069 Disable optimization; generate full debug info in objs for checked build. commit b124918ec9c2f92bd51b5ed66ba195c414178532 Author: Derrick Brashear Date: Thu Sep 4 16:22:56 2003 +0000 winnt-binaryify-icos-20030903 at suggestion of rsm4@cssd.pitt.edu commit 368b3eb0aa4016621b8a1004693faacb8c2f959a Author: Robert S. Murawski Date: Thu Sep 4 04:30:30 2003 +0000 winnt-nsis-installer-update-20030903 more work on the nsis installer should be mostly complete commit 21c5eaa31f165e830dfd4720c0d0fbb7f63f1a77 Author: Hartmut Reuter Date: Wed Sep 3 17:47:15 2003 +0000 aix52-support-20030903 AIX 5.2 support does not include param.h does not include deadlock fix for afs_vnop_remove.c commit b796ecc392e743c583d6a6be4f80378ead772bbc Author: Derrick Brashear Date: Wed Sep 3 07:48:02 2003 +0000 linux-fstrace-syscall-return-code-20030903 so fstrace doesn't get bogus return values commit 741e7005daf323cf8890f26aa92e8d78baefb43c Author: Jim Rees Date: Fri Aug 29 23:00:04 2003 +0000 freebsd50-20030829 pass thread, not proc, to VOP_[UN]LOCK in afs_write pass correct bio arg to biodone in afs_strategy fix some warnings reformat some #ifdefs for clarity commit 352ffae3d2cb87cec6c94c8fc5f2d1402f00dd7a Author: Robert S. Murawski Date: Fri Aug 29 03:12:24 2003 +0000 winnt-nsis-installer-server-support-more-languages-20030828 make server available to install. support more languages. commit a80ce6e4dbd804a91a3d17ebf82a8db82c488af2 Author: Robert S. Murawski Date: Fri Aug 29 03:11:28 2003 +0000 winnt-server-dirpaths-fix-20030828 make server stuff actually be able to run commit c0fb8c9cbb6aba73fecf8a333648192122a0de42 Author: Jim Rees Date: Thu Aug 28 16:19:17 2003 +0000 ukernel-osi-credp-20030828 also declare and init afs_osi_credp for ukernel. thanks to nathan for bug report. commit 9053e5c9468fbf0092ae167d606632f1a45b4284 Author: Robert S. Murawski Date: Thu Aug 28 04:46:04 2003 +0000 winnt-64bit-env-20030827 define and support 64 bit env on windows commit 3467c697025a8d857a023cba549f0218e6dbb04e Author: Nathan Neulinger Date: Thu Aug 28 04:16:33 2003 +0000 voldump-builds-with-volser-20030827 avoid circular dependancy issue. commit 84413f9d4a4d6eda515c33e50f6ac86ec7e8d236 Author: Robert S. Murawski Date: Thu Aug 28 01:43:05 2003 +0000 winnt-nsis-installer-20030827 make the nsis installer actually work. commit f40f466c7f5086e425f53a15022396f550874aa5 Author: Jim Rees Date: Wed Aug 27 22:43:16 2003 +0000 osi-credp-20030827 Use a pointer for afs_osi_cred, and crget() instead of just inventing one. Required for FreeBSD, which puts a mutex in the cred. Not strictly required for other BSDs, but it's more correct. commit 3d50a78236db35d1e97a0f2b5dc0b620cba37b09 Author: Derrick Brashear Date: Tue Aug 26 19:05:54 2003 +0000 packed-int64-macros-20030825 these were missing for the non long long cases. ew. ==================== 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. ==================== fix NSIS installer build paths clean up base64 support for nt clean up int64 support in volser ==================== these were missing for the non long long cases. ew. ==================== these were missing for the non long long cases. ew. commit 75ac7f8bf3b5f3b37fdb1c2383a4bac493f651da Author: Jim Rees Date: Tue Aug 26 16:09:28 2003 +0000 fix-format-20030826 minor silly indent/format fixes commit c1157da616ee27667f46bdecd8438736b32ba8b1 Author: Robert S. Murawski Date: Tue Aug 26 04:03:32 2003 +0000 winnt-build-cleanup-20030825 include unified afs error support for winnt. removed dup'd code. supports building an installer with NSIS ==================== 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. ==================== include unified afs error support for winnt. removed dup'd code. supports building an installer with NSIS remove orphaned osi_malloc header ref ==================== more updates. make libadmin build, fix dependancies for unified_afs, copy rxstat header out during build ==================== fix NSIS installer build paths clean up base64 support for nt clean up int64 support in volser ==================== more updates. make libadmin build, fix dependancies for unified_afs, copy rxstat header out during build commit d1e8e34e6112e3f5013f4ffc5db7be8faef082da Author: Derrick Brashear Date: Tue Aug 26 03:43:21 2003 +0000 dir-dont-oops-on-corruption-20030825 If afs_dir_GetBlob gives us a corrupt blob, try to handle it gracefully. Ideally, we'd figure out *why*, but, what crash dumps? commit d7cf6a26e0cb0dfa577286dc45036eb33123632d Author: Robert S. Murawski Date: Mon Aug 25 21:36:40 2003 +0000 winnt-nsis-installer-20030825 include NSIS installer files commit 46c3ff8515349476c30bfd4bf5c75e160d90f0ae Author: Derrick Brashear Date: Mon Aug 25 21:33:27 2003 +0000 dumpsize-int64-support-non-64bit-platforms-20030825 this didn't compile on non long long platforms. again, ew. commit 0f97dbabceab1dc8345ae5273af8d817317733bd Author: Nathan Neulinger Date: Sun Aug 24 22:22:39 2003 +0000 vol-dump-tool-20030824 FIXES 2008 create direct-from-disk volume dump tool commit 292a9377c9783a9ff7fd9bfbbc91690790c6ffe2 Author: Robert S. Murawski Date: Sun Aug 24 18:17:44 2003 +0000 winnt-update-to-build-again-20030824 get things closer to building again for winnt port commit 3254836ee9ac6ef6e090ac3be68a6131adf5b701 Author: Robert A Basch Date: Wed Aug 20 23:41:06 2003 +0000 fix-indent-lossage-20030820 Fix lossage that breaks Windows build introduced by running indent. commit ec35af350a4a2d89940139461a9d5b82996ea0b2 Author: Nickolai Zeldovich Date: Sat Aug 16 00:50:27 2003 +0000 use-largespace-for-osifile-20030815 Use AllocLargeSpace for osi_file's on Linux because it sometimes exceeds SMALLOCSIZ. commit d2c30d069bb9ea803b347d9482ef788f59da3566 Author: Nickolai Zeldovich Date: Thu Aug 14 04:55:55 2003 +0000 memory-allocation-fixes-20030813 Properly free allocated memory from osi_AllocLargeSpace and check the amount of memory requested from osi_AllocSmallSpace to avoid a possible panic. commit f249aaeede96d99434cd0112cc2189e8c7266c8c Author: Robert S. Murawski Date: Tue Aug 12 05:06:37 2003 +0000 winnt-dotnet-support-20030812 "The 1.2.10 build ALMOST builds out of the box in Visual Studio .NET 2003. The MIDL compiler's default option changed from /NO_ROBUST to /ROBUST in version 6.0.359. So I propose that we put the /NO_ROBUST switch in the NTMakefiles as part of the command line." commit 63fb9cd1d4dee92be77141fa45d8534432bb3110 Author: Derrick Brashear Date: Mon Aug 11 23:22:02 2003 +0000 ptprocs-supergroups-stub-20030811 have a stub to go with the unifdef'd .xg file. ==================== 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. ==================== have a stub to go with the unifdef'd .xg file. make the stub actually work. i wonder if it's ok to cheat like this. (return RXGEN_OPCODE) commit be95c11413b06f4a3e6007e46c04a1e0bf34c70e Author: Kris Van Hees Date: Mon Aug 11 20:29:21 2003 +0000 usermode-linux-configure-cleanup-20030808 clean up configure test for usermode linux commit 8f00fdfd5fc09f6c341125d46fa7457108dfa796 Author: Derrick Brashear Date: Fri Aug 8 22:54:30 2003 +0000 reindent-again-20030808 FIXES 1774 catch things which crept in. if emacs hadn't started ignoring my code formatting settings this would suck so much less.... commit 28fb8f1e02e1a8f4f058281b41311b9846656388 Author: Kevin Coffman Date: Fri Aug 8 22:34:28 2003 +0000 ptserver-supergroups-cleanup-20030808 FIXES 1834 last changes needed for nested pts groups commit e11771d8a344f0bd84d93c3c0acef44069fe07b3 Author: Matthew A. Bacchi Date: Fri Aug 8 22:20:46 2003 +0000 ptutil-use-libcmd-20030808 FIXES 1276 use libcmd in pt_util commit 856ae10278b1624c15c8ac6291026da12f8b7352 Author: Derrick Brashear Date: Fri Aug 8 22:00:09 2003 +0000 pinstall-execve-adhere-to-posix-20030808 FIXES 1886 pass in null env in posixly-correct manner commit 08db75c1968917a452f1d7c2a8a88b7a3e538ded Author: R. Lindsay Todd Date: Fri Aug 8 21:40:42 2003 +0000 large-file-support-20030808 FIXES 1493 large file support in the fileserver, again commit 0e49bd804aaca2b86a6adac5496ca793675fe870 Author: Alf Wachsmann Date: Fri Aug 8 21:27:58 2003 +0000 bos-error-string-args-cleanup-20030808 FIXES 1822 remove bogus arguments to printf in bos commit 0a0ba24b62329dab8780f6217e56f91921ee6982 Author: Kevin Coffman Date: Fri Aug 8 21:22:11 2003 +0000 viced-vlserver-rpc-proto-20030808 FIXES 1835 add prototype for vlserver function to stifle warnings on aix commit bab4e2dd948c96f6f2545e4b7ca3b17e0a27d506 Author: Kevin Coffman Date: Fri Aug 8 21:21:27 2003 +0000 remove-unneeded-mman-include-20030808 FIXES 1835 don't include mman.h in lwp fasttime commit 06a041b9ddbc36cb47d973d16fbbc93ab2af5c49 Author: Kevin Coffman Date: Fri Aug 8 21:10:11 2003 +0000 objdir-build-cleanup-20030808 FIXES 1833 so objdir builds can work on aix commit d6eefb7be58f4de0057691213e023fc7bb9fd49e Author: Kris Van Hees Date: Fri Aug 8 20:55:03 2003 +0000 afs-prefer-backup-volumes-on-mountpoints-option-20030808 afsd option (-backuptree) and proc interface code for linux to enable preferring backup volumes when crossing mountpoints once in a tree of backup volumes. commit 937a911c674551bf66ac440da43e329ba6b0fda2 Author: Douglas Engert Date: Fri Aug 8 21:01:25 2003 +0000 hpux-build-fixes-20030805 so we can build cleanly on hpux 11.22 commit f77455bd8676f203168c92e423a3fb11c82c635e Author: Jim Rees Date: Mon Aug 4 18:48:33 2003 +0000 lwp-reformat-20030804 fix lwp.c:Debug() macro so lwp.c will reformat correctly other minor cosmetic fixups commit f7c4f16110497457263851fed22a0c2ed50521c0 Author: Derrick Brashear Date: Tue Jul 29 23:34:33 2003 +0000 butm-restore-from-large-files-20030729 make restore also work from large files commit 5227918cb93f8f6b0c0c8c9a02e50c728fc1fce8 Author: Nickolai Zeldovich Date: Tue Jul 29 19:58:19 2003 +0000 fix-indent-bug-with-lock-macros-20030729 Add trailing semicolons to lock/unlock macro invocations to make indent do the right thing, and re-indent. commit 42396526a7f141ed1d03ba1b2451fc7475773258 Author: Derrick Brashear Date: Tue Jul 29 03:00:47 2003 +0000 opteron-linux-sys-call-hack-fix-20030728 smp machines need a larger search space? commit cd84e65f972ef53b45df742dfef67c04e94c95fd Author: Derrick Brashear Date: Fri Jul 25 19:15:15 2003 +0000 package-build-rules-20030715 allow building of macos packages from make commit 7356b6696e7b22f0d130fe27ef6233bc251b9a0d Author: Derrick Brashear Date: Fri Jul 25 05:38:01 2003 +0000 use-strerror-if-available-20030725 discover and use strerror instead of sys_errlist and sys_nerr. commit 26891bbac0e4aea5402bf44651d284194d503270 Author: Derrick Brashear Date: Fri Jul 25 05:30:31 2003 +0000 linux-largefile-defns-20030724 make usd library able to write large files on i386 linux commit 1a2fa8bd5cca6d69f13b5da47cc175d6337dabcd Author: Derrick Brashear Date: Wed Jul 23 17:30:11 2003 +0000 butc-notice-eot-20030723 if we're going to check for BUTM_EOT, have a chance in hell of finding it. and not, say, 0. commit 7161b7362f44b5294034ce71391e7b68245a5b7f Author: Jim Rees Date: Thu Jul 17 17:00:56 2003 +0000 freebsd-51-20030717 add support for FreeBSD 5.1 (builds, kernel module not working yet) commit 71a364dc0077390833aaf99ab042001c9a73570e Author: Nathan Neulinger Date: Wed Jul 16 23:22:54 2003 +0000 undo-reindent-newline-20030716 FIXES 1782 so the message catalog doesn't upset tools. commit 872bc94f8ce5d38f0a12e7cec455a2cb368b7427 Author: Derrick Brashear Date: Wed Jul 16 00:28:24 2003 +0000 reindent-20030715 FIXES 1774 thanks to nneul@umr.edu for providing a script to do this. gnu indent 2.2.9 options: -npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1 -nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8 ==================== 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. ==================== FIXES 1774 fix subst mistake commit 744212766fed382ede385a0b62b49a9b10fadcfc Author: Jim Rees Date: Tue Jul 15 20:49:30 2003 +0000 freebsd-5x-20030715 use curproc->p_pid instead of getpid() (conflicts with kernel getpid) pass correct number of args to afs_close commit 40d7a8b4f144d13628ac18b35e8c861af35beab6 Author: Derrick Brashear Date: Tue Jul 15 06:30:04 2003 +0000 hpux-make-packaging-target-20030715 FIXES 1315 make the make rule able to make packages commit 8ce988f5fd7e801b8801607ed468e8a3cff4c7f2 Author: Nathan Neulinger Date: Tue Jul 15 00:43:45 2003 +0000 aix-objdir-build-20030714 FIXES 1763 we never get this right. commit 55738b0971210912d1d515943f3bde95be36ad39 Author: Jim Rees Date: Fri Jul 11 19:45:07 2003 +0000 freebsd-5x-20030711 more curproc -> curthread commit 7eeb271d9f12498b77f90a28c063bdfcb22afa39 Author: Robert S. Murawski Date: Fri Jul 11 03:12:46 2003 +0000 winnt-fileinfo-is-directory-20030710 correctly report directories by not setting field in incorrect position in reply. commit ddac9ce59abee2f53d6243b05c502966dfc9ad56 Author: Kris Van Hees Date: Thu Jul 10 22:52:15 2003 +0000 linux-usermode-better-test-20030710 test the source tree and not the running kernel commit 378de32cbca1bbe3bf605f72a222ec0a655a8c6b Author: Derrick Brashear Date: Wed Jul 9 20:44:46 2003 +0000 package-build-rules-20030709 allow building of macos packages from make commit c59e18c174569393ada98bb2ff1ab80c51c07b2b Author: Derrick Brashear Date: Wed Jul 9 19:55:32 2003 +0000 macos-pkg-update-csdb-20030709 attempt to update cellservdb before building packages commit e8775604576da0b1c1b180f0c0922222522c0dd5 Author: Paul Weber Date: Wed Jul 9 19:06:59 2003 +0000 hpux-packagings-20030709 FIXES 1315 updated packaging for hp-ux 11.00, 11.11 and 11.22 commit e6b5dee3bcdd7dc825c3b60df7c6893a31fa2c85 Author: Derrick Brashear Date: Wed Jul 9 18:41:02 2003 +0000 no-kerberos-env-20030709 you really don't want AFS_KERBEROS_ENV commit 7e11fe0bb2dbe66de36b6aa2bf1383fd47c83c55 Author: Jim Rees Date: Mon Jul 7 23:30:46 2003 +0000 openbsd-packaging-20030707 add bos to usr/vice/bin strip -x usr/vice/bin/* commit b6a2aae8216822024d1ca844beaf866a02f3cdff Author: Jim Rees Date: Mon Jul 7 23:09:27 2003 +0000 openbsd-flock-fix-20030707 release all locks on last close, not just those for this process (not correct but better; needed for posix) only sleep for remaining time in afs_osi_Wait if woken before timeout add proto for afs_open commit 75c205ed892a36be13b75d37718d8207c5a5abcb Author: Kris Van Hees Date: Mon Jul 7 22:58:39 2003 +0000 linux-uml-update-20030707 remaining update for uml, already i 1.2.10-rc2 commit fc60d09e3d6b20ffa3cc25368a3c06f20dd3cd9c Author: Jim Rees Date: Mon Jul 7 18:04:04 2003 +0000 openbsd-vnops-20030707 always return child locked in lookup add support for PDIRUNLOCK flag commit 71bf49aa93c393bd977155c54e423da0d2a36ad9 Author: Jim Rees Date: Mon Jul 7 17:15:48 2003 +0000 freebsd-4x-fix-20030707 fix merge screwup commit 4dd74ef18256f6052bc7279aff68d347fb723bd6 Author: R. Lindsay Todd Date: Wed Jul 2 02:03:17 2003 +0000 splint-support-20030701 FIXES 1493 add splint support targets to makefiles add support files commit a633a9920803860e8b4167501f0ffa171fcf40c2 Author: Derrick Brashear Date: Wed Jul 2 00:53:09 2003 +0000 translate-more-vol-errors-20030701 based on complaint from Ryan Underwood on openafs-info. translate to EDQUOT and ENOSPC actually instead of just returning random numbers commit 526316e97b0eb6e60789c2ce46a9183542c04682 Author: Derrick Brashear Date: Tue Jul 1 23:55:12 2003 +0000 snprintf-varargs-fun-20030701 this probably needs a better fix. however, one some platforms, we see: ./snprintf.c: In function `afs_vsnprintf': ./snprintf.c:227: `short int' is promoted to `int' when passed through `...' ./snprintf.c:227: (so you should pass `int' not `short int' to `va_arg') and it won't compile. are there platforms where short is correct? commit 3f8b428d52feb45e6d2dc3577c7c38306c98e0d8 Author: Jim Rees Date: Tue Jul 1 23:41:22 2003 +0000 freebsd-50-creds-20030701 freebsd 5.0 module now loads and runs! init creds in osi_Init don't call crhold on afs_osi_cred, because the mutex is invalid afs_xioctl takes a thread, not a proc commit 239067b1476801254c502c348893bb49553b5e74 Author: Derrick Brashear Date: Tue Jul 1 23:21:34 2003 +0000 linux-i-alloc-sem-usage-20030701 modern kernels appear to use i_alloc_sem around truncation commit f43c2f4412d670ce1131dc429cb43302352df3e4 Author: Hartmut Reuter Date: Tue Jul 1 23:02:58 2003 +0000 aix-51-support-20030701 FIXES 1661 make afs work for aix5.1 64 bit. some code cleanup commit 4bda27a286acb45ce87131eb43d80dbcbe5e5b39 Author: Douglas Engert Date: Tue Jul 1 20:43:08 2003 +0000 winnt-enable-global-drive-mappings-20030701 FIXES 1614 This will allow access to AFS from system processes and scheduled tasks. It also means that each user does not have to map AFS to his own drive. commit f661ad4e58f6ad7fd9aea9755c141e0a2d742b66 Author: Peter Breitenlohner Date: Tue Jul 1 20:39:18 2003 +0000 ptserver-make-main-int-20030701 FIXES 1645 don't declare main void. commit 9d1570615849e9f83e78d365fb98df743f512550 Author: Peter Breitenlohner Date: Tue Jul 1 20:34:23 2003 +0000 libadmin-pts-pointer-fixes-20030701 FIXES 1647 fix pointers to eliminate warnings commit 4fc1bbdf9406bf28e9027d68d3b861ded9b65fd5 Author: Peter Breitenlohner Date: Tue Jul 1 20:30:30 2003 +0000 use-lncurses-instead-of-path-20030701 FIXES 1648 use -lncurses instead of explicit path commit 96c7261a229207a44e483cce52478fbb1b35fe96 Author: Peter Breitenlohner Date: Tue Jul 1 20:27:54 2003 +0000 ignore-pam-module-if-no-headers-20030701 FIXES 1649 we check for pam headers; use the result commit 88e2d8e292e687d3193dcaff62ffd5f2ab4f72ad Author: Peter Breitenlohner Date: Tue Jul 1 20:23:51 2003 +0000 gcc-warnings-cleanup-20030701 FIXES 1650 add headers, cleanup castings commit 010af620459e2af0841810f1b232eccd7bc4ccb1 Author: Peter Breitenlohner Date: Tue Jul 1 20:14:29 2003 +0000 eliminate-bogus-rebuilding-20030701 FIXES 1651 so makefiles have proper dependancies commit a75f0516f52d967a1ffa0088fddaff88fe3f40bb Author: Peter Breitenlohner Date: Tue Jul 1 19:57:05 2003 +0000 kdump-build-cleanup-20030701 FIXES 1654 don't rebuild kdump on every pass commit e28aaca5ede7e7d4caecb46af1ee67a9879b1b75 Author: Jim Rees Date: Tue Jul 1 19:12:18 2003 +0000 protos-20030701 add proto for init_et_to_sys_error() commit a4bfe58a1b2dfe7dc84e593678d80e4247e5d62f Author: Jim Rees Date: Tue Jul 1 19:06:38 2003 +0000 freebsd-20030701 freebsd: eliminate unresolved symbols kernel module loads now, but doesn't get very far commit 4e7136740c8c41e49d9d88969feab4bc0eff8a2a Author: Jim Rees Date: Mon Jun 30 20:51:57 2003 +0000 label-in-col-1-20030630 put asm labels in col 1 (some asms are picky picky) commit 88f3f666dee7a74d2011cddb4415377bbda3c108 Author: Jim Rees Date: Mon Jun 30 20:44:50 2003 +0000 with-bsd-kernel-headers-20030630 add --with-bsd-kernel-headers configure option thanks to nathan for help with this commit b251040bb2086d9bc85f9c79ea53e83407c04492 Author: Jim Rees Date: Sat Jun 28 20:39:03 2003 +0000 freebsd-20030628 change freebsd kernel module name to libafs.ko (required by kldload) commit cf984d3d5ca6d68c6dc7cc38d75efa68dba6c0d4 Author: Jim Rees Date: Fri Jun 27 21:54:31 2003 +0000 openbsd-oops-20030627 back out my last commit. I'm told it's not wanted. commit f0245940b88cbe35e3c00364f29127d00e8af0df Author: Jim Rees Date: Fri Jun 27 21:32:28 2003 +0000 freebsd50-20030627 makefile changes to build freebsd 5.0 kernel module commit 4ec35eae77327cbe2feaa3316246ea108c6adee2 Author: Jim Rees Date: Fri Jun 27 20:55:46 2003 +0000 openbsd-20030627 use -fno-stack-protector for all openbsd after 3.2 commit 819df73c887c7999cf8163e0e95477a88a67490a Author: Derrick Brashear Date: Fri Jun 27 15:12:06 2003 +0000 bozo-ubik-needs-rx-20030627 make ubik depend on rx, not vice versa commit def59db27bb8a6b2b123547b30054d8ff380366e Author: Derrick Brashear Date: Fri Jun 27 15:07:47 2003 +0000 rx-xdr-rename-userland-symbols-also-on-amd64-linux-20030627 because the XDR struct is different on amd64, we need to do this to avoid tainting namespace of processes which otherwise use XDR and wouldn't use ours otherwise. this should be done otherwise, or maybe we *should* use the vendor XDR when we can. commit e458134e448ebcebadf876d8d891081375db80ee Author: Jim Rees Date: Fri Jun 27 15:01:21 2003 +0000 strl-20030627 add strlcat, strlcpy to libutil ==================== 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. ==================== src/util/strlcat.c src/util/strlcpy.c commit 51c36cd685ed8cd912dcba865c852d168f75c7fb Author: Jim Rees Date: Thu Jun 26 18:00:11 2003 +0000 bsd-no-sysparam-for-asm-20030626 don't #include sys/param.h in asm code (lwp/process.s) commit 038ee0211017a7318c74409c63d5fb2db9a5e63d Author: Ben Creech Date: Wed Jun 25 19:51:53 2003 +0000 windows-zombie-fix-20030625 To refresh your memories, this past semester, NC State experienced a problem wherein the OpenAFS Client for Windows would go into a zombie state and stop responding to traffic on the SMB interface until restarted... commit 2efac26e48946b3928966b93dcee21dc5f73b40e Author: Brent Graveland Date: Tue Jun 24 20:30:59 2003 +0000 openbsd34-20030624 openbsd 3.4: add -I${TOP_INCDIR} to lwp/process.s compile flags use afs_strcat commit e0306e8c05c16b176f9861b271d358bcdded74d2 Author: Jim Rees Date: Tue Jun 24 20:24:18 2003 +0000 openbsd-groups-20030624 openbsd: use the right creds in afs_xsetgroups don't clobber the ucred pool by running off the end of the group list don't over-hold creds commit 7ac709c80bed82db08d0c7d71f91be34feeb63a2 Author: Joakim Fallsjö Date: Mon Jun 23 23:46:19 2003 +0000 sun-x86-20030623 also use process.i386.s for sun x86 commit 3cd54ac636d38fb45ea957382c669e8b5d2df8cc Author: Jim Rees Date: Mon Jun 23 23:14:06 2003 +0000 setpag-proto-20030623 use prototype for setpag for freebsd too commit 89a13a3bb1713359f0c3d2ba4d44d078d5264765 Author: Jim Rees Date: Mon Jun 23 22:48:49 2003 +0000 handlecontext-20030623 only include code for HandleContext when it's needed, and make it more obvious when HandleContext is needed commit 5db7b8a88cd0f570e851333228f1f62b71d8c124 Author: Jim Rees Date: Mon Jun 23 21:27:39 2003 +0000 add-strcpy-for-openbsd-20030623 add strcpy() to afs_util.c for OpenBSD 3.3. Please don't look at my previous attempt to fix this. commit d7f00e40498be72c7426cf7731329fc71ce0de6f Author: Jim Rees Date: Mon Jun 23 18:02:17 2003 +0000 i386-elf-20030623 break out i386 code from lwp/process.s to separate source file, as discussed at workshop. add support for OpenBSD 3.4, contributed by Brent Graveland (requires kernel patch for lkm; see: http://graveland.net/openbsd/openafs-on-openbsd commit 725db719eee937cff6f764289b822fc428d5b0d5 Author: Nathan Neulinger Date: Mon Jun 23 17:04:29 2003 +0000 vol-extra-logging-on-attach-detach-20030623 FIXES 1387 add extra logging, revert in cases where you don't have log level turned up commit e2507583d54d55576500d59a7205fa5dce0259a3 Author: Jim Rees Date: Fri Jun 20 16:42:07 2003 +0000 freebsd-64bit-env-20030620 Add AFS_64BIT_ENV to all FreeBSD param files commit 8236e418cc829a30eb6176184a9fe3b51c7ed1ba Author: Nathan Neulinger Date: Fri Jun 20 01:40:15 2003 +0000 more-warnings-and-prototyping-work-20030619 FIXES 1816 abstracted from work by toddr@rpi.edu commit 738be8220e48ccccb35d016d750e1721efaf64ca Author: Nathan Neulinger Date: Fri Jun 20 01:35:19 2003 +0000 snprintf-string-includes-20030619 and some warnings killed. anyhow it should be happier now commit 5f09e7031d8fa4e44d94eace5b326785eee99027 Author: Derrick Brashear Date: Fri Jun 20 00:38:57 2003 +0000 add-maintainer-clean-target-20030619 oops. make INSTALL's idea of the target name work also, in addition to "pristine" commit d73fc1d60295f41b6e897cb87315bd31d8e2891f Author: David Magda Date: Fri Jun 20 00:37:32 2003 +0000 vsnprint-af-inet-bsd-header-20030619 the bsds also need socket.h to get a definition for AF_INET commit 4b2f1af543680039c791242d5bd594a3cd3061f0 Author: Paul Weber Date: Thu Jun 19 23:03:29 2003 +0000 hpux-packagings-20030619 FIXES 1315 updated packaging for hp-ux 11.00, 11.11 and 11.22 commit bc9ff0f64010b5ed886389ed584fb1c7c8169dc5 Author: Chaskiel M Grundman Date: Thu Jun 19 20:00:31 2003 +0000 windows-file-versioning-20030619 FIXES 1488 It adds: - the binary version of the file version/productversion, which the MSI engine sort of want files in MSI packages to all have. This requires another variable to be maintained in NTMakefile.i386_nt40 (Please don't change the value from 1,2,910,0 to 1,2,9,1 or something like that. The last number group in the version is considered completely insignificant by some things) - some file typing, which I don't know if anything cares about - Some new items in the stringfileinfo table, (InternalName and OriginalFilename) without which explorer won't show use the version info in constructing tooltip text. - Actually setting ProductVersion and FileVersion to something real - Language codes, which the MSI engine also wants commit befd22d01d34ccc09c85d7ef0fc683a7df2d77ae Author: R. Lindsay Todd Date: Thu Jun 19 18:35:44 2003 +0000 logging-changes-for-large-files-20030619 FIXES 1493 create afs_vsnprintf. use it in FSLog. add new types which are intmax and uintmax, 32 or 64 bit as needed.. some casting. commit 106a54eef7dc4e97fd229a7fc0a63a2d69a8ab01 Author: Nathan Neulinger Date: Thu Jun 19 18:20:08 2003 +0000 ident-cleanup-20030619 FIXES 1549 change to /* */ comment style ==================== 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. ==================== FIXES 1548 i think indent is being stupid, but whatever. ==================== FIXES 1545 get rid of macro usage with causes "spurious" else ==================== FIXES 1544 comment in ifdef'd out code should be a comment ==================== FIXES 1543 make definitions ifdef notdef'd look like definitions commit 3caa5d6e9691c7d0d19964983f7c4fc6ff948046 Author: Derrick Brashear Date: Thu Jun 19 18:08:09 2003 +0000 des-add-error-so-indent-deals-20030619 FIXES 1546 important to make sure build still errors out commit f5f73a560ea423a384e3f209ad1d2a3d598bc588 Author: Nathan Neulinger Date: Thu Jun 19 18:06:29 2003 +0000 aix-cv-macro-fix-20030619 FIXES 1547 fix macro escaping commit da3adbb189c5487d4d9e928f9b529e8e99d780b7 Author: Derrick Brashear Date: Thu Jun 19 17:55:10 2003 +0000 uss-rename-lex-to-lex-file-20030619 FIXES 1550 so reindenting will not do the wrong thing. commit af1a0ea039223063b582cb44e55a4b58d1ec2836 Author: Manuel Pereira Date: Thu Jun 19 17:53:09 2003 +0000 java-jafs-update-20030619 FIXES 1565 updates to java jafs, make it work with new cell code. commit 43011a3a0013aa17a941f8ac0abf87f3efe7df7b Author: Ryan Lantzer Date: Thu Jun 19 17:43:15 2003 +0000 winnt-avoid-nosuchvolume-for-down-servers-20030619 FIXES 1568 a volume could be marked "no such volume" and hence disappear if a server went down until fs checkv. commit 2bff2bb6f3ba79d4c26ee7d7f3de0898c9e5296f Author: Nathan Neulinger Date: Thu Jun 19 17:31:33 2003 +0000 ptserver-rxgen-cleanup-20030619 FIXES 1573 get rid of placeholders, inline opcodes.. commit 0f53b559c34aa4bef8161eda7d7c21c898908119 Author: Nathan Neulinger Date: Thu Jun 19 17:28:58 2003 +0000 cvsignore-updates-20030619 FIXES 1580 update cvsignore files commit 7f16752202c603eadb6d88ae4cee8b55e8c66436 Author: Derrick Brashear Date: Thu Jun 19 17:17:20 2003 +0000 use-mkstemp-correctly-on-linux-20030619 FIXES 1603 might as well fix it all. commit 1f3990e5eafb6bd9dfdae28ce4fea5b8e5cff79e Author: Nathan Neulinger Date: Thu Jun 19 17:06:58 2003 +0000 vos-getsize-20030619 FIXES 1574 ported basically verbatim from work by ilya@ccmr.cornell.edu and mitch@ccmr.cornell.edu. add estimator of dump size support to vos/volserver commit 3dbc33ad071b9cf22fcef6c9c51f829edb0ece87 Author: David Magda Date: Thu Jun 19 14:56:49 2003 +0000 fbsd-pagefree-proto-20030619 s/vnode_pager_freepage/vm_page_free/ to avoid proto conflict remove vnode_pager_freepage from afs_prototypes.h commit a8dd10c862abeba2c05809b9fd921293b7e5e5e6 Author: Nathan Neulinger Date: Tue Jun 17 18:28:00 2003 +0000 check-mkstemp-in-config-20030617 check for mkstemp in configure use HAVE_MKSTEMP in src/butc/tcudbprocs.c commit ae5e2f7865ce1dee9649aa6992f49fc89eb52669 Author: David Magda Date: Tue Jun 17 18:08:19 2003 +0000 use-mkstemp-20030617 have the BSDs use mkstemp(3) commit ecfcebec10542834fe770d2f1c98baa77aaaf90e Author: Derrick Brashear Date: Tue Jun 10 21:42:51 2003 +0000 rxkad-ticket-cleanup-20030610 kill forward decls and dead code. commit 8a33c2d8a590d92df27d7febf708449feae17254 Author: Derrick Brashear Date: Tue Jun 10 20:18:34 2003 +0000 rxkad-check-tkt-length-20030610 tkt_DecodeTicket didn't seem to check that ticketLen < MAXKTCTICKETLEN didn't matter since no callers failed to check, but we should enforce this where the limit is commit 10a00664e344fd8d8bb2089c5e8a43a62050a5ed Author: Derrick Brashear Date: Tue Jun 10 20:15:07 2003 +0000 opteron-no-modversions-ia32-sys-call-table-fun-20030610 attempt to deal if modversions is disabled commit b609b807d24d336dfe8a0939249001dc8874c69a Author: Joakim Fallsjö Date: Fri Jun 6 22:11:25 2003 +0000 winnt-give-better-debugging-20030606 offer better messages in certain cases commit ad61a30d57eaf91d6c4edde632459b7e3d9f8700 Author: Derrick Brashear Date: Fri Jun 6 20:58:09 2003 +0000 linux-rx-listener-flush-signals-20030605 FIXES 1409 make sure we flush signals before calling force_sig. i don't know why this matters, but it does. commit 3fd6efb40fb4b81874cd1d48a1b529a175383e55 Author: Derrick Brashear Date: Thu Jun 5 22:42:07 2003 +0000 rx-avoid-leaking-nwaiting-20030605 thanks to kolya@mit.edu for suggesting moving rather than adding the decrement and confirming sanity. basically if a call ended up call->error it was possible to queue_Remove() it, drop the call, and not rx_nWaiting--; result should be observed as rxdebug reporting waitprocs when threads were idle. commit 718f25e62e7249682f8e9deddb1eb72408f4df9e Author: Derrick Brashear Date: Thu Jun 5 15:11:44 2003 +0000 amd64-hook-ia32-table-20030519 if sys_call_table is exported and ia32_sys_call_table isn't, we need it this way commit 2acd0d9937f6040ab8b9dc0ce3304706136fac87 Author: Derrick Brashear Date: Wed Jun 4 17:11:55 2003 +0000 amd64-hook-ia32-table-20030521 keep track of the ia32 table separately. annoying but needed. ==================== 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. ==================== provide the variables we need for ia32 sys call table if sys_call_table is exported commit 244fde00a9da55b4a55cc3c0944b28d28b90e597 Author: Nathan Neulinger Date: Tue Jun 3 05:31:08 2003 +0000 afsd-check-for-bad-partition-type-20030602 FIXES 1455 disallow cache directory of types we know cause problems ==================== 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. ==================== FIXES 1542 typo commit ee00daa36432ba6eac6004c6c691aaab98c0e62f Author: Chaskiel M Grundman Date: Mon Jun 2 23:44:39 2003 +0000 softsig-update-20030602 FIXES 1435 changes to help us die and to unblock all signals to wait on commit 07f9b84fd75eaf7d1ea7129044d01da6532a8de6 Author: Chas Williams Date: Mon Jun 2 19:11:40 2003 +0000 kernel-reduce-stack-use-20030529 FIXES 1485 so we allocate instead of using memory off the stack in the kernel paths commit d0bb3b8fa0aa57634df3aadc2cf86eca6ad4a6c6 Author: Paul Weber Date: Mon Jun 2 15:47:12 2003 +0000 hp-packagings-20030602 FIXES 1315 add HP pacakging files commit e110b1d34a7141a1fdfe4570418545c59945ce6d Author: R. Lindsay Todd Date: Mon Jun 2 15:37:48 2003 +0000 logging-cleanup-20030602 FIXES 1493 logging function cleanup and protoizing commit df3dbd15787b2523681a3ff8a5c2a2ba22155314 Author: R. Lindsay Todd Date: Mon Jun 2 15:35:59 2003 +0000 splint-fileserver-volserver-cleanup-20030602 FIXES 1493 add "make splint" target for viced, vol, volser and clean up for splint commit a04ba28f72ab3d23ce46e71d165c1d8707c5b40e Author: R. Lindsay Todd Date: Mon Jun 2 15:27:54 2003 +0000 largefile-2nd-try-base-work-20030602 FIXES 1433 another try at largefile support. macroize so things can be easily cut over commit 87ba62cc9bbdf64e95eba97b9d85453c08c86bce Author: Nathan Neulinger Date: Thu May 29 19:23:15 2003 +0000 prototyping-20030529 FIXES 1455 more prototyping. commit e011b31bfa2a511ef663a85ffd548e64303a4c3c Author: Jeffrey Hutzelman Date: Thu May 29 19:03:14 2003 +0000 syslog-tags-20030515 FIXES 1266 include a program tag in syslog output commit 5ecdab3b75c02784ae6d87e93a92d1a3f705c83d Author: Chaskiel M Grundman Date: Wed May 28 19:34:38 2003 +0000 closer-to-vc7-support-20030528 FIXES 1334 VC7 dropped support for the LARGE_INTEGER functions (linking against largeint.lib doesn't seem to have any effect) commit aaea47afd223021d98e6c5f3b778fe8b0fd472d8 Author: R. Lindsay Todd Date: Wed May 28 19:18:08 2003 +0000 start-splint-support-20030528 FIXES 1493 only part of this bug commit ce4f08f0a9ab6fc7a2c40267aebc48934ec6dfb9 Author: Derrick Brashear Date: Thu May 22 16:51:08 2003 +0000 linux-system-calls-return-long-20030522 the kernel says they return long. returning int causes sadness. stop being sad. commit 20656c4a44c4ae294e99eaa60cf8137a2fda51d3 Author: Derrick Brashear Date: Thu May 22 16:16:19 2003 +0000 revert-pioctl-return-negative-errors-on-linux-20030522 syscall stub handles it. this is actually an overflow on 64 bit system commit 7d710fd45f7f6fa06de22d4f524342d02ae4afcd Author: Derrick Brashear Date: Thu May 22 15:22:18 2003 +0000 pioctl-return-negative-errors-on-linux-20030522 otherwise we can end up with errors that make no sense. commit 580f1ffc506bb925c28af824e08f84318f1dca64 Author: Derrick Brashear Date: Thu May 22 05:57:31 2003 +0000 switch-to-strerror-20030522 FIXES 1458 your brights brighter, your whites whiter. well, at least compilers won't bitch that sys_errlist[] isn't supported anymore. commit 4b88ff73550199014d552f9fddc74785fa5eccdb Author: Derrick Brashear Date: Wed May 21 20:56:28 2003 +0000 linux-group-syscalls-return-long-20030521 these return long. also call the underlying handler expecting to get a long back commit ad98c8d9562f8d56ba8497467480a2de49e1527a Author: Thomas Mueller Date: Wed May 21 15:45:05 2003 +0000 close-cellaliases-20030521 FIXES 1481 don't leak a ref to CellAliases commit 055e0b99f911a1c821cf6264f72bad61d8e63d11 Author: Derrick Brashear Date: Wed May 21 14:42:53 2003 +0000 amd64-copy-args-for-ia32-table-20030520 first cut at an opteron port commit 831e17246314f6204b1fe05c8f8a23a3be6b728a Author: Derrick Brashear Date: Tue May 20 08:02:53 2003 +0000 amd64-hook-ia32-table-20030519 first cut at an opteron port commit 9dfb5d60479847c630d46bf67a6cd9570a5b1a21 Author: Derrick Brashear Date: Tue May 20 05:01:15 2003 +0000 amd64-linux-port-20030428 first cut at an opteron port commit a9b72c443e4bd074ecabe7ed005354e55c69b53d Author: Derrick Brashear Date: Tue May 20 04:57:44 2003 +0000 linux-use-kernel-net-include-dir-for-net-20030519 since we can end up trying to include things which exist in include/net but not include/linux, try to rationalize. commit 7fa099db6f796eb1eb0528cf8b7b68d27f510dd7 Author: Derrick Brashear Date: Tue May 20 04:49:29 2003 +0000 linux-look-for-syscall-h-in-kernel-20030519 some new kernels appear not to have linux/syscall.h in the kernel. no clue. commit a8b536e7d3f45abd20fa0ea293f5f313189114d4 Author: Derrick Brashear Date: Fri May 16 18:42:28 2003 +0000 linux-try-sys-wait4-20030516 we may have close/wait4 instead of close/chdir or open/exit commit f1198f411ff0ca77fef0957107cd07ff2ed9bed6 Author: Nathan Neulinger Date: Thu May 15 18:10:39 2003 +0000 stifle-valgrind-20030515 FIXES 1379 shut up valgrind on zeroing allocations commit 6c4bb9b335a3e5464007c61b6c4e4f286281ef0b Author: Derrick Brashear Date: Thu May 15 17:59:12 2003 +0000 linux-busy-cache-partition-while-afs-running-and-dont-allow-afsd-shutdown-while-afs-mounted-20030515 FIXES 1454 otherwise you can get into situations where you get strange oopses and superblock corruption commit 36225d657349c6dad851fee286a200ef1d3a82b4 Author: Derrick Brashear Date: Thu May 15 17:41:25 2003 +0000 vol-more-logging-20030515 FIXES 1453 much more to do here. start with this. commit 5012151295bef1f99944041fd19083ffc7c3f912 Author: Jeffrey Hutzelman Date: Thu May 15 17:23:37 2003 +0000 salvage-allow-hardlinked-logs-by-date-20030515 FIXES 1259 a switch causes salvager to create salvagelog hardlinks by date so logs are preserved forever commit 390083af2e4444c5c6ffc14a573728250f9c7df1 Author: James Peterson Date: Thu May 15 16:41:11 2003 +0000 winnt-add-osi-event-mc-20030515 FIXES 1373 add missed file commit 68c67f8621f8d76f430b7329c1db8d6704ec0037 Author: Jeffrey Hutzelman Date: Thu May 15 16:25:08 2003 +0000 solaris-deal-with-gatekeeper-stupidity-20030515 FIXES 1261 make gmake not try to link libafs.o and libafs.nonfs.o into another object commit 3c66862d6932430e64e7abbd8c87fffd47b5e2cd Author: Christopher Allen Wing Date: Thu May 15 16:16:26 2003 +0000 setgroups-return-errors-negative-20030515 FIXES 1383 return errors negative as linux kernel needs commit 26ee3fcc3947c8df88b5e95d413b5144f13c7e6a Author: Alexei Kosut Date: Thu May 15 16:00:27 2003 +0000 darwin-mount-and-disk-arbitration-enhancements-20030515 FIXES 1363 * Allow AFS to be mounted multiple times, each mountpoint with its own root volume. This allows usage similar to the Windows client, e.g., mounting a drive that contains only the user's home directory. Our users find this much easier to work with than having to navigate the entire AFS tree in the Finder or open/save dialog. * Have afsd register /afs with the DiskArbitration system when mounting it. This means that the root afs volume shows up in the Finder immediately, and prevents the Finder from getting confused by additional AFS volumes later on. * Add a "-nomount" option to afsd, which prevents afsd from mounting /afs. We use this by default on our Mac OS X client, so that AFS doesn't show up in the interface at all unless the user explicitly asks for an AFS volume to be mounted. This is especially handy for portable or remote users who don't always have a network connection, since there isn't an AFS filesystem around to hang the Finder if the AFS servers can't be contacted (the cache manager may still hang, but since there are no AFS volumes mounted, the rest of the OS doesn't notice). * Make it so that /afs (mounted by afsd) will not unmount unless MNT_FORCE is given. This prevents the user from accidentally ejecting /afs in the Finder, and also works around a DiskArb bug in Mac OS X (possibly fixed in 10.2) where autodiskmount would sometimes unmount /afs when logging out, even though it's marked as non-ejectable. commit 19b1a9015f5546881c3c077e4c39d2b8d167dfc5 Author: Jim Rees Date: Thu May 15 15:53:28 2003 +0000 pioctl-buffer-size-checking-20030515 don't check output buffer size against PIGGY commit 0683dd7fcdc4e8ecb6e3bf79dc0c8d1c2ebec022 Author: Jim Rees Date: Wed May 14 23:08:25 2003 +0000 openbsd-20030515 OpenBSD 3.3 is out now, and seems to work. commit b6e4d69eff29ed7b3bb280f38c979987165b00d4 Author: Jim Rees Date: Wed May 14 22:47:32 2003 +0000 openbsd-20030514 #include afs/sysincludes.h for OpenBSD. I suspect other systypes will need this too. commit ffeb03ae952b671691387421e0e4319fef97a7c9 Author: Alexei Kosut Date: Wed May 14 16:47:24 2003 +0000 osx-fake-mode-bits-20030513 FIXES 1362 give up on waiting for apple to get things right, which probably means they never will. commit e970988aa1c8ed1b3ab90fdb693be4edebf4dcb5 Author: Nathan Neulinger Date: Wed May 14 16:14:54 2003 +0000 more-prototyping-20030513 FIXES 1351 some ansification in src/ubik, more prototyping commit 3673e304fd72cf75912cb19b781227c6e53ca897 Author: Nathan Neulinger Date: Wed May 14 16:10:23 2003 +0000 kdump-deal-with-vnode-to-vc-change-20030513 FIXES 1350 so kdump can compile again commit d4828d32266cbd6cd9786c5d6e7e6312925e691e Author: Alexei Kosut Date: Wed May 14 16:06:41 2003 +0000 darwin-use-perl-instead-of-grep-20030513 FIXES 1361 perl is installed by default. grep isn't. use perl. commit 1932dede050797bcb3a7592e9b0663c696acd48f Author: Nathan Neulinger Date: Wed May 14 15:54:53 2003 +0000 vol-additional-logging-20030513 FIXES 1387 additional logging for attach/detach. commit 5bd1a6140aa79cd3ac7e8e384a4f84d4fe3f008c Author: Douglas Engert Date: Wed May 14 15:37:06 2003 +0000 solaris8-dont-read-binding-file-20030513 FIXES 1434 Sun changed read_binding_file in a patch; Make sure we avoid the problem. We don't need to call it if afs was already in /etc/system. commit d9eab68f86dd90cd4cfee623eaca35cd9248b864 Author: Matthew N. Andrews Date: Wed May 14 15:30:51 2003 +0000 rx-bulk-example-cleanup-20030513 FIXES 1436 make the bulk example work commit 436ebe8a8a3463c80d6ae4498a96b66d358ab29c Author: Jim Rees Date: Tue May 13 22:22:19 2003 +0000 rx-mtu-params-fix-again-20030513 remove redundant decl of rxmtu commit 7aa0acdbc893e351241066aba2eadc28e64baf62 Author: Nathan Neulinger Date: Tue May 13 05:27:59 2003 +0000 rxgen-xdr-call-stifle-warnings-20030513 FIXES 1349 eliminate some warnings in generated code from rxgen commit fcdc120ce70a189ca7ed908688721b72ab3ffe77 Author: Kris Van Hees Date: Tue May 13 05:23:56 2003 +0000 i386-user-mode-linux-support-20030513 FIXES 1396 support for usermode linux commit bdd9476a9a8df914b1f8d634c1c4bc564cbcb132 Author: Nathan Neulinger Date: Tue May 13 05:11:01 2003 +0000 vol-gi-prototyping-20030513 FIXES 1432 changed slightly by shadow@dementia.org to not need forward decl. commit 49358c8ae7cee5b9c91f1d2bddde5a7601f5a573 Author: Nathan Neulinger Date: Tue May 13 05:05:39 2003 +0000 rx-mtu-params-fix-20030513 FIXES 1433 define needed variables outside ifdef commit 7cd283e55e3559a42f451cf5d5f5d9dd09d20f21 Author: David Howells Date: Tue May 13 04:55:13 2003 +0000 pioctl-buffer-size-checking-20030512 FIXES 1413 buffers are signed, should be checked for negative in addition to smaller than PIGGYSIZE; also, check out buffer size before calling pioctl handler. commit c3cee1da8cab49810ba7509fdf17feba3258fd05 Author: Derrick Brashear Date: Tue May 13 02:58:32 2003 +0000 volser-ros-use-parent-id-20030512 FIXES 1448 everything shoudl be done as the parent volume id so the volume group stuff works right. otherwise, we create things which get stored under one "tag", try to open the, under another "tag" and they aren't there, because it doesn't hash the same. commit 079af80b44d6175d4def489338a25159aa82a1af Author: Derrick Brashear Date: Thu May 8 19:53:48 2003 +0000 linux-gcpags-deal-correctly-with-uid-tokens-20030508 look at the correct uid, so we don't gc in use tokens commit ab088215909fb60067adbdaab168556ea99f97fe Author: Jeffrey Hutzelman Date: Mon May 5 20:58:36 2003 +0000 winnt-eventlog-newline-fixes-20030505 Clean up newline conventions in src/WINNT/eventlog/lang/*/event.mc. Existing files were in CVS with CRLF newlines, and so some Windows tools would check them out with CRCRLF. Unfortunately, the mc-compiler can't handle CRCRLF newlines. Fixing the files in CVS to have LF newlines (like all proper text files) makes the problem go away -- they end up with CRLF if checked out using tools that do newline conversion, and LF-only if not, and the compiler accepts either. commit 6cb978478120614f0f9df21a08a3be9decc89435 Author: Derrick Brashear Date: Mon May 5 17:13:25 2003 +0000 ubik-dont-copy-stack-garbage-when-netinfo-forces-primary-address-change-20030505 don't mess up count by reusing it commit 76832e229efa8ee34e0aeead0c13381f027e92fd Author: Derrick Brashear Date: Mon May 5 16:40:25 2003 +0000 mapname-allocate-enough-space-for-pr-nametoid-20030505 the alternative is to crash when we get a foreign user here commit e9993b1fce5a9d0260d94e95811a5b5dd79ef4ad Author: Nickolai Zeldovich Date: Wed Apr 30 02:14:43 2003 +0000 add-afsdb-aliases-for-cellservdb-cells-20030429 Add cell aliases we find using AFSDB for cells that have been statically configured via CellServDB. This preserves the AFSDB implementation behavior from before the cell code rewrite. commit 31629a79253aecd5c330597817fd1e04c27a390b Author: Jim Rees Date: Tue Apr 29 22:39:36 2003 +0000 freebsd-50-20030429 FreeBSD 5.0 kernel module compiles now, but not likely to work yet. commit dd2cad1e18dcb1912576986feda399954cab2ee2 Author: Derrick Brashear Date: Tue Apr 29 00:30:09 2003 +0000 no-sysincludes-in-rx-20030428 not the correct fix but without it linux/vnode.h conflicts with osi_vfs.h when both get included. commit f5df7b1d97572b6a0cd5f8a3a7b0f752ae111905 Author: Derrick Brashear Date: Tue Apr 29 00:05:57 2003 +0000 autoconf-deal-with-res-search-as-macro-20030428 on some platforms, res_search is a macro for __res_search, find it anyway commit 509c965d0aef031293edc0fcf3e97587d1deac73 Author: Derrick Brashear Date: Mon Apr 28 22:38:20 2003 +0000 amd64-linux-port-20030428 first cut at an opteron port commit 1c67a70709df397461183b77b724a6e9a4d20eca Author: Jim Rees Date: Fri Apr 25 16:54:48 2003 +0000 proto-20030425 add missing prototype for ClearHostCallbacks_r() commit 5c8d5da46088ece3eed29e6abec7706abfeeb701 Author: Nickolai Zeldovich Date: Thu Apr 24 20:21:31 2003 +0000 uae-dont-translate-zero-20030424 Leave a zero return value as zero, rather than translating to UAEMEDIUMTYPE. commit 05be212fea360747dbe5a9681ca81459b3d6ac62 Author: Rainer Toebbicke Date: Thu Apr 24 14:37:15 2003 +0000 viced-shutdown-avoid-deadlock-20030424 don't deadlock on H_LOCK if we need to shut down in an emergency commit 9948575c6ec949ff9212830a143ef1713fcc22ed Author: Jim Rees Date: Thu Apr 24 00:03:45 2003 +0000 freebsd-50-20030423 more FreeBSD 5.0 kernel module work. commit 42a1981fff5c9b3f4855e4f9200fb6a9de53642b Author: Derrick Brashear Date: Wed Apr 23 05:31:14 2003 +0000 afs-analyze-avoid-potential-loop-20030423 avoid potentially looping forever in e.g. afs_FetchStatus because we exit afs_Analyze too early to increment busyCount, and despite having areq->busyCount non-zero we have servers still not_busy which are already down that we'll never talk to again. that combined with no conn means we never touch most of afs_Analyze, exiting early with shouldRetry set. incrementing busyCount whenever we exit with shouldRetry set should ensure we can never end up looping forever. commit ea410c1c4d78c74419a300ab1ee1aee62ea5db17 Author: Rolf Sattler Date: Tue Apr 22 17:45:07 2003 +0000 winnt-xdr-mem-needs-limits-h-20030422 as received from scoot williams commit f135e42fbf5267b37d4d0cdc7542b2771fdb20a8 Author: Chas Williams Date: Tue Apr 22 16:45:40 2003 +0000 fs-include-string-function-prototypes-20030422 so fs won't segfault on ia64 linux commit ddd9554560a44314a029d7d2d59af8b7aaaec8ca Author: Derrick Brashear Date: Tue Apr 22 06:27:17 2003 +0000 pass-pointers-for-uuid-printing-20030422 pass pointers for uuid string building commit 5cebfdc757655ba0762b3edd5d9dbdd3dc5f25dd Author: Derrick Brashear Date: Tue Apr 22 06:25:50 2003 +0000 cellconfig-unlock-mutex-on-error-20030422 clean up my own mess (i bet). certain error cases weren't being cleaned up properly before we returned commit 3960ee3bb834dafb74ad64be1f84713046187b6c Author: Chaskiel M Grundman Date: Mon Apr 21 17:37:08 2003 +0000 freebsd-20030421 add .PHONY target for libafs commit 26d844a4532dd8dad16f9d0389814fb9ab65a2f8 Author: Jim Rees Date: Thu Apr 17 23:14:30 2003 +0000 openbsd-20030417 use the correct group list entries (1,2) for pag (duh) commit 8c788b1e757bc841b36637c8e6876dcd33d9d809 Author: Kevin Coffman Date: Thu Apr 17 16:05:58 2003 +0000 aix-20030417 I had to do the following to do a 'make dest' on AIX in a directory separate from the source: commit 5d443e0d36850182cb1fe86baad7fa37f58ef842 Author: Jim Rees Date: Wed Apr 16 23:28:52 2003 +0000 freebsd-50-20030416 More FreeBSD 5.0. Most of it builds now. commit 26c8bff4ee47b1feb1b522ac57163df43eb0ecf2 Author: Jim Rees Date: Wed Apr 16 20:47:07 2003 +0000 ignore-20030416 ignore all MakefileProtos in libuafs commit 6eac7d68178e5d0800d3ac00c63b50e1ef0378dc Author: Joakim Fallsjö Date: Mon Apr 14 16:45:54 2003 +0000 solaris-x86-port-already-htons-20030414 rx_port is already htons() and htons is a NULL-op on sparc but not on x86... make shutdown actually work on x86 solaris commit e233f0646c81f671f0c70d209ba601f864e3d82a Author: Garry Zacheiss Date: Mon Apr 14 00:53:07 2003 +0000 update-news-file-20030413 Note minimum version requirement for 2.2.x series Linux kernels, and also note incompatability between 1.2.9 afsd and older kernel modules. commit 8cb30fa5fb6084f5a6b67120ab1155b7da029e9f Author: Derrick Brashear Date: Fri Apr 11 18:50:12 2003 +0000 softsig-dont-block-critical-signals-20030411 blocking these seems to prevent all threads from dying when the kernel gives e.g. SIGSEGV to one of the processes. since softsig is to protect us from what signals we handle might do in the handler, this should be fine commit 2abc69100118bb1e50efcb061c60d71ca5b77a7b Author: Garry Zacheiss Date: Fri Apr 11 01:58:23 2003 +0000 update-news-20030410 Update NEWS file with important changes going into 1.2.9. commit 5946081876332bfb53eecf48448b42412ddf9925 Author: Derrick Brashear Date: Thu Apr 10 20:57:22 2003 +0000 linux-try-more-kernel-paths-20030410 FIXES 1364 try /usr/src/linux-2.4 in addition to /usr/src/linux commit abc9f6b19029fc76093d8c2d1326ad1b36fa1b00 Author: Garry Zacheiss Date: Thu Apr 10 20:23:23 2003 +0000 darwin-map-more-versions-20030410 Reocgnize MacOS X 10.2.5 as ppc_darwin_60. commit 429cc8b6467726795bf46bdf1aa612400aa7afdf Author: Love Hörnquist-Åstrand Date: Thu Apr 10 19:55:03 2003 +0000 rxkad-2b-deal-with-expiry-20030410 FIXES 1369 return the actual error and not RXKADBADTICKET always commit dbced93c1a46e82f42a4ec51c0accfce38f49ada Author: Kevin Coffman Date: Thu Apr 10 15:55:32 2003 +0000 static-return-from-structname-20030410 return pointer to static data from structname() needed by aix, probably others too. This bug has been around forever! commit 3ab4af08ac9262e3384602fe49a4697acdd3ebd8 Author: Love Hörnquist-Åstrand Date: Tue Apr 8 22:38:18 2003 +0000 viced-file-readonly-fs-support-20030408 add missed curly braces so VannilaUsers don't get EACCES commit 2b295f43938a1b7defc151111a15021f197317fa Author: Jim Rees Date: Mon Apr 7 21:24:39 2003 +0000 afsutil-protos-20030407 remove redundant prototypes and move to afsutil_prototypes.h fix protos for int64_to_flipbase64 thanks to Alexei Kosut commit f40a6356f7917b164c4b949bc1916dbcb83a2f38 Author: Derrick Brashear Date: Mon Apr 7 21:11:35 2003 +0000 h-gethost-r-race-20030401 FIXES 1308 don't deref null identP if code was -1 commit 3ab37f714824d90701caa9123fc7c820aa411bcb Author: Michael Niksch Date: Mon Apr 7 18:56:28 2003 +0000 salvager-aix-update-20030407 make it work with namei commit dd517125c21e010954989d60caa31bc2da7ca394 Author: Derrick Brashear Date: Mon Apr 7 18:38:56 2003 +0000 flushhostcps-20030407 make it so flushhostcps can't try to Release when no host was found, which was apparently the problem dlc@cs really observed. commit 75f02de7034f20663781cf20851ef8d6f5ed5f46 Author: Jim Rees Date: Fri Apr 4 21:15:54 2003 +0000 openbsd-33-20030404 param file for OpenBSD 3.3. untested but "should work." commit 26a36110b0b23267526bffdbf6d0ef0b0a1b094d Author: Jim Rees Date: Fri Apr 4 19:04:22 2003 +0000 freebsd-5-20030404 preliminary work on freebsd 5.0 kernel module commit a7c365f5cc5049343b06d0983ad254edbbd78796 Author: Jim Rees Date: Fri Apr 4 17:49:33 2003 +0000 openbsd-20030404 changes suggested by mcmer@gmx.net commit 2dd8bbd1e267f85b8caf3f7f9a48b5837e7f2a79 Author: Jim Rees Date: Fri Apr 4 17:09:21 2003 +0000 remove-redundant-proto-20030404 remove redundant rxk_NewSocket proto commit 9dc3708d5fbe5604558dde4a206bfe6846f47183 Author: Love Hörnquist-Åstrand Date: Fri Apr 4 16:53:00 2003 +0000 freebsd-5-update-20030404 re-apply rev 1.6 patch, lost in rev 1.7 commit dd6f6844b50880445b3dae0dc01292ba45bf7641 Author: Jim Rees Date: Thu Apr 3 22:46:51 2003 +0000 openbsd-20030403 these never worked, and it seems unlikely anyone will ever use them commit 4f92bc4d347a43604d4d39132080d4e929e5cbde Author: Derrick Brashear Date: Thu Apr 3 22:42:22 2003 +0000 obsd-create-file-so-configure-shuts-up-20030403 so configure won't whine commit e1e6e7e95fd8a9ef0b97fb46a58ee422e2964ee4 Author: Jim Rees Date: Thu Apr 3 15:48:53 2003 +0000 fix-window-size-20030403 print actual limits if window too small commit 5967b22698c8aeb51131a62c56a2f7fbf1f8e79e Author: Derrick Brashear Date: Wed Apr 2 01:22:16 2003 +0000 h-gethost-r-race-20030401 FIXES 1308 Thanks to Chaskiel Grundman for explaining what was happening: - the connection is old and pre-existing, but has no host structure. - 2 calls come in - the first one enters h_GetHost_r, and h_Lookup_r returns null (but identP is non-null, since rx keeps it around until it gc's the connection) The first thread calls WhoAreYou, which succeeds, it then calls InitCallBackState3 (after H_UNLOCK) note that the host has been inserted into the hashtable - the second thread enters h_GetHost_r, and calls rx_GetSpecific. it then calls h_Lookup_r. h_Lookup_r will block (new host is locked), but eventually returns the new host - InitCallBackState3 returns, and the frees the old identP, replaces it, and unlocks the host. - the first thread returns from h_Lookup_r. boom. the changes: -call rx_GetSpecific after h_Lookup_r returns (and potentially slept) -removes an if wrapping which always is true (since !interfValid is always true) -don't realloc identP if it exists -don't free an old one by calling rx_SetSpecific either commit f14686ea2e4d10381554bd466d236dd9b9479e4a Author: Garry Zacheiss Date: Mon Mar 31 19:22:04 2003 +0000 darwin-map-more-version-20030331 Recognize MacOS X 10.2.3 and 10.2.4. commit b9eb8cc6695a0dc903b10cd763041f5cfd6a1764 Author: Derrick Brashear Date: Fri Mar 28 21:26:20 2003 +0000 solaris-fs-rolled-20030328 for solaris 9 u2 commit 20e15449ae0a816939f57f1e6dd9d75f1a9c76db Author: Onime Ehimika Ohireime Date: Fri Mar 28 17:41:04 2003 +0000 linux-execsorwrites-at-close-20030328 FIXES 1215 fixes bad interaction with openmosix comment from derrick: i'm still not sure what's going on here. ==================== 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. ==================== FIXES 1215 fixes bad interaction with openmosix somehow diff screwed up the first time and applied one hunk wrong. comment from derrick: i'm still not sure what's going on here. commit 73b42831167926d1743ad894d5c560d41c5f8a1a Author: Nathan Neulinger Date: Fri Mar 28 09:35:53 2003 +0000 revert-large-file-support-20030328 FIXES 1341 sadly there are problems. how long before this comes to the fore again i don't know. commit dd85569dfeee6802e85ae93a08ae5c675b227b70 Author: Nathan Neulinger Date: Fri Mar 28 09:30:53 2003 +0000 rxstat-fix-objdir-builds-20030328 FIXES 1340 change where we include headers from commit 2d3c470ff7517b90c03ff310100ed5122fb34974 Author: Nathan Neulinger Date: Fri Mar 28 09:27:32 2003 +0000 volser-cleanup-clone-trans-20030328 FIXES 1339 so we don't leave an idle transaction around commit 665e86f6fc4fbca43fd0d827d25f3de5f074e082 Author: Daryl Clevenger Date: Fri Mar 28 09:21:13 2003 +0000 flushhostcps-init-held-20030328 init held so flushhostcps is more useful. commit bdf9ebb4b7ac05d2574b51701952cd1aa377f1e7 Author: Jim Rees Date: Thu Mar 27 20:29:51 2003 +0000 fix-window-size-20030327 Fix off-by-one error in window size calculation commit cd159fddccbf19448e73a3a468268590f26ba59c Author: Derrick Brashear Date: Wed Mar 26 17:23:16 2003 +0000 shlibafsrpc-export-missing-des-symbols-20030326 symbols libafsauthent wants but we don't have commit 937ec63685f69f55eb0a6ce39ab94dc475eb5fe6 Author: Derrick Brashear Date: Wed Mar 26 09:10:59 2003 +0000 linux-rxk-listener-shutdown-cleanup-20030323 get rid of need for sys_kill commit 45dd8988f28ff573200136edda16d5592a757bff Author: Nathan Neulinger Date: Tue Mar 25 21:10:40 2003 +0000 rxkad2b-allow-no-kvno-20030325 allow a missing kvno field to work usefully commit 3fa5f389b2b7778cf0df5a506c91b427b147c4c2 Author: Derrick Brashear Date: Sun Mar 23 19:43:47 2003 +0000 move-up-cell-initialization-in-cachemgr-20030323 may be related to an oops at startup commit d14d08e35b95b2482bb074fe174db1e2b55da49d Author: Chaskiel M Grundman Date: Sun Mar 23 06:44:26 2003 +0000 linux-kthreads-reparent-20030323 so we don't get orphans on afs shutdown commit 953c54df1e1a2c92bcd6f926b43c80dffc3dca1f Author: Jim Rees Date: Fri Mar 21 20:06:16 2003 +0000 openbsd-20030321 Restore lost -O2 CFLAG commit eede2119c35b4b134af8becb72de56b449b16617 Author: Dan Hyde Date: Fri Mar 21 19:26:36 2003 +0000 xdr-mem-take-II-20030321 Fix pasto in xdr_mem security patch. commit 38cec12f2c45d4d2f544acedeeffafec70a89582 Author: Chaskiel M Grundman Date: Fri Mar 21 18:28:31 2003 +0000 linux-hold-tasklist-lock-in-get-page-offset-20030321 tasklist_lock must be held to traverse list commit 7f4d43ac2f6d7b44a5f07be6e59d45bf9c6736dc Author: Jim Rees Date: Fri Mar 21 17:59:28 2003 +0000 xdrmem-getbytes-20030321 See, for example: http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2003-003-xdr.txt This source is unused but it seems like a good idea to patch it anyway. commit 4731e86a441df09b893a8bf3973a51a404f69d9a Author: Derrick Brashear Date: Fri Mar 21 14:00:31 2003 +0000 linux-one-more-stupid-configure-test-20030321 pointed out by zacheiss@mit.edu that i missed this. oops commit 284d3edd2375f672057aef638c0e0afd41cc559d Author: Derrick Brashear Date: Wed Mar 19 22:20:56 2003 +0000 redhat-81-support-again-20030319 once more. maybe this time they'll release something that looks like this commit 65b819d0afdc7c951d3033b598b01dcf73d2ca16 Author: Jim Rees Date: Wed Mar 19 22:20:31 2003 +0000 openbsd-20030319 Add -fno-stack-protector to kernel CFLAGS for OpenBSD post-3.2. commit e069717085e80e893d095e02865995dbfa5ec1f8 Author: James Peterson Date: Wed Mar 19 03:01:17 2003 +0000 volser-no-convertvol-on-windows-yet-20030318 not ready for windows yet commit 1312d1179d4a97e9c62eb26ef55f60007cd35872 Author: Derrick Brashear Date: Tue Mar 18 23:47:51 2003 +0000 kaserver-disable-krb4-crossrealm-20030317 to deal with krb4 security advisory ==================== 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. ==================== to deal with krb4 security advisory type mismatch for krb4_cross pointed out by Jack Neely commit 668e5d7ef502f6ffaf56c88f4446501e713ac6bb Author: Jim Rees Date: Tue Mar 18 14:30:48 2003 +0000 fix-my-screwup-20030318 Back out my last unnecessary "fix." commit 4f35fbb68005579f626d021632e899301f551c66 Author: Love Hörnquist-Åstrand Date: Tue Mar 18 03:54:51 2003 +0000 viced-vbusy-when-getclient-fails-20030317 more paranoia to not crash if GetClient fails, since there's apparently a race we haven't found yet commit 6f7795fc9fed660596dcbca4859b7a4feb66bc72 Author: Jim Rees Date: Mon Mar 17 17:26:22 2003 +0000 fix-errnos-20030317 Put non-unix errnos inside of #ifdef __linux__. This should be a temporary fix, waiting for real fix from Derrick. commit c808793afdbb58aa66954bdb8b666624faca7bce Author: Derrick Brashear Date: Mon Mar 17 15:55:16 2003 +0000 winnt-undo-backslashes-20030317 get rid of weird includes commit 4e2a1d6ce6434ac67ff7bbe8f800f27489902bc4 Author: Love Hörnquist-Åstrand Date: Sun Mar 16 14:30:15 2003 +0000 macppc-netbsd-20030316 Preliminary support for macppc-*-netbsd*. Untested? commit a29f51c64797c5fe0f3b6408cff55a403592fca1 Author: James Peterson Date: Sat Mar 15 15:08:30 2003 +0000 windows-more-updates-20030315 updates for build system commit 8af8241e94284522feb77d75aee8ea3deb73f3cc Author: Thomas Mueller Date: Fri Mar 14 20:46:51 2003 +0000 vol-ro-to-rw-tool-20030314 FIXES 1262 allow converting an ro to an rw on namei servers commit 5df76f7321420832c14f9d1862eee13b081b39af Author: James Peterson Date: Fri Mar 14 20:11:44 2003 +0000 windows-build-updates-20030314 support for V6.0 and .Net complier, compile from either NT4.0 or XP Source and object are separated into different directories. The directory tree would look as follows: Base from %AFSROOT% environment variable %AFSROOT%\src\... - all source and generated source %AFSROOT%\obj\checked\... objects from a checked build %AFSROOT%\obj\free\... objects from a free build %AFSROOT%\obj\dest\checked\... DEST folder from a checked build %AFSROOT%\obj\dest\free\.... DEST folder from a free build Before you start the build, you must build an object tree by issuing the following: nmake -f NTMAKEFILE mkdir ==================== 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. ==================== support for V6.0 and .Net complier, compile from either NT4.0 or XP Source and object are separated into different directories. The directory tree would look as follows: commit 69a511d5b8a051f4961c3a6503566537893cb96a Author: James Peterson Date: Fri Mar 14 19:59:44 2003 +0000 winnt-client-config-submount-fix-20030314 "Atempts to add a new drive, to the root, with a sub mount name, will sometimes return error #35" commit 48acf9c2d71ccd34ab7a95a8593a1689131fc032 Author: Chaskiel M Grundman Date: Fri Mar 14 19:47:35 2003 +0000 winnt-include-sanity-20030314 FIXES 1332 include headers by their usual name instead of trying to be special commit ff6394b2e40b4c7c58b32a6e901656a12eb1faf1 Author: Ryan Lantzer Date: Fri Mar 14 19:45:40 2003 +0000 winnt-give-nosuchpath-if-thats-what-we-mean-20030314 FIXES 1329 "The Windows AFS client returns the error ERROR_NOSUCHFILE, where the same request on a local NTFS volume returns the error ERROR_NOSUCHPATH." commit de4a11b01da1fbf9dd253d16134e200486b76ff3 Author: Ryan Lantzer Date: Fri Mar 14 19:38:47 2003 +0000 winnt-stat-cache-ref-leak-fix-20030314 FIXES 1327 avoid leaking stat cache entries commit 3c3971439731f691dc9faa55ace72596e808b4d9 Author: Chaskiel M Grundman Date: Fri Mar 14 19:24:37 2003 +0000 rx-init-stats-mutex-20030314 instead of what rx-init-mutex-before-calling-getudpsocket-20030313, just init the mutex earlier where others are done commit 3c22e61e23aae56cf8e40776c4327f7d640efa10 Author: James Peterson Date: Thu Mar 13 20:36:28 2003 +0000 winnt-client-config-submount-fix-20030313 "Atempts to add a new drive, to the root, with a sub mount name, will sometimes return error #35" commit 7187d07423c1f3b4db3abc57a44f28c394a9e8ee Author: Derrick Brashear Date: Thu Mar 13 19:01:24 2003 +0000 rx-init-mutex-before-calling-getudpsocket-20030313 pointed out by cg2v@andrew.cmu.edu commit f54bdeeb8501ae07d94d0e4205073518974bfbea Author: Nathan Neulinger Date: Thu Mar 13 14:06:51 2003 +0000 largefile-do-offsets-correctly-when-64bit-but-not-largefile-20030313 a 64 bit aware platform may not support largefiles yet commit 8443abeb38c8f28eacbe4fd69fe01cd6b738fc21 Author: Jim Rees Date: Tue Mar 11 16:25:45 2003 +0000 ignore-unified-files-20030311 cvsignore unified_afs.[ch] commit 8e30890a9fbc8e21cdd340de81422f7b979322b9 Author: Jim Rees Date: Mon Mar 10 20:09:42 2003 +0000 tovolume-is-char-star-20030310 tovolume is a char *, not an int commit 47df7e9f3ac680b2c672c34277bf34ffe6ef8737 Author: Douglas Engert Date: Mon Mar 10 20:02:35 2003 +0000 hpux11i-20030310 Support for HPUX110 commit 4f33d5b42854623a38d73e2b32d4fc872db356f7 Author: Derrick Brashear Date: Mon Mar 10 16:11:49 2003 +0000 cbd-all-flag-in-usage-20030310 cbd supports -all; put it in usage. commit 980b1cf91546904600b890d0be8e2a053086d8e1 Author: Derrick Brashear Date: Mon Mar 10 02:38:37 2003 +0000 afs-error-translation-update-20030308 make it vaguely useful. now with client side(tm) commit 644c4935f89ae1c5de6837ec2f8e2322c77612b3 Author: Derrick Brashear Date: Mon Mar 10 02:08:33 2003 +0000 vol-prototyping-20030309 prototype much of the vol package commit 9e4371373b3f743f28f90684da96e36cf4bb2fd5 Author: Derrick Brashear Date: Mon Mar 10 02:06:34 2003 +0000 ptserver-typo-20030309 "transarction" huh? commit 5e96617632a703d76953ab8d5953ab15f983cbb3 Author: Derrick Brashear Date: Mon Mar 10 02:04:03 2003 +0000 bnode-reorganize-source-20030309 get rid of unneeded forward refs by reorganizing code commit 7780a78a93acd23abd4f69d26a41690ce75dc0ba Author: Derrick Brashear Date: Mon Mar 10 02:03:09 2003 +0000 util-symbol-renaming-and-cleanup-20030309 rename more stuff into the util_ space use it some other cleanup in the util package commit 08534f1345f9a4e0fbf7ecb8cfb96bbd6d20ba40 Author: Derrick Brashear Date: Mon Mar 10 02:00:20 2003 +0000 xstat-protoizing-20030309 protoize one more directory commit 863b113a4d77aab791cebe54c51cdabcfa3b4dfd Author: Derrick Brashear Date: Mon Mar 10 01:59:12 2003 +0000 cleanup-licensing-and-transarc-references-20030309 tired? on a plane? need some mindless (maybe that's mind-numbing) stuff to work on? clean up licensing and references in code comments. it's big fun. commit 3d15d2f5026c84f095a520f839b3d6dcd8f34502 Author: Derrick Brashear Date: Mon Mar 10 01:33:57 2003 +0000 unified-errors-define-away-missing-errors-20030310 define missing errors commit ed554fda9c96080d66b0f1d09a9b363fbb91ed50 Author: Derrick Brashear Date: Mon Mar 10 01:25:36 2003 +0000 unified-afs-remove-dup-20030309 one of the errors was duplicated. oops. commit 35f1dec615df221adaaf71f7807c1ffffc2997a3 Author: Derrick Brashear Date: Thu Mar 6 17:11:22 2003 +0000 afs-error-translation-update-20030306 make it vaguely useful. still need client side ==================== 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. ==================== make it vaguely useful. now with client side(tm) ==================== make it vaguely useful. now with client side(tm) ==================== make it vaguely useful. now with client side(tm) commit 9dd6683e347712b8d7f8e5d653f7dbf479a31553 Author: Derrick Brashear Date: Thu Mar 6 16:12:46 2003 +0000 unified-afs-errors-20030306 error table for "unified afs errors" commit c4a1aeaf8c09979d9ff845681cc4530df872e5a1 Author: Derrick Brashear Date: Thu Mar 6 15:43:56 2003 +0000 initial-error-translation-implementation-20030306 client still needs to "untranslate", and the error tables themselves need to be defined and the server-side array populated commit 7ee56b700d73fd524bb92c628fe43d62e4365d6c Author: Derrick Brashear Date: Thu Mar 6 08:21:02 2003 +0000 windows-cm-getcellbynum-rpc-20030306 missing stub commit 8a641dbdf6a1d198ceb878c69c45495590e7296e Author: Derrick Brashear Date: Tue Mar 4 16:27:17 2003 +0000 cacheout-some-fixing-20030304 not done, but it doesn't get compiled anyway so it doesn't matter that i left it broken commit 50ee992c314f5b05a1c8d15fbf8cc9e8f169f81e Author: Derrick Brashear Date: Tue Mar 4 16:26:29 2003 +0000 protoize-callback-interfaces-20030304 more random protoizing commit 2712c1202ab17436ced8b466575c8bebdd9f68b7 Author: Derrick Brashear Date: Tue Mar 4 16:19:46 2003 +0000 capabilities-20030304 need to remove dummy capability, but otherwise this is the rpc part. commit 4484c4d97164bc708b3477e60f828f2e80187485 Author: Derrick Brashear Date: Tue Mar 4 15:42:23 2003 +0000 flushhostcps-byte-order-20030304 at insistence of lha@stacken.kth.se commit 8d27129f4d3a7f08912cfc36bd1f3cf3761ddb7e Author: Harald Barth Date: Tue Mar 4 14:49:09 2003 +0000 viced-debug-log-which-thread-package-we-are-20030304 log "pthreads" or "LWP" started commit 025ec7bf79fe9f45680897ff2bec8a18d040ed76 Author: Harald Barth Date: Tue Mar 4 14:46:04 2003 +0000 viced-set-fssync-threadid-20030304 set a thread id for the fssync callback thread commit 94d83a994100b11eaaf2cff38a481fc6182d5e62 Author: Derrick Brashear Date: Tue Mar 4 13:26:01 2003 +0000 cmdebug-getce64-support-20030304 make cmdebug support getce64 commit c240e56bc6bd41373a5e65fd46000b2abb90b3c9 Author: Derrick Brashear Date: Tue Mar 4 12:53:07 2003 +0000 update-giveupallcallbacks-20030304 fix logging. commit 41918aaf5a93eab7f35bbd8330a976e9c67e7b78 Author: Love Hörnquist-Åstrand Date: Tue Mar 4 11:26:40 2003 +0000 viced-abort-threshhold-20030303 allow abort threshhold to be set by switch commit 30f3ae458cb8ad84ceb1a8e2c6acc45af535d08e Author: Derrick Brashear Date: Tue Mar 4 11:14:13 2003 +0000 new-giveup-all-callbacks-rpc-20030303 untested. will try it shortly. allow a client to give back all of its callbacks without enumerating them commit 1075b3c7f141212eb7daecde057b2b2b3229930e Author: Derrick Brashear Date: Tue Mar 4 10:40:01 2003 +0000 viced-callback-remove-dead-functions-20030303 remove ClearHostCallbacks; make ClearHostCallbacks_r static commit 45a4d9cb08d92c10332bda071afb35461d5a4cc3 Author: Rainer Toebbicke Date: Mon Mar 3 15:53:28 2003 +0000 rx-thread-id-startup-20030303 FIXES 1304 avoid using rxi_availProcs to allocate thread ids as it may decrement from under us commit dd4ade14d515d6e0a6be9e15a870fe93173c1876 Author: Derrick Brashear Date: Mon Mar 3 15:45:36 2003 +0000 libafsrpc-make-dependancy-work-20030303 don't try to compile the headers commit db942233a5e07ed64c43f050b02763d631ed9d9d Author: Derrick Brashear Date: Mon Mar 3 15:37:03 2003 +0000 viced-vol-ansification-20030303 some more code ansified commit 241c06281036aedbce4c4e8c6a5ce6c981eef27a Author: James Peterson Date: Mon Mar 3 15:19:00 2003 +0000 winnt-cleanup-memory-leak-20030303 FIXES 1322 due to a change in the smb protocol we leaked memory. fix it. commit f17fe1ca6ab87af672e4ac1b42c5478c8e13cf1e Author: Nathan Neulinger Date: Mon Mar 3 15:13:40 2003 +0000 flock-sysid-20030303 FIXES 1325 featurize flock sysid commit 081f1765839834e8e06e8d0b8294ab54ced5c238 Author: Jim Rees Date: Sat Mar 1 18:16:01 2003 +0000 openbsd-20030301 Use PVFS for tsleep. PZERO is obsolete. commit 54f056cc7a4a496c82eb6fdb9ba943c079702527 Author: Harald Barth Date: Sat Mar 1 01:22:08 2003 +0000 nuke-create-windows-pathnames-only-on-windows-thanks-20030228 don't construct a windows path on unix commit 1e3319b04952746b03fd0dd7eb9e2494ae63cd5f Author: Derrick Brashear Date: Fri Feb 28 23:56:25 2003 +0000 viced-correct-probe-failure-message-20030228 based on complaint from haba@pdc.kth.se commit e18dd8bc0f4b566ee852a4c187f78e0c1e3382d3 Author: Douglas Engert Date: Thu Feb 27 17:27:25 2003 +0000 hpux-1122-updated-support-20030227 updated support for hp-ux 11.22 commit 0385de10a1cde2e520dc38fdb9ce1707e36afe1d Author: Derrick Brashear Date: Mon Feb 24 16:37:03 2003 +0000 salvager-create-larger-buffer-for-inodes-tmpfile-and-avoid-overrun-20030224 FIXES 1318 pointed out by Hartmut Reuter commit e6fe163706d6b072433fbac93ebdc3a4d2c251d7 Author: Jim Rees Date: Thu Feb 20 22:04:47 2003 +0000 openbsd-20030220 OpenBSD: Add some minimal build notes to README. Change client package name to openafs-client. commit 57d8ce94243c4fb237484f27de5298f0ba4a62ae Author: Jim Rees Date: Thu Feb 20 21:00:03 2003 +0000 dot-i-suffix-20030220 add .i suffix to Makefile.common.in for bsd make commit a7fbdc7bcd4889fb6bb5a85a49db9705086dd3e4 Author: Derrick Brashear Date: Wed Feb 19 03:50:47 2003 +0000 viced-rewrite-breaklatercallbacks-20030218 FIXES 1309 deal with only a single volume at a time commit 45a43078f0580c11e24ba34ea82518e5d4445967 Author: Love Hörnquist-Åstrand Date: Wed Feb 19 02:21:35 2003 +0000 viced-fix-port-logging-20030218 FIXES 1307 put port in correct byte order when logging commit 6c308978e1195246625babee91b5c49d84e23ffd Author: Derrick Brashear Date: Tue Feb 18 08:03:09 2003 +0000 viced-host-logging-update-20030218 FIXES 1308 print info before letting host get gc'd commit 6a1182d4bf186db3305d14f97f5561dfb822c104 Author: Derrick Brashear Date: Sun Feb 16 00:22:00 2003 +0000 viced-log-refd-client-while-deleting-20030215 if we gc a client with a positive refCount, log it. should probably log more data. commit 214c2e7b19333380cb7f3aa5c997f35543bd3d15 Author: Derrick Brashear Date: Sat Feb 15 14:17:15 2003 +0000 viced-allow-hinting-of-all-new-clients-for-vbusy-vrestarting-handling-20030215 For sites with only new (>3.4) clients (or who decide to not care about older clients) and want to force VRESTARTING instead of VBUSY. commit 825e7d57e7b818aea1904de0ab200de422b45f69 Author: Derrick Brashear Date: Sat Feb 15 06:03:25 2003 +0000 viced-client-set-refcount-before-chaining-into-host-20030215 didn't find a race but it's safer this way if there's one i missed commit 41351b5c2e556284d2eb99c6737f41922ca71fbf Author: Derrick Brashear Date: Sat Feb 15 05:39:16 2003 +0000 viced-gethostcps-simplify-holds-20030215 all of our callers have a hold when we're called. get rid of the "get us a hold" logic. do we need a lock? commit 701a7504158ca4b7b3803ec25c72772326ed71c3 Author: Derrick Brashear Date: Sat Feb 15 05:27:04 2003 +0000 viced-consistent-val-and-len-cleanup-20030215 just so we don't leave things inconsistent ever commit d8f69c796c4b2e5f48e6bee0e83c9dda4382ca92 Author: Love Hörnquist-Åstrand Date: Sat Feb 15 04:53:31 2003 +0000 freebsd-5-sys-name-id-20030214 FIXES 1302 allocate a sys name id commit 0dc61205b6906426667f31b8b5c452d86e24ef95 Author: Jim Rees Date: Fri Feb 14 19:07:18 2003 +0000 str-fixup-20030214 Protect afs_str*() in afs_util.c with #ifndef Use builtin strcasecmp, strcat for OBSD Use afs_strcat in afs_dynroot.c commit 3ef47cdfd2ab5aa4f6bf60b61e37f0da7d0d6487 Author: Nickolai Zeldovich Date: Fri Feb 14 01:14:10 2003 +0000 avoid-client-connection-mismatches-20030213 Avoid asymmetry between rx connections and clients, such that one points at the other but the other doesn't point at the first one. This can sometimes happen with hosts that change addresses/ports. commit 6183df9e42df31915efd85f750593006f517e816 Author: Douglas Engert Date: Fri Feb 14 00:02:16 2003 +0000 hpux-1122-initial-support-20030213 sys name may yet change and there's some relatively minor cleanup yet to be done commit feafe37c0374cd3112016166b000af8e202752d8 Author: Derrick Brashear Date: Thu Feb 13 23:53:37 2003 +0000 remove-sys-based-makefiles-20030213 obsolete in the "new world" commit 49e4a9d3b0da87dbd46aa35838a1962c60283216 Author: Derrick Brashear Date: Thu Feb 13 22:28:38 2003 +0000 callbacks-later-cdel-fix-20030213 if something else ends up trying to e.g. break delayed callbacks over the same callback that we're playing with in break later callbacks, the manipulation in CDelPtr becomes important commit 76c481e47bb5c9b5d98193c311bc4846fa052874 Author: Derrick Brashear Date: Thu Feb 13 20:11:34 2003 +0000 ptserver-foreign-dup-check-20030213 otherwise foreign user creation can screw up your pt database (if it's large) commit 8238260d1f6167675911ef58bda8cacf2921b1ea Author: Kevin Coffman Date: Thu Feb 13 18:14:40 2003 +0000 fix-seclevel-20030213 Use requested security level instead of "clear" in pr_Initialize commit a25efcc2d349bc3aaec956c7132a058022880b83 Author: Jim Rees Date: Thu Feb 13 18:06:10 2003 +0000 fix-DumpVnode-proto-20030213 Fix prototype for DumpVnode() commit d27df737c448f2598f6c81882f6b328012e8b88b Author: Jim Rees Date: Thu Feb 13 17:41:36 2003 +0000 openbsd-20030213 Add OpenBSD to README. commit 7c8bd23f40a18027b9229376bf9dacdbc9a2879b Author: Derrick Brashear Date: Thu Feb 13 16:20:54 2003 +0000 volser-dump-vnode-include-volid-in-error-20030213 include a volume number in the error message commit b6f04d5564e51fedfe1357227fb07a6caaaad8f0 Author: Love Hörnquist-Åstrand Date: Thu Feb 13 07:00:04 2003 +0000 freebsd-5-update-20030213 FIXES 1297 fix issue with header needed for malloc(), and make us freebsd 5-ready commit 8ad0977e0cca4cb526eecd019c8afe96b55bb2fe Author: Love Hörnquist-Åstrand Date: Thu Feb 13 06:58:31 2003 +0000 pam-header-ordering-cleanup-20030213 FIXES 1298 so pam module compiles on modern freebsd (system headers before pam) commit 0bce6f6bd5d53d5f13bce3a6e0e9284f509c6de2 Author: Love Hörnquist-Åstrand Date: Thu Feb 13 06:54:38 2003 +0000 libafsrpc-dependancy-cleanup-20030213 FIXES 1295 Make cc only take the first depency, so it wont compile header files that the target is depends on. Now that there isn't any VPATH, depend on the file with path, not by name. commit d7c25633238c8130ad9e94895ef96d7f4d31004d Author: Love Hörnquist-Åstrand Date: Thu Feb 13 06:51:14 2003 +0000 get-full-path-for-top-srcdir-20030213 FIXES 1296 unrelativize TOP_SRCDIR commit 8fb201a67af446ac6b586a5572c808b69431627a Author: Love Hörnquist-Åstrand Date: Thu Feb 13 06:46:07 2003 +0000 rx-warning-cleanup-20030213 FIXES 1299 fix prototype commit 0e3380edaeea6cdabe6d64c46c033ebee405cef3 Author: Derrick Brashear Date: Thu Feb 13 06:44:28 2003 +0000 host-tossstuff-require-unlocked-20030211 add warning and don't clean up if host is locked. shouldn't be able to happen ==================== 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. ==================== FIXES 1294 and make it useful commit 4f1b300a98572f9fc8006f45aa76b014215763ac Author: Nickolai Zeldovich Date: Sat Feb 8 08:40:03 2003 +0000 rx-misc-cleanup-20030208 Stop passing around needless arguments to rxi_SendAck. Also send the proper reason value in ack packets for packets that were received out-of-sequence. commit 454af39fbc6e1cc9457ad09c3d50771255dfa1ba Author: Derrick Brashear Date: Sat Feb 8 07:38:39 2003 +0000 vol-check-malloc-return-20030208 make sure malloc doesn't fail in vol package either commit 5e2dc3d41cc23499f650a0bd7716381b2a435948 Author: Derrick Brashear Date: Sat Feb 8 07:30:04 2003 +0000 viced-check-all-malloc-returns-20030208 log something and assert if malloc fails commit 1e4b22a9f579cd53a4aa17caedf04d06fe965feb Author: Derrick Brashear Date: Sat Feb 8 06:43:26 2003 +0000 callback-interfaces-check-malloc-result-for-error-20030208 if we run out of memory, maybe we should assert. we should probably log. this is just so i remember to deal better. commit d4302ea35a14a4feeb04bdae168176a9cdd378b5 Author: Nickolai Zeldovich Date: Fri Feb 7 22:16:46 2003 +0000 vos-handle-invalid-long-names-20030207 FIXES 1289 Avoid crashing when an unreasonably long volume name is passed to vos. commit 922e0cce763f522c9fdf8df7d60d73f07056f45a Author: Andrei Keis Date: Thu Feb 6 23:02:00 2003 +0000 winnt-find-token-event-missing-braces-20030206 FIXES 1288 add missing {} braces commit 365f32ff80c3b3afd7efa98ec3d8b09c585c833e Author: Jim Rees Date: Tue Feb 4 19:05:44 2003 +0000 openbsd-pkg-20030204 First cut at making an OpenBSD package. commit 8e447222d9699b18ba975f97a3610a5e687e9c15 Author: Nathan Neulinger Date: Tue Feb 4 17:50:16 2003 +0000 use-kernel-version-of-debug-var-when-building-kernel-modules-20030203 FIXES 1272 use KERN_DBG instead of DBG commit 7a4e715d13f29935ff97dc990d929a070a3d5616 Author: Jim Rees Date: Tue Feb 4 16:39:55 2003 +0000 openbsd-20030204 Get rid of afsmodload() in favor of libafs_lkmentry() commit 146ca01c9fb02d30231dac9a0e48b57b05ddb3e9 Author: Derrick Brashear Date: Mon Feb 3 23:51:30 2003 +0000 libafsrpc-dependancies-20030203 FIXES 1267 needs further work, we need a lot more dependancies here commit f15e1e3f8f6d50ca931f2853bf9a166cddaa4c81 Author: Chaskiel M Grundman Date: Mon Feb 3 23:27:06 2003 +0000 lwp-tests-20030203 FIXES 1280 make the tests work commit d32c70edbc0ed4e4821deb5542ef11637e8c04e0 Author: Matt Bacchi Date: Mon Feb 3 23:15:58 2003 +0000 cmd-print-help-in-cases-without-subcommands-20030203 FIXES 1277 so libcmd supports help for e.g. pt_util commit 7ff00fb31ec5fea944871f32f2388ce482b37e92 Author: Love Hörnquist-Åstrand Date: Mon Feb 3 23:10:38 2003 +0000 netbsd-16m-support-20020203 FIXES 1269 support for netbsd 1.6m commit 5121aa82b5471b1b2088da53e7471bd2dc1cd3c9 Author: Eduard Bloch Date: Mon Feb 3 23:05:28 2003 +0000 linux-include-thread-h-to-allow-variable-num-of-cpus-20030203 FIXES 1275 allow variable cpu numbers commit cff48dcb5210e38e0048a04fc3151d045bdca4ce Author: Rainer Toebbicke Date: Mon Feb 3 20:45:51 2003 +0000 rx-thread-id-assignment-fixes-20030203 in rx_pthread.c the ++rxi_pthread_hinum; has to be protected by the rx_stats_mutex in all three cases. In the file I attached in the openafs-devel article the last one was accidentally unprotected. the FSYNC_sync thread (fssync.c) needs needs to be handled as well. commit 9a07ae91c39ded5541302d91aae81e5d137e4d06 Author: Derrick Brashear Date: Fri Jan 31 22:33:36 2003 +0000 more-redhate-beta-fun-20030131 apparently having recalc_sigpending stay the same was just as hard as continuing to export the same level of functionality, so we get neither. commit fa0eff22613614f6945f18d311b057a822294c79 Author: Jim Rees Date: Fri Jan 31 21:35:14 2003 +0000 openbsd-rc-20030131 Get rid of dkload subdir Get rid of "-chunksize 18 -stat 4800" Change "fs setcrypt crypt" to "fs setcrypt on" (old CMU syntax) commit 77e7f9c57c58c2ed64a1bd11def89969dfea692e Author: Jim Rees Date: Fri Jan 31 21:20:45 2003 +0000 fix-rx-mtu-params-20030131 Return subnet mask from rxi_FindIfnet for AFSOP_GETMASK. Put rxi_FindIfnet() in rx/rx_prototypes.h to avoid similar screwups in the future. commit 9dd6d3b2e878f4121928ce7275a41fd03cb16e1a Author: Nickolai Zeldovich Date: Thu Jan 30 22:04:06 2003 +0000 libuafs-cvsignore-20030130 add JUAFS to .cvsignore commit 4fa78ca16848ba10814cee55d0ab419e38770f38 Author: Nickolai Zeldovich Date: Thu Jan 30 22:03:31 2003 +0000 openbsd-32-glue-20030130 Add glue to support OpenBSD 3.2. commit 74737891ae205f95d84be185ff84aff844dc4edd Author: Jim Rees Date: Thu Jan 30 21:43:54 2003 +0000 openbsd-20030130 Don't lock against myself in reclaim vnodeop. ==================== 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. ==================== Various stability fixes: Call vgone() instead of afs_FlushVCache() when freeing vcache Acquire AFS_GLOCK in VOP_INACTIVE Don't bother calling cache_purge() or uvm_vnp_uncache() in reclaim(); vclean() already does this Acquire xvcache lock in reclaim() commit 530c491c673154c5c935bd339c6d00850d454190 Author: Jim Rees Date: Thu Jan 30 14:59:00 2003 +0000 fix-netreceive-memleak-20030130 rx_knet fixes for Darwin and FreeBSD: netreceive: fix memory leak, check return code from soreceive netsend: remove unnecessary mbuf alloc, remove misleading comment all: general cleanup and minor bug fixes Thanks to emoy@apple.com for reporting this bug and testing the fix commit 0ee73ecbff418d253076923681174560030ef753 Author: Jim Rees Date: Tue Jan 28 23:19:26 2003 +0000 fix-rx-mtu-params-20030128 rxi_FindIfnet: return NULL on no match, instead of first interface on list use ifa_ifwithnet on XBSD (was only used on Darwin) remove dead code and unused args commit da3cb37d99fd984eca5ed3af780a89489b1ca118 Author: Jim Rees Date: Thu Jan 23 20:34:58 2003 +0000 openbsd-20030123 Mindless tweaking in search of a bug. commit 66d83d54701eeaa3772aadacd11bb891eb73019e Author: Jim Rees Date: Wed Jan 22 21:25:14 2003 +0000 openbsd-20030122 Fix vcache/vnode confusion. commit a6d9298d3d299cc2c776b22a2800b5c2044ea497 Author: Nickolai Zeldovich Date: Wed Jan 22 06:49:48 2003 +0000 rx-avoid-deadlock-in-attaching-call-20030122 Avoid a subtle cycle in the locking order hierarchy involving the rxi_ServerThreadSelectingCall flag, and instead rely on call->lock to make sure we don't attach the same call twice. Also some miscellaneous cleanup and code unification. commit 9370d218fd4eb911e4932757cdf1097e164ad456 Author: Jim Rees Date: Fri Jan 17 22:24:16 2003 +0000 fix-indentation-20030117 Fix indentation in a few places so I can read the code so I can track down a bug I probably introduced commit ea4f1a80d73f62d91f0375d75dec67d38bd86f24 Author: Rainer Toebbicke Date: Fri Jan 17 18:13:19 2003 +0000 rx-assign-thread-id-key-to-periodic-helpers-20030117 so each gets own holdbits commit 2e3678c8829761506b9179d3660448c9ae21942b Author: Derrick Brashear Date: Fri Jan 17 07:39:28 2003 +0000 viced-getclient-assert-logging-20030117 log some more info before asserting commit ec111ccc442439f68e9052721571ec8ef1754644 Author: Derrick Brashear Date: Fri Jan 17 06:46:39 2003 +0000 vol-clone-inc-failure-logging-20030117 log info in event of assert ==================== 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. ==================== same change for IH_DEC commit 12eb511d4516dc5c82dc565bf1ae634e479b09ed Author: Derrick Brashear Date: Fri Jan 17 06:21:37 2003 +0000 viced-improved-host-logging-20030117 to deal with condition reported by lha@stacken.kth.se commit 587304c2ba6f092c963dda8866cd273cf7a68d0e Author: Jeffrey Hutzelman Date: Fri Jan 17 06:11:13 2003 +0000 solaris-deal-with-gmake-stupidity-20030117 make gmake not try to link libafs.o and libafs.nonfs.o into another object commit 82d009d480c6b2a664264329f6940c1a519ea3df Author: Derrick Brashear Date: Fri Jan 17 05:39:20 2003 +0000 linux-ifdef-stupidity-cleanup-20030117 as pointed out by zacheiss@mit.edu commit 3fa43862aa17467795121eb21f191066ab399980 Author: Pavel Semerad Date: Fri Jan 17 01:30:05 2003 +0000 linux-lock64-fix-20030116 fix 64bit lock functions commit 3ddb9dd9b93942462511553e17679ec21919d195 Author: Derrick Brashear Date: Thu Jan 16 16:34:39 2003 +0000 aix51-param-update-20030116 get missed pinning define, cleanup ukernel portion of header commit 8ab7a909371f47ddb4f2adc8104b64dfc4c610bd Author: Kevin Coffman Date: Wed Jan 15 17:36:07 2003 +0000 pts-supergroups-20030114 thanks to nneul@umr.edu add configure switch and support code for groups in groups commit b5af9ebd62ae0ba1239720e2cd54d3e550cf4f0b Author: Kevin Coffman Date: Wed Jan 15 04:29:47 2003 +0000 volser-cache-more-ips-20030114 thanks to nneul@umr.edu for splitting these out this increases the size of the ip address cache for talking to vlserver commit 35e9be66e99fb5dcf603ded673f3fc191acaddc9 Author: Kevin Coffman Date: Wed Jan 15 04:28:24 2003 +0000 ubik-rename-defines-20030114 thanks to nneul@umr.edu for splitting these out this adds UBIK_ to defines instead of doing undef on potentially "global" defines commit 06c9fc12db7f59ef86e564f563b6fc2431bcc568 Author: Kevin Coffman Date: Wed Jan 15 04:27:16 2003 +0000 rxgen-enforce-grammar-20030114 thanks to nneul@umr.edu for splitting these out. enforce procedure being in a package in xg files commit 1e0696b5b3d93cb58bbd36f63849924cae6a9346 Author: Kevin Coffman Date: Wed Jan 15 04:22:27 2003 +0000 buserver-ubik-buffers-20030114 thanks to nneul@umr.edu for cleaning these up commit 14c5be99b682c3b7a81c36181ffb2bf3eb77e93a Author: Nickolai Zeldovich Date: Wed Jan 15 00:28:46 2003 +0000 callbacks-later-linked-list-fix-20030114 the linked list code was never updated for multiple passes when we started doing that. ==================== 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. ==================== the linked list code was never updated for multiple passes when we started doing that. commit cff9ae0f1036782018c818ba7176ad16e9ae202c Author: Derrick Brashear Date: Wed Jan 15 00:21:08 2003 +0000 viced-alloc-hosts-held-and-locked-20030114 to avoid potential race as we chain in while allocating then try to lock after returning to h_GetHost_r commit c52ddf77faf55fc090214b3f947aa06165c05a2f Author: Derrick Brashear Date: Wed Jan 15 00:10:10 2003 +0000 viced-junk-unused-functions-20030114 more cleanup of fileserver commit eff534794e7f49166094fa9279bc4d51520d62a8 Author: Nickolai Zeldovich Date: Tue Jan 14 01:20:03 2003 +0000 Improved signal-thread support for the pthread fileserver, which avoids blocking signals in any thread, to appease Linux's thread signaling semantics. commit d36004ee10481ef143469ede4295a447193c542b Author: Nickolai Zeldovich Date: Tue Jan 14 01:06:36 2003 +0000 Fix the includes dependency, so that all of util/ isn't rebuilt every single time. commit 3ba961ca00f5d8ec2edd32e0b1e5dac1c9864ef9 Author: Nickolai Zeldovich Date: Tue Jan 14 01:05:11 2003 +0000 Wrap our assert() macro in do{..}while(0) to make it look just like a real function. Fix instances of use of this macro that lacked a trailing semicolon of their own. commit cfef9796e87e2038100b09342a68b525d06834f3 Author: Nickolai Zeldovich Date: Mon Jan 13 20:25:54 2003 +0000 Make the Rx deadtime a tunable variable, either with a kernel debugger of some sort, or sysctl on Linux. To follow later: Rx idle dead time, but this requires more in-depth changes to conn handling and such. commit 22360fcf88dbe26614586341dc8394b233968ad2 Author: Nickolai Zeldovich Date: Mon Jan 13 20:24:34 2003 +0000 Generalize the rx idle dead time support to include client connections, in addition to server connections. This will eventually be used by the AFS client to better time out non-replying servers. commit 6e823f2737e84a59eaf5bf77a7b4fdf053ec39b8 Author: Nathan Neulinger Date: Mon Jan 13 18:55:07 2003 +0000 makefiles-cflag-cleanup-20030113 Fix lib ordering for cmd/util, remove redundant libs commit a8e42dca5c93a42df68cdb84279335143aeb8c82 Author: Nathan Neulinger Date: Mon Jan 13 18:31:13 2003 +0000 makefile-dependancies-20030113 add more dependancies commit ab64672f2b2ea4bf2b7eccf1aab1b0fc1ad6fb5f Author: Nathan Neulinger Date: Sun Jan 12 02:02:48 2003 +0000 salvager-fast-restart-log-to-syslog-also-20030111 if -syslog, also log this to syslog commit 3534cf2c61bb6ceb4f64c1ede9314e0ad4cd7496 Author: Nathan Neulinger Date: Sun Jan 12 02:00:26 2003 +0000 gmake-j-support-20030111 update top makefile so gmake -j works commit 580af44321feb2df60aae0a9c79dc8f10a6139b3 Author: Nathan Neulinger Date: Sat Jan 11 07:33:52 2003 +0000 makefiles-cflag-cleanup-20030111 move cflags back to makefile.config, more cleanup, dup removal commit 2be60b7ee43cb3baa1709506d685c86ea643815e Author: Jeffrey Hutzelman Date: Sat Jan 11 07:31:08 2003 +0000 rxkad-be-openssl-keyschedule-safe-20030111 openssl has larger keyschedules than we do crypto api is all so unfortunate commit bd72450f8051f2191c91ea79d1f8b6330b3b2734 Author: Derrick Brashear Date: Sat Jan 11 07:26:35 2003 +0000 vol-package-avoid-race-on-invalidating-hashed-vnode-20030111 thanks to whichever of jhutz@cmu.edu or cg2v@andrew.cmu.edu (or both) noticed the race; also deal with wrap problem in VolumeCacheCheck that i noticed commit 92e76f7eb20ea548dfc2d688d9d6eeb6a58e2c18 Author: Sam Hartman Date: Sat Jan 11 07:22:14 2003 +0000 include-errno-dont-declare-it-20030111 include errno.h instead of extern int errno ourselves commit e1c86d76917ee5960de4a55f529f58e8c57dbcfb Author: Derrick Brashear Date: Fri Jan 10 20:16:42 2003 +0000 linux-placate-whiny-gcc-20020110 debian unstable gcc gets bitter and cries to mom over newlines in strings. commit 9624637cfe2c467023dc8e22aa0edc7633041d43 Author: Derrick Brashear Date: Fri Jan 10 09:34:38 2003 +0000 nfstrans-solaris-pre-7-support-20021210 make it work for 2.6 and earlier ==================== 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. ==================== actually for earlier than 8 commit b6f124d4cb855ba0841bf02acb602ffdb16ccb6d Author: Nathan Neulinger Date: Fri Jan 10 09:33:30 2003 +0000 remove-venus-lock-h-20020110 nothing uses it. junk it. commit 800b103f0aff041dd9d9bb5581f0f2188776582c Author: R. Lindsay Todd Date: Thu Jan 9 19:16:50 2003 +0000 fileserver-largefile-support-20020109 Fix compile problems for 64BIT_ENV with large files turned off commit 52126ee90c48a6590bb729f6a044cf889bfeceb5 Author: Derrick Brashear Date: Wed Jan 8 23:53:36 2003 +0000 solaris-nfstrans-compile-fix-20020108 osi_vfsops_nfs.o is compiled from osi_vfsops.c commit 29454d28d06594e97e53c5cf066ad0b0f472f58d Author: Jim Rees Date: Wed Jan 8 23:07:03 2003 +0000 openbsd-20030109 Add AFS_64BIT_ENV. Should have been there all along. commit c9c23097063b1cad47fe59ec632bcddb137c3963 Author: Jim Rees Date: Wed Jan 8 21:04:59 2003 +0000 openbsd-20030108 Allocate a real SYS_NAME_ID for OpenBSD commit 4624fd2206027a83ca3a27dd701f0ef4d3f01cef Author: Derrick Brashear Date: Wed Jan 8 05:52:11 2003 +0000 linux-redhat-81-beta-support-20020107 thanks to Sean McDermott for the errno.h fixes. the rest is my fault, the configure tests as well as the kernel changes commit b72c14c4cfdae85c469bcc1b88659e5bd6fb620c Author: Derek Atkins Date: Wed Jan 8 05:35:25 2003 +0000 linux-fast-netdown-20020107 notice the NETUNREACH quickly and mark a host down commit a038124edcd9def48a7ab82cb57b22ddd8fec123 Author: R. Lindsay Todd Date: Tue Jan 7 23:38:02 2003 +0000 fileserver-largefile-support-20020107 fileserver-side large file support commit 7875999a4b2d5fba9976c90e3de2ddae5e67f0b4 Author: Hartmut Reuter Date: Tue Jan 7 23:29:41 2003 +0000 linux-largefile-appending-fix-20020107 appending >2gb bug, pointed to hartmut by lindsay todd commit e0a78652dad47fd82e670ff1d64541df6a1d793a Author: Hartmut Reuter Date: Tue Jan 7 23:24:58 2003 +0000 aix51-64bit-exporter-20020107 loads, but doesn't yet work commit 436674ee07d3517afef59c2cb11bc97ef0294a2a Author: Hartmut Reuter Date: Tue Jan 7 23:14:08 2003 +0000 aix51-32bit-ioctl-glue-20020107 support both 64bit and 32bit ioctls on aix 5.1 commit 4b690db92f2098f332132996a11ff07322284802 Author: Chaskiel M Grundman Date: Tue Jan 7 23:03:35 2003 +0000 darwin-deal-with-unclean-pages-from-vm-20020107 based on report from lha@stacken.kth.se commit e461b558ba8c15ec9e40c1dd7cc799e933de23ed Author: Love Hörnquist-Åstrand Date: Tue Jan 7 22:44:03 2003 +0000 vsprocs-printf-cleanup-20020108 change defines slightly, eliminate bogus quota-setting warning when it's not really an error. commit d86a3e307ec8ef4d35d8a9b96f3a5db1fbc5cd86 Author: Nickolai Zeldovich Date: Sat Jan 4 05:20:55 2003 +0000 Create a special thread to receive signals in the pthread fileserver, in order to avoid deadlock (we have signal handlers that unsafely grab locks). commit d43d61cafbeacfd8e09e0db77eaaa5fdac59a350 Author: Nickolai Zeldovich Date: Sun Dec 29 15:46:11 2002 +0000 Make OpenAFS build on FreeBSD 4.7-RELEASE. commit 8092249d0d224be166fb05e78daa4bf4801a2890 Author: Nickolai Zeldovich Date: Sat Dec 28 05:17:08 2002 +0000 Avoid using afs_int64's, because this leads to gcc generating calls to libgcc functions on Linux (which we don't have in the kernel). Instead be slightly more clever to achieve the same result. commit 755686d45a142bb97220e4bbd372dfe7c1630c4b Author: Nickolai Zeldovich Date: Fri Dec 27 03:51:51 2002 +0000 Support memcache sizes larger than 2GB. commit b8dbb6e0c9aaa6091080be01ac5426c52356196b Author: Sam Hartman Date: Mon Dec 23 23:53:26 2002 +0000 Do v5/v4 principal name translation. commit d057f179506a94db0cc178e5df60977ee753f1f7 Author: James Peterson Date: Sun Dec 15 04:33:30 2002 +0000 Fix symlink support on Windows XP. commit 7c5798f3902f7329511f127d7f6c8922885da383 Author: Larry Greenfield Date: Tue Dec 10 22:55:08 2002 +0000 windows-wide-char-fix-20021210 include afxpriv.h so we get macros call GetSize() and not GetCount() commit ebc0ed79669c440e2b2ce6b231b716ee61fa65ed Author: Derrick Brashear Date: Tue Dec 10 19:53:38 2002 +0000 revert-bg-fcrypt-cleanup-20021030 unroll the rest of it commit 889da5053cb1b89ce25caec1bf9fa5a7dbb7830b Author: Mattias Amnefelt Date: Tue Dec 10 19:09:53 2002 +0000 use-afs-strchr-instead-of-strchr-20021210 make dux happy commit fd856437c88b3a4f3954db1bf06f20ad67e77b44 Author: Scott D. Williams Date: Tue Dec 10 16:39:47 2002 +0000 windows-loopback-adapter-support-20021126 try to bind to loopback on windows commit 69cb63ef545b4c8dc4e3b307b474ade4951d9691 Author: Derrick Brashear Date: Tue Dec 10 15:57:25 2002 +0000 bos-new-config-option-20021210 based on patch from nneul@umr.edu but including the switch commit ce013cabaddfedcb1e2921e3ad7e9889af13d158 Author: Nathan Neulinger Date: Tue Dec 10 15:52:16 2002 +0000 ukernel-no-afs-xosi-20021210 no afs_xosi lock in ukernel. probably should be a dummy one, but oh well commit 7e2fcac3c15811b1210d08f86b3d288c2d430a2c Author: Nathan Neulinger Date: Tue Dec 10 15:49:52 2002 +0000 pam-no-system-include-path-20021210 breaks modern gcc. also, wrong. commit 98e536b4cc6c7cb72e6caf48be58eec77e81d707 Author: Derrick Brashear Date: Tue Dec 10 15:32:23 2002 +0000 revert-rxkad-new-fcrypt-20021028 until we know why it's brokenn commit f7f1c50256b4073f3f8b762468bda450ad288267 Author: Joseph V Moss Date: Tue Dec 10 04:22:14 2002 +0000 linux-ia64-updates-20021209 deal with *LK64 not defined deal with ia64 sys_call_table commit 7a449be5fc0edc1ba4b86927856a44b865587c8b Author: Garry Zacheiss Date: Mon Dec 9 23:12:44 2002 +0000 Update NEWS file with user visible changes and other noteworthy things about OpenAFS 1.2.8. commit 79fba7ba3297f9b3121e8e83935048f70f7f040a Author: Jim Rees Date: Thu Dec 5 16:17:26 2002 +0000 openbsd-20021205 Change syscall from 210 to 208, by popular demand commit 1bd76f6fe56f231d5fbc271cc7768c519058890e Author: Nathan Neulinger Date: Thu Dec 5 00:43:46 2002 +0000 deal-with-non-modversioned-non-exported-sys-call-table-20021204 test was incorrect commit c9f2a72c911bbc44ad2d6c421282f8d7e4a5ab5e Author: Derrick Brashear Date: Wed Dec 4 16:52:53 2002 +0000 fssync-interface-change-to-deal-with-callback-delays-20021204 move callback breaking into a separate thread ==================== 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. ==================== the rest of it. somehow the original version of this was lost. ==================== the rest of it. somehow the original version of this was lost. ==================== the rest of it. somehow the original version of this was lost. commit 208fab61f3f0ffd8311989227b8f7ed25e240e1c Author: Jim Rees Date: Wed Dec 4 14:53:47 2002 +0000 ignore-files-20021204 Ignore src/libuafs/Makefile.common commit 04f88387f9b72465e5778a324e94191583acbd06 Author: Jim Rees Date: Tue Dec 3 23:34:31 2002 +0000 openbsd-20021203 OpenBSD: Don't include systm.h #define iodone for 3.2 add rc file commit bb66c6098b0d20799a1ede5614b655f5f583af14 Author: Jim Rees Date: Tue Dec 3 17:44:14 2002 +0000 remove-prototypes-20021203 Remove prototypes from viced_prototypes.h. commit 484d4b8588f99a849e717c4fabddefd145c55eb9 Author: Derrick Brashear Date: Tue Dec 3 02:03:42 2002 +0000 viced-prototypes-inclusion-20021202 include prototypes header file commit 48b41ef5bc799205b6fa524ab8517d8adeabf8a8 Author: Jim Rees Date: Mon Dec 2 21:22:20 2002 +0000 openbsd-20021202 Make a symlink for libafs/lib. Needed for libkern.h. commit 63b85f21f53bffd760b7b0ff73b52f7025282592 Author: Jim Rees Date: Mon Dec 2 13:39:46 2002 +0000 fix-includes-20021202 Fix includes so the tree will build again commit f5ff298ec5dcc3607621321e5785374bbed591fc Author: James Peterson Date: Wed Nov 27 14:37:13 2002 +0000 windows-rename-warning-20021126 Currently AFS doesn't handle Explorer operations 'rename' and 'move' correctly. Normal operation of 'rename' and 'move' is to warn the operator when the destination file name already exist. commit ed4cd74d47fc2253539aef64c95c1cb9ebab97cc Author: Scott D. Williams Date: Wed Nov 27 03:36:42 2002 +0000 windows-loopback-adapter-support-20021126 try to bind to loopback on windows commit fffba45737f37a0944491928352369e91547ff07 Author: James Peterson Date: Wed Nov 27 03:30:16 2002 +0000 windows-rename-20021126 fix rename on windows client commit 12867ce0b64abb2095d8911b7bac1cf6e4460290 Author: Andrei Keis Date: Wed Nov 27 03:22:38 2002 +0000 windows-updates-20021104 windows timestamp update ==================== 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. ==================== build updates commit 0dd158bb6f09089928cfa80dbc2e1e13f12fda98 Author: Scott D. Williams Date: Wed Nov 27 03:18:31 2002 +0000 windows-fake-cml-info-20021126 fake up cml info for windows commit 2ab5a578cf5ff61ef470fade98684e4f4cf6a9df Author: Derrick Brashear Date: Wed Nov 27 00:00:07 2002 +0000 disable-new-afs-thread-model-in-old-kernels-20021126 don't use new kernel thread model for 2.4.7-10 commit e45d9bf430e00b2a1ca1789695fb23a459191f0e Author: Derrick Brashear Date: Tue Nov 26 23:39:52 2002 +0000 hpux-readme-and-comments-on-header-20021126 Thanks to Carl Davidson for making it happen. commit eb275d9b1f24794f709b36741c6857392d415900 Author: Jim Rees Date: Mon Nov 25 23:22:07 2002 +0000 cvsignore-20021125 add a few more files to .cvsignore commit 3b95323f9f5b27857becf17b0684995294241627 Author: Derrick Brashear Date: Sat Nov 23 01:51:43 2002 +0000 viced-make-send-buffersize-tunable-20021122 idea from chas williams. arguably should be made larger than 16k also. commit 4e52d08bea672add860866986f200ce2f99fd9a9 Author: Derrick Brashear Date: Sat Nov 23 01:45:05 2002 +0000 afs-xosi-prototype-20021122 add missing lock prototype. create header as needed. commit a82075db9eae971aa3685a280fcc9fd2ddb1076f Author: Derrick Brashear Date: Sat Nov 23 01:44:28 2002 +0000 cmdebug-export-more-locks-20021122 we missed some locks, notably afs_xosi, afs_xsrvAddr. show them. commit 96253fdd414fa2152e32dd9f95c8d141a57adfd5 Author: Derrick Brashear Date: Sat Nov 23 01:26:56 2002 +0000 update-README-with-current-systems-20021122 note that logging ufs on solaris can be bad commit 8b141efe96d0080b90a1331b080e9250771aff17 Author: Derrick Brashear Date: Fri Nov 22 20:07:27 2002 +0000 cachemgr-warn-solaris-users-of-dangers-of-logging-20021122 with feedback from others. commit d871033be74049e92d0034505d52ab0b4ee99a84 Author: Jim Rees Date: Wed Nov 20 23:00:33 2002 +0000 openbsd-20021120 OpenBSD: Hold volume info file vnode until shutdown Pass proc struct * to HandleFlock Get va_atime.tv_nsec right in getattr commit 27005896103e250d045b005edc5a17cbec09131b Author: Kris Van Hees Date: Wed Nov 20 15:26:18 2002 +0000 linux-flock-downmap-64-ops-20021120 downmap F_*LK64 to F_*LK if they're different. we have no large files for now. commit f8d781408717fbf65837fc69d4b4edda2349df4f Author: Garry Zacheiss Date: Wed Nov 20 03:13:23 2002 +0000 Make this work with Linux 2.2 kernels again. In particular, - Use the DCOUNT() macro from afs.h instead of atomic_read, because the d_count member of a struct dentry is an int in the 2.2 series, not an atomic_t. - Use list_del() + INIT_LIST_HEAD() on 2.2, which doesn't have list_del_init(). - BUG() only exists on 2.4 kernels. Just don't use it on 2.2. commit 6af0e344af39d15c8816b2acd86b785f991898b5 Author: Nickolai Zeldovich Date: Wed Nov 20 01:58:52 2002 +0000 Fix a memory leak in the dynroot directory creation process and factor out common code to compute directory size. commit 38136f03cf9043ec98d83653f4fddf5a02e48a2a Author: Jim Rees Date: Tue Nov 19 18:28:01 2002 +0000 openbsd-20021119 Implement AFS_GLOCK() Other minor cleanups commit 843f9f4aefa73aac587501b6ebc5a91dc0060530 Author: Derrick Brashear Date: Sat Nov 16 03:12:30 2002 +0000 acinclude-check-sizeof-long-20021115 we do this the autoconf 2.13 way. it's deliberate. commit be4f627b1c119194a20abea21e0abbe571c532ef Author: Jim Rees Date: Fri Nov 15 17:19:40 2002 +0000 openbsd-20021115 Fix yesterday's damage: Put afs_vnop_fid.o back in the nonfs module Put back VN_HOLD for Darwin in VNOPS/afs_vnop_remove.c (from kolya) More prototypes Re-organize OBSD/osi_machdep.h commit fb3ca247296a14eb6ae0497f7ac4efe5e26d204b Author: Chaskiel M Grundman Date: Tue Dec 3 02:00:24 2002 +0000 REVERT-volserver-dont-deal-poorly-with-fssync-blockage-20021016 not ready yet, needs work commit 21e056922d695c3fb49b48afc6e68391c764b16b Author: Love Hörnquist-Åstrand Date: Fri Nov 15 05:02:33 2002 +0000 rxkad5-dont-allow-dot-in-aname-20021114 otherwise we need to deal with the fact that we're using . as a separator commit 8bdfec7eb57b37995f3c1476c7ba7f1b6b261827 Author: Derrick Brashear Date: Fri Nov 15 03:59:59 2002 +0000 linux-params-define-local-apic-to-one-20021114 based on suggestion from seth vidal commit 4caeeb438887b94d70e23ed4bc7317d23b48edee Author: Jim Rees Date: Thu Nov 14 23:53:36 2002 +0000 openbsd-20021114 OpenBSD: Fix more vnode refcount screwups Implement AFS_KALLOC, AFS_KFREE and eliminate #ifdefs in afs/afs_osi.c More prototypes Move a bunch of stuff from param.h to osi_machdep.h Don't bind afs_vnop_fid.o in with nonfs module commit 1e3dd7ad0ec21bce6fa20c5cbce97f984fdd51ee Author: Jim Rees Date: Wed Nov 13 16:44:04 2002 +0000 use-VTOAFS-in-HandlePioctl-20021113 Use VTOAFS in afs_HandlePioctl() instead of passing in the wrong type. Needed for OpenBSD, which doesn't just cast vnode to vcache, and possibly others in the future. commit 3a7b3ac5ef6b1f478b756c7cb141b2b383c67992 Author: Jim Rees Date: Wed Nov 13 16:25:55 2002 +0000 DRead-check-file-size-20021113 Restore the file size check in DRead(), but do it right this time. commit 822d725f808d26b177464ef09de7d076e5c7fa36 Author: Jim Rees Date: Tue Nov 12 23:57:37 2002 +0000 openbsd-20021112 Remove size test in afs_buffer.c:DRead(). Cleanups and prototypes. OpenBSD client works now, at least readonly. commit da4ee765f9a2b17169c7ebed474cf9e83e06907d Author: Garry Zacheiss Date: Tue Nov 12 22:52:12 2002 +0000 Recognize MacOS X 10.2.2 as ppc_darwin_60. It's compatible. commit 735afe1a6140bd99bb9040796175c4a4e8c1d5dd Author: Chaskiel M Grundman Date: Tue Nov 12 21:17:21 2002 +0000 Handle Linux kernels that don't export sys_call_table. commit 82523baf9f76eca38fc4856f52bc7cdabddf14b3 Author: Nickolai Zeldovich Date: Tue Nov 12 20:09:25 2002 +0000 Clean up code in rxi_FindConnection. commit d3c31d00619b968ec50d072499d6df08ba5de503 Author: Derrick Brashear Date: Tue Nov 12 17:02:06 2002 +0000 nfs-translator-nfsv2-fixup-20021112 rewrite so we treat the ptr args as such commit 37b4195d603630498664fa0975ea5d5c82f9aa4f Author: Jim Rees Date: Mon Nov 11 21:23:15 2002 +0000 dtest-20021111 Fix dtest. Does anyone ever use this? commit b67317fa07fa4c1df6818d623c6dec48418bb6ba Author: Derrick Brashear Date: Mon Nov 11 00:53:46 2002 +0000 nfs-translator-fix-lookup-20021110 add fstrace statement, remove bogus & commit d2ec7c34b983d4eb246f30a51eb3e54353a99565 Author: Jim Rees Date: Fri Nov 8 21:59:23 2002 +0000 openbsd-20021108 More OpenBSD merge. Fix refcount screwups in afs_GetVCache and friends. "ls -ld /afs" works now. commit 556273f88cab8fae78f6a6918edde99f11656f26 Author: Nickolai Zeldovich Date: Thu Nov 7 23:10:43 2002 +0000 Miscellaneous cleanup. commit 1b3f04c26e27fb59a22aaa995b49f58b834e773a Author: Jim Rees Date: Thu Nov 7 22:55:27 2002 +0000 openbsd-20021107 fix afs_unmount make osi_NetReceive sleep at shutdown so it won't loop forever commit 63c5438e4864c80d8809ddd326ce09ccb80ee55f Author: Douglas Engert Date: Wed Nov 6 20:32:33 2002 +0000 hpux-20021106 Minor fixes for HPUX110. commit 6bb19413a9df73e08eeb2f20e433cbd3fdc95cf5 Author: Jim Rees Date: Tue Nov 5 22:37:53 2002 +0000 openbsd-20021105 don't panic in osi_NetReceive if soreceive fails don't release root vnode in afs_root (temporary until I track down the refcount screwup) commit 54495a713bfea995556f9e1d6de5555fda458034 Author: Jim Rees Date: Mon Nov 4 23:35:37 2002 +0000 openbsd-20021104 implement afs_root() commit 5c7482f2fcf174fe61589dedae1d1bf4ea0bff31 Author: Andrei Keis Date: Mon Nov 4 20:42:02 2002 +0000 winnt-make-mountingother-than-as-afs-work-20021104 make mounting other than as /afs work correctly with respect to absolute symlinks commit 3a7d53e8bd1bb4ed2af221b823f25f58e4dffbf1 Author: Derrick Brashear Date: Mon Nov 4 20:15:38 2002 +0000 vputvnode-print-error-number-on-write-failure-20021104 make log message include error when taking volume offline commit 038d4a0e8e0520bf8c29793d810f0c0a6e40e419 Author: Nickolai Zeldovich Date: Mon Nov 4 08:31:47 2002 +0000 Under Solaris, only clean up the open count in VOP_INACTIVE when the vcache is mvstat 0 (necessary because executables don't get VOP_CLOSE'd). Volume roots (mvstat 2) need to keep their open counts, because under fakestat, the mountpoint above it is still considered open by the kernel. commit 048e35c8290894387379a27616ef8fbae45568fb Author: Derrick Brashear Date: Sat Nov 2 17:25:20 2002 +0000 shlibafsauthent-extra-functions-20021102 export more on solaris commit 9dbddd1d4c3455080b78848c0fe59e986501c60d Author: Derrick Brashear Date: Thu Oct 31 20:12:59 2002 +0000 linux-what-socketcall-20021031 we're not using it, so let's not use commit da3dad673043bdf35b58dc303f3ab324b0d0d828 Author: Derrick Brashear Date: Thu Oct 31 00:19:55 2002 +0000 bg-fcrypt-cleanup-20021030 make the libafsrpc libraries work with new fcrypt ==================== 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. ==================== readd missing statistics make cm and ukernel compile with new stuff ==================== readd missing statistics make cm and ukernel compile with new stuff ==================== make it work with ukernel macros commit 58c34e103c2772ff3791dcca93e0b75e66d4b189 Author: Jim Rees Date: Wed Oct 30 22:56:58 2002 +0000 openbsd-20021030 More small OpenBSD fixes. Now the module loads, afsd starts, and /afs gets mounted. commit 19f082ad8c88265386239544b2011a77d6873421 Author: Derrick Brashear Date: Wed Oct 30 22:27:18 2002 +0000 rx-junk-writevinit-20021030 we don't use it, so it's gone commit f349e5b3fa0206cd6269df256911a73f52ff4a0b Author: Nickolai Zeldovich Date: Wed Oct 30 09:10:16 2002 +0000 Allocate memory for the interface addr arrays dynamically to avoid potential overruns. commit dfaf556aeafcd25ef2374d835cd3925042107e95 Author: Derrick Brashear Date: Wed Oct 30 08:40:38 2002 +0000 viced-cleanup-20021030 it all compiles nicely ==================== 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. ==================== a little more cleanup ==================== a little more cleanup ==================== a little more cleanup ==================== a little more cleanup commit fac07401327243c7c8ab4d99cbdcdb53b0520763 Author: Derrick Brashear Date: Wed Oct 30 07:06:46 2002 +0000 afsfileprocs-more-cleanup-20021030 finish ansification take some functions internal reorganize to avoid need for some prototypes remove said prototypes strip out some unused code commit 76b9b951749ae333d56a3b66dd09f01e23e42903 Author: Derrick Brashear Date: Wed Oct 30 07:03:05 2002 +0000 lhash-includes-cleanup-20021027 make stddef be included when building ukernel so NULL is defined cleanup redundancy commit e1f2501c4f6741300ae61b3ba8bf9645f38e446c Author: Derrick Brashear Date: Wed Oct 30 00:12:15 2002 +0000 viced-afsfileprocs-partial-protoizing-20021029 need to finish protoizing and create useful header commit 511e067fd2e1bb2f4f88fc4f13fbded44e8b92b2 Author: Derrick Brashear Date: Tue Oct 29 23:03:13 2002 +0000 fileserver-host-interface-cleanup-20021029 get rid of HPCS macros from person who was confused get rid of unused functions in host.c convert to ansi func decls commit fac48b50c791364ab2da8a1fdbda0ef00853c11a Author: Nickolai Zeldovich Date: Tue Oct 29 21:32:23 2002 +0000 Mention the cross-cell fakestat feature in NEWS; I had meant to check this in with the original delta, but missed this file since it was above src/. commit 190bc027de26e4193f5c6e424f9eaa7e66fab8ff Author: Nathan Neulinger Date: Tue Oct 29 00:06:41 2002 +0000 fileserver-readonly-support-20021028 so a fileserver can deny writes commit ea57d1062c8f48a4217b220a169a1072488ff953 Author: Love Hörnquist-Åstrand Date: Tue Oct 29 00:05:06 2002 +0000 rxkad-new-fcrypt-20021028 rxkad fcrypt from bg@pdc.kth.se. we should also add autoconf test for what to use for EFF_NTOHL commit 7da7434842cdaab7efb482023774a378cedd42ae Author: Love Hörnquist-Åstrand Date: Tue Oct 29 00:00:28 2002 +0000 lwp-take-insque-internal-20021028 make insque/remque internal commit d67e1550e47c3366384f278b8cf2f7dd255fa685 Author: Simon Spero Date: Mon Oct 28 23:56:40 2002 +0000 darwin-restore-terminal-after-read-password-20021028 turn echo back on commit 05a3224474c3cb7552a8ce4b2d7524c631520690 Author: Derrick Brashear Date: Mon Oct 28 22:51:34 2002 +0000 rxkad-krb5-windows-fix-20021028 based on report from leg@andrew.cmu.edu commit c9139f0c54e6e082ce4e54ed5359581dd08bab72 Author: Jim Rees Date: Mon Oct 28 21:28:25 2002 +0000 openbsd-20021028 Add OBSD subdirs to afs and rx some other minor tweaks commit fdeaffdd916226d3110c2461935553cbadf65c0e Author: Love Hörnquist-Åstrand Date: Mon Oct 28 02:43:56 2002 +0000 acinclude-updates-20021027 so AC_DEFINE() specifies 3 arguments for everything defined commit 1f8e892794c987ca2fc629d5f0f0b709cb3205d5 Author: Derrick Brashear Date: Mon Oct 28 02:16:08 2002 +0000 ukernel-fix-osi-settime-20021027 make this match the prototype commit ce34c263e683bc27ad64c4d26f5132afdba13dff Author: Love Hörnquist-Åstrand Date: Mon Oct 28 01:18:38 2002 +0000 rxkad-krb5-20021027 Added support to rxkad for servers accepting Kerberos V5 tickets and truncated "proposal 2b" tickets. When used with an appropriate aklog or krb524d (such as shipped with Heimdal and MIT Kerberos), this allows the use of Kerberos V5 tickets (with DES session keys) to authenticate connections to OpenAFS servers. commit 08ed0bffcba0f62db9b79d5cc320d43572afe8cc Author: Nickolai Zeldovich Date: Sun Oct 27 23:21:41 2002 +0000 As reported/suggested by Derek Atkins, use AFSTOI() instead of AFSTOV() in vcache2fakeinode(), since we really do want an inode. commit 52381274cd3bce2719bb6267ace61359453802cc Author: Nathan Neulinger Date: Sat Oct 26 16:41:14 2002 +0000 vos-dump-clone-and-vos-copy-support-20021026 support for cloning before a dump, and for vos copy commit c7f84a5867a5c1e6611dc8ea6e929031553a7818 Author: Sam Hartman Date: Sat Oct 26 16:40:07 2002 +0000 uss-fix-bogus-grammar-20021026 newer bison actually wants you to write correct grammars apparently. commit 5f051a666b525abb2b3497a7966aa9ece8884aab Author: Sam Hartman Date: Sat Oct 26 16:39:08 2002 +0000 getchar-returns-int-20021026 don't assume it returns char commit eb66163ac0b7104d28fbc99ccc0116baf64f1629 Author: Derrick Brashear Date: Tue Oct 22 09:00:00 2002 +0000 solaris-nfs-translator-expand-macros-and-cleanup-20021011 make the acl stuff work too commit 70872e9d3cba906a28fa4cf78a080819c822f5f6 Author: Nickolai Zeldovich Date: Sun Oct 20 08:35:21 2002 +0000 Slight change to the semantics of the serial number field in the ack packet, which results in more reliable RTT computation. commit 12d6de6dd05637e97d419418a269267cc4cc6c2a Author: Jim Rees Date: Fri Oct 18 18:09:27 2002 +0000 openbsd-20021018 OpenBSD kernel module builds now. commit ec5df8df8cfc0e69856031ffcb07ae6d58d4a203 Author: Satish Kumar Date: Fri Oct 18 16:59:00 2002 +0000 fix-quota-calcs-with-unsigned-20021018 Change some ints to unsigned for correct quota calculation. From Gregory via Satish Kumar. commit 840b977dba0efceaf1937d24cb46ef75337c8faf Author: Jim Rees Date: Fri Oct 18 00:04:56 2002 +0000 openbsd-fix-20021017 Fix another merge screwup on my part. Sorry. commit 141c26f78ece33d87c5b4da750c902dc7f759839 Author: Chaskiel M Grundman Date: Thu Oct 17 02:50:40 2002 +0000 volserver-dont-deal-poorly-with-fssync-blockage-20021016 The attached patch attempts to deal with the issue that the volserver blocks if the fileserver's fssync interface isn't responsive by doing a select (IOMGR_Select) before trying to read the server's response. commit f0b8a1c61d7e25f7f55f1f83485778c069a2fcdc Author: Jim Rees Date: Wed Oct 16 20:57:27 2002 +0000 restore-osi-msg-20021016 Put back osi_Msg. It got lost in the merge. Hey, if I never made mistakes, I'd never get anything done. commit 1a8c712ae1bd0a563bc63670f734ef981180ae29 Author: Jim Rees Date: Wed Oct 16 20:42:38 2002 +0000 rx_securityClass-20021016 Back out my previous change, and instead declare struct rx_securityClass here. Thanks to Derek Atkins for this excellent suggestion. commit b68affbc6cfa906dd931be04d814c284b5110319 Author: Jim Rees Date: Wed Oct 16 18:48:47 2002 +0000 openbsd-20021016 Fix includes for mbuf.h, if.h auth/cellconfig.p.h: Use (void *) for 2d arg to afsconf_ClientAuth(), since we have no def for struct rx_securityClass at this point ==================== 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. ==================== More OpenBSD merge prototypes cleanup commit 782109a29bd751a7681e3a31aeaa077e880208c3 Author: Nathan Neulinger Date: Wed Oct 16 04:58:13 2002 +0000 no-copy-libafs-builds-20021015 make things so file copies from src/libafs don't happen; change how libafs_tree is done commit 695bf4bd6f123a33e433c41d0f95db1e2c83e568 Author: Derrick Brashear Date: Wed Oct 16 04:03:51 2002 +0000 solaris-build-translator-kernel-module-20021015 make libafs.o get built on solaris commit 48c005a4670a8e9ea9079bfc9aeb189ccbf14a2a Author: Derrick Brashear Date: Wed Oct 16 04:00:48 2002 +0000 solaris-nfs-translator-expand-macros-and-cleanup-20021011 trying to get this to work ==================== 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. ==================== make it not go down in flames ==================== fix nfsv2 also ==================== looks like we need to do this when we create something new also ==================== cast correctly. ==================== and add in some fstrace crap which afs_trace.et already had commit 69edd3e06b5606eecdb5ad08a88870e50376d6b3 Author: Jim Rees Date: Mon Oct 14 23:13:45 2002 +0000 fix-dir-voids-20021014 Revert some voids back to char. I was too ambitious. Thanks to kolya for pointing this out. commit 393fc0d046334b85e638f6db88bc0469367eb928 Author: Jim Rees Date: Mon Oct 14 16:48:40 2002 +0000 openbsd-20021014 More OpenBSD merge. Most of this is just cleanup, not OpenBSD specific. commit a64d9d729db65d1d0f81fb6352399763c38580c8 Author: Jim Rees Date: Mon Oct 14 15:41:16 2002 +0000 dir-char-to-void-20021014 Change a bunch of (char *) to (void *) commit 7aebf2b2ea68668482edaefedd4efa5cafa61edd Author: Nickolai Zeldovich Date: Sun Oct 13 10:01:02 2002 +0000 If the user calls rx_EndCall and we still have an outstanding delayack, force-send it now, to be nice to the server (otherwise the server will keep retransmitting to us for a while). commit 73579f285f5e3d5a4df5ec9e14e1aac6aecf8477 Author: Jim Rees Date: Fri Oct 11 22:43:14 2002 +0000 openbsd-20021011 More OpenBSD merge. commit fa0d85ce03b05fba81f880abac4197fe8bc75776 Author: Nickolai Zeldovich Date: Fri Oct 11 01:50:40 2002 +0000 Undo part of openbsd-20021010 which changes ReSortCells_cb, and have it return (void *) NULL instead, which is necessary to tell afs_TraverseCells to not stop the traversal. commit 3ce7e41622175cf73ef129426880e77969efe7f3 Author: Jim Rees Date: Thu Oct 10 23:45:14 2002 +0000 openbsd-20021010 More OpenBSD merge. commit 9031c3b7d33ce5e413fcfc8dadd0d01c37c4c062 Author: Jim Rees Date: Thu Oct 10 22:22:45 2002 +0000 netsend-proto-and-obsd-includes-20021010 Put in a prototype for osi_NetSend(), and try to fix all versions of rx_knet.c. Sorry if I broke yours. Fix includes for OpenBSD. commit 2d182a7fc1aa17bce1f63164944995663f567c12 Author: Nickolai Zeldovich Date: Wed Oct 9 23:36:54 2002 +0000 A better way to do cross-cell-only fakestat, which should also avoid problems with Linux's attribute validation. commit 0c4ee80a72d058265b291f82c819bc3631ed1813 Author: Jim Rees Date: Wed Oct 9 19:25:54 2002 +0000 openbsd-continues-20021009 More OpenBSD merge. Please let me know if this breaks other architectures. commit 41c2b9aa17ae5c19fb2acf4c200c57630fd08490 Author: Jim Rees Date: Wed Oct 9 16:57:18 2002 +0000 no-stddef-in-kernel-20021009 Don't include stddef.h in the kernel. Untested except on OpenBSD, but I warned the mailing list. Let me know if this breaks your favorite sysname. commit 5714e09b3416bedd3833357b356063eeafb83029 Author: Derrick Brashear Date: Wed Oct 9 16:54:48 2002 +0000 fileserver-cbs-raise-limit-by-killing-goofy-u-short-indexing-20021008 i probably missed something here. ==================== 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. ==================== i did miss something. also, change FileEntry padding and axe useless comment ==================== try, try again ==================== once more with feeling ==================== make typing of the indexes into timeout[] match ==================== make struct CallBack a multiple of 32 bit so the weird math works again commit 56e095daea32028fa58a043370e9b7fd9120dd87 Author: Hartmut Reuter Date: Wed Oct 9 02:02:47 2002 +0000 aix51-support-20021008 aix 5.1 support, not yet ready for prime-time commit 32c2d6f846a8596273796893c8c16be36d564304 Author: Derrick Brashear Date: Wed Oct 9 01:54:48 2002 +0000 osi-wakeup-return-zero-on-doing-a-wakeup-20021008 based on patch submitted by reuter@rzg.mpg.de, but i actually ported it to all platforms. commit b0e51e2993d3775ac5ebf26c2b851b2e316aea11 Author: Jim Rees Date: Tue Oct 8 18:48:42 2002 +0000 curcred-20021008 Add osi_curcred(). Re-format a bit for readability. commit 3266003c5dd98c9698498322d33320c715953832 Author: Hartmut Reuter Date: Tue Oct 8 05:15:48 2002 +0000 aix51-support-20020926 aix 5.1 support, not yet ready for prime-time commit 4c9b36395b1ff4aea48c4f07ade6fdd3e5c59658 Author: Nickolai Zeldovich Date: Mon Oct 7 10:29:45 2002 +0000 Make cmdebug -addrs work on platforms other than Solaris. commit f0c7fe9ee1d07d50fe9f53598f36d42e365f0d89 Author: Nickolai Zeldovich Date: Mon Oct 7 00:00:14 2002 +0000 Change the meaning of the -fakestat switch to only enable fakestat for cross-cell mountpoints. The -fakestat-all switch can now be used to enable fakestat for all mountpoints (old behavior). commit 6e3fd8294f46ba7072b47dfaf6a50fe1ce60ea61 Author: Nickolai Zeldovich Date: Sun Oct 6 23:58:32 2002 +0000 Add JUAFS to the list of things that make clean should remove. commit cee427e1587ee09bbaf38e54f30c73931a4f2a77 Author: Jim Rees Date: Thu Oct 3 22:44:46 2002 +0000 openbsd31-cm-20021003 OpenBSD 3.1 changes for the cache manager eliminate some unused variables commit c6da165252c61a2328837d13c4463026d47a45c0 Author: Derrick Brashear Date: Thu Oct 3 22:24:08 2002 +0000 fileserver-may-not-have-valid-diskDataHandle-if-volume-was-offlined-20021003 also avoid potential null deref in ih_open but with the ReadVolumeHeader patch we should never get there. thanks to Kris Van Hees for discovering this commit a93b71cb03c8c5aa9a7a11d5e02340baa2753443 Author: Nickolai Zeldovich Date: Thu Oct 3 01:42:43 2002 +0000 Clean up the #ifdefs around getuerror calls: change KERNEL_HAVE_SETUERROR to KERNEL_HAVE_UERROR, and use that for both setuerror and getuerror. commit 2d2660f2764733fb3196342d19a19fd24009295b Author: Jim Rees Date: Wed Oct 2 22:48:49 2002 +0000 unused-vars-20021002 remove (some) unused variables fix a few compiler warnings this is part of OpenBSD merge commit 1529f89e665a82d4a1d5256dd5a269d3a5bb0cb7 Author: Jim Rees Date: Wed Oct 2 22:45:19 2002 +0000 openbsd-mbuf-before-in-20021002 include mbuf.h before in.h let me know if this breaks anything commit 8bdd971cb7072541b144052ee767bd4e4b43b3c2 Author: Jim Rees Date: Wed Oct 2 16:58:18 2002 +0000 openbsd31-cm-20021002 OpenBSD 3.1 changes for the cache manager eliminate some unused variables commit 74ad450bc202101b99923e18828073ee7208320c Author: Nickolai Zeldovich Date: Wed Oct 2 01:48:51 2002 +0000 Return EINVAL when the user tries to create a FIFO under afs, instead of silently creating a regular file. commit f0affe7c25df43ae5469a3cc0f1bebdfb7f46856 Author: Nathan Neulinger Date: Tue Oct 1 19:09:40 2002 +0000 linux-dcache-flushing-experimental-20020819 fix missed ref commit b057c86118ffd67149f76ceec36dc5e49dc79417 Author: Mattias Amnefelt Date: Tue Oct 1 10:51:09 2002 +0000 dux51-support-20021001 this was missed. oops. commit 06690bd19c648e407f045f583cdf217cd3c822c5 Author: Love Hörnquist-Åstrand Date: Tue Oct 1 10:50:26 2002 +0000 configure-check-for-timegm-20021001 check for timegm. lha needs it for rxkad but it's "safe" commit d04a30d76b7b55aef7ec7463a6b0ba3cbc06b08a Author: Derrick Brashear Date: Tue Oct 1 04:32:22 2002 +0000 solaris-dont-truncate-inode-number-20020930 if ino_t is a larger type than afs_int32, we lose bits, then treat it as if nothing happened... commit aab137dc718178a7648b2360a131861ccbba1121 Author: Nathan Neulinger Date: Mon Sep 30 20:36:44 2002 +0000 hpux-rx-cleanup-20020930 make the hpux client work commit f2da23bb02ed285cf89e3e7be08318085ee7841c Author: Nathan Neulinger Date: Mon Sep 30 20:29:10 2002 +0000 lock-header-cleanup-20020930 make sure we include what we mean to commit 0b8ff6366f0bb052afeb25b2bc5f7689c0dbc819 Author: Derrick Brashear Date: Mon Sep 30 20:25:29 2002 +0000 completion-deal-with-redhat-patch-20020930 just include the header directly if we caN commit a55923e8f3e21a0c810cc41ccca92d95ea11b15e Author: Nathan Neulinger Date: Mon Sep 30 20:23:36 2002 +0000 hpux-bin-is-a-symlink-so-install-elsewhere-20020930 update install commit 729ec68bf6c2d51d8738524149dba613fce9094f Author: Nathan Neulinger Date: Mon Sep 30 20:21:40 2002 +0000 handle-cow-differently-if-volume-wont-be-salvaged-20020930 as edited by shadow@dementia.org commit ab0716fb86698506f0cfaf9b7c1e751e5a68bc8d Author: Derrick Brashear Date: Mon Sep 30 19:38:11 2002 +0000 wakeup-only-returns-int-on-aix-20020930 reported by several people. commit 41ea527e539e94654c184b1ad03a6ba95eb40b9b Author: Derrick Brashear Date: Fri Sep 27 01:51:47 2002 +0000 hpux-updated-rx-kmutex-from-ibm-20020926 as provided by Srikanth Vishwanathan commit 30d558bfc576bcd9fa78451c0efc9f3c9678b710 Author: Nathan Neulinger Date: Fri Sep 27 00:42:32 2002 +0000 hpux-kmutex-cleanup-20020926 clean up missed and won't-compile stuff commit 7e631080a0ddba96859b6be54f4a70182b1c17e8 Author: Derrick Brashear Date: Thu Sep 26 20:48:30 2002 +0000 hpux-rx-kmutex-h-20020926 basically verbatim import from ibm afs, per laura stentz: Derrick, I have gotten approval to allow you to publish this header in OpenAFS. Enjoy! Laura commit ad0d7bdbc65daa99ee586c9f8875bb59c2c4d0b6 Author: Mattias Amnefelt Date: Thu Sep 26 08:13:06 2002 +0000 tru64-51-gets-a-sysname-20020926 the binaries from 5.0 don't work, so... commit a6216b35ea93e41dac5082441b984a7e1a7b1800 Author: Nathan Neulinger Date: Thu Sep 26 08:09:14 2002 +0000 xdr-build-ours-entirely-20020926 If we're doing our own xdr, we should be doing ALL of of own xdr, not piecemeal. This impacted on HP w/ duplicate symbols if -lnsl, and missing symbols if no -lnsl. commit fa79ecc4040633eb6b1f5498e7d083b2f94917d5 Author: Nathan Neulinger Date: Thu Sep 26 08:07:07 2002 +0000 shlib-linker-handle-objdir-builds-on-solaris-20020926 at least he notices when i screw this up commit 3cc1ea60a32f5008873450da36f1ead5bd8c07b5 Author: Hartmut Reuter Date: Thu Sep 26 08:01:05 2002 +0000 aix51-support-20020926 aix 5.1 support, not yet ready for prime-time commit fee78214f69ae4895e47e3c9b70e354646c154b6 Author: David Howells Date: Thu Sep 26 07:39:46 2002 +0000 linux-init-rwlocks-20020926 init linux rwlocks we missed before commit f5e96f747edc8674b6bf529b9c88d07799d9b10c Author: Nick Ingolia Date: Thu Sep 26 07:33:16 2002 +0000 linux-pag-deal-with-no-groups-20020926 If ngroups in the parent is 0, but the first two elements of the groups array represent a valid PAG (perhaps because they weren't zeroed), then set_pag_in_parent won't add 2 to ngroups and the parent process won't join the PAG. commit b8f10c45be99dbd3eb80005a804b123b8ba7ad21 Author: Garry Zacheiss Date: Thu Sep 26 04:47:32 2002 +0000 Recognize MacOS X 10.2.1 as ppc_darwin_60. It's compatible. commit 0f11456aa1b425c1418efff13fb821a26fbc117f Author: Kris Van Hees Date: Thu Sep 26 03:57:34 2002 +0000 salvager-dont-mask-uniq-comparison-in-vnodes-only-in-inodes-20020920 the masking operation is for inodes when using "inode spares" fields which overflow, not for vnode operations. ==================== 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. ==================== remove an extraneous right paren commit d18fd91f9d074759adba7ef7ea0c192e82205a04 Author: Garry Zacheiss Date: Thu Sep 26 00:38:28 2002 +0000 Update NEWS file with user visible changes and other noteworthy things about OpenAFS 1.2.7. commit 7439ca3b79ecb4a1e518f38fd2ce4e6a57a6e15b Author: Jim Rees Date: Fri Sep 20 17:32:11 2002 +0000 update-openbsd-31-20020920 update OpenBSD to 3.1 commit abe77a507ad6c7185b38b9948d58edcf58568db3 Author: Derrick Brashear Date: Sat Sep 14 00:52:57 2002 +0000 nfs-trans-comment-unused-variables-20020913 make solaris xlator module load commit 33ada3676c4be83dc22cd7765e3904fe7c9377c6 Author: Derrick Brashear Date: Fri Sep 13 03:48:45 2002 +0000 rxkad-client-offer-better-bad-token-warnings-20020912 if it's too large to be a valid token, offer a useful error. commit a0154cf196b54c411e2fa47cf36f5fe5af45746e Author: Derrick Brashear Date: Wed Sep 11 17:15:31 2002 +0000 linux-use-kernel-threads-and-completions-if-possible-20020911 configure glue is all my fault ==================== 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. ==================== with minor rewriting by shadow@dementia.org ==================== rest of the configure glue ==================== fix ifdef to encapsulate correct code ==================== fix ifdef ==================== and deal with change to afsd ops ==================== sys_exit not exported everywhere commit 8790c0759c5c920fce035945a9d2fdd05fa9a75d Author: Michael Niksch Date: Wed Sep 11 09:16:06 2002 +0000 aix-namei-fileserver-fix-20020911 make namei fileserver work on aix commit bbca5d8b08cb02a7f7b15fd4ea6d757282e99460 Author: Derrick Brashear Date: Wed Sep 11 08:19:57 2002 +0000 ptserver-acl-dumpentry-to-disallow-access-based-on-record-20020911 tighten up acl enforcement commit 14ace2e2a94d6c4e6888e4794226adc65376c536 Author: Nathan Neulinger Date: Tue Sep 10 22:41:18 2002 +0000 parisc-linux-kernel-headers-20020909 link in stuff from asm commit 2656f417935a906a95bc07d401229405e8e5d9bd Author: Derrick Brashear Date: Tue Sep 10 05:00:52 2002 +0000 evalmountpoint-save-stack-20020909 use "small" memory pool instead of 128 bytes off the stack commit a0e5dcbe59f948725f54788e8e6fee51d49ea8d1 Author: Derrick Brashear Date: Tue Sep 10 02:12:54 2002 +0000 shlib-updates-20020909 based on reports from nneul@umr.edu ==================== 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. ==================== fix dest for real ==================== based on reports from nneul@umr.edu ==================== based on reports from nneul@umr.edu ==================== fix link lines for real ==================== install everything in toplibdir commit 3226a5dba2a8d257ea6c32173740b1c0b307d829 Author: Nathan Neulinger Date: Tue Sep 10 00:43:24 2002 +0000 parisc-linux-lwp-update-20020909 gets all the test cases working commit 63f25df3ef6cf6f851b8e184510eb49b06441653 Author: Derrick Brashear Date: Mon Sep 9 18:00:40 2002 +0000 uss-fix-typo-20020909 reported anonymously commit 5f934052df76327b2dd843744acfb0792a1a3183 Author: Derrick Brashear Date: Fri Sep 6 03:44:03 2002 +0000 revert-kaserver-set-realm-name-in-tgts-20020708 based on feedback from Pavel Semerad fair warning; without this if you live in a world with multiple kdc vendors in the same realm serving the same data you will be sad. so don't. commit ae19912bddf60da101c4e88a78e6a783077d0a59 Author: Derrick Brashear Date: Wed Aug 28 07:05:43 2002 +0000 shared-libafsrpc-and-libafsauthent-20020828 shared library versions of libafsrpc and libafsauthent commit efd9a7e32dc793c45f056be5c796f25db429a054 Author: Derrick Brashear Date: Wed Aug 28 05:30:06 2002 +0000 linux-tasklist-lock-export-detection-20020829 if you don't have a versioned kernel, so sorry. ==================== 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. ==================== add macro i forgot to commit commit a5ab24af71efe6b80eb0f78d1979c5ab1d1e594d Author: Derrick Brashear Date: Tue Aug 27 23:18:50 2002 +0000 pin-function-definition-and-ifdef-cleanup-20020827 define if kernel uses pin/unpin to pin memory; cleanup ifdef usage commit d5aa87a7a54888d8c4c041f676accc199562ed28 Author: Derrick Brashear Date: Tue Aug 27 22:42:25 2002 +0000 cachemgr-setuerror-ifdef-cleanup-20020827 feature-ifdef for setuerror, and clean up where it's called commit b5677719dc204a2b8d039594b8c70bfee3914896 Author: Derrick Brashear Date: Tue Aug 27 21:46:16 2002 +0000 namei-close-directory-behind-us-always-20020827 more or less verbatim as suggested by kolya@mit.edu avoid leaking directory fds if we get an error commit 697feb05a07c280d10e6dd2525d12daa028b47b6 Author: Nathan Neulinger Date: Mon Aug 26 22:04:48 2002 +0000 prototypes-empty-files-to-diff-against-20020826 literally empty commit dab797796ea7ea3b132b60766e95905cdacebdbf Author: Derrick Brashear Date: Mon Aug 26 22:01:00 2002 +0000 packaging-rationale-20020826 why we bothered to put it here commit 7ce0814d3098e43e7533acd9fcf7d0acad10f37e Author: Sam Hartman Date: Mon Aug 26 21:52:02 2002 +0000 debian-packagings-20020826 packagings for debian. commit 200f93ca4ea86f499ab5e82dee11b03f5602631d Author: Derek Atkins Date: Mon Aug 26 21:46:51 2002 +0000 redhat-packagings-20020826 afsmodname actually from jhutz@cmu.edu but i don't feel like committing twice commit 9d55bb0ee5fed23bb74703b3bad3d77a16294fdb Author: Chaskiel M Grundman Date: Mon Aug 26 21:24:11 2002 +0000 packaging-add-macos-bits-20020826 the macos x packaging commit 9f908c7287371750fd7a8adc92fec37de178c7a0 Author: Nathan Neulinger Date: Mon Aug 26 16:48:50 2002 +0000 linux-kdump-cleanup-build-process-20020826 so we don't remake this on each make commit 55e2f743a99c5ce69150bbd1a11090393efe7aef Author: Nathan Neulinger Date: Mon Aug 26 16:47:26 2002 +0000 fs-prototyping-20020826 prototype the fs command source commit e4b7c9513e86e7c823847f828d49b62fc1ceecfb Author: Nathan Neulinger Date: Mon Aug 26 16:46:32 2002 +0000 viced-prototypes-20020826 prototyping for viced/callback.c commit fd901a0154bf792a717c3a099475dd27435f2577 Author: Nathan Neulinger Date: Mon Aug 26 16:45:28 2002 +0000 vos-move-more-diagnostics-20020826 in verbose mode, print better diagnostics commit b7bd80cb28de681a89f8c936de989637b81cc41c Author: Derrick Brashear Date: Mon Aug 26 16:33:03 2002 +0000 rpc-authent-shlib-support-mostly-20020826 necessary bits to build shlibs, except since we can't easily decide when to deal, we don't, yet commit 3b1a964d95c0e47705d0384d95a65927fffaa034 Author: Derrick Brashear Date: Mon Aug 26 15:09:35 2002 +0000 osconf-cleanup-20020826 don't set shlib stuff in makefile fragments. do include sun4_413 in osconf commit 6ffcd27a1ecd0299cda2f45396c88ecd34959e7a Author: Derrick Brashear Date: Mon Aug 26 15:01:19 2002 +0000 libafsrpc-use-our-xdr-for-consistency-20020826 suggested by Srikanth Vishwanathan commit 4b178dacd60932f0b59c50837c514cbd5e30178a Author: Derrick Brashear Date: Fri Aug 23 05:52:56 2002 +0000 prototypes-fixes-20020821 add externs removed and missed ==================== 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. ==================== ok, another try. don't include protosw.h here and let sysincludes.h pull it in ==================== one more missed extern ==================== keep trying... ==================== fix weird redefintion problem with kmem_alloc ==================== can't know this sort of thing (and it's wrong at least sometimes) commit d3d299657a479043228913928c9dfef0d6d47b10 Author: Garry Zacheiss Date: Fri Aug 23 05:38:53 2002 +0000 dux-juafs-make-it-compile-20020823 fix this so make will bother commit 6f7e6bf1127d04c4e70ed13cffbc8d9324c41eab Author: Derrick Brashear Date: Fri Aug 23 05:29:38 2002 +0000 dux-call-flushpages-with-cred-20020823 we weren't passing in creds before. do so. commit c5a2487ea8229713768b6b4ceff26e4ebcfcf767 Author: Nathan Neulinger Date: Fri Aug 23 04:36:29 2002 +0000 hpux-dont-build-login-20020822 don't build login on hpux commit 629d0806549d5b9cff9cd6f8eae50cf11c3e85ac Author: Nickolai Zeldovich Date: Fri Aug 23 04:31:38 2002 +0000 This is mostly a rewrite of src/afs/afs_cell.c, and associated changes to other things. Features of the new cell code: * Persistent name-to-cell-number mapping across reboots, to ensure the cell numbers in the dcache are meaningful. Stored in the new cache file, /usr/vice/cache/CellInfo. * Allow cmdebug to query the cell number to cell name mapping. * Allow clients to have an empty CellServDB as long as AFSDB is enabled and ThisCell has AFSDB records. * The home cell retains the setuid bit even if looked up via AFSDB. * Dynroot gets its own cell, rather than piggybacking on cell 1. * Cell 1 is no longer special; cell numbers are now semi-opaque. * Convert cell traversal code to using GetCellByIndex rather than directly poking at CellLRU / afs_xcell. * Separate cells from aliases, which shouldn't have been the same in the first place. * Cleaner code (IMHO). ==================== 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. ==================== make the arguments afs_CellNumValid takes match the prototype (since it really is a afs_int32 it looks like) ==================== update irix to deal ==================== update irix to deal ==================== Fix some more references to the now-nonexistant cell->index commit 641a84b67b4206e848297cc5d23bcb35bce09b30 Author: Derrick Brashear Date: Thu Aug 22 23:37:11 2002 +0000 prototypes-fixes-20020821 hopefully last of the lwp fun ==================== 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. ==================== make it build on the bsds ==================== nope. this time for sure (more lwp createprocess casting) ==================== clean up osi_UFSOpen prototyping ==================== aix gets bitter at this ==================== fix missed argument ==================== again, aix doesn't like this. so, we don't do it ==================== yup, aix still hates this ==================== dux compiler doesn't like this (i think this one is actually my fault) ==================== already prototyped in rxkad_prototypes.h ==================== causes multiple inclusion of protosw.h which isn't safe on irix. ==================== for some reason you just can't declare the same thing the same way twice ==================== make dux compiler happy. oops. commit c796a743c239aa47c51ff97e846460341bb15f60 Author: Derrick Brashear Date: Thu Aug 22 22:59:12 2002 +0000 dux-force-lex-compatible-lex-20020822 hopefully to correct problem observed by garry zacheiss commit 2a6c074d3c9fd9d8db3ebab89797ec2ecaed8528 Author: Nickolai Zeldovich Date: Thu Aug 22 20:43:30 2002 +0000 Drop GLOCK over the entire loop iterating over the iovec, since it's not needed for any operations performed in the loop (rather than dropping it just for the memcpy inside the loop). commit 8e66ec5e01c0746822dc13c7679bb0a8febd8579 Author: Derrick Brashear Date: Thu Aug 22 19:45:11 2002 +0000 prototypes-fixes-20020821 screw it. if winnt can have generic pointers, so can we ==================== 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. ==================== and cast all the pointers commit 0e05e114a663acc138d1be7d87f2631c3460de40 Author: Derrick Brashear Date: Thu Aug 22 18:53:43 2002 +0000 vsprocs-checkvolume-bug-20020822 if we're going to make a string we should make it where we expect it commit 76aa5ff2186ee28717a25b8d6947046ac14d8770 Author: Derrick Brashear Date: Thu Aug 22 18:02:03 2002 +0000 sunos-support-cleanup-20020822 some things want ucontext.h. leave it there commit 5d36376c07c665b175440e51b03fd85fc58422b0 Author: Nickolai Zeldovich Date: Thu Aug 22 18:01:51 2002 +0000 Add two useful functions for string operations: afs_strdup() and afs_osi_FreeStr(). Will be used by an upcoming patch. commit f840143cd6b672858e121a0fb3dea5e12cb60f84 Author: Nickolai Zeldovich Date: Thu Aug 22 18:00:15 2002 +0000 Make "fs newcell" work even when there are no pre-existing cells in the kernel yet. Previously, newcell tried to issue a GetCell pioctl to figure out what version of the pioctl interface the kernel is using. Lacking such information (if the pioctl returns an error), we now assume the newer interface. commit b1edf891d717ee8e08c0d93738a204cff09cf68f Author: Chaskiel M Grundman Date: Thu Aug 22 17:19:38 2002 +0000 struct-buf-hack-cleanup-20020822 get rid of bogus struct and just declare it commit 0c15f693e39ca405d7c86f7f6df13e58889bf03a Author: Derrick Brashear Date: Thu Aug 22 17:14:14 2002 +0000 solaris-make-cleanup-20020822 avoid make confusion about libafs target commit ab09e39174ba271534398960a7ef494e3af52acb Author: Chaskiel M Grundman Date: Thu Aug 22 01:15:09 2002 +0000 darwin-head-build-fixes-20020821 make the head build on darwin commit da1203ea2026113901f568272f0e5d62856526f2 Author: Chaskiel M Grundman Date: Thu Aug 22 01:13:09 2002 +0000 prototypes-fixes-20020821 fix the following problems - including osi_vfs.h on almost all platforms, even though afsincludes.h already deals with it - universally declaring afs_globalVFS as a struct vfs * - declaring afs_stats_XferSumBytes in a header without a storage class - using afsincludes.h without sysincludes.h - make clean removes a source file in rxkad ==================== 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. ==================== irix needs this, put it back ==================== cast parm argument to CreateProcess ==================== more lwp createprocess fun ==================== more lwp commit d539fb41e523e0ea2f997f3c9747f1814b0375f5 Author: Derrick Brashear Date: Thu Aug 22 01:05:23 2002 +0000 osi-vfs-h-only-on-linux-20020821 based on report from Chaskiel Grundman no osi_vfs.h on anything but linux commit 89f411e22c2d63c78cbd52410ca3e15b8aaf1c4a Author: Chaskiel M Grundman Date: Wed Aug 21 23:07:52 2002 +0000 darwin-updates-20020821 should be correct support for 10.2. also updates for 10.1 commit c6fcaad9e8b7374d0fd5ca579b0559f599b9e0f7 Author: Derrick Brashear Date: Wed Aug 21 22:12:58 2002 +0000 ptserver-catch-empty-idlist-20020831 based on report from joda+openafs@pdc.kth.se consistent with what the opposite transform does commit 6587d225213c9125cb8bfb227647fc5e5511b134 Author: Hartmut Reuter Date: Wed Aug 21 21:57:35 2002 +0000 int64-operator-updates-20020821 Changing the length and offset fields from afs_int64 to afs_uint64 gave strange results for CompareInt64 and SubtractInt64. Therefore it's better to cast the values as signed in these macros. commit f256e25bc830e53900ffce5344fdaac12100891c Author: Nathan Neulinger Date: Wed Aug 21 21:34:28 2002 +0000 eliminate-nested-comments-20020821 cleanup config fragments commit 0ca7613ac4ce16f54931f3702e186a1097c25d87 Author: Nathan Neulinger Date: Wed Aug 21 21:32:19 2002 +0000 viced-provide-way-to-not-retraverse-hostlist-20020821 based on thomas muellers patch commit c928f5e043a9b9f7c911a5c665bb78791659314c Author: Nathan Neulinger Date: Wed Aug 21 21:30:00 2002 +0000 ukernel-updateosi-read-write-for-prototypes-20020821 cleanup commit 6ca8bd974194d3749f29f4f99e9582c6d6ce97bc Author: Nathan Neulinger Date: Wed Aug 21 21:02:02 2002 +0000 volser-prototypes-20020831 vsprocs prototyping commit d4d7befaebb5fb1e4d4cfa9ca6be44852235d1fd Author: Derrick Brashear Date: Wed Aug 21 20:57:45 2002 +0000 linux-22-kernel-support-for-current-state-20020821 based on report from alfw@SLAC.Stanford.EDU commit 9f2a661a98399966735a69ced4b60b68b821c1c9 Author: Derrick Brashear Date: Wed Aug 21 20:49:04 2002 +0000 bosserver-dont-create-unused-directories-20020821 in a build with alternate dirpaths we shouldn't create directories we don't use commit a0938ecaf51febe8cd59327ca9ef993c829612f0 Author: Love Hörnquist-Åstrand Date: Wed Aug 21 20:33:15 2002 +0000 print-cause-of-bosserver-whining-20020821 instead of a vague error be slightly more useful commit 4b148570b3d975986221710574c99e49840e3f26 Author: Nathan Neulinger Date: Wed Aug 21 20:26:15 2002 +0000 volser-vsprocs-call-enumerateentry-correctly-20020821 prototyping caught this commit 808369b9693bea613ba998e700ec764638b6d54f Author: Jeffrey Hutzelman Date: Wed Aug 21 20:19:28 2002 +0000 sunos4-port-20020821 This patch adds support for building OpenAFS user-mode code on SunOS 4. It does not include libafs, ulibafs, or any code that needs to understand the filesystem layout (so, no vfsck, and while the salvager will be built, it won't work). commit 641beba860a8f4f47e6ca54ee8c3415d01986337 Author: Derrick Brashear Date: Wed Aug 21 20:04:05 2002 +0000 uuid-update-copyright-info-20020821 apply copyright info from arla. commit 2a2e9b82681047239fd0fe84d0cef144411a1e9d Author: Derrick Brashear Date: Wed Aug 21 19:58:18 2002 +0000 modernize-bozo-20020821 convert to protoized declarations in the bosserver deal with InitBnode malloc failures commit 8f2df21ffe59e9aa66219bf24656775b584c122d Author: Nathan Neulinger Date: Wed Aug 21 19:52:17 2002 +0000 pull-prototypes-to-head-20020821 pull up prototypes to head commit ba5ed52c8740ac78dd062667b6de580b3907d409 Author: Derrick Brashear Date: Wed Aug 21 16:43:29 2002 +0000 bos-fix-restart-usage-message-20020821 as suggested by Turbo Fredriksson restart does not default to all commit ae3e679ab0163560a29ca51eec77a2c897a8f216 Author: Derrick Brashear Date: Wed Aug 21 06:52:18 2002 +0000 realcellindex-fix-allocation-20020821 fix comparison and the double allocation it uncovers commit 847a5af3beea35af5f80078a8b24f01582f53824 Author: Nickolai Zeldovich Date: Tue Aug 20 22:39:31 2002 +0000 Allow users with admin bits to store different user/group IDs along with a StoreData call; they can already do so anyway by using StoreStatus. Fixes a spurious permission denied error with arla clients. commit 3d0874aa14d8e4fc72be703593b27f2f003a7ebe Author: Chas Williams Date: Mon Aug 19 23:06:02 2002 +0000 linux-dcache-flushing-experimental-20020819 shadow@dementia.org at least partly to blame. hold the dcache lock only briefly; instead put dcache entries to be junked onto a free list, by unhashing them, then grab the dcache lock, junk them, and release it. commit e9ec286d9b2dbe7607cd79ff7cfe35cdeef521ae Author: Chas Williams Date: Mon Aug 19 22:52:52 2002 +0000 linux-dentry-revalidate-lock-kernel-20020813 avoid potential race for shrink_dcache_parent/d_drop smbfs and nfs do equivalent. ==================== 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. ==================== avoid potential race for shrink_dcache_parent/d_drop smbfs and nfs do equivalent. slight rework to avoid holding glock in a way which could deadlock us commit f6462eac361ba2bddf5b84cdb7861f7ca482caba Author: Garry Zacheiss Date: Mon Aug 19 19:53:34 2002 +0000 Don't return ELOOP when crossing a mountpoint boundary from a BK volume to a BK volume. find treats it as a fatal error, and it's annoying not to be able to naively use find to recurse through a volume with its backup volume mounted. Never noticed this before because we used to ignore this return value. Return ENODEV instead. commit 9a871520c951db8f68b7b08acc26de5ffe8b5f57 Author: Love Hörnquist-Åstrand Date: Sat Aug 17 17:19:18 2002 +0000 An unintentional change accidentally leaked out when the rx-avoid-using-newproc-on-solaris-20020812 delta was checked in. Undo it, since it breaks things. commit 1371bb1bec811b2671f5bd7652616e9180c52517 Author: Harald Barth Date: Thu Aug 15 22:10:23 2002 +0000 compiler-autoconf-tests-20020815 attempt to find compilers we like commit 5a7fa71c8613589c1c38d1d7723d72221818017f Author: Derrick Brashear Date: Wed Aug 14 22:18:34 2002 +0000 pioctl-write-null-before-copyout-20020814 suggested by lha@stacken.kth.se commit 8c2edd9de637404f0f3b940f81a248105376068f Author: Nathan Neulinger Date: Wed Aug 14 02:24:59 2002 +0000 solaris8-param-cleanup-nested-comments-20020813 get rid of nested comment commit 1a8355845a2dbf97afb3df60d676cd5bd829fa72 Author: Nathan Neulinger Date: Wed Aug 14 02:22:09 2002 +0000 kdump-sh-objdir-build-fix-20020813 make objdir build that i keep breaking work again. commit abc490d0fcdc35959bbe2b092e19beae9a22f492 Author: Nathan Neulinger Date: Wed Aug 14 02:21:23 2002 +0000 venus-owntest-cleanup-20020813 exit with errno on failures commit b375c306aa065b203d02154b82b360554ba66845 Author: Harald Barth Date: Tue Aug 13 20:07:44 2002 +0000 solaris-find-valid-cc-for-compiling-kernel-20020813 configure test to find solaris cc since we can't (yet) compile kernel module with gcc on solaris. commit 7dc3c1a6eaea17ab38b86233c4438e1a6096c334 Author: Nickolai Zeldovich Date: Mon Aug 12 22:32:39 2002 +0000 Fix a vcache refcount leak in afs_root() on all platforms. commit 5d3545610b83905e220d18c948d0fc621db851a5 Author: Nickolai Zeldovich Date: Mon Aug 12 22:31:03 2002 +0000 Second attempt at avoiding the use of newproc() on Solaris. This time, use thread_create to spawn a kernel thread, and use a dummy packet to wake up the listener during shutdown. commit f16544d04aee46a1ac8995990c71f5bde37d8bc7 Author: Nickolai Zeldovich Date: Mon Aug 12 22:29:28 2002 +0000 Only put xdr_int64.o on the linker's argument list once. It's already listed in Makefile.common.in, so no need to specify it again. commit 85db3fa42563065d9f721be07f93eeffb789d22b Author: Nickolai Zeldovich Date: Mon Aug 12 22:27:51 2002 +0000 Don't print out-of-range index error messages when all it means is that we've reached the end of the server list. commit 2bde78fdac01380a359b6e6a8c466757553f846f Author: Derrick Brashear Date: Sat Aug 10 07:32:21 2002 +0000 linux-symbol-export-test-20020810 test for tasklist_lock being exported discussion on openafs-devel to follow commit 38025e06508a7a83247ca4f8957fb8e5f32dec78 Author: Derrick Brashear Date: Sat Aug 10 07:31:13 2002 +0000 linux-gcpags-smp-safeness-20020810 hold tasklist_lock in the right place. doesn't yet address versions which don't export it. commit 3e6640e96dfee36cc302428d71f5de210f67be5f Author: Nickolai Zeldovich Date: Fri Aug 9 22:15:12 2002 +0000 Set the maxfilesize rlimit to infinity while writing to cache files to avoid potential truncation if the user's rlimit is too low. This bug likely also exists in AIX, DARWIN, DUX, FBSD, HPUX and NBSD, but surprisingly IRIX got this right. commit caeecc241e6b4133009e9997cba4e4f259c33e60 Author: Derrick Brashear Date: Thu Aug 8 19:46:13 2002 +0000 netinfo-support-fake-ips-for-nat-20020808 basically verbatim from Todd DeSantis, cleared for release by IBM commit 08c2c637ab0acda9b1319333d74850214dd5917d Author: Chas Williams Date: Tue Aug 6 20:49:00 2002 +0000 Clean up the prefetch code for Linux, by calling afs_PrefetchChunk directly rather than changing the ifdef's in afs_UFSRead. commit f4d6cdd26c8b3a4db9ff2c13588c7c9c6ebd2f5b Author: Charles Clancy Date: Tue Aug 6 19:58:02 2002 +0000 pam-afs-man-page-20020806 our first real man page. now, we just need a few hundred others. commit fa729e7694d8d2a7694621542ddce6e212050599 Author: Nickolai Zeldovich Date: Tue Aug 6 19:21:54 2002 +0000 Fix some of the things that break compilation on Windows. commit 61442535baca5f81fee3dc3ed59227678b481277 Author: Derrick Brashear Date: Mon Aug 5 23:07:12 2002 +0000 vos-listaddrs-avoid-holes-in-index-20020805 index may have holes in it, so make sure we actually walk over the number of entries we expect commit b8c94524a3f9df86306cf4f4d9d326979b6f9683 Author: Hartmut Reuter Date: Mon Aug 5 22:03:34 2002 +0000 dcache-fix-alen-miscalculation-bug-20020805 *alen was being calculated wrong in GetDCache also fix fstrace items commit e2253172104e23b9c80de5e69a6af2564e599dd1 Author: Garry Zacheiss Date: Fri Aug 2 08:01:04 2002 +0000 Update NEWS file with user visible changes in 1.2.6. commit 61a3c91d476ea1f2803bc6a9a798146bcf3394c3 Author: Garry Zacheiss Date: Fri Aug 2 03:41:22 2002 +0000 Include xdr.o and xdr_array.o in librx, to pick up xdr fix. commit 14dc5dfa08cfe64f9abd3e5d98a5e6dc08f69736 Author: Chas Williams Date: Thu Aug 1 19:08:13 2002 +0000 Clean up partial write support on Linux by calling afs_DoPartialWrite from afs_linux_writepage_sync. commit 9e06544249bf6a536c3f3f26048f6809b36b0772 Author: Chas Williams Date: Thu Aug 1 17:11:35 2002 +0000 linux-alloc-dont-drop-what-you-dont-have-20020801 avoid trying to drop a glock we don't have commit fb6d2422f3b0b9ee756def4d91f11983fd767ad0 Author: Garry Zacheiss Date: Thu Aug 1 04:33:12 2002 +0000 Add a prototype of afs_GetRealCellByIndex to fix Irix build. commit 49e0c6409a92e707901139789ca79d11a8aa8a67 Author: Garry Zacheiss Date: Thu Aug 1 03:45:06 2002 +0000 Include errno.h so this compiles again. commit 2d6ebd0cda81cff70a22a4393aaf58c5b7ccbb2e Author: Jeffrey Hutzelman Date: Thu Aug 1 00:13:09 2002 +0000 xdr-updates-20020731 update xdr so internal variables match what's being passed in commit aea332588be791dd79c467e727621be382d18a21 Author: Derek Atkins Date: Wed Jul 31 23:41:02 2002 +0000 linux-start-if-dynroot-even-if-no-network-20020731 if we start with dynroot, dont worry if we have net or not commit 6c5439b80934cd6e3f0539a07874c3bda18d676d Author: Jeffrey Hutzelman Date: Wed Jul 31 23:35:09 2002 +0000 deal-with-linux-EAGAIN-returns-when-receiving-20020731 sometimes you get EAGAIN from recvfrom, apparently if a packet comes in with a bad checksum for instance. we should deal better. commit 4d75219bedc12833c6265b6e018e6455aa88921c Author: Chas Williams Date: Wed Jul 31 23:29:38 2002 +0000 linux-alloc-drop-glock-if-we-can-20020731 if we can drop the glock, do so. allocate up to PAGE_SIZE with kmalloc before switching to vmalloc commit f2ab9fd440bcccb34e7875c06e00136fbefc10d1 Author: Derrick Brashear Date: Wed Jul 31 23:15:16 2002 +0000 afs-getcell-pioctl-should-be-able-to-provide-complete-list-20020731 don't use the LRUq since it can make us miss cells. don't use the existant index because it includes cell aliases commit f063c0db2109b3e089c54b4c6dd948bbd72a0ab1 Author: Derrick Brashear Date: Wed Jul 31 22:54:41 2002 +0000 linux-note-we-use-interruptible-sleeps-in-non-compliant-manner-20020731 based on discussion with David Howells of RedHat commit 6c9fd25ae779bc092b9c1eb531d08483b4a96a53 Author: Nickolai Zeldovich Date: Wed Jul 31 19:43:31 2002 +0000 fix-fakestat-support-for-hardlinks-20020731 made afs_vnop_link.c not compile under Sun's cc, since it tried to take the address of a register variable. Don't declare the arguments as register. commit 6122876cafab6ac3d6819ed03b8db491d7c2e6ff Author: Hartmut Reuter Date: Wed Jul 31 17:41:24 2002 +0000 aix-make-ukernel-build-20020731 make it compile under aix commit 59741a821caec4ed83b87dcadbd4771e8d181c38 Author: Nickolai Zeldovich Date: Wed Jul 31 14:43:17 2002 +0000 Support afs_link() in volume roots when using fakestat. commit 4b2be9588b87feecd0124cec9014b4a9b3c6933a Author: Chas Williams Date: Tue Jul 30 20:34:32 2002 +0000 Enable afs_DoPartialWrite() and afs_PrefetchChunk() in afs_UFSRead and afs_UFSWrite for Linux; fixes deadlock condition for small cache sizes. commit e9a6a539449ff3144169aa8ca5fc38bab613ab53 Author: Nickolai Zeldovich Date: Mon Jul 29 23:48:39 2002 +0000 Remove two unnecessary casts that prevented compilation on Linux 2.2. commit f9677cc5d0025b4cef84bb1e24004a1bf7b6cb9b Author: Nathan Neulinger Date: Mon Jul 29 21:45:50 2002 +0000 afs_PutVCache() takes a second argument, although it doesn't get used. commit 4e13acfe3baa1bd6c7973e7c8b9f73a2dd57db04 Author: Nickolai Zeldovich Date: Mon Jul 29 21:03:36 2002 +0000 Support empty CellServDB entries like arla; this is useful to tell dynroot about the existence of a cell without hard-coding the server list (it will be fetched from AFSDB). commit b8ebb1a225c55f38aa2a59b1ffd77c2bdc06ff9f Author: Nickolai Zeldovich Date: Sat Jul 27 19:06:08 2002 +0000 Re-encode struct fcntl back into Linux's struct file_lock so that fcntl(F_GETLK) returns proper values to the user. commit 094adf6b12f3461a7f0ea4ec0a9f268c0c50336b Author: Derrick Brashear Date: Fri Jul 26 21:55:13 2002 +0000 solaris-nfs-module-updates-20020726 make it compile again commit 07a4570310f6bdddbe07ffccb3ece579ff4bdff8 Author: Tino Schwarze Date: Fri Jul 26 21:38:41 2002 +0000 cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726 fix operator precedence bug commit 9d8ad37ced11afac107a2b7d8d1bd95c7e1aa9f8 Author: Nickolai Zeldovich Date: Fri Jul 26 21:27:55 2002 +0000 Verify that afs_GetCellByIndex() returns a valid cell -- it might be NULL if afs_NewCell() aborted partway through, which could be the case of the CellServDB file has a typo. commit 77efb238b1a1cfe347d822322b7cc5c7a8ff110a Author: Charles Clancy Date: Fri Jul 26 06:56:04 2002 +0000 pam-multi-cell-support-20020725 "will let you do something like: auth optional /lib/security/pam_afs.so cell other-cell.domain.net auth sufficient /lib/security/pam_afs.so try_first_pass refresh_token \ cell main-cell.domain.net auth required /lib/security/pam_unix.so You need to specify "refresh_token" the second time you call it to prevent it from getting a second PAG and making your first token useless. Or, you can just use it once to authenticate to a cell other than what's in /usr/vice/etc/ThisCell. Not specifying the "cell" argument causes the expected behavior of authenticating against the local cell." commit 2ee7d7e0fbd4c082e7ee60db792976517a96523a Author: Jeffrey Hutzelman Date: Fri Jul 26 06:45:51 2002 +0000 vos-examine-print-extra-stuff-if-so-compiled-20020725 the --enable-full-vos-listvol-switch configure switch also compiles in this extended vos examine info commit 6738516b5336475fbd69872d5d23c2ea44434a44 Author: Manuel Pereira Date: Fri Jul 26 06:33:59 2002 +0000 jafs-library-20020725 Java API work commit 595f9ae4334f1dcf665944b8e6493a4f82855d13 Author: Ryan Lantzer Date: Fri Jul 26 06:09:56 2002 +0000 windows-no-more-files-workaround-20020725 work around erroneous "no more files" error in winnt client commit fd2cb884e24b5bf48392db4222ee10125014a3ee Author: Rainer Toebbicke Date: Fri Jul 26 05:58:39 2002 +0000 tbutc-uses-not-thread-safe-status-20020725 "The multithreaded butc (src/tbutc/butc) includes bucoord/status.o, which is compiled together with the other bucoord stuff without MT_CFLAGS and hence without AFS_PTHREAD_ENV defined. Alas, it uses ObtainWriteLock and other macros out of lock.h which *are* sensitive to AFS_PTHREAD_ENV. Consequently, butc can hang trying to acquire the statusQueueLock when dumping volumes, in particular if 'backup status' commands are issued frequently. A proper fix would probably be to push some of those macros out of lock.h and make them subroutines in lock.c. A quick fix is ensuring status.c gets recompiled in tbutc/Makefile.in" commit efbaa07c990df1bd190bbc4851535810a4eeb208 Author: Chas Williams Date: Fri Jul 26 00:37:51 2002 +0000 linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725 try to become less invasive about dcache child flushing commit fc71eb6e255b6d2bc1d24e9aae799329c675ec49 Author: Chas Williams Date: Fri Jul 26 00:29:52 2002 +0000 linux-cleanup-rx-cv-locking-20020725 cleanup wait queue usage grab glock before mutex (like all other ports) commit 0f4021128e1016ec9a6fea3a52f47e616fcb2022 Author: Chas Williams Date: Fri Jul 26 00:11:30 2002 +0000 linux-hold-glock-across-dentry-trace-entries-while-tracing-20020725 this is actually rather scary commit 0e53c862c31f5d122471b55699b0df0f8e4e7f94 Author: Chas Williams Date: Thu Jul 25 21:45:10 2002 +0000 revert-linux-use-d-prune-aliases-instead-of-try-dcache-children-20020725 not currently safe on smp kernel uniprocessor systems for some reason. revert. also fix unlock/dget ordering to be consistent commit 77b1a76e47948422c7797de2ac27f3a121aa8806 Author: Nickolai Zeldovich Date: Tue Jul 23 00:04:22 2002 +0000 Work around MacOSX Finder's behavior by returning ENOENT when the user tries to look up Contents or .DS_Store in an uncached volume root. commit fbb81cb4ed02a8b9a41657d7ebfdb26b73bdf935 Author: Nickolai Zeldovich Date: Mon Jul 22 22:23:43 2002 +0000 Correctly check for 32-bit file size limitations on Solaris; the MAXOFF_T value changed from 32-bit to 64-bit in Solaris 7. commit 9cd177c636c59a7369155d56582bffffb744aeb7 Author: Nickolai Zeldovich Date: Mon Jul 22 19:32:34 2002 +0000 Translate faultcode_t return values from vm routines into errno codes. commit 73cdd10a1b5bda70cb0a1f6299c3cc570ac97b69 Author: Chas Williams Date: Mon Jul 22 04:47:24 2002 +0000 linux-dentry-deletion-for-unlinked-files-22-version-20020721 make it work for 2.2 kernels also also some debugging commit 349c211789b531487d95f92fbb6860347e2d8103 Author: Nickolai Zeldovich Date: Sat Jul 20 09:12:23 2002 +0000 Try to update attributes for volume roots when they become available, under Linux with fakestat. commit e2fcfb88a234afe1bfe2b0b1046f0a0325580ea6 Author: Nickolai Zeldovich Date: Sat Jul 20 08:57:17 2002 +0000 Minor internal cleanup of fakestat's afs_EvalFakeStat and afs_TryEvalFakeStat; no functional change. commit 4fac7a61d83d08bcc2236ed1825bcbbe5f51867a Author: Nickolai Zeldovich Date: Sat Jul 20 08:53:33 2002 +0000 VN_RELE calls osi_iput on Linux which tries to get GLOCK. Don't call VN_RELE while holding GLOCK. commit cabd0bbd4f4129efec2b87b6934c691bf91e883c Author: Chas Williams Date: Thu Jul 18 13:27:48 2002 +0000 linux-dentry-delete-so-unlinked-files-die-nicely-20020718 "d_delete: needs to call iput() to decrement i_count, which you get by returning 1 instead of 0. looking at the other fs schemes (actually its pretty clear in the nfs code too) i see that they return 1 for 'is_bad_inode()'." commit d53f4f14e1ee757a57e5f6459baa61acc9b8c7b3 Author: Joakim Fallsjö Date: Thu Jul 18 13:10:46 2002 +0000 solaris-placate-gmake-builds-20020718 so gmake will find the necessary source files commit d84171dd30771401787450582bbd57aab7aafc4e Author: Derrick Brashear Date: Tue Jul 16 23:24:54 2002 +0000 hpux-updates-20020716 get us closer to building commit d0c8c165a30d1871d61dafce42f08ad4b324a00d Author: Nickolai Zeldovich Date: Tue Jul 16 18:39:50 2002 +0000 provide an example CellAlias file. commit 90deacca54570e978920d7b5342806558df4c74c Author: Chaskiel M Grundman Date: Sat Jul 13 04:30:54 2002 +0000 freebsd-isnt-darwin-20020713 update rc script for freebsd commit affdbe8db375bf2b9defe05ca4431f5b4e14221e Author: Chaskiel M Grundman Date: Sat Jul 13 04:28:28 2002 +0000 freebsd-chunk-corruption-fix-20020713 This patch will fix the "freebsd can't read files > 1 chunk" problem. It will almost certainly not fix the "cache files get the bootloader written into them" problem, but there is a miniscule chance: commit bfaa3bac05ad38cf4062c06b5913612728072542 Author: Joakim Fallsjö Date: Sat Jul 13 04:25:23 2002 +0000 libjaufs-build-fix-20020713 make it install cleanly commit 6ed4fae804ce197e71ed8baeff061ba66402e5ad Author: Chas Williams Date: Fri Jul 12 21:41:59 2002 +0000 linux-use-d-prune-aliases-instead-of-try-dcache-children-20020712 clean up dcache entries with function provided in the kernel instead of by making our own. experimental. commit c927f48236dd489a33b0bc9fc3959baf1fae0e45 Author: Derrick Brashear Date: Thu Jul 11 23:10:16 2002 +0000 uuid-dont-require-snprintf-in-ukernel-20020711 because obviously not everything has it commit 7e0d50a1083e765d12a4978150002cfd7d806a91 Author: Chaskiel M Grundman Date: Thu Jul 11 03:32:52 2002 +0000 darwin-vm-bugfix-for-running-apps-out-of-afs-20020710 this "fixes a problem that causes the afs kernel code to spew into syslog if a long running application is run out of /afs" commit 66bd2d780e0f02b905d6696b75cb3b1c422972d1 Author: Derrick Brashear Date: Mon Jul 8 21:17:38 2002 +0000 kaserver-set-realm-name-in-tgts-20020708 based on comment from Chaskiel Grandman regarding observed poor interoperability of klog-generated tgts with other kdcs where key is otherwise same commit 616f796024b5a546dd3f6e2ba1198671bd377b9d Author: Derrick Brashear Date: Tue Jul 2 06:01:40 2002 +0000 libadmin-vsprocs-use-volint-prototyping-20020702 use the prototyping from volint.h commit b745a28c47066ab2ddd9a4ad79186c996afcf382 Author: Derrick Brashear Date: Tue Jul 2 05:53:25 2002 +0000 libuafs-build-juafs-everywhere-20020702 copy this crap to the other makefiles commit 937149e3154746928a6535ef4b8ce52eee15dd4f Author: Derrick Brashear Date: Mon Jul 1 17:26:29 2002 +0000 afs-uuid-no-string-functions-in-kernel-20020701 some kernels have no sscanf. don't do it. commit 842925a2e83a2f0ce939402e94aedefe6981ce86 Author: Love Hörnquist-Åstrand Date: Sun Jun 30 18:13:36 2002 +0000 netbsd-16-initial-support-20020630 allow us to configure for nbsd 16 commit c746dbb3cb3fa97c4f8253eef39cd3f01d0b0e12 Author: Jeremy Stribling Date: Sun Jun 30 08:43:11 2002 +0000 openafs-tools-update-20020630 updates for openafs-tools command suite commit e68e9dbfa88724fd1463a2f9827f07ae7fe47fe4 Author: Love Hörnquist-Åstrand Date: Sun Jun 30 08:05:08 2002 +0000 ignore-more-20020630 ignore more stuff at the top-level commit 30fb2c1484fdfd9e3469f82d70f37cd6bc4d253d Author: Chaskiel M Grundman Date: Sun Jun 30 07:48:47 2002 +0000 freebsd-initial-46-support-20020630 make it build for 4.6 commit fb8871ec2e37e193955c4688c3f08ecfeb202eea Author: Chas Williams Date: Sun Jun 30 07:39:12 2002 +0000 linux-fix-readdir-hinting-20020630 an earlier patch erroneously removed this commit b2788cf3abf20f404c16c57314e126a2b1b5800f Author: Derrick Brashear Date: Tue Jun 25 16:25:43 2002 +0000 linux-gcpags-support-20020625 might even work commit 19ffb82266bebfbcd529a85b43765b95355195f9 Author: Derrick Brashear Date: Tue Jun 25 16:02:11 2002 +0000 linux-kernel-detect-gfp-mask-in-struct-address-space-20020624 based on report that new redhat kernels need this commit 048543ade8eab56d47e5094fdb56bb7f49983dcf Author: Chas Williams Date: Mon Jun 24 23:18:18 2002 +0000 linux-sleep-wakeup-cleanup-20020624 "cleanup osi_sleep.c to remove some additional races. this patches removes AFS_GLOBAL_SUNLOCK and just uses that case to handle both smp and non smp cases. osi_TimedSleep always sleeps atleast 1 hz. (it also always sleeps interruptibly -- you might get some extra loops but this is better than the load average running away) sleep_on's are replaced with the more appropriate add_waitq/schedule sequence. getevent is called after addevent since there is no danger of GLOCK dropping. getevent/addevent isnt re-merged since osi_Wakeup doesnt create entries in the event table." commit 78b1f7ec565ec32e114e80035581f95de50a9f04 Author: Kris Van Hees Date: Mon Jun 24 20:09:59 2002 +0000 vol-allocate-partition-names-dynamically-to-avoid-problems-with-vx-stuff-20020624 otherwise long device paths can screw you commit de06f45787658ff47d959d782a57e498598c1a4f Author: Derrick Brashear Date: Mon Jun 24 18:34:02 2002 +0000 linux-dont-install-osi-vfs-h-when-no-kernel-module-20020611 do --disbale-kernel-mdoule build works ==================== 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. ==================== the rest of the patch commit 2b4d2224bac4e656d7504ce2783450117b74dd47 Author: Marcus Watts Date: Mon Jun 24 17:30:34 2002 +0000 ubik-pause-collapsing-20020624 I'm told that after we introduce ptserver nested groups we can expect to see periodic pauses in ubik operations, and this fixes the problem. if it happens, we can start with the UBIK_PAUSE code and go from there commit fe1648ca02137cac306d5f5002d8f79b580694ba Author: Chas Williams Date: Mon Jun 24 16:40:41 2002 +0000 linux-more-osi-sleep-wakeup-fun-20020624 "the attached patch 'fixes', in my opinion, in osi_alloc. objects <= AFS_SMALLOCSIZ are alloced with kmalloc, other vmalloc. if kmalloc fails it doesnt fail over to vmalloc. TASK_RUNNING is set after schedule. it doesnt drop the GLOCK. i moved the allocator init later so that it doesnt need to toggle the semaphore just before going to linux_alloc." commit 60659d2c8fed0c90584bfffb33c2efa6e6270343 Author: Derrick Brashear Date: Mon Jun 24 16:23:40 2002 +0000 ufsread-save-the-oops-for-where-we-expect-it-20020624 based on comment from matt@slackers.net commit 68de4bbb02eb4b0cc746d48e636e7540bbda43f9 Author: Pavel Semerad Date: Mon Jun 24 16:03:34 2002 +0000 dcache-locking-cleanup-20020624 don't oops if getDCache failed commit 30433f36a953187f27b5db9fb432f3b7dce91e6b Author: Richard Basch Date: Sat Jun 22 05:32:45 2002 +0000 Update_TargetVnodeStatus() checks and strips setuid bits for non admin clients; it should do the same thing for setgid files. commit 664e4f6f0ddbe30ebc78053a7b16634bac926e37 Author: Derrick Brashear Date: Sat Jun 22 05:26:52 2002 +0000 Add afsUUID_to_string() and afsUUID_from_string() utility functions, from arla. commit 691edd4ea6c117b25aeb124ce7c4a7755694cb37 Author: Garry Zacheiss Date: Sat Jun 22 05:24:49 2002 +0000 Use: #define CONFIG_SMP 1 instead of: #define CONFIG_SMP to fix recent Redhat kernel which used #if CONFIG_SMP instead of #ifdef CONFIG_SMP in some kernel headers. commit 307543629ddeb4b4f34ff5947038fd6a224547b5 Author: Derrick Brashear Date: Sat Jun 15 18:11:18 2002 +0000 linux-newvcache-make-sure-we-dont-try-to-iterate-null-pointer-20020615 based on report from wilder@us.ibm.com not clear this is sufficient commit d13f701812dd19e26317c602d9a09f0d53fe40b6 Author: Derrick Brashear Date: Sat Jun 15 17:52:00 2002 +0000 afsd-dont-print-garbage-on-bad-cacheinfo-file-20020615 based on report from matt@slackers.net don't bother printing anything we parsed, since we're guaranteed at least one item is trash anyhow commit da8653c30b7b850269ac20c3c94c37c7d36a59c9 Author: Mattias Amnefelt Date: Fri Jun 14 18:45:33 2002 +0000 dux-sysent-update-20020614 cast this to deal with changes in sysent in later tru64 commit 391621fc5d0aea4d3d6100153d925e37a47ba781 Author: Derrick Brashear Date: Fri Jun 14 18:22:37 2002 +0000 junk-xdr-in-non-common-makefiles-20020614 based on report from chas@cmf.nrl.navy.mil commit a7500e87f5d3ef97daf158411af4b47fce91aa54 Author: Derrick Brashear Date: Thu Jun 13 20:33:55 2002 +0000 vos-listaddrs-cleanup-and-allow-printing-of-ip-or-uuid-or-both-20020613 lha@stacken.kth.se complained that we sometimes printed garbage, so i took the opportunity to both fix it and update ours to support the options the arla vos listaddrs does commit d7e3e249cbb4ebe0f1d3be3d02b5b593e576cfa0 Author: Derrick Brashear Date: Wed Jun 12 23:07:08 2002 +0000 vol-fssync-ack-before-breaking-callbacks-20020612 given that we don't bother to do anything to return value, we can ack the fssync op earlier and not tie up the volserver unnecessarily found due to comments from brent.johnson@jpl.nasa.gov commit 6260cbecd0795c4795341bdcf98671de6b9a43fb Author: Derrick Brashear Date: Wed Jun 12 22:41:36 2002 +0000 pioctl-always-null-terminate-after-copy-20020612 based on report from lha@e.kth.se note that this works because PIGGYSIZE is always less than AFS_LRALLOCSIZ commit 0f64b6b7528d61199c7c169d06325f5fde2e14f6 Author: Marc Dionne Date: Wed Jun 12 19:22:24 2002 +0000 windows-update-dirpath-header-20020612 add missing definitions commit a0d69dfa395d8c6cb2e3379000126d6ba77c1e21 Author: Richard Basch Date: Wed Jun 12 18:06:45 2002 +0000 Don't give directory owners any implicit rights. Volume owners still have their implicit rights. commit 544fe2ef8ed929e805bac27faa3c2e62aaaadcba Author: Derrick Brashear Date: Wed Jun 12 07:02:02 2002 +0000 arla-pioctls-now-bogus-20020612 as reported by lha@stacken.kth.se commit a271a55041086f062ca888e5cdde02fe234f7281 Author: Joakim Fallsjö Date: Wed Jun 12 01:25:33 2002 +0000 solaris-x86-20020611 solaris 7 and 8 for x86 commit 9c29a6ead1730649ca501c85482288c73e99f693 Author: Quanah Gibson-Mount Date: Wed Jun 12 01:03:17 2002 +0000 solaris-9-support-20020611 update hrestime interface commit eb8c33d2993ef279218e970a300d5bac2bb63f9b Author: Derrick Brashear Date: Wed Jun 12 00:33:40 2002 +0000 windows-callback-interface-updates-20020611 make callback interface like unix commit 3a1c6221170c9385f5ed7b0ae40b403fb383fbfc Author: Manuel Pereira Date: Wed Jun 12 00:29:18 2002 +0000 libjuafs-target-20020611 create a libjuafs library for the java api to use commit fe1beb4f3e69f4ae2dbec60902b60cd601674d15 Author: Derrick Brashear Date: Thu Jun 13 20:35:28 2002 +0000 revert-dont-spawn-kernel-thread-for-rxk-listener-20020426 in some cases this causes shutdowns to hang forever. notably shutdown -i0 -g6 -y works while reboot does not commit 08bb209eef379534268ec6433a131bc52711d111 Author: Derrick Brashear Date: Sat Jun 8 12:01:59 2002 +0000 getcellservdb-cleanup-20020608 based on comments and suggestion from Srikanth Vishwanathan avoid deadlock. send back variable length list. allocate what we need to, and be care to clean up after ourselves if there's an error. whether this should be variable length is arguable but it's pretty clear no one was using this before. commit b80ae7d78cd944420c54567030e57c4f68a3d482 Author: Derrick Brashear Date: Sat Jun 8 08:44:09 2002 +0000 use-private-xdr-in-kernel-to-avoid-conflicts-over-memory-ownership-20020608 allocating memory from a pool and then having it be freed out from under you is unwise commit 3651150489cc5e98dc88643d0a24d0f3941f86b8 Author: Garry Zacheiss Date: Sat Jun 8 05:54:50 2002 +0000 Update NEWS file with important changes in 1.2.5 release. commit 3789698e0ab94c4ff0ebb875d336eb34ff2aa5aa Author: Garry Zacheiss Date: Sat Jun 8 02:29:50 2002 +0000 Recognize MacOS X 10.1.5 as ppc_darwin_14. It's compatible. commit ddfc17dfd19dd4e5bf83f42b92c3a25ebd101c59 Author: Chas Williams Date: Sat Jun 8 00:55:01 2002 +0000 des-fix-linux-64bit-problems-more-usefully-20020607 with a minor fix from shadow@dementia.org long isn't 32bit on ia64 or alpha commit 9ab8961c3106402de12f4d0dd80c65e249293fdb Author: Nickolai Zeldovich Date: Wed Jun 5 16:56:09 2002 +0000 Delay calling afs_ProcessFS() and upgrading the shared vcache lock until after the dcache locks have been released, to obey lock ordering and avoid deadlock. commit 0c05bd2bccb5b586b9aedf939700f991a4adc73e Author: Garry Zacheiss Date: Wed May 29 21:59:51 2002 +0000 uuencode binary files used by the test suite (KeyFile and sample kaserver database). Keeping binary files in CVS is annoying, and this way "cvs rdiff" will work again. commit bbab90943637385742923c8bebebdd750a283e5c Author: Derrick Brashear Date: Fri May 24 23:05:47 2002 +0000 viced-malloc-dont-make-assumptions-about-the-compiler-20020524 based on report from lha@stacken.kth.se "identP = (struct Identity *)malloc(1); This can't be right, there should not be an assumption how the c-compiler will lay out code. I find it acceptable to do something like this /* sizeof valid + offset of valid. */ i.. = malloc(sizeof(identP->valid) + (int)&(((struct Identity *)0)->valid)); But then, why not just allocate a whole identP and be happy. A afsUUID is not that bloted (16 bytes) so I can't see why way this is chosen. 20 bytes will probably be allocated on 32 bit platforms for the whole struct Identity. " commit 155c13192339239dd1d794210b5bcedfb3feea15 Author: Derrick Brashear Date: Thu May 23 06:21:13 2002 +0000 afs-dont-allow-shutdown-before-umount-20020523 fix afs to enforce that /afs must be unmounted, and afsd to report it commit 9a1af108483532432b8a14c8e2b47a08ea97d310 Author: Nickolai Zeldovich Date: Tue May 21 07:37:53 2002 +0000 Zero out some fields to avoid random crashes in "cmdebug host -cache". commit c5222d45ecf0476091509c31318d1b4a50c35a4d Author: Nickolai Zeldovich Date: Tue May 21 07:35:57 2002 +0000 Report correct cache size when -memcache is used. commit 31f658f450f9bbcc0a59ff844f83a3c34745ea54 Author: Nathan Neulinger Date: Tue May 21 06:35:45 2002 +0000 aix-fix-objdir-build-20020521 make objdir builds work on aix commit 101fbbf97b5c5ddf2d2b80badef962aba6f4daeb Author: Chaskiel M Grundman Date: Tue May 21 06:30:27 2002 +0000 pts-sysviewer-should-be-able-to-listowned-20020521 fix so the "any reader" can really read anythinmg commit 63ea4ee399b9fc2a52d81ace70e9902424195c2e Author: Derrick Brashear Date: Thu May 16 14:54:42 2002 +0000 NT-dirpath-copy-in-useful-file-20020516 basically until NT port has been properly set up to deal with dirpath, make it work as before commit c28c22ceadfb1db8151ae74dacee2a49c42624db Author: Derrick Brashear Date: Thu May 16 14:47:28 2002 +0000 afs-attrs-cast-date-to-int-to-avoid-negative-dates-20020516 cheap hack to avoid negative date problem which occasionally plagues solaris commit 10486b5652f0fb5a1d8c1fe5ddbbf5daa2477974 Author: Nathan Neulinger Date: Thu May 16 13:54:56 2002 +0000 pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020516 some versions of gcc compile the if used to decide whether to allocate a pag badly. make life easier. commit 8251fc6871a65326150be69b929917b37d83e215 Author: Derek Atkins Date: Wed May 15 21:04:15 2002 +0000 osi_linux_unmask() needs to explicitly flush_signals() before calling recalc_sigpending(), otherwise recent kernels don't appear to deliver new instances of any signals already received. Revert back to using SIGKILL at shutdown time, but use SIGKILL instead of explicitly using signal 9, because abstraction is your friend. commit 097df1049a6316f087e1c79b30a332358fa761c9 Author: Derek Atkins Date: Tue May 14 23:56:40 2002 +0000 Seems to fix a hang at shutdown time seen on Redhat 7.3 kernels; doesn't appear to affect older kernels. commit fe6b4fd293f789c4d9f8f62401e31a78b466b09b Author: Derek Atkins Date: Tue May 14 23:48:35 2002 +0000 Allows us to build modules for the bigmem kernels redhat started shipping. commit 0eb68f307aac84472a13523a0ce8b7a865f01ac7 Author: Derrick Brashear Date: Tue May 14 21:21:09 2002 +0000 dir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from-walking-on-stuff-20020514 liberal debugging code and hammering produced a failure where newslot was actually walking on another call to newslot because the bufferlock was being dropped before newslot incremented lockers on the buffer it was allocating, allowing someone else to come along and also think they could allocate it. by holding the bufferlock just a little longer we avoid this commit 50473f885f07857d03b963bf43c5b24771b4913b Author: Garry Zacheiss Date: Mon May 13 02:20:40 2002 +0000 Update NEWS file with user visible changes in 1.2.4. commit 81a3f0068f3488b7fb20fb9d6b7441f64f5b61e0 Author: Nickolai Zeldovich Date: Thu May 9 21:37:29 2002 +0000 Avoid kernel panic when dynroot and memcache are used simultaneously. commit ee798e49f23d7894c92275fc3d69b8b5c3c516a2 Author: Derrick Brashear Date: Thu May 9 16:56:46 2002 +0000 viced-cleanup-dirhandle-references-after-ourselves-20020509 doesn't fix any problem that i can find, but results in ihandles not having thousands of bogus references (and may fix problems if refcnt were to wrap) commit bac8c825478e309c225494f031ba9c6fd62817ee Author: Garry Zacheiss Date: Tue May 7 21:01:27 2002 +0000 Use vsu_ExtractName() to get the RW volume name before doing the vid lookup for addsite and remsite operations, since "vos addsite foo.bar.readonly" is such a common thinko. commit 6aae6c02849dfed30fab3a407ff445353f1c5e31 Author: Nickolai Zeldovich Date: Mon May 6 08:13:10 2002 +0000 Undo need-prototype-for-osi-dnlc-lookup-20020503, as it created double inclusion of afs_osidnlc.h. An equivalent patch was already present in the mainline as part of linux-dcache-inconsistency-fix-20020115, but its pullup to the stable branch, STABLE12-linux-dcache-inconsistency-fix-20020120, was oddly missing this particular part of the diff. commit eea3bf3d4312b8986e1c58b92536a9dd359dd1cd Author: Chas Williams Date: Fri May 3 20:03:34 2002 +0000 Include afs_osidnlc.h for osi_dnlc_lookup() prototype. Apparently fixes a panic on ia64. commit 1e90eb264895b5bbe974c7c8c32dbf89e48d6081 Author: Chas Williams Date: Thu May 2 16:11:14 2002 +0000 linux-ia64-build-pam-module-20020502 keep small globals from being gprel commit 25de65bc0bba9bc2df382dc34c1c5b0c1460aca5 Author: Chas Williams Date: Thu May 2 15:38:16 2002 +0000 linux-ia64-no-asm-syscall-stubs-20020502 rewrite syscall stubs not in machine code commit 7147cc946bead75eee909ea1134bc542c0b09c4f Author: Kevin Coffman Date: Thu May 2 07:35:33 2002 +0000 linux-revalidate-root-always-good-20020502 avoid ESTALE in 2.4.19-pre7 commit ea0b193c19b4359bbe33516921b40a00de1e84ae Author: Chaskiel M Grundman Date: Tue Apr 30 01:24:11 2002 +0000 README-NT-provide-file-locations-20020429 give people a clue where to get things from commit 5cbc233c648e968381a473a6bc1d6d599d1738d0 Author: Srikanth Vishwanathan Date: Tue Apr 30 00:40:22 2002 +0000 vol-ihandle-cleanup-20020429 this does fix some potential problems, even if none of them are the CopyOnWrite problem. basically, ih_reallyclose() could reinsert a now-unref'd fd handle into the wrong list when cleaning up, and this cleans up the code considerably. commit c2e075fba4cec152e772ec5514d52e8ec5b29990 Author: Chaskiel M Grundman Date: Mon Apr 29 16:31:54 2002 +0000 darwin-use-namei-fileserver-20020429 build the right fileserver on darwin commit 291e8352be1ee0c6e3da79328e752b82a7a13190 Author: Chaskiel M Grundman Date: Mon Apr 29 16:32:24 2002 +0000 cvsignore-updates-20020429 add missed fc_test commit a31928815796bcbd1acf3005a0f628a21bbb0d8a Author: Nickolai Zeldovich Date: Fri Apr 26 22:33:55 2002 +0000 If the inode is not allocated, don't bother updating timestamps. Pointed out by Frank.Batschulat@Sun.COM. commit be1458b07817900d15f5c069ea66b72ef50b91e9 Author: Nickolai Zeldovich Date: Fri Apr 26 22:27:29 2002 +0000 Don't spawn a separate kernel thread for rx kernel listener under Solaris, but instead just use the afsd fork for the listener. Use of newproc() is deprecated, according to Frank.Batschulat@Sun.COM. commit 1ccedea1a0d978f213a9051e15b5e5efb7ccffe8 Author: Chaskiel M Grundman Date: Thu Apr 25 22:44:53 2002 +0000 darwin-map-more-versions-20020425 5.3 and 5.4 are "Same" enough commit 0c0eb03e9a806dc84b7c3251478de4766a8fd853 Author: Chaskiel M Grundman Date: Thu Apr 25 22:18:23 2002 +0000 rxkad-stats-initialize-to-placate-darwin-compiler-20020425 because it deals badly with common symbols commit 8268bf34acd715d28137a3d601252fd235d1a9fb Author: Chas Williams Date: Tue Apr 23 14:45:51 2002 +0000 linux-ia64-cleanup-casting-20020423 so we don't need the SYSCALL2POINTER change commit 5d57da192ea989d9ab4e83cb5f721a7975def9fb Author: Chaskiel M Grundman Date: Tue Apr 23 04:26:36 2002 +0000 sparc64-linux-and-setgroups32-cleanup-20020422 update setgroups32 for 2.4 and make sparc64 linux2.4 work again commit e12859bed90a0bd896150b7cfc137d0ef52e48c3 Author: Chas Williams Date: Tue Apr 23 04:03:29 2002 +0000 linux-ia64-updates-20020422 updates to make it work with later 2.4 SYSCALL2POINTER change may be unnecessary (sparc64 way should work) but without any way to test... commit 27595ffcd995dc31c565acdb630d5b60a275fe27 Author: Nickolai Zeldovich Date: Mon Apr 22 18:16:16 2002 +0000 The heldp argument to h_Lookup should be an int* rather than int, as pointed out by amu@alum.mit.edu. commit 6d43ab450a907bb1eccf9561c37c108202cd8e52 Author: Chaskiel M Grundman Date: Mon Apr 22 17:05:10 2002 +0000 darwin-vnops-make-unlink-fix-fake-references-20020422 so unlink doesn't panic us commit df363edad10f0cbc7f1f34fd0f79a155525415e7 Author: Jeremy Stribling Date: Mon Apr 22 16:42:21 2002 +0000 libadmin-pts-allow-listing-all-users-and-groups-20020422 so the java api can take advantage of this commit 7158ef3ae57a97c4b7bb03527cb162ba968a2b35 Author: Derrick Brashear Date: Wed Apr 17 23:29:04 2002 +0000 ubik-allow-netinfo-netrestrict-to-mask-address-pointed-to-by-hostname-20020417 if you really want to mask the IP address from gethostbyname(gethostname()) there's not really any reason to stand in your way commit d4493526a764f5d4d1ef6a437ab8cfa467077be6 Author: Nickolai Zeldovich Date: Mon Apr 15 22:36:00 2002 +0000 Make h_Lookup_r return the host held, and ensure that it's not deleted at that point; otherwise, the host may be deleted by another thread between a call to h_Lookup_r and the time when we actually get around to h_Hold'ing it. commit 301d83202c8d969197ea9515e02eb93c1b2bd72f Author: Nickolai Zeldovich Date: Thu Apr 11 08:18:11 2002 +0000 Pass &treq to afsrename() when preserving a currently-open file. commit a1925f8cafca91c59da076d6af8ee086765f5338 Author: Nickolai Zeldovich Date: Tue Apr 9 20:21:59 2002 +0000 Fix more places where afs_EvalFakeStat arguments were out of order commit c2109aba5c3a281ffe7c6e9150324a2aa66b9aaf Author: Pavel Semerad Date: Tue Apr 9 19:08:10 2002 +0000 fakestat-fix-eval-args-ordering-20020409 fixed bad args ordering in call to afs_EvalFakeStat commit 7747fce7e77e45ebb22728498052e96f527d2de0 Author: Derrick Brashear Date: Fri Apr 5 19:13:32 2002 +0000 linux-newvcache-more-simplification-20020405 based on suggestion from vsrikanth@in.ibm.com eliminate extra for loop, flatten function to drop dentries, fix locking error i introduced commit 607c17c8a97bd10367c98397089554d316c52492 Author: Derrick Brashear Date: Thu Apr 4 20:03:13 2002 +0000 solaris-nfstrans-make-it-compile-20020404 it compiles. it's not pretty, but it does compile commit 7c20aa608273c5af8829183b325acbb2c356e038 Author: Nickolai Zeldovich Date: Wed Apr 3 07:20:07 2002 +0000 Clear the RX_CONN_ATTACHWAIT flag when an asymmetric client's calls time out; otherwise, the client could be locked out until the conn is recycled. commit 999c7fb70dca5153c58e4f0c9bc6c1d86003865b Author: Nickolai Zeldovich Date: Tue Apr 2 18:35:03 2002 +0000 Don't make tvc a register, since we want to dereference it later on. Pointed out by nneul@umr.edu. commit 6b33ed2b0544ca8b80a098af8db98e9714f41415 Author: Nickolai Zeldovich Date: Tue Apr 2 06:09:48 2002 +0000 Initial fakestat support (fake mountpoint directory attributes). Useful for quickly stat'ing everything under /afs, for instance. Reasonably tested on Solaris, and appears to work on Linux too. Enable with 'afsd -fakestat'. commit fd318a1fc9551a156cdb43916143d3b959b6720f Author: Nickolai Zeldovich Date: Mon Apr 1 20:18:50 2002 +0000 Fix build on Darwin (missing close paren). commit b0e4e7bcbfb911563f68cd91c21d905738123d72 Author: David Bailey Date: Mon Apr 1 17:25:37 2002 +0000 winnt-servermgr-use-existing-creds-option-20020401 This adds /useexisting to use current AFS creds, bypassing the initial authentication dialog box. It's useful if you're not running kaserver (i.e. if you've moved over to kerberos 5) and can't authenticate again by the normal AFS means. commit b08f021fc924f24fe82dae79fa9ff30ff0a17572 Author: Nickolai Zeldovich Date: Sat Mar 30 18:02:40 2002 +0000 Add osi_Assert()'s around pthread_{cond,mutex}_* calls to make sure we aren't getting errors anywhere. Update the documentation/comments about Rx lock ordering. Fix possible deadlock in asymmetric client detection code. commit 8011b683bc72968afcf69d6c7220716281bcba55 Author: Derrick Brashear Date: Thu Mar 28 22:00:55 2002 +0000 afs-dont-mask-rights-granted-by-lookup-20020328 lookup is sufficient for this, fix the client not to bogusly enforce extra restrictions commit 4beb9adb661bade7caff8adf40ecb3882ae7deac Author: Derrick Brashear Date: Thu Mar 28 20:43:03 2002 +0000 linux-dcache-create-negative-dentries-22-needs-while-still-avoiding-vlru-cycle-20020328 based on patch by Srikanth Vishwanathan and modifications based on suggestions from Ted Anderson applicable to this part of the code. the original theory we operated under, namely that negative dentries could be banished entirely, causes file creation to stop working under linux 2.2 kernels. reverting that change means we have to deal with these negative dentries, and Srikanth's original suggested patch does so. commit 1ad668aee2c995e44974f89728b1d5e13470aec1 Author: Nathan Neulinger Date: Mon Mar 25 18:35:07 2002 +0000 fstrace-fix-memory-leak-20020325 avoid leaking catalog reference on failure commit 13f864f21e28893cf482dcc51b498698f9ecc006 Author: Nathan Neulinger Date: Mon Mar 25 18:30:09 2002 +0000 cvsignore-update-for-autoconf-25-20020325 autoconf 2.5x turds to ignore commit 39ee79e7c328d86738356aa5a736e24339f8b126 Author: Derrick Brashear Date: Mon Mar 25 18:09:22 2002 +0000 convert-linux-macros-for-inodes-appropriately-20020325 even though right now a vnode and an inode are basically but not exactly the same, part of the usefulness of this change is the ability to convert to inodes linked from vcaches later. make the macros fit with this view of the fture commit 3bf8818d956337fcf70a2734f200275f403e8814 Author: Johan Danielsson Date: Mon Mar 25 17:39:55 2002 +0000 convert-vcache-casts-to-macros-20020325 convert vcache casting in cache manager to macros should ease further changes later commit c4ac62f829f5642b72df9e01438fc4545cda98f9 Author: Nickolai Zeldovich Date: Sun Mar 24 23:39:01 2002 +0000 Clean up some more ViceLog calls to consistently refer to hosts in a format like 18.239.2.102:7001, rather than memory address or hex IP. commit 41f047edf69ad7c6c83cfa94f410f0daa9bb91fd Author: Nickolai Zeldovich Date: Sun Mar 24 19:21:35 2002 +0000 Verify that name lengths are at most AFSNAMEMAX and symlink contents are at most AFSPATHMAX (notably, the Linux kernel doesn't check this for us); bug report by nneul@umr.edu. commit 0329c5fbb42d14da20acb97ebda48b9974220b0e Author: Nickolai Zeldovich Date: Sun Mar 24 19:08:45 2002 +0000 Initialize tvc in afs_remove so that we don't call afs_PutVCache on stack garbage in case of some failure. commit d30a319f8d8c8a536bb8dfd9f3af7fa8fb235440 Author: Nathan Neulinger Date: Fri Mar 22 21:56:44 2002 +0000 rx-glock-order-headers-correctly-so-its-defined-or-not-consistently-20020322 fix for earlier change to RX_AFS_GLOCK() commit ef1ee322deb3a2e21c9d78a1b44375b8f7768de0 Author: Derrick Brashear Date: Thu Mar 21 18:44:19 2002 +0000 afs-memcachetruncate-takes-memcacheentry-not-inode-20020321 prototyping caught this; the usage is inconsistent with other cases and i believe this is the correct fix. it's not clear to me why we weren't seeing problems from this, though commit 4f1ca9bb2ebcad7e4e1c7ebea42eb361d506dcc8 Author: Nathan Neulinger Date: Thu Mar 21 18:11:50 2002 +0000 afs-checkservers-call-getuser-with-cell-index-20020321 this means to be calling afs_GetUser with a cell index, not with the cell structure itself commit f749ef6e024cf17911a52ade9be9b409fa25d29c Author: Love Hörnquist-Åstrand Date: Wed Mar 20 18:59:56 2002 +0000 rxkad-regression-test-20020228 regression test for rxkad commit 7ffbc40b212a38de92da562d285e715150e9d771 Author: Mattias Amnefelt Date: Wed Mar 20 18:38:28 2002 +0000 tru64-avoid-leaking-vnodes-when-failure-20020320 tru64 needs vrele when an error happens, rather than just returning. make sure we do so commit a093138a6d8f91068bec2cff1adcfafbacf7b65f Author: Nathan Neulinger Date: Tue Mar 19 22:03:30 2002 +0000 commit bd35700f8fdfaf2f8b19c7b032b2395aa458c19e Author: Derrick Brashear Date: Tue Mar 19 22:01:30 2002 +0000 sys-add-aix-syscall-exports-removed-incorrectly-earlier-20020319 to export syscalls as functions you need the magic exp file ==================== 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. ==================== and also reinstall them for the user cache manager library commit 209f1c22577c2314a896de997bd7939fab2e3d52 Author: Nickolai Zeldovich Date: Mon Mar 18 03:03:04 2002 +0000 Allocate the exact string length needed for the string in symlink contents, rather than assuming that symlink data never contains nulls (or that it's of the length we expect). commit 246f955432b4d00d8f1ffbe62aa9c2a048833c2f Author: Nickolai Zeldovich Date: Mon Mar 18 02:51:13 2002 +0000 Call afs_PutCell after afs_GetCellByIndex, even though right now it doesn't do anything. commit efa250bd1c4bf2c8d6ac74d9f866a842a020d7cf Author: Love Hörnquist-Åstrand Date: Sun Mar 17 17:59:04 2002 +0000 nbsd-fileserver-dont-leak-fds-20020317 file server now works usefully on netbsd commit fc09b92dce32025c8e1ac762b3f8f07bc731869a Author: Derrick Brashear Date: Sun Mar 17 17:53:00 2002 +0000 callback-function-fixes-20020317 suggested by lha@stacken.kth.se drop locks when rxi_Alloc fails, and rework SRXAFSCB_GetCellServDB to use afs_GetCellByIndex. He suggested same for GetLocalCell, and as long as cell 1 and not CPrimary is the local cell indicator that works, but I left that part of the code as is for now. commit 5b1310f346f0f12ceac31d4d8684210cbcbc3198 Author: Nickolai Zeldovich Date: Sat Mar 16 22:17:29 2002 +0000 Add a -cache flag to cmdebug to remotely obtain cache manager configuration parameters. commit 1fe41530c1c1a6b75a7716ed849ff37be4294317 Author: Nathan Neulinger Date: Thu Mar 14 19:57:12 2002 +0000 Fix typo: OMIT_FRAME_POINTER not FOMIT_FRAME_POINTER commit c360bb35ce506ad9ab425fea43b96a708e0ed1d9 Author: Nathan Neulinger Date: Thu Mar 14 19:50:48 2002 +0000 Zero out the "allocated" flag so that we don't accidentally free something that wasn't allocated. commit 2dbc58bc4a00a7ba755327b22b3fbd5fb05889a6 Author: Derrick Brashear Date: Sun Mar 10 19:26:41 2002 +0000 solaris-vfsck-allow-force-runs-when-old-inodes-exist-20020310 if running with -y report old inodes and continue anyway commit 372da2bebc1eb10aaacf4532d4cd5aea901a3c83 Author: Derrick Brashear Date: Sun Mar 10 19:23:38 2002 +0000 revert-part-of-linux-dcache-inconsistency-fix-20020115 may revisit this before release; however, open_namei on 2.2 wants a dentry returned to it and so without this change, creating files in afs breaks commit a5cb7c256b8516dce3319cadf746539c50b09a8c Author: Love Hörnquist-Åstrand Date: Sun Mar 10 19:07:56 2002 +0000 rxgen-prototypes-fixes-20020310 prototype fixes as fallout from rxgen header prototypes emit server stubs which include header as well commit bfa8c6a78810862ba97cc3990f75b8d1afa701c5 Author: Love Hörnquist-Åstrand Date: Sun Mar 10 18:44:22 2002 +0000 netbsd-allow-param-file-inclusion-20020310 fix param files so ifdef error does not preclude inclusion at all commit c06ff599ddc3c3d890ca2967a54217ed1a7a9a04 Author: Love Hörnquist-Åstrand Date: Sun Mar 10 18:41:52 2002 +0000 afsmonitor-strcasestr-in-freebsd-not-netbsd-20020310 1.5 and current have no strcasestr commit edd10398afe756afb8b7d8abbb73324e3a1b2cfd Author: Derek Atkins Date: Sun Mar 10 18:39:45 2002 +0000 configure-allow-kernel-debugging-support-20020310 currently for linux only, but allow it for others in the future commit 908e05adbedd1130279d82cfe4ee8e9c11c9a4cc Author: Yee Jiun Date: Sun Mar 10 18:24:16 2002 +0000 winnt-deal-with-compiler-packing-20020310 use pragmas to hit compiler into packing smb_tran2QFSInfo usefully commit 571f314329ad8213c604618fa323ce10bec636dc Author: Nickolai Zeldovich Date: Fri Mar 8 06:08:05 2002 +0000 viced-call-safss-functions-with-acall-not-tcon-20020307 based on report from mattiasa@e.kth.se who has the following feedback from lha@e.kth.se: Patch from Love to make filserver not loop on MUTEX_ENTER() in rx_SetSpecific() commit de6a2911468669fcc94a4c869f0e36cd09566387 Author: Chaskiel M Grundman Date: Fri Mar 8 06:03:34 2002 +0000 freebsd-use-fake-refs-to-hold-inodes-20020307 unlike macos x a fake ref works for freebsd commit f0aea5e186d03c9eb05ef804dbcf93a5e03ac281 Author: Mattias Amnefelt Date: Fri Mar 8 05:59:32 2002 +0000 makefiles-dont-hardcode-optimization-flags-20020307 allow setting optimization in CFLAGS in makefiles use -g3 on tru64 commit c1bb9648b2247473295783a2474afa34fd7327f2 Author: Derrick Brashear Date: Fri Mar 8 05:48:54 2002 +0000 fix-stats-structure-ordering-20020307 report from jhutz@cmu.edu says client-64bit-file-size-support-20011031 was broken in this way commit f3bcfda51f5aa1185c3fab6b1c56d5c5165426f1 Author: Derek Atkins Date: Fri Mar 8 04:57:56 2002 +0000 linux24-fix-memcache-20020307 The problem is that on 2.4 the 'code' variable is over-written during the path walk, such that by the time it's checking if the inode exists, code is already '0'. But if the inode does not exist, code should be ENOENT to show that the file does not exist. commit 459815329bc52d5d264ed5f1ffbfae490d88a552 Author: Mattias Amnefelt Date: Mon Mar 4 16:47:22 2002 +0000 dux-make-namei-fileserver-work-20020304 namei should now work on tru64 (tested on 5.0a) commit 7b4d6af73d92512950265443f6fe3cff6ada4650 Author: Mattias Amnefelt Date: Mon Mar 4 16:44:00 2002 +0000 dux-autoconf-tweaks-20020228 make tru64 5.0a build work ==================== 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. ==================== and make 4.0d work again as well commit c642825ba83bc7ef98c2760fbbf209d82705cad6 Author: Nathan Neulinger Date: Thu Feb 28 20:00:40 2002 +0000 butc-make-xg-match-code-20020228 this may need to be revisited in the future but in the meantime the rpc stubs match the code commit cfba7e00684a1f45f82285bcbadbc4571ab294d2 Author: Nickolai Zeldovich Date: Thu Feb 28 06:34:15 2002 +0000 Use AFS_RXDEADTIME instead of hardcoding a value of 50 commit 7138b2734cebbf93af4dd69c04cba242c20241b5 Author: Mattias Amnefelt Date: Thu Feb 28 06:10:47 2002 +0000 afs-servers-use-rx-setnojumbo-interface-20020228 use rx library interface instead of tweaking in each program commit 48d411fa4e074f79f7f51e50358deb9cb2d322c1 Author: Nathan Neulinger Date: Thu Feb 28 06:08:10 2002 +0000 afs-rx-enable-locks-cleanup-20020228 use RX_AFS_GLOCK macros instead of ifdef wrappers commit 12f595485ec9f4511a7f39c9723db43f775e98f7 Author: Nathan Neulinger Date: Thu Feb 28 06:05:14 2002 +0000 vnop-lookup-fix-putvcache-calls-to-match-prototype-20020228 provide unused 2nd arg to putvcache commit 676a493f5b97854bf20509841300355bab40cf0f Author: Nathan Neulinger Date: Tue Feb 26 23:35:26 2002 +0000 Really apply improve-type-safety-and-prototype-matching-20020226. Somehow only the first 128K of afsfileprocs.c got copied over before. commit 864edcbc52d6721aaeea7a0a44f73e663ed4ef7c Author: Nathan Neulinger Date: Tue Feb 26 23:26:36 2002 +0000 Make the SRXAFS_* functions match prototypes by taking an rx_call instead of rx_connection, and make CallPreamble() type-safe by taking two arguments instead of magically turning an rx_call into rx_connection. commit 18fdd2a2330f2a4e0a7152d17729f741439488bc Author: Nickolai Zeldovich Date: Tue Feb 26 22:53:59 2002 +0000 Fix more build problems due to prototypes produced by rxgen. commit 385037490f3b7fbdb0c364f1d03f30cb144dfb06 Author: Nathan Neulinger Date: Tue Feb 26 16:47:33 2002 +0000 comerr-fix-objdir-builds-after-sun-make-change-20020226 use lex source from srcdir commit 592d0fb0cd7a68ee5976fe3655e24b6ffb001e91 Author: Nickolai Zeldovich Date: Tue Feb 26 16:44:54 2002 +0000 ubik_tid and ubik_version now come from ubik-int.h commit ebb45c54d9a53906c2dc1245199cb95a0260252b Author: Nickolai Zeldovich Date: Mon Feb 25 09:31:08 2002 +0000 Fix some of the fallout from having rxgen-fabricated prototypes. commit ec04dd0090b69f3cd39c93498da6175b2eb1a842 Author: Nickolai Zeldovich Date: Sat Feb 23 09:38:11 2002 +0000 Make sure we have enough memory to allocate the return list. commit 1e6bc5de521a319a8a247738f41065a1e11fec2b Author: Nickolai Zeldovich Date: Fri Feb 22 09:00:36 2002 +0000 Fix minor build errors, and rename the dumpId argument of butc's DeleteDump to avoid collision with budb's #define dumpId. commit feb689396ccc39f304db05cb69dc8db3506de921 Author: Nickolai Zeldovich Date: Fri Feb 22 08:58:20 2002 +0000 Always verify that the client is fully reachable before talking to it, in the fileserver. This prevents some additional lossage cases with poorly-connected clients. Disable same feature for other Rx services, since they don't need to incur extra RTT delay. commit 0dfa0954ffdf25f93e44394fce9d0f1c0872576e Author: Nickolai Zeldovich Date: Fri Feb 22 08:03:30 2002 +0000 Fix build when INSTRUMENT_LOCKS isn't defined commit 3cced4ee453f635703513013e7ae1ee76351f9ac Author: David Howells Date: Wed Feb 13 04:09:14 2002 +0000 rxgen-generate-function-prototypes-20020212 actually from David Howells of Red Hat. generates function prototypes in rxgen-emitted headers commit 87843056e53f7ff72d20bae0837f9be31a7a33b7 Author: Derrick Brashear Date: Thu Feb 21 07:07:52 2002 +0000 test-suite-run-script-make-setup-not-use-localcell-inadvertantly-20020221 was a case where we could end up testing "localcell" by accident commit bf1e47a218c0030f07faae600a70b4c4c24f4fab Author: Derrick Brashear Date: Thu Feb 21 06:31:13 2002 +0000 test-suite-update-ka-database-20020221 cached copy that works commit d92d4ac69f55e89b9b32b8927d722e1b040bc783 Author: Derrick Brashear Date: Thu Feb 21 06:25:34 2002 +0000 bos-listkeys-fix-test-20020221 cksum can be either number commit 4f8f508e04ab8f4267b6950e36745c1f3f10ada9 Author: Derrick Brashear Date: Thu Feb 21 06:06:00 2002 +0000 test-suite-run-tests-export-shell-20020221 set $SHELL to override whatever your shell sets commit acf19ae7e92aaf4f283a6bf1fca3b4e4f24f4042 Author: Derrick Brashear Date: Thu Feb 21 05:18:35 2002 +0000 test-suite-updates-20020221 minor tweaks found making solaris work commit aeeecc446b01258a443cb5705484ba90217407df Author: Derrick Brashear Date: Thu Feb 21 05:15:28 2002 +0000 test-suite-make-sure-test-script-is-executable-20020221 since configure creates the script, just chmod it commit 148b57dff5feed7c48b8ea83e1a570df722702b1 Author: Derrick Brashear Date: Thu Feb 21 04:29:22 2002 +0000 back-out-bosserver-dont-enforce-world-readability-on-server-etcdir-20011126 on a server where bosserver sets up /usr/vice/etc with symlinks, the links are /usr/vice/etc/* -> /usr/afs/etc/* oops commit 3a6b630ce11cf0253543fa5ba56bd1eca5b9a4f6 Author: Jaroslaw Polok Date: Tue Feb 19 19:23:46 2002 +0000 pam-makefile-fix-dependancies-20020219 the rest of the patch is already in CVS but missed being pulled up to 1.2.3 commit d116b27ebe67bb90b3a85557f9273f9473a27744 Author: Derrick Brashear Date: Tue Feb 19 18:29:16 2002 +0000 test-suite-solaris-fixes-plus-some-kaserver-glue-20020216 make it all build on solaris. provide necessary files to set up a kaserver and authenticate against it (albeit with "known" keys) commit 14f28d4fe5d8e6b93d87851b183e6531609357dc Author: Derrick Brashear Date: Tue Feb 19 09:14:54 2002 +0000 makefile-use-filename-instead-of-dollar-questionmark-20020219 at least some versions of sun make try to run this as lex -t ex_lex.lex.l ex_lex.lex.l instead of lex -t ex_lex.lex.l commit 1902efa41c15a60d4f1a9fed42036f7713e446c0 Author: Derrick Brashear Date: Mon Feb 18 21:09:47 2002 +0000 dir-create-initialize-null-to-avoid-drelease-on-garbage-20020218 if FindItem returns without setting previtem this is never initialized commit bd707fb7e6e037ba0ae6e9addedca907cdaf5af0 Author: Chaskiel M Grundman Date: Sat Feb 16 18:23:44 2002 +0000 freebsd-almost-working-client-20020216 a) a freebsd client that compiles, and to a certain extent, works. Should not be used except by people doing freebsd client development b) configure glue for freebsd 4.3, 4.4, and 4.5 c) freebsd tfileserver support. Note that, by default, this isn't very interesting, as the supported freebsd pthreads are just as cooperative as LWP. if you install the linuxthreads port and swap the MT_* variables in osconf.m4, you will get a more traditional tfileserver though. configure glue for that will be forthcoming at some point. d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them. (and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x on same conf files issue) commit 0b2f7b748ebcc625a99dd78c4c9628219404e1df Author: Derrick Brashear Date: Sat Feb 16 18:09:26 2002 +0000 test-suite-solaris-fixes-plus-some-kaserver-glue-20020216 make it all build on solaris. provide necessary files to set up a kaserver and authenticate against it (albeit with "known" keys) commit f6525247abd62427a05806608a6b58999cfe1a1a Author: Derrick Brashear Date: Fri Feb 15 14:00:39 2002 +0000 linux-osi-alloc-up-alloc-sem-while-alloc-to-avoid-deadlock-against-glock-20020215 Based on report from David Howells of RedHat (via Guy Streeter) commit d0ffec1b282518ab6d1395bfaad66f0ea8fe9feb Author: Nickolai Zeldovich Date: Fri Feb 15 05:07:13 2002 +0000 Use autoconf to check for p_corefile in struct proc, rather than assuming it exists in Solaris 7 and above; nneul@umr.edu reports that it doesn't for some kernel revision. commit d7dca002beb55eefe49227db9e8e2ee4c4bb6170 Author: Derrick Brashear Date: Fri Feb 15 04:38:59 2002 +0000 rx-event-deal-with-gcc-296-this-time-for-sure-20020214 somehow i suspect one of our platforms doesn't do volatile and i'll regret this, but this stops linux i386 when afs_int32 is an int from going off into la-la land when an Rx retransmit is needed commit 0cc7a074866c95b7b29e5b508a70c937e88967a4 Author: Derrick Brashear Date: Fri Feb 15 04:23:24 2002 +0000 rx-clock-cast-comparison-macros-to-int-20020212 gcc 2.96 appears to miscompile these ==================== 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. ==================== undo. the bug was a little more subtle and my debugging code masked it commit aef9d3502309f441640419f70f2dd8949395b32f Author: Ted Anderson Date: Wed Feb 13 20:00:18 2002 +0000 vol-salvage-add-missing-parameter-to-logging-20020213 bad trace statement due to missing parameter; added commit 808946cad88f45d2862345cae935eecd7b551345 Author: Laura Stentz Date: Wed Feb 13 09:37:59 2002 +0000 afsweb-add-netscape-config-script-20020213 this was omitted from the original release and now can be included commit 9a6dbb4df705e063a6ab093b29e7619321aeb565 Author: Nathan Neulinger Date: Wed Feb 13 04:00:57 2002 +0000 viced-printinode-returns-string-not-number-20020212 based on feedback from ota@transarc.com PrintInode returns a string, use it commit c446c128e9be75fa8617a11403d867a8885ee80b Author: Nickolai Zeldovich Date: Fri Feb 8 19:50:00 2002 +0000 Allow AFS to shutdown on Solaris (and subsequently be reloaded and restarted). Still leaks memory, unlike the Linux module. commit cbcef0bd40bb68f786d11a610394f4668f20e30b Author: Hartmut Reuter Date: Fri Feb 8 17:28:44 2002 +0000 Don't grab tdc->lock when tdc is null. commit ebcef806960b3507d4de6edfd59a89c37b6ca2fd Author: Nickolai Zeldovich Date: Fri Feb 8 07:05:34 2002 +0000 Properly AFS_GUNLOCK() when returning an error after having previously AFS_GLOCK()'ed, in afs_mount() and afs_unmount(). commit 21455cdba29829fffbb9355495198a4c2a77bc24 Author: Nickolai Zeldovich Date: Thu Feb 7 03:07:23 2002 +0000 Include linux/sysctl.h after afsconfig.h, since we need the modversion stuff first. commit 1f34ef48736934b444488960a91426b9ab317f7a Author: Kris Van Hees Date: Thu Feb 7 00:06:35 2002 +0000 linux-provide-sysctl-interface-20020206 provide sysctl interface for toggling module state. provide hooks for all currently known tweakable items commit e7b3045d8ece68712d2bd07b8e92c90027dee870 Author: Nickolai Zeldovich Date: Wed Feb 6 23:57:44 2002 +0000 solaris-p-crlock-not-safe-to-hold-across-call-to-crset-20020206 crset() expects p_crlock to not be held when it's called; deal accordingly commit 918d96d66548ecff818ec438f26ae06abc3bd34e Author: Derrick Brashear Date: Tue Feb 5 21:58:03 2002 +0000 newvolumebyname-analyze-the-vrequest-actually-used-20020205 it's ok to support a null request being passed in, but if a real one is passed in we shouldn't analyze it when it's not the one we used when making calls. commit 9311437f3de8052027cd1b6b2ded63259856e50b Author: Nickolai Zeldovich Date: Sat Feb 2 18:33:49 2002 +0000 Add the necessary includes for AFS_ISGLOCK, AFS_GLOCK, AFS_GUNLOCK. commit b7b178842458b274f9e5d45dbd1bb50826a3d58a Author: Hartmut Reuter Date: Fri Feb 1 22:12:51 2002 +0000 viced-callback-avoid-potential-looping-problem-20020201 avoid case where we never come out of loop attempting to clear host cvallbacks commit 7b8d569f42d9906ef0ed0b11f66962e00ad04cc6 Author: Nickolai Zeldovich Date: Fri Feb 1 20:29:59 2002 +0000 First pass at better signal handling: -- Add afs_osi_SleepSig, which returns EINTR when interrupted by signal. -- Similar CV_WAIT_SIG for Rx code. -- Implement afs_osi_SleepSig and CV_WAIT_SIG for Linux, Solaris. -- Use afs_osi_SleepSig in afs_{UFS,Mem}Read, allowing user to interrupt an AFS read if it's being handled by background daemon. -- Balance the number of open & close braces in CV_TIMEDWAIT macros, even though noone uses them. -- Untangle parts of the macro forest by moving some of the Rx CV code into rx_kmutex.c. commit 7573d5ed14df78d619a035ca50981f7ae3bfd5b6 Author: Nickolai Zeldovich Date: Wed Jan 30 21:13:48 2002 +0000 Block signals when sleeping in CV_WAIT() and CV_TIMEDWAIT(), similar to the linux-avoid-signal-wakeups-while-sleeping-20020129 change for afs_osi_Sleep(). commit cc8f0afbad688fde60468e5811ac18b75f24886a Author: Nickolai Zeldovich Date: Wed Jan 30 16:16:23 2002 +0000 Avoid deadlocking with afs_ResetVolumeInfo in InstallVolumeInfo and InstallNVolumeInfo, like we already do in InstallUVolumeInfo. commit 79afed93d2369e04478c18562c8f23d4713ed990 Author: Derrick Brashear Date: Tue Jan 29 22:34:13 2002 +0000 readd-t-uniq-bad-as-binary-20020129 oops commit 41fb11e6b23ba320f7fff442b2b6c3b01c339ad0 Author: Nickolai Zeldovich Date: Tue Jan 29 17:36:20 2002 +0000 Block all signals while sleeping; this prevents 100% cpu usage when a process waiting for an afs operation to complete receives a signal. commit 905b71014b9166cc3ba7b921623a838ffbaa18b7 Author: Nickolai Zeldovich Date: Tue Jan 29 17:26:26 2002 +0000 Properly release GLOCK when trying to mount AFS a second time. commit 30c69dae289b0184d2d38e4d9781de5a2c81952c Author: Nickolai Zeldovich Date: Tue Jan 29 16:07:27 2002 +0000 Use filemap_fdata{sync,wait} directly (available in 2.4.5 and above) rather than write_inode_now(), which steals afs inodes and puts them on the global inode lists. commit b01f9b767323363c40b78f26b32f077b9c23f3da Author: Derrick Brashear Date: Mon Jan 28 21:32:20 2002 +0000 configure-add-darwin-52-support-as-14-since-no-change-otherwise-20020128 it was previously agreed that we wouldn't add gratuitous new sysnames unless things (not just what the vendor calls the operating system) changed. precedent is sun4m_412 still being "current" for sun4m_413, etc. commit 62bc57574aabfccf9e3684e7f0fe99dcbf9ad1e3 Author: Nickolai Zeldovich Date: Sat Jan 26 03:40:30 2002 +0000 rx-dont-include-arraysize-in-offsetof-20020125 so this compiles on irix commit 4ff68264b69e55cedd2f70ecc40482ab9ba0abe0 Author: Derrick Brashear Date: Thu Jan 24 20:13:22 2002 +0000 linux-afsd-pids-block-signals-so-we-dont-need-to-flush-20020124 no point in keeping this around commit 367008ec652b2091ec145b6c3fffeba2b4620b7f Author: David Howells Date: Thu Jan 24 18:09:28 2002 +0000 linux-conf-fix-type-which-crept-in-20020124 "oops" commit f2d38d3683345a98f118b971b5a1940e14111928 Author: Derrick Brashear Date: Thu Jan 24 10:46:42 2002 +0000 solaris-rx-shutdown-sleep-only-if-listener-pid-not-freed-20020124 replace if with while in case the listener is freed before we call sleep commit 5c2a4168a6e67733d4ec545936e13742c72ff9f8 Author: Derrick Brashear Date: Thu Jan 24 10:42:34 2002 +0000 linux-unmask-signals-in-rxk-listener-at-shutdown-20020124 since the rxk listener gets "kill"d at shutdown we need to unmask to wake it up. this should probably be replaced but the logical way is evil, involves simulating a packet to the listener so it wakes up and notices it's time to die commit a89079efffb1610a55c0fdff42f2feb82b394ff1 Author: Derrick Brashear Date: Thu Jan 24 10:09:13 2002 +0000 linux-cant-daemonize-due-to-exit-mm-call-oh-well-20020124 the call to daemonize() means we fail to shut down correctly on SMP machines; this is due to the call to exit_mm() in daemonize() commit 1f3f7bc3efea3ffca469fbfe090953dcaa668799 Author: Derrick Brashear Date: Wed Jan 23 19:27:39 2002 +0000 linux-rework-signal-blocking-for-afsdb-handler-and-clean-up-osi-invisible-before-im-completely-blind-20020123 based on suggestion from kolya@mit.edu and osi_Invisible cleanup so ifdef logic would be more clear commit 271fdc46b1cb0b25896618b10e436d33dc04fbf2 Author: Derrick Brashear Date: Wed Jan 23 18:49:59 2002 +0000 linux-use-while-loop-and-also-do-it-for-22-waiting-to-close-socket-20020123 while loop idea from chas@cmf.nrl.navy.mil reminder that we should worry about 2.2 from somkar@in.ibm.com commit 2742ca8a8ba2fe18b1991fc250f0376010303469 Author: Omkar Sathe Date: Wed Jan 23 18:48:18 2002 +0000 solaris-wait-for-listenerproc-to-exit-20020123 like linux, actually wait for listenerproc to finish before freeing the socket commit e91fca84fdbe1a6dcf6d4187df0dde5056687c08 Author: Derrick Brashear Date: Wed Jan 23 09:21:54 2002 +0000 rework-linux-newvcache-clean-up-dentries-20020123 previous pass wasn't SMP-happy. rework closer to original code. commit 0c239bbb3a1518e0f58891259f1f73fb170ffd99 Author: Chaskiel M Grundman Date: Wed Jan 23 07:55:08 2002 +0000 linux-afsd-ignore-signals-20020123 ignore signals sent to afsd on linux instead of running out of control also daemonize ourselves commit d19b5e9dff2a3cd6214e33d5f864a3e4d809778e Author: Derrick Brashear Date: Wed Jan 23 05:09:11 2002 +0000 linux24-add-configure-glue-for-new-inode-fields-20020108 sure would be nice if it compiled commit 8a906250f7220efd9210741f97d1b3fa568d74d4 Author: Derrick Brashear Date: Wed Jan 23 00:43:35 2002 +0000 linux-use-results-of-all-inode-configure-tests-20020122 we tested for and then failed to use things before commit ac9352424c477a930b4224205331f4e0bd319e51 Author: Nathan Neulinger Date: Tue Jan 22 23:31:06 2002 +0000 hpux11-wants-system-ar-20020122 gnu ar hates empty .o files commit 8871da3856f290ea067cf46687dd9a898acf5071 Author: Nickolai Zeldovich Date: Tue Jan 22 05:51:19 2002 +0000 linux-fix-mmap-write-20020122 a MAP_SHARED write wasn't being flushed back to the server commit 2e98a0b1ca9efef191875bda476897d16fc9d9e6 Author: Love Hörnquist-Åstrand Date: Mon Jan 21 19:34:18 2002 +0000 rx-cvsignore-rxperf-20020121 cvs shpuld ignore rxperf commit 7806d0a7d5d3cc74ec692f3cd5dcc5d91c614d79 Author: Nickolai Zeldovich Date: Mon Jan 21 18:05:26 2002 +0000 rx-cleanup-deadlock-and-refcnt-leak-20020121 The first part of the patch fixes a likely deadlock in the case when we're destroying a client connection with active calls. The second part fixes a minor connection refcount leak in my recent modification to protect against half-reachable clients. commit 5bf04219f55429610b0b51a6546bb7c20e722beb Author: Matthew N. Andrews Date: Mon Jan 21 10:24:12 2002 +0000 source-map-20020121 with modifications by shadow@dementia.org a guide to what's where in the OpenAFS source ==================== 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. ==================== with modifications by shadow@dementia.org a guide to what's where in the OpenAFS source this time the right file. a sure sign that it's bedtime. commit 8f4a0c1e27f163366d5577aeb44f7b7e59d740bb Author: Derrick Brashear Date: Mon Jan 21 09:14:21 2002 +0000 i-hate-autoconf-20020120 AC_PROG_CC not safe to call this early commit e44d1b4232a861030f1262bcbd2a41f5c0154283 Author: Love Hörnquist-Åstrand Date: Sun Jan 20 10:35:21 2002 +0000 rx-cleanup-gettimeofday-use-20020120 don't blindly make assumptions about gettimeofday ==================== 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. ==================== redo in a way that doesn't screw up with respect to libafsrpc and libafsrpc- using suites ==================== redo in a way that doesn't screw up with respect to libafsrpc and libafsrpc- using suites commit 599d747bb0478d8f743f6057d1ce1f09f1365c5e Author: Love Hörnquist-Åstrand Date: Sun Jan 20 08:04:44 2002 +0000 alpha-netbsd-param-fixes-20020120 make alpha little endian and remove duplicate define commit 698cb3037622b2bf294d64a3fc896a97af21138d Author: Derrick Brashear Date: Sun Jan 20 05:42:28 2002 +0000 revert-rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20020120 causes problems at minimum for linux commit 121cc34ed810e2849952ed7c1927c971a14aebc6 Author: Love Hörnquist-Åstrand Date: Sun Jan 20 05:19:08 2002 +0000 des-support-alpha-bsd-and-fix-test-programs-20020119 All BSDs are not I386s. Also include a patch that make sure that data are alligned on alpha. All bsd's will fix it up in kernel when used, but you'll get a huge performace penalty Use afs_int32 in the des programs to make sure they work and make them build again. commit 19835f0a125bccf982d6e9db0a0a6e6235c8a6db Author: Love Hörnquist-Åstrand Date: Sun Jan 20 02:17:12 2002 +0000 rxkad-make-stress-compile-again-20020119 Make stress compile again. commit b05cae13822beda473158c3bd7a8bc250c4acf71 Author: Love Hörnquist-Åstrand Date: Sat Jan 19 16:31:25 2002 +0000 bosserver-nofork-20020119 Make it easier to debug bosserver by adding a -nofork flag for the !nt40 env's. commit c8f461dcb0b4e8d63a99b9837f2dcc1d52d66cc4 Author: Nickolai Zeldovich Date: Sat Jan 19 16:28:33 2002 +0000 rx-protect-servers-from-half-reachable-clients-20020119 This patch should protect Rx-based servers from half-reachable clients, which issue requests but don't acknowledge the server's response, thereby eventually tying up all of the server threads, and denying service to all other clients. Such clients can arise in case of uni-directional routing failures, whereby all packets from the server to client are lost but not the other way around. The idea it to ping clients (using Rx ack ping) before attaching them to a thread, if (a) we're running low on threads, and (b) the client hasn't responsed to a ping recently. commit 7827ac9af178b5c4a0d42b2ff87ca7b012a513ef Author: Love Hörnquist-Åstrand Date: Sat Jan 19 09:25:19 2002 +0000 alpha-cleanup-20020119 make alpha AFS_64BIT_ENV Avoid warning by not passing data inside a pointer in the test program rw. Provide compatibility symbols for those w/o preempt hack so its possible to link test program `rw'. When comparing to lwp_cpptr->statcheck, cast to int, since that is the type of lwp_cpptr->statcheck. It may be the case that sizeof(int) != sizeof(afs_int32), but then other things will break too. clean tests with -f ==================== 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. ==================== and unbreak linux commit 0a94f88f96770b261b184c565c6959da51d8b65b Author: Love Hörnquist-Åstrand Date: Sat Jan 19 09:21:12 2002 +0000 des-fix-make-p-table-on-alpha-20020119 if printing with a long (l) unsigned (X), make sure to pass such a value as an argument (p_prime is of int type on alpha). commit a1aba97dbb9609ed52b90b780f1525e5cc1b7e6a Author: Love Hörnquist-Åstrand Date: Fri Jan 18 21:03:32 2002 +0000 bozo-misc-cleanup-20020118 - remove bos_util and install it - ignore it commit b769219adf6a02b90dd395b58b7b2f7a83b0625d Author: Love Hörnquist-Åstrand Date: Fri Jan 18 20:59:26 2002 +0000 netbsd-alpha-more-patches-20020118 get closer to server working commit e0319dc024e24e1198a863eca4a295f3449ef5d6 Author: Nickolai Zeldovich Date: Fri Jan 18 18:47:00 2002 +0000 largefile-dump-support-20020118 64bit file support for vos dump commit 60612252e71c304e882fbab1a8d5edec2218c28e Author: Love Hörnquist-Åstrand Date: Fri Jan 18 18:45:27 2002 +0000 netbsd-alpha-start-at-server-support-20020118 not ready yet adds the concept of a common OS param file commit a764c69cbb7f49135457042075b8375b81329b6a Author: Derrick Brashear Date: Thu Jan 17 10:49:35 2002 +0000 test-suite-update-README-20020117 reflect new test, ordering commit 57546d5cf340544730f96a83785effd494986260 Author: Derrick Brashear Date: Thu Jan 17 10:47:20 2002 +0000 testsuite-arrange-for-bad-volume-dump-to-be-in-useful-location-20020117 since we run the script not from the script dir we need to know where it lives, or do this. commit 7d21d2e9168f00617b7a4ccf00d9d6bc04bf632f Author: Derrick Brashear Date: Thu Jan 17 10:43:28 2002 +0000 top-makefile-build-runtests-20020117 make top makefile/configure build run-tests commit 8597c3e16c7398b49c8e7da21d65beb761af8e9b Author: Derrick Brashear Date: Thu Jan 17 10:10:37 2002 +0000 test-suite-frontend-mkdir-afs-20020117 mkdir /afs in case commit d0473533e7ee8f12548ded48187d33f252a69add Author: Derrick Brashear Date: Thu Jan 17 09:33:06 2002 +0000 test-suite-create-cachedir-20020117 take care of case where no cache dir exists yet commit 4d38e4526f7a640be9785d14316fecf8cdad64cd Author: Derrick Brashear Date: Thu Jan 17 09:24:18 2002 +0000 test-suite-check-for-salvager-correctly-getting-a-bad-uniquifier-20020117 there are cases where a vnode has a uniq which is different than that in the parent. the salvager should clean it up. commit 0d2670b92cfa246b5a52b398c23022a9f5bb6219 Author: Derrick Brashear Date: Thu Jan 17 07:52:31 2002 +0000 testsuite-frontend-restart-bosserver-20020117 so bosserver rereads configs commit 6ac7ac6bc6c739a3021940b3320ee746982be86a Author: Derrick Brashear Date: Thu Jan 17 07:25:52 2002 +0000 suite-be-less-verbose-20020117 toss more output in the non-verbose case commit 30807bbcfe616fd884b8a970030a9a7d19b76653 Author: Derrick Brashear Date: Thu Jan 17 06:47:28 2002 +0000 ka-util-differently-useless-20020117 drop state here commit 80ce7296a121726dc01aacd24a25e982ea85a12e Author: Derrick Brashear Date: Thu Jan 17 05:08:45 2002 +0000 test-script-substitute-fs-path-20020117 don't assume /usr/local/bin commit b46bb3881e3dbf49d8e57c736cdc4699f6519fcf Author: Derrick Brashear Date: Thu Jan 17 05:01:57 2002 +0000 update-suite-frontend-20020117 fix to use the defined mechanisms to set up bos foo commit 762ebfc77e6f4474c79669d9657b2b336ed8f5d3 Author: Derrick Brashear Date: Thu Jan 17 02:26:16 2002 +0000 test-suite-pick-up-replica-of-root-afs-20020116 run in replicated root commit 960cf2c54ec349549123d483eb7ea3fab1ff63e0 Author: Nickolai Zeldovich Date: Wed Jan 16 22:02:36 2002 +0000 rx-dont-challenge-forever-20020116 don't repeat challenges forever. give up after 50 tries commit 4146f3c2f6af8975b1d5b04b2a9cb56c3acbee1b Author: Derrick Brashear Date: Wed Jan 16 09:27:04 2002 +0000 nfs-translator-call-lookup-with-correct-form-of-dir-20020116 based on information from Kris Van Hees still untested commit 91dd0c39af85868edcb81fcca053d97dfa54479a Author: Derrick Brashear Date: Wed Jan 16 09:23:46 2002 +0000 introduce-ka-util-20020116 the start of a tool to write out a kaserver database. currently dumps but cannot create a kaserver.DB0 commit 53bbb7b3863770a178ec5e7ecd8b34257b423a8a Author: Jeffrey Hutzelman Date: Wed Jan 16 02:16:26 2002 +0000 vos-extra-info-but-disabled-20020115 extra info in vos examine, but disabled until we figure out a way not to irritate things which parse vos examine output commit 4860f8cb1584c85f02f88f8adfb7a71b2873bf3e Author: Chas Williams Date: Wed Jan 16 02:08:43 2002 +0000 linux-dcache-inconsistency-fix-20020115 minor rework on a patch from Ted Anderson (ota@transarc.com) to fit OpenAFS commit d581ab206ed03e93d60e61caa48fc0142211e0fa Author: Ted Anderson Date: Wed Jan 16 02:03:49 2002 +0000 linux-newvcache-clean-up-dentries-20020115 With work and feedback from Omkar Sathe and Srikanth Vishwanathan commit 6fb7ad67970e8f6b7467002d3bfe7fd4930c8864 Author: Nickolai Zeldovich Date: Wed Jan 16 00:56:02 2002 +0000 rxi-newcall-avoid-race-20020115 avoid race when creating new calls commit dcc13f040530f6c5a8b6f36365c665dc6e6e8e89 Author: Jeremy Stribling Date: Wed Jan 16 00:49:29 2002 +0000 openafs-tools-cmd-20020115 Tools for configuring a new cell and for building RPMs of said tools commit 966becc84430e952b6e226b068acf455697f9a07 Author: Derrick Brashear Date: Tue Jan 15 19:22:05 2002 +0000 test-suite-updates-20020115 cleanup all target, get missing headers ==================== 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. ==================== put perl modules in properly named subdir commit 4bd7319e4a13f8aa558e58d8ec6643812afb5594 Author: Derrick Brashear Date: Tue Jan 15 17:17:31 2002 +0000 deal-with-linux-large-uids-20020115 based on feedback from Hartmut Reuter 2.2 headers define the right things for this to work commit d616a68c94f657a822d71269c3144ab493464ea3 Author: Derrick Brashear Date: Tue Jan 15 16:33:08 2002 +0000 test-suite-cvsignore-20020115 we need one commit 78f2f8f4bd7eb07a8183a88f9ed7d184bd580967 Author: Derrick Brashear Date: Tue Jan 15 16:30:55 2002 +0000 test-suite-update-20020115 front-end script to tie together the test suite ==================== 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. ==================== remove bogus makefile ==================== stop bos bnodes before deleting commit fcb32c07ed6d35fb1a4a97371dccd68a09312beb Author: Derrick Brashear Date: Tue Jan 15 04:14:51 2002 +0000 test-suite-pull-tools-directly-in-20020114 move dump tools directly into test suite as that is their intended use canonical versions of these tools will be distributed otherwise and may be updated but these provide the minimum functionality commit f1964d2cf8d4c8b0468ad59a01f68c329258b40d Author: Derrick Brashear Date: Mon Jan 14 07:49:15 2002 +0000 functionality-test-suite-20020114 Based on Arla test suite and AFSTools with some other additions; intended to set up a standalone cell, perform operations commit 78b512f1dacf4782d700160ecb83f3328ec66901 Author: Jeffrey Hutzelman Date: Sun Jan 13 23:47:17 2002 +0000 dumptools-20020113 tools for manipulating afs volume dumps commit 2bd43007f4105e5a2f897378cb567fc334516388 Author: Steven N . Hirsch Date: Sun Jan 13 17:06:42 2002 +0000 alpha-linux-build-fixes-20020113 so alpha linux builds work again commit 907452f2d764b9e6c8e15136f05dd44844d011a3 Author: Derrick Brashear Date: Sat Jan 12 21:35:59 2002 +0000 bos-key-utility-20020112 modification of asetkey to allow manipulation of key files without a running bosserver (asetkey requires krb4; this does not) commit 2972ad04f1d3978a0f761a40b5ea7112b12f3114 Author: Derrick Brashear Date: Fri Jan 11 16:44:53 2002 +0000 linux-remove-hazardous-trace-events-20020111 use of osi_Sleep in tracing code makes this dangerous. commit 259bf2a7d42f045420a422fd112e3bafd38b7f91 Author: Nickolai Zeldovich Date: Thu Jan 10 06:42:21 2002 +0000 solaris-obtain-locks-under-GLOCK-20020101 Fix the two places in Solaris afs_GetOnePage where locks are obtained/released without GLOCK. ==================== 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. ==================== Fix the two places in Solaris afs_GetOnePage where locks are obtained/released without GLOCK. (Fix error in application of patch) commit 7990f0d4b102b171483e3845a5e1b687dea87d56 Author: Jeremy Stribling Date: Wed Jan 9 03:08:16 2002 +0000 README-NT-updates-20020108 info on how to set up debugging environment and other updates commit 54624ac81bd47438ae34d9bece4fafc80595302a Author: Nickolai Zeldovich Date: Tue Jan 8 20:54:12 2002 +0000 lock-tracing-20020108 patches to allow tracing with fstrace of afs locks commit 899a6eb679d5fff67d151e6aab568a7977ce8e4f Author: James Peterson Date: Tue Jan 8 20:44:31 2002 +0000 windows-updates-20010108 "1. The default Open AFS is set to normal security (doesn't generate random user names). If you are installing over a previous version (before 1.2.2b) it's default is high security; therefore, if you want the normal security, you should uninstall the previous version (1.2.2a or earlier) and select to 'Not Preserve previous settings'. To manually change security you need to set the following registry keys: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TransarcAFSDaemond\NetworkProvider LogonOptions = 1 - Integrated Logon LogonOptions = 2 - High Security options, Random User name generation LogonOptions = 3 - both 3. Windows 2000/NT, Win9x - First time installations will create necessary directories when user decides to download CellServDB 4. Windows 2000/NT, Global Drive working. 5. Windows XP - Drive mapping via GUI working. 6. Rename pthread.dll to afspthread.dll" commit 11a5394620cf9d28152a1fdb8064a96f74d07640 Author: Derrick Brashear Date: Tue Jan 8 20:41:11 2002 +0000 linux24-add-configure-glue-for-new-inode-fields-20020108 based on report from cg@cdegroot.com commit 55395ad69187dd8a0c858d09cde0263272cb4182 Author: Nathan Neulinger Date: Wed Jan 2 04:12:20 2002 +0000 update-readme-devel-for-parallel-make-hints-20020101 suggestions which make parallel make easier to support commit b00162aa76260d9867899a3bfb3d702cbb64d070 Author: Nickolai Zeldovich Date: Wed Jan 2 04:08:37 2002 +0000 vlserver-remove-duplicate-targets-20020101 "duplicates seem to confuse /usr/bin/make on MacOSX" commit d65e45f3d20bba23ecd783873c5a1cce8d0c9e7a Author: Love Hörnquist-Åstrand Date: Tue Jan 1 21:02:50 2002 +0000 netbsd-initial-support-20020101 update parameters so it will build commit 590916001b064041ed0337dc79519f23b02d2aae Author: Mark W. Eichin Date: Tue Jan 1 19:09:59 2002 +0000 linux-sparc-24-kernel-support-20020101 config for linux 2.4 kernels on sparc commit 24f9306e651ce38909c121c9d3b7b035c6a2886c Author: Ted McCabe Date: Tue Jan 1 19:01:54 2002 +0000 acinclude-update-for-new-darwin-version-strings-20020101 so we can build for new darwin versions commit 3e843e3dabbbe0fcfd0dbc55216ae1c5a3d94fe9 Author: Love Hörnquist-Åstrand Date: Tue Jan 1 18:57:18 2002 +0000 netbsd-server-support-20020101 support for fileserver (namei) on netbsd ==================== 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. ==================== like openbsd, stripping on netbsd strips libraries commit 161c73a807128dc40ad20a26b01cade534f6d1dc Author: Chas Williams Date: Tue Jan 1 18:49:18 2002 +0000 linux-osi-sleep-avoid-forgetting-events-20020101 based on suggestion from Ted Anderson "the changes make more sense than the code as it currently exists. the only think i am nervous about is the dontSleep delete. while it makes more sense to just not wakeup sleepers if none exist, i suppose its possible that some bit of afs code wants acausal (wake before sleep) events. that does seem quite unlikely. just looking at the sleep on solaris, it checks the seq number to get the next event not a previous event. i imported the changes and make the fixup in osi_stoplistener(). i dropped some of the silly syntax changes that junked up the diff -- this makes it a bit easier to see what was changed. i just added an assert in afs_addevent for quality assurance purposes." ==================== 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. ==================== fix for osi_StopListener so it does the rigth thing commit 0d9cabad65c46a8f3a04bf9ea2e2ce133c2f50ac Author: Nickolai Zeldovich Date: Sun Dec 30 00:07:02 2001 +0000 linux22-also-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails-20011229 linux 2.2 lacks set_current_state. currently in 2.4 it's a definition and not a real function, so this will work commit c1d2386e44573722f2cb16ee148b14960cd39670 Author: David Howells Date: Tue Dec 25 18:19:20 2001 +0000 linux-alloc-avoid-potential-recursion-freeing-memory-and-schedule-when-vmalloc-fails-20011225 "The first is to change the gfp_mask passed to kmalloc(). Using GFP_KERNEL, it is possible that the VM will call back to the filesystem to free up memory to satisfy the kmalloc request. GFP_NOFS will prevent this possible recursion. I believe GFP_NOFS first appeared in the 2.4.6 kernel. The second change involves the call to schedule() when vmalloc() fails. This can also cause a hang. The schedule() call could be replaced with: set_current_state(TASK_INTERRUPTIBLE); schedule_timeout(HZ);" commit 3ea10ea3539f48ec30ba59399ec484cf4b0b74d3 Author: Nickolai Zeldovich Date: Tue Dec 25 18:13:20 2001 +0000 rx-avoid-unnecessary-wakeups-20011225 "This fixes a livelock condition introduced in my earlier resource starvation patch; apparently I had erred too far on the side of "wake up just in case". The livelock bug is exhibited when running 10 fsstress processes at once; if many processes are waiting for a new Rx call, they get stuck in an uninterruptible kernel loop waking each other up." commit 28eefd7613c2de85f63233d82c3b53cff54e1074 Author: Nickolai Zeldovich Date: Tue Dec 25 18:10:39 2001 +0000 fix-dcache-deadlock-20011225 "This patch fixes a deadlock in the new dcache locking scheme. The underlying bug apparently existed before, but due to the absence of locking, it probably resulted in spuriously high refcounts rather than deadlock. The problem happens when there are zero-length dcache entries associated with a file; this is demonstrated by fsx, which hangs after running on AFS for a while. The writeback loop never releases dcache entries unless they're stored back to the server as part of a sequential byte range." commit fcda63bda075ab706a38fa39563164d8d1832e42 Author: Nickolai Zeldovich Date: Tue Dec 25 18:09:44 2001 +0000 fix-formatting-in-afs-h-20011225 minor formatting cleanup commit 96f340c532211577f5411aad2037ac728e6362e6 Author: Nickolai Zeldovich Date: Tue Dec 25 18:04:52 2001 +0000 dcache-dont-erroneously-fail-to-fill-in-tsmall-20011225 "The particular problem seems to be, when size is computed to be zero, tsmall is not filled in with valid data, and ProcessFS is called with a zeroed out OutStatus. This causes the file to magically turn into a directory (VDIR), among other things" "The second part of the patch doesn't fix any bug that I've ran into thus far, but seemed like a good idea while I was reading the code to find the former bug." commit 4e02670a22ca38356f34a53ac641b5c008908534 Author: Derrick Brashear Date: Mon Dec 24 21:19:07 2001 +0000 doc-heimdal-conversion-howto-20011224 short explanation of how to convert from a kaserver to a heimdal kdc including setting up iprop commit ddaf08d4b8f8a216e1df1891a531b36b37e23351 Author: Nickolai Zeldovich Date: Sat Dec 8 02:29:24 2001 +0000 make-storedata-use-unsigned-values-so-quota-cant-get-corrupted-20011203 Currently it's possible to give StoreData negative Pos/Length/FileLength arguments and thereby set the volume quota usage to arbitrary values. This patch makes these values unsigned, since negative file positions and lengths don't make sense anyway. commit 18f5f636dd6c1121a50614cf4860086db9f7842e Author: Love Hörnquist-Åstrand Date: Thu Dec 6 23:39:08 2001 +0000 rx-add-performance-testing-client-20011206 add rxperf with modified license which allows us to distribute it now pending more useful OpenAFS documentation existing at some point in the future. commit c5cd8752227cf9c0f67def7c681d85a49443a59f Author: Sam Hartman Date: Mon Nov 26 21:29:16 2001 +0000 bosserver-dont-enforce-world-readability-on-server-etcdir-20011126 no reason server etcdir needs to be forced world readable; nothing need default to those cellconfig files except in the localauth case and then you need to be able to read the KeyFile anyway commit 83873a8474906c67b2d2c0e135db59eb23c356ff Author: Jeff Riegel Date: Wed Nov 21 18:29:16 2001 +0000 windows-afsdb-freelance-notes-20011120 notes from Jeff about AFSDB and Freelance clients commit d99c35279d04b8759b01b499057f1107bab9de4d Author: Nickolai Zeldovich Date: Wed Nov 21 16:01:19 2001 +0000 dcache-finegrained-locks-20011121 This patch implements more fine-grained locking for dcache entries. The main advantage is that multiple chunks of the same file can be fetched at once. This means that an incorrectly-guessed prefetch won't block other fetches, prefetches of multiple chunks can occur in parallel, and multiple processes sharing the same file can read from different parts of the file at once. commit 392ae5ce36f888023504ff16772c80310b39362a Author: Yves Schutz Date: Wed Nov 21 15:54:35 2001 +0000 quote-modloaddir-when-looking-for-kernel-module-20011120 quote variable evaluation commit 16b809cef228bd5b80920a9f34e3c02d4e4db4a3 Author: Thomas Mueller Date: Wed Nov 21 15:41:26 2001 +0000 linux-rc-make-ifconfig-speak-english-for-parsing-20011120 sadly the script is fluent only in english and can't even pretend it knows anything else commit 74432508a7ab28b0f4e66a88bcf4fe7cc323278d Author: Garry Zacheiss Date: Wed Nov 21 15:36:43 2001 +0000 bozo-make-logging-more-readable-20011120 add missing newlines commit 8b5438790d4e4d6fddcb19957e603a14fefb6da3 Author: Nathan Neulinger Date: Wed Nov 21 15:31:24 2001 +0000 afs-trace-missing-dependancy-20011120 so when afs_trace.et updates the header gets rebuilt commit a26794a25cacd3378d9967d5cb645f2429dc97a8 Author: Sam Hartman Date: Wed Nov 21 15:29:52 2001 +0000 ktc-dont-prototype-lseek-20011120 breaks sparc linux 2.2 commit 6a0443bdcce0bde8af06af0da929cff6a693ead3 Author: James Peterson Date: Wed Nov 21 06:44:28 2001 +0000 windows-updates-20011121 missed updates needed for next release commit 7d38c7fe5849201673c5f3ddb9f87f4186328722 Author: Derrick Brashear Date: Tue Nov 20 20:04:55 2001 +0000 afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011120 the equivalent of what's done in InstallUVolumeEntry to avoid a deadlock but just for this server since it's all we're dealing with commit c53a034e36ec538c3a0b010a292b810a62c8f2b8 Author: Chas Williams Date: Mon Nov 19 16:59:53 2001 +0000 viced-getstatus-clear-lengthhi-since-not-now-using-it-20011119 so we don't end up with bogus value here commit b460d2950287840ac1c10f3300b467e10771c14f Author: Chas Williams Date: Mon Nov 19 16:58:02 2001 +0000 startrxafs-fetchdata64-always-show-result-and-EFBIG-at-7fffffff-20011119 show fetch64 errors also mask high bit for reporting EFBIG commit cae92b082cb1551fd0c93ec1275640f7ea957bbf Author: Chas Williams Date: Mon Nov 19 16:53:46 2001 +0000 viced-fetchdata64-should-call-common-code-in-64-mode-20011119 both of the stubs shouldn't be using the 32 bit case in common commit 0a6069850afe7babcd796781b8ce9e3d31c3ae5f Author: Chas Williams Date: Mon Nov 19 16:52:02 2001 +0000 rx-sys-fix-broken-install-dependancies-20011119 this got broken in one of the sets of changes commit 05c2a3e13addcfb05a5aa65baeccf8f5e00a6180 Author: Derrick Brashear Date: Wed Nov 14 23:59:57 2001 +0000 viced-add-missing-comma-in-64bit-detailed-stats-case-20011114 and due to no prototypes this slipped right on by commit 3f7e32771871ab615e5227cd037a13d41c5969ab Author: Garry Zacheiss Date: Wed Nov 14 17:39:30 2001 +0000 bosserver-log-improve-readability-20011114 include newlines in boslog output commit 54f065005264764f30ea44541d0b7eb5c3965d6a Author: Nickolai Zeldovich Date: Wed Nov 14 04:02:27 2001 +0000 rx-fix-resource-starvation-problem-20011113 This patch fixes a resource starvation condition in Rx. The problem arises, for instance, when more than 4 daemons try to prefetch chunks of the same file at once. The fifth daemon is stuck in MAKECALL_WAITING state, never getting a chance to run, because the other 4 daemons never yield to the scheduler after releasing the call, and just grab the call back again. commit 94bc1753e9bbde8b63a42953263650b1db1666e7 Author: Derrick Brashear Date: Tue Nov 13 20:31:31 2001 +0000 afs-cell-avoid-need-for-new-prototype-20011113 reogranize so we don't need to add a prototype based on report from kolya@mit.edu commit cb99519f776c33703e571aa2976250b203f15f06 Author: Derrick Brashear Date: Tue Nov 13 17:24:05 2001 +0000 hold-afs-xcell-lock-during-setserverprefs-20011113 afs_RemoveCellEntry holds afs_xcell; setserverprefs modified the same structure but did not which was problematic if something changed out from under it commit b2821b103c5f4b2a3eb125bc36096580ce244e9e Author: Hartmut Reuter Date: Tue Nov 13 14:47:11 2001 +0000 64bit-client-mods-build-cleanly-20011113 necessary fixes for aix and solaris, plus fix for linux for when wake_up doesn't wake the sleeper commit b4e3729aae756725dfa04a607b126197004e6416 Author: Hartmut Reuter Date: Tue Nov 13 14:40:54 2001 +0000 pam-include-limits-h-for-NGROUPS-MAX-20011113 pam module needs limits.h to build commit 85ccf89c5a6ec9b6ca8988a2cb839a7b6c70c667 Author: Nickolai Zeldovich Date: Tue Nov 13 13:14:06 2001 +0000 nbobtainwritelock-fix-precedence-problem-20011113 NBObtainWriteLock always returned 0 due to precedence problem. Also add NBObtainSharedLock commit 4916d4b4221213bb6950e76dbe464a09d7a51cc3 Author: Nickolai Zeldovich Date: Tue Nov 13 04:59:22 2001 +0000 rx-compute-ackdatasize-correctly-20011113 This patch clarifies the implicit 3 reserved bytes in rx_AckDataSize, and hopefully makes the code more portable for future platforms. commit 5edece8304d848a4c9354c591374b02e1f3ba747 Author: Chas Williams Date: Tue Nov 13 04:52:26 2001 +0000 irix-build-cleanup-20011113 make IP35 port select correctly. make pagsh build again commit da3a557c29c4c6ff6a9a0d2f2f8b5163a747c798 Author: Chas Williams Date: Sun Nov 11 17:11:06 2001 +0000 irix-PFLUSHINVAL-should-be-VOP-FLUSHINVAL-PAGES-20011111 Based on suggestions from gwehrman@sgi.com commit 0304373130e923d4aee55b32e3a80f65c77da2eb Author: Chaskiel M Grundman Date: Sun Nov 11 01:57:36 2001 +0000 make-darwin-14-build-with-new-makefile-frag-system-20011110 head now builds on darwin 1.4; may not build in objdir env yet commit bedb78b0b0c38880b2d2852a08e1748845057479 Author: Chaskiel M Grundman Date: Sat Nov 10 23:20:04 2001 +0000 darwin-14-support-20011110 base support for darwin 1.4 commit c9d01b536d105ece7e1e149c3aed24b3d83a4d15 Author: Hartmut Reuter Date: Sat Nov 10 23:00:55 2001 +0000 more-64bit-client-fixes-20011110 some afs_offs_t still missing so obsolete code fixed and new trace for m.Length change commit 4c9808b25be9f775519d1110946d44d6105dbb02 Author: Thomas Mueller Date: Sat Nov 10 22:36:45 2001 +0000 use-NGROUPS-MAX-instead-of-constant-for-curpag-getgroups-call-20011110 NGROUPS_MAX instead of 30 used so we get all groups from getgroups commit de99fc23d41b57902b36b10179a8129da9b8b0ff Author: James Peterson Date: Sat Nov 10 22:31:04 2001 +0000 windows-updates-including-dont-lose-tokens-20011110 Win2k tokens association problems are fixed. details are in doc/txt/winnotes in the 1.2.2a updates file commit 9d8b844b3ece9cbf1c2c8a263d5219be06841590 Author: David Thompson Date: Sat Nov 10 18:21:59 2001 +0000 linux-afsd-allow-ext3-journals-without-error-20011110 an ext3 journal in the vice cache (root of the partition) is allowable we have no useful way to discern ext2 from ext3 without groveling in fstab so just allow it commit db2ddfaf1b322710e1bd4edce6d7519157c3c9eb Author: Nickolai Zeldovich Date: Sat Nov 10 18:14:30 2001 +0000 rx-dont-ackall-a-connection-were-waiting-for-retransmits-on-20011110 "My theory of what happened is roughly as follows: Process tries to read data from AFS (as part of a page fault); issues a new Rx call on an Rx connection to the fileserver. The server transmits some data back to the client, but some packet is lost. Something tries to garbage-collect/destroy the connection; since there is an active call, it can't do so, but issues an rx_AckAll anyway, which acknowledges all packets transmitted by the server as having been received. Server flushes its retransmit queue. Client waits forever for the lost packet to arrive, but since the server has already flushed the transmit queue, it cannot possibly retransmit it. All this is happening while the client has read-locked its address space (since the read is part of a page fault). /proc accesses that try to poke into that processes address space hang waiting for said lock, causing the lossage we actually observed." commit 7a012ce879fdb6193b77e71821b1f9cce89c0fd6 Author: Garry Zacheiss Date: Sat Nov 10 18:08:40 2001 +0000 rx-deal-with-missed-keepalives-by-accurately-tracking-call-number-20011110 (as originally discovered by ted@mit.edu) "This fix deals with the following lose case: Client starts a call that, for some reason, takes a long time on the server. While the client waits for the server to finish, client and server usually send each other keep alive packets. If something causes those packets to be delayed or dropped, then the client will conclude that the call has failed or finished (usually failed), while the server is still *busy* doing the call. In this circumstance, the client will initiate another call and the server will correctly respond that it is busy. Unfortunately, if the callNumber of a received packet doesn't match the callNumber of the outstanding call, then the client never sees that the server says it's busy. Instead the server appears as a black hole to the client. This fix ensures that the client sees the busy packets when its callNumber is reasonably out of sync with the server." commit b9d15d1b49aff5360f0c327ed703433565b00d57 Author: Chas Williams Date: Sat Nov 10 17:53:04 2001 +0000 irix-memcache-dont-call-osi-vm-storeallsegments-20011110 this caused a call to pdflush to happen at the wrong time, which should fix the zero filled files problem, the osi_assert(cred) problem and the execsorwriters == 0 warnings to go away commit a781c8a5bf8bbc81394706e150ca597b51bcf5e1 Author: Derrick Brashear Date: Thu Nov 8 08:12:59 2001 +0000 linux-kdump-also-work-with-early-24-kernels-20011108 yup, it had to come from somewhere. now it would compile with early and late 2.4 kernels commit c32ee0e39df202830046293d071f6ab50101760d Author: Nickolai Zeldovich Date: Thu Nov 8 03:02:08 2001 +0000 config-makefile-include-xcflags64-20011107 this was missed during the conversion commit c602093e51aa46f66ab5fb7cff3b7271876396d7 Author: Garry Zacheiss Date: Wed Nov 7 00:15:27 2001 +0000 solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106 if you're not using ufs logging it's ok to replace solaris fsck with vfsck, except sometimes it exits with 40 and that's not a failure to the solaris scripts. make it so for us also commit 3e9aa01a1cc9d3ae0bbcfcea86fcc0d157f47d6f Author: Garry Zacheiss Date: Wed Nov 7 00:11:20 2001 +0000 butc-allow-comments-in-tapeconfig-20011106 continue to allow extra column for comments as was previously (afs 3.4a) the case commit 0d4fd9fd6679bf30469c21db02f88e7d0d466a92 Author: Nickolai Zeldovich Date: Wed Nov 7 00:01:52 2001 +0000 afsdb-avoid-dns-case-issues-for-cell-aliases-20011106 This patch makes sure that in-kernel aliases to non-existant names aren't accidentally created due to case mismatch (e.g. "athena" being created as a symlink to "athena.MIT.EDU", while "athena.mit.edu" is the real cell that already exists). It also lowercases cell names in AFSDB lookups, otherwise the same problem appears in userspace (eg "aklog athena" tries to obtain tokens for cell "athena.MIT.EDU"). commit 547ce133274ad4fcac6b418d6de27f2e75bcf2e3 Author: Derrick Brashear Date: Mon Nov 5 19:43:47 2001 +0000 linux-kdump-kernel-also-has-timer-t-sigh-20011105 not the cleanest way of dealing, either commit 13d279883a5779b29ceeb4065c6222339c5e2618 Author: Derrick Brashear Date: Mon Nov 5 19:39:06 2001 +0000 linux-kdump-timeval-probably-not-needed-20011105 not sure what needs this. if something does we need to figure out what and only do this for them commit 4b156c380053e17dd861a329cba0902cec6c754a Author: Nickolai Zeldovich Date: Mon Nov 5 19:34:25 2001 +0000 bkg-daemon-dont-break-64bit-pointers-and-handle-requests-in-order-20011102 This patch fixes a problem with 64-bit pointers being munged by the background daemons (by separating sizes and pointers into separate variables -- this bug was apparently introduced by the 64-bit file support patch), and makes the background daemons handle requests in order they came in. The latter will be mostly just useful for some prefetching and fine grained dcache-locking patches commit 68196d85dbd09220f91421101f651d8e8d7322c3 Author: Thomas Mueller Date: Mon Nov 5 18:40:02 2001 +0000 pam-update-for-correct-krb-aware-module-20011102 the krb version of the module should be built completely in AFS_KERBEROS_ENV ==================== 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. ==================== clean up spacing commit 3f8a159257c4fea0a6fc79dff9a8974f83a98df2 Author: Nickolai Zeldovich Date: Fri Nov 2 21:00:41 2001 +0000 dynamic-root-allocate-space-for-dot-and-dotdot-20011102 no space was being allocated for . and ..; do so commit ea77b04c29460cbef445f39e9ad4646ee9d5be26 Author: Nickolai Zeldovich Date: Fri Nov 2 08:07:58 2001 +0000 afs-checkservers-improve-lock-granularity-20011102 work harder to release afs_xserver and afs_xsrvAddr locks in afs_CheckServers when not needed commit 9cbe95a1af131158e9f94499cfe4e2ed4f9f6cac Author: Nickolai Zeldovich Date: Fri Nov 2 08:03:08 2001 +0000 solaris9-and-makefile-updates-20011102 updates for solaris 9; also don't have ${XLIBS} in target dependancies if it's going to include things like -lnsl commit 3aaaa28ba8360100ce94c784d7e23ff99dc69e27 Author: Nickolai Zeldovich Date: Fri Nov 2 07:57:12 2001 +0000 viced-clear-clientdeleted-when-deleted-clients-are-cleaned-up-20011102 Currently nothing clears the CLIENTDELETED flag in hosts, so once a client has been deleted, h_TossStuff_r() will keep getting called with every host release. This patch clears the CLIENTDELETED flag every time we take care of deleted clients. commit 7f89a22213d212c4e6f841dc5d266b9ea81fbde5 Author: Carsten Jacobi Date: Thu Nov 1 05:45:12 2001 +0000 pam-setcred-dont-ask-for-passwords-20011101 don't prompt for passwords during setcred step commit b28927c75261d45872d80f32bf4e39d76eb9ac73 Author: Nickolai Zeldovich Date: Thu Nov 1 05:24:30 2001 +0000 dynroot-allow-cell-aliases-20011101 allow cell aliases. includes support for non-'V' pioctls commit 78d943385127c3931f504055e47f62154bf9ac53 Author: Nickolai Zeldovich Date: Thu Nov 1 05:18:30 2001 +0000 kdump-display-timeout-for-cell-info-20011101 added field in kdump output to display afsdb timeout info commit b20525634aa5b8cfbba33d59527a337e060278ff Author: Nickolai Zeldovich Date: Thu Nov 1 05:16:27 2001 +0000 solaris-rx-kernel-set-listener-pid-from-curproc-20011101 set kernel listener pid from curproc rather than curthread (and clean up unnecessary break case in code) commit 42fddc7b46f75968b94a6532b1183f1b0e6214a6 Author: Nickolai Zeldovich Date: Thu Nov 1 05:11:25 2001 +0000 pts-error-message-cleanup-20011031 print error in such a way that it makes more sense commit dd9a7b025a651d00250e1977dc44c0167f1c748f Author: Nickolai Zeldovich Date: Thu Nov 1 05:10:38 2001 +0000 afsdb-default-in-rc-files-20011031 enable afsdb using rc files commit b1c72363e013d9dc7921ea5f9ddf5038fa09a43e Author: Derrick Brashear Date: Thu Nov 1 05:05:26 2001 +0000 irix-build-ip35-module-only-if-headers-exist-20011031 IP35 support requires 6.5.9 or later; only build if we have headers commit 838e1eae1a62cae05df8239a82f20be47b2183b2 Author: Nathan Neulinger Date: Thu Nov 1 04:59:26 2001 +0000 build-system-specific-makefile-configuration-from-configure-20011031 junk all of Makefile.${SYS_NAME} in favor of a common makefile built by configure, and use it commit c5b1a3775fb0dc33156716e5deed381e81f83e67 Author: Hartmut Reuter Date: Thu Nov 1 04:39:08 2001 +0000 more-64bit-file-size-support-20011031 further 64bit file size support for client commit 971b18bc424ac969f12166dd83d7b327b9257636 Author: Hartmut Reuter Date: Thu Nov 1 04:01:22 2001 +0000 client-64bit-file-size-support-20011031 new RPCs and client-side support for large files commit 05186dbe192d54b5da38885eaee0eec4af164e14 Author: Hartmut Reuter Date: Thu Nov 1 03:58:36 2001 +0000 aix-namei-fileserver-support-20011031 necessary for namei support on aix commit dcc63e13efe02161e688a9bbbe6d97aea7e5f636 Author: Hartmut Reuter Date: Thu Nov 1 03:54:40 2001 +0000 fast-restart-exit-if-no-args-20011031 when using fast restart, if salvager took no args, assume it's the fs bnode and exit commit c1d1a27ba99284b8877f4449f2871eb81a9b31ce Author: Jeff Riegel Date: Thu Nov 1 03:40:21 2001 +0000 freelance-updates-20011031 updates to make freelance patches work, create mountpoints from afsdb on the fly commit 638d0e7c56237722c707883dfaaa9055e5d146de Author: Nathan Neulinger Date: Fri Oct 26 04:50:06 2001 +0000 parisc-linux-lwp-updates-20011025 update parisc lwp foo commit 2f4ec2cfaa646f4e56a3d79a538ed51d9044a5f9 Author: Nathan Neulinger Date: Fri Oct 26 04:49:11 2001 +0000 rx-test-srcdir-support-20011025 continuing srcdir support for objdir builds` commit fbb1d7edf8edd68cc491c1812599517a3253b360 Author: Hartmut Reuter Date: Wed Oct 24 16:56:00 2001 +0000 export-dont-include-afsconfig-to-avoid-conflicts-20011024 ncluding afsconfig results in conflicts on some systems due to _KERNEL commit 77523f9506e60e5f22e5cc790eb34d2aa96a0524 Author: Derek Atkins Date: Wed Oct 24 16:25:22 2001 +0000 afsd-make-debug-switch-print-afsops-20011024 just print one more argument for afs system calls commit a221929afdd53b0c25aa337e046979b2baaa76ca Author: Hartmut Reuter Date: Wed Oct 24 16:14:18 2001 +0000 bozo-fix-bos-addhost--clone-20011024 addhost -clone didn't previously work right. this fixes it commit 8d9ff8a0da43ab9b11a7c9a5a7ee06fb6f2185c1 Author: Nathan Neulinger Date: Wed Oct 24 16:03:48 2001 +0000 undo-makefiles-rewrite-for-objdir-support-20011023 fails certain cases commit 6b0d58257d64404e6723b9dcef27f320b5ba9b31 Author: Derrick Brashear Date: Tue Oct 23 23:06:41 2001 +0000 linux-autoconf-reuse-i-truncate-sem-name-for-new-test-20011023 since we need to initialize a semaphore commit e62e3c9b661d6dcdebe7f29ee0906f788be893b8 Author: Nathan Neulinger Date: Tue Oct 23 21:57:19 2001 +0000 makefiles-attempt-to-support-gmake-j-20011023 move toward being able to gmake -j openafs commit b3240071642cc6731ad231453b39dc173aaab2f5 Author: Nathan Neulinger Date: Tue Oct 23 21:39:56 2001 +0000 venus-kdump-build-from-srcdir-20011023 kdump should be built from src in srcdir commit b3164a2f90b04a9a6bd969b2744043913f86a9c3 Author: Nathan Neulinger Date: Tue Oct 23 21:36:05 2001 +0000 parisc-linux-lwp-sp-20011023 provide stack pointer for parisc linux lwp commit e824f085aaf3118a91f9e546a38036f8561f6346 Author: Nathan Neulinger Date: Tue Oct 23 19:56:56 2001 +0000 makefiles-rewrite-for-objdir-support-20011023 rewrite makefiles to support objdir; simplify in the process commit 28df3030790336ac5dfd338cbe6acec5ff964e3f Author: Derrick Brashear Date: Tue Oct 23 16:27:25 2001 +0000 linux-configure-support-mandrake-kernel-patches-20011023 init_once in mandrake calls init_rwsem(&inode->i_truncate_sem); so do we commit 3c11ae3aa1d2bc9ad37dae17d970f3e1c822a855 Author: Derrick Brashear Date: Tue Oct 23 16:26:00 2001 +0000 doc-html-index-correct-spelling-20011023 documentation should be spelled that way commit 4f852f5e708b4ebc0e79dfea7701c70c3949edbd Author: Nathan Neulinger Date: Mon Oct 22 17:55:05 2001 +0000 venus-install-kdump-scripts-from-srcdir-20011022 non-generated scripts come from srcdir commit 19019b12d0a5bc29b63d13dde2257c47c71211c4 Author: Derrick Brashear Date: Sat Oct 20 17:27:47 2001 +0000 vos-rename-crypt-to-encrypt-20011020 so -c is again unique commit c3eee5410b6465c0e132364b9827934ea2b7b334 Author: Derrick Brashear Date: Fri Oct 19 19:52:28 2001 +0000 cache-server-inlinebulk-support-and-enable-inlinebulk-20011019 expand struct server's "flags" to unsigned int from char assume inlinebulk and turn off on first failure ==================== 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. ==================== fix precedence error commit dd5689605a5250d6d38acf004fe350e4947143d0 Author: Jeffrey Hutzelman Date: Fri Oct 19 17:22:30 2001 +0000 added button GIF's to the HTML docs commit 653b47a5524d72d1c819f9dea9300066a69f6690 Author: Nathan Neulinger Date: Fri Oct 19 16:56:55 2001 +0000 des-use-ar-macro-instead-of-direct-call-like-everyone-else-20011019 so we can use ar like every other directory commit df6815aa72b1d123d1b9abc40139801f98e2b0f6 Author: Derrick Brashear Date: Fri Oct 19 16:48:57 2001 +0000 irix-ip35-tweak-kernel-cflags-20011019 based on doc provided by gwehrman@sgi.com commit 70ef828ef731398fb26b62dedaff4f748b668e56 Author: Nathan Neulinger Date: Fri Oct 19 16:31:04 2001 +0000 cmd-errors64-is-generated-so-not-from-srcdir-20011019 fix problem with objdir builds commit 066d15c83235a3639a22108095755f2e4e217f43 Author: Chas Williams Date: Thu Oct 18 16:40:08 2001 +0000 irix-first-pass-at-ip35-support-20011017 i missed this and chas caught it commit 367c2856e8ec8ddedcb422aad1a367581813a121 Author: Eric Lauriault Date: Thu Oct 18 00:36:02 2001 +0000 sunx86-support-20011017 base sunx86 support for newer than solaris 2.4 commit b9948dd9655d8eed505039a50b1aaa83a8213f18 Author: Nathan Neulinger Date: Thu Oct 18 00:06:58 2001 +0000 initial-objdir-support-20011017 first cut at objdir support commit 9e0300cd9735d578d084df60616ec7ec6efba8db Author: Nathan Neulinger Date: Wed Oct 17 23:24:33 2001 +0000 development-readme-20011017 hints for developers commit a8f440e991d7ff139d60b972f42bfc7b3b8f4a43 Author: Derrick Brashear Date: Wed Oct 17 23:17:53 2001 +0000 linux-dont-require-osi-vfs-to-be-installed-20011017 based on reports from hartmans@mit.edu and jhutz@cmu.edu commit f5d36b1c7094a8a2c74ceb292e8ef84a894236fc Author: Derrick Brashear Date: Wed Oct 17 22:53:48 2001 +0000 irix-first-pass-at-ip35-support-20011017 based on extensive feedback from Forest Godfrey and Michael Raymond of SGI commit 013d5abbc4cc5a98ab1a66eb9fab01e35acf6d27 Author: Chas Williams Date: Wed Oct 17 22:07:49 2001 +0000 sgi-ip20-work-around-cvt-bug-20011017 "apparently the rev 1 r5000 chips implement 'cvt' incorrectly. the irix kernel works around this problem by checking each text page mapped into memory and doing a fixup on the cvt instructions. it tries to maintain a hash of these pages using fid2() or fid() if fid2() returns ENOSYS. afs, in an effort to prevent people from doing checkpoints on an afs filesystem, makes fid2() return EINVAL. this also keeps the kernel from mapping executables that are in afs space on the broken r5000's. this is the patch i have been using for the past couple years while waiting for an official fix. it makes fid2() return ENOSYS, so you now need to have to have v_ckpt. however i disabled the rest of the CKPT code since i have no idea how well that code actually works. additionally, this behavior is only functional on machines with the 'broken' r5000 h/w. i cant think of a better way to fix this problem since i cant change the irix kernel." commit 56933c552af2f5e01f6ea74d9c8bb50acd17c5db Author: Derek Atkins Date: Wed Oct 17 22:03:45 2001 +0000 top-makefile-make-installs-not-depend-on-extra-building-20011017 kernel module should not make usermode stuff and vice versa commit d785c93b29595704a5544120f5cdb62c42b43064 Author: Nickolai Zeldovich Date: Wed Oct 17 21:46:18 2001 +0000 bozo-getcellhost-takes-uint32-not-int32-20011017 pass in a uint32 rather than an int32 commit ded5127fc0ccfd6845c24eec41ed3bd52858606a Author: Nickolai Zeldovich Date: Wed Oct 17 17:43:17 2001 +0000 cmdebug-addrs-option-20011017 This patch adds an "-addrs" option to cmdebug, which lists the interfaces of a remote cache manager, via the WhoAreYou AFSCB RPC. commit ffc10442a137a69087533acc12d0617bf7469f8d Author: Derrick Brashear Date: Wed Oct 17 17:36:07 2001 +0000 cvsignore-updates-20011017 based on comment from nneul@umr.edu commit a5cf91a8e27a360e63ebc3826802ff7d518fe693 Author: Derrick Brashear Date: Wed Oct 17 16:12:00 2001 +0000 junk-redhat-sh-since-configure-tests-cover-us-20011017 we don't need this anymore commit 50b3a0fb22403b250585cbc3d7c4cd17440840d5 Author: Derrick Brashear Date: Wed Oct 17 04:06:22 2001 +0000 dux-kernel-lacks-mem-functions-20011016 from report from jimmy@e.kth.se you can tell how many people are using openafs on digital unix/tru64. sigh. commit d4c039ce1a5747dc4b8acfacba766d2b2671bb26 Author: Derrick Brashear Date: Sat Oct 13 06:28:07 2001 +0000 disable-client-inlinebulk-20011013 until we can remember which servers support it commit a158978f851a97c93a350fa3bce127f9e0db052a Author: Derrick Brashear Date: Sat Oct 13 06:27:19 2001 +0000 update-news-file-20011013 update news file for new advances commit 47685b40daded38999df92d9c1d2d8efa9a15509 Author: Derrick Brashear Date: Fri Oct 12 18:55:33 2001 +0000 linux-no-umount-begin-20011012 to fix problem reported by rtm@cert.org this code needs to be reworked before it can be reactivated commit 8ac78a72951ca5d0f21f1005a71c9e0a454f6a43 Author: Ed Symanzik Date: Fri Oct 12 14:55:03 2001 +0000 fbsd-makefile-typo-20011012 add missing = commit b4ad986ac0ed10c82b9a4020802236676d9a0eba Author: Derrick Brashear Date: Fri Oct 12 01:24:22 2001 +0000 make-logging-enhancements-aix-friendly-20011011 AIX lacks WCOREDUMP so we work around it commit a69752132ba1299b829c14942141711c0fcb6733 Author: Derrick Brashear Date: Thu Oct 11 22:51:13 2001 +0000 fix-attach-directories-code-to-properly-use-vgetpartition-20011011 irix hates us when we misuse functions commit 8cd212c6915bac92ddd2f830aebb351c7ebe953d Author: Nickolai Zeldovich Date: Thu Oct 11 22:41:45 2001 +0000 irix-adapt-mtu-correctly-in-multi-interface-case-20011011 let hash_enum iterate so we get the right interface ==================== 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. ==================== undo chas's earlier patch fix another flub commit 95116cea15c8a4926cc408e44db7ecdc0990d3c8 Author: Derrick Brashear Date: Thu Oct 11 22:33:05 2001 +0000 logging-enhancements-need-ctime-decl-20011011 make irix happy commit 3626c9a3502d581b97752e35696f0ec838aacf40 Author: Jeffrey Hutzelman Date: Thu Oct 11 21:34:50 2001 +0000 support-nested-variables-20011009 bash 1.14.7 can't deal with backslash-quoting for this commit 083748a6a42c4e3e85657c45b621320179be4ec2 Author: Chas Williams Date: Thu Oct 11 19:39:32 2001 +0000 irix-adapt-mtu-correctly-20011011 rxi_MatchIfnet() always returns 0 (i.e. not a match). so rxi_FindIfnet() will always return 0 and the ADAPT_MTU code can never determine the interface (and its mtu) fix by returning 1 if we have a match_value commit 99ba2ae4b6774d33cf26d132c0cdcedc8ea5bffd Author: Ken Raeburn Date: Thu Oct 11 18:39:36 2001 +0000 check-for-makefile-fragments-for-systype-at-configure-time-20011011 don't succeed configuring if we can't build for them ==================== 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. ==================== don't look at the generated files commit 80541f175795043a533d64d2d9fb6cca02950e77 Author: Chas Williams Date: Thu Oct 11 17:41:51 2001 +0000 irix-lacks-mem-functions-in-kernel-so-revert-to-b-functions-20011011 same as how we fix solaris commit 652bdc777bc3638c913f917b7c9c7708be69f19a Author: Ken Raeburn Date: Thu Oct 11 08:50:48 2001 +0000 alpha-linux-24-base-support-20011011 openafs works on alpha linux 2.4 commit 3ccf53b878e994e4c84f742a1bcbe36699f7c4e9 Author: Nickolai Zeldovich Date: Thu Oct 11 08:43:17 2001 +0000 merged-configure-support-solaris9-20011011 this slipped through the cracks when configure and configure-libafs were merged commit 5cf450acf373bb05b5a0164d469714a655f465b9 Author: Nickolai Zeldovich Date: Thu Oct 11 08:41:22 2001 +0000 bulkstat-correctly-return-fetchstatus-error-20011011 actually fall back to fetchstatus's error commit 1748be7dddec8f69a1a83273fcf22e3ab7b91109 Author: Derrick Brashear Date: Thu Oct 11 08:36:43 2001 +0000 solaris-afs-nfs-translator-not-a-prayer-20011011 first pass at afs-nfs translator for solaris. it has not a prayer of working. i don't really have time to work on it, hopefully someone will see it and care. commit 26996e0cb8c1ff90748b8edf32b8d6293e28aa67 Author: Derrick Brashear Date: Thu Oct 11 04:15:28 2001 +0000 linux-umount-begin-dont-preclude-afs-put-super-from-usefully-calling-afs-shutdown-20011010 afs_put_super calls afs_shutdown, which expects to be called with afs_shuttingdown equal to 0, not 1 commit 1774eaacce6baee4332dccb74a6a091f01439942 Author: Nickolai Zeldovich Date: Wed Oct 10 20:32:21 2001 +0000 cell-alias-support-fix-memory-leak-20011010 be careful to clean up after ourselves commit 72d9dc774197b2cc0397fd8ee7dfd4b84d54d843 Author: Derrick Brashear Date: Wed Oct 10 15:00:54 2001 +0000 h-release-r-should-try-harder-to-reap-deleted-hosts-20011008 based on complaint from and work with jimmy@e.kth.se h_OtherHolds_r will never return 0 if we mask our own hold bit before calling it. however we must be careful to mask before h_TossStuff_r so we aren't still "holding" then otherwise just release our hold ==================== 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. ==================== mask holdbit in case i missed commit acdadc1bdedd6df7c9d8331bae1d375135d8f06d Author: Derek Atkins Date: Wed Oct 10 04:16:54 2001 +0000 linux-rc-file-cleanup-20011008 Modularize the Linux RC file(s) a bit. In particular, add more options for larger caches, allow autogeneration of the cacheinfo file, make sure AFS only starts if the network is running, add SuSE header information, and cope with the Red Hat initscripts better (on Red Hat only, but should work on all systems). ==================== 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. ==================== fix silly typo commit 077c0a4d76a77117465a458f3be67560dbc299d5 Author: Nickolai Zeldovich Date: Wed Oct 10 01:10:29 2001 +0000 unix-dynroot-support-20011009 The result is that if afsd is started with "-dynroot", /afs will be a locally-generated directory, with mountpoints for every cell in CellServDB (and /afs/.cellname as the rw mountpoint). If AFSDB support is also enabled, attempting to access /afs/foo will cause the cache manager to do an AFSDB lookup on foo, similar to an automounter. Cell aliases become symlinks to the real cell names under /afs. commit 56fa8cca37516dcc23e5b16e61670d27d0ee9dad Author: Nickolai Zeldovich Date: Wed Oct 10 01:05:27 2001 +0000 support-cell-aliases-20011009 This patch adds support for "cell aliases": a cell alias allows a single cell to be known by multiple names (one of them the primary). This is useful in conjunction with AFSDB support, where you want all the possible names for the same cell to share the same tokens, etc. For instance, if the local resolver has "mit.edu" in its search domain, an AFSDB lookup on cell "athena" will cause the primary cell "athena.mit.edu" to be created, and "athena" made an alias for it. commit 1b979e5a83fe37ccaca0b423ffc2eaaeadcc2eee Author: Nickolai Zeldovich Date: Wed Oct 10 00:59:46 2001 +0000 rx-trace-check-correctly-for-file-descriptor-validity-20011009 file descriptor numbered 0 is valid commit a60bb0c5510d5272458bc1cc368a4c4cd77114a2 Author: Nickolai Zeldovich Date: Wed Oct 10 00:58:44 2001 +0000 release-buffer-cache-lock-before-opening-file-20011009 make the buffer cache release the buffer hash lock before trying to open the corresponding file. Since we're already holding a buffer cache entry, we can lock it instead and let other threads obtain the big hash lock. commit f10372acf2bc21579674c06b50a1ee967fa89302 Author: Nathan Neulinger Date: Wed Oct 10 00:57:05 2001 +0000 tbutc-make-tsm-a-configure-option-20011009 not tsm support can be configure'd on ==================== 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. ==================== gmake wasn't part of the deal commit 11171303cdc4e05bd80c9069496e881d4e872743 Author: Jeremy Katz Date: Wed Oct 10 00:45:54 2001 +0000 support-nested-variables-20011009 necessary changes to nest variables so build directories can be changed when installing by overriding fewer variables commit 309122e86415b8ee17796a9612bcb8567291d242 Author: Jeffrey Hutzelman Date: Tue Oct 9 15:48:25 2001 +0000 configure-and-configure-libafs-use-acinclude-as-common-ground-20011008 use a single file for most of both configure scripts ==================== 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. ==================== except don't require autoconf 2.50 commit 2185f91d88f0666ffa3b1b000b8a078692e5a65c Author: Jeffrey Hutzelman Date: Tue Oct 9 07:32:58 2001 +0000 add-live-sys-cmd-20011008 The attached patch adds a program named 'livesys' to the venus directory. This program has exactly the same interface as 'sys', but actually does a pioctl to find out the current sysname instead of printing a value compiled into it. It is intended for sites who want 'sys' to report the active, locally-assigned sysname of the machine on which it is run. commit b5ea10611c1f474095017b20d119e87b61933b48 Author: Derrick Brashear Date: Tue Oct 9 06:56:43 2001 +0000 avoid-losing-when-sorting-server-prefs-if-a-server-has-left-out-from-under-us-while-we-were-playing-20011009 but it would be better to figure out how we're losing a server out from under us. commit 66d086da413b922097a16ce894fd105c63cd9e70 Author: Jeffrey Hutzelman Date: Tue Oct 9 06:29:16 2001 +0000 volser-update-backup-times-20011009 update backup time when the backup is recloned commit 342ae52c816aeb087bd4d32424baa6cc60ee1166 Author: Jeffrey Hutzelman Date: Tue Oct 9 06:27:31 2001 +0000 logging-enhancements-20011009 The bosserver now logs the exit status of processes under its control. ==================== 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. ==================== Messages generated as the result of assertion failures now include timestamps. commit 3c72f0ab259c2e7bb7872d39ff0dc161611fadc6 Author: Nathan Neulinger Date: Tue Oct 9 06:14:16 2001 +0000 parisc-linux-initial-support-20011008 initial support for the pa risc linux port commit e4afa03500a494ef1a142076b02eb4c11944e68b Author: Nickolai Zeldovich Date: Tue Oct 9 05:57:31 2001 +0000 freelance-compute-dirsize-correctly-20011009 compute directory size properly commit bdc894b9458817a1d5a9870d517e239c69d90f8e Author: Chaskiel M Grundman Date: Tue Oct 9 01:07:41 2001 +0000 linux-dcache-cleanup-aggressively-to-avoid-having-too-many-vcache-entries-locked-down-20011008 less aggressive, though, than the "don't use the dcache at all" d_drop solution i proposed. commit 0c03f8607e15e5ebb49eb6dd38a72dc320df9a20 Author: Jeffrey Hutzelman Date: Mon Oct 8 23:55:41 2001 +0000 vos-command-enhancements-20011008 - Adds the -crypt option, which causes rx connections to be encrypted - Adds the 'vos setfields' command, which allows volume info fields to be set. Currently, this command allows a volume's quota to be set, and allows its dayuse counter to be manually cleared. At present, no other changes are supported by the volserver RPC interface. - Adds the 'vos changeloc' command, which allows the VLDB's idea of the location of an RW volume to be explicitly changed without actually moving the volume. This can be used in cases where the VLDB has the wrong idea of the location of a volume for some reason. It is somewhat more predictable and easy to understand than the syncserv and syncvldb commands. - Adds the -offline option to 'vos restore'. This option causes the restored volume to be left offline. This functionality was already present in the code but previously had no user interface. - Adds the -readonly option to 'vos restore'. This option causes the restored volume to be an RO volume. It is not permitted to restore an RO volume when the associated RW volume already exists. While it is possible to restore an RW volume where an RO volume exists, caution should be used to avoid doing this with VLDB entries created by 'vos restore -readonly', since such entries have their ROVOL and RWVOL ID's set to the same thing. commit 0c15cc977e130596bb834de3bc24e10227528c15 Author: Nickolai Zeldovich Date: Mon Oct 8 23:47:01 2001 +0000 fix-uafs-build-20011008 apply until intent of change is clear commit d20760c30601274ed0b072877e9975e3db21609a Author: Nathan Neulinger Date: Mon Oct 8 23:34:53 2001 +0000 more-cvsignore-updates-20011008 fix some cases where versions were hardcoded commit f4b688d9ed75ab429848e2a4cdb7b0f38eae712a Author: Nickolai Zeldovich Date: Mon Oct 8 23:19:07 2001 +0000 solaris-9-support-20011008 support solaris 9 commit 6583586e4033824cfe9e7bdd424dd1a6cea6e149 Author: Nickolai Zeldovich Date: Mon Oct 8 23:15:24 2001 +0000 fix-linux-atomic-t-lossage-by-macroizing-vnode-refcounts-20011008 convert to macros for dealing with vnode refcounts deal with linux 2.4 atomic_t in the process commit 2d1ee8cf3d0519e584d5f0bf1979b5ec397898ce Author: Jeff Riegel Date: Fri Oct 5 22:40:44 2001 +0000 windows-afsdb-and-freelance-afs-root-support-20011005 afsdb record support for windows freelance /afs (make up an afs root instead of using root.afs from some cell) support for windows commit d53aea964ca8b74b5206f94708078ec960edb9b1 Author: Nathan Neulinger Date: Fri Oct 5 22:31:47 2001 +0000 vol-warnings-cleanup-20011005 make stream_open take const arguments commit d924d9e4a70f243b7ff33288a1d7d9af11067c8d Author: Nathan Neulinger Date: Fri Oct 5 22:30:56 2001 +0000 sys-warnings-cleanup-20011005 add headers commit 9845b85764a8542b4399873953fa47040caf6ec2 Author: Nathan Neulinger Date: Fri Oct 5 22:30:12 2001 +0000 rx-warnings-cleanup-20011005 add header, pull ++ out of ntohl commit 72977b7f013a7ca7a02bec2ba34189c3b711e284 Author: Nathan Neulinger Date: Fri Oct 5 22:28:49 2001 +0000 util-makefile-suppress-multiple-install-target-20011005 extra install target unneeded commit c5d97c62c819b5e36c6145deb77a5ee003ef8cd9 Author: Nathan Neulinger Date: Fri Oct 5 22:25:24 2001 +0000 viced-server-shutdown-diagnostics-20011005 print some debugging if we shutdown due to failure commit 45376df63f7f4beda2bac863c73d478746c821ed Author: Nathan Neulinger Date: Fri Oct 5 22:24:41 2001 +0000 util-warning-cleanup-20011005 add headers, parens, and braces ifdef notdef unused routines commit 60cccb1237496b724e0ce98f47392cd1898c59c2 Author: Nathan Neulinger Date: Fri Oct 5 22:23:58 2001 +0000 auth-warning-cleanup-20011005 add headers, parens, and braces commit 0f0671aa55b2e658c37257a14aef9368e58b358b Author: Nathan Neulinger Date: Fri Oct 5 22:22:57 2001 +0000 pinstall-warning-cleanup-20011005 add header to suppress warning commit 039e8b9279cbe106f22674ee32c3bd5d920264b3 Author: Nathan Neulinger Date: Fri Oct 5 22:19:20 2001 +0000 des-warning-cleanup-20011005 cleanup warnings from des (add headers) commit e841874510530dd17521febb4a1d5d03ffdd84c8 Author: Nathan Neulinger Date: Fri Oct 5 22:18:36 2001 +0000 rxkad-warning-cleanup-20011005 cleanup warnings from rxkad (add headers, move a ++ outside a htonl) commit 5498512cece260d62e58988eec4982d77437a089 Author: Nathan Neulinger Date: Fri Oct 5 22:17:18 2001 +0000 kauth-warning-cleanup-20011005 cleanup warnings from kauth (add headers) commit 8fed71c6ac8801145d1d5cdc857a30286af3d5e1 Author: Nathan Neulinger Date: Fri Oct 5 22:13:33 2001 +0000 make-upclient-clean-up-after-itself-20011005 to preclude lots of turds being left in /tmp from failures commit 5f002d755ff25f976f50c8e4d976f28caa245751 Author: Love Hörnquist-Åstrand Date: Fri Oct 5 22:10:54 2001 +0000 viced-hosts-dump-make-output-more-useful-for-holds-20011005 don't just print pointer to holds array commit 97da033493034d200f51075a4532ee1e27098567 Author: Nathan Neulinger Date: Fri Oct 5 22:07:17 2001 +0000 ptserver-warning-cleanup-20011005 clean up warnings in ptserver dir commit 366a772a80357ab09a9dd02cb34ef87cdfab25ec Author: Nathan Neulinger Date: Fri Oct 5 22:05:16 2001 +0000 ubik-warning-cleanup-20011005 clean up warnings (mostly new headers or added parens) in ubik commit 2c0184532bedf259aad338c2d18eeca2c9e3e196 Author: Nathan Neulinger Date: Fri Oct 5 22:03:16 2001 +0000 afsd-warning-cleanup-20011005 clean up warnings in afsd directory commit f6ff74b46b789b5ae94654f0481b892417311a49 Author: Jeffrey Hutzelman Date: Fri Oct 5 21:58:00 2001 +0000 ptclient-add-lh-command-20011005 The attached patch adds a new 'lh' command to the ptclient utility. Analogous to 'l', this command lists the hostCPS for a specified host. commit c15452d18389556110dab66e62fa86922590040a Author: Nickolai Zeldovich Date: Fri Oct 5 21:45:52 2001 +0000 rxdebug-add-verbosity-20011005 This patch adds a "-long" option to rxdebug, to print out more verbose output, and makes rxdebug print out more information about the Rx peers when ran with "-long". commit 5bcf626ddaf92e199c4b46c11ad276013a47db52 Author: Nickolai Zeldovich Date: Fri Oct 5 21:44:35 2001 +0000 solaris-mtu-cleanup-20011005 This patch provides better MTU selection on Solaris, by actually going through the list of interfaces and picking the correct MTU, rather than assuming 1500. It also fixes a small bug in the server preference code, which wasn't checking for IPv6 interfaces, and if there were any IPv6 interface, it would believe all servers were on the local subnet. commit 4b00d313a06d85e274bf96a459b063d6285a49e2 Author: Nickolai Zeldovich Date: Fri Oct 5 21:41:52 2001 +0000 cvsignore-updates-kolya-20011005 ignore more things since we missed them before commit 4d5be5c6aa6ad84a826392665656f04e5d7c3438 Author: Nickolai Zeldovich Date: Fri Oct 5 21:41:09 2001 +0000 fix-prototype-warnings-and-eliminate-unused-variables-20011005 minor cleanup in mkvers and kauth/admin_tools commit 34a3a269ec44a5c62b8d6241613bf9fde8404577 Author: Nickolai Zeldovich Date: Fri Oct 5 21:38:57 2001 +0000 linux-compute-mtu-correctly-20011005 This patch fixes two bugs: (1) pass more than 4 parameters to AFSCALL syscalls on Linux, allowing the ADVISEADDR op to pass the MTU array pointer. (2) properly convert MTU's to network byte order, since that's what the rest of the code expects them to be. commit d2e9d29b77c9eabb73ab859ccb0635e8c45a30a0 Author: Nickolai Zeldovich Date: Fri Oct 5 21:36:59 2001 +0000 afsd-afsdb-shutdown-cleanly-20011005 make userspace afsdb handler shut down cleanly commit c9176d7f38994b39464e08ffbb6b8967069a437f Author: Derek Atkins Date: Mon Oct 1 23:58:59 2001 +0000 linux-generate-struct-vnode-dyanmically-from-kernel-headers-instead-of-by-perverting-configure-to-test-for-every-one-of-alan-coxs-additions-some-of-which-will-doubtless-never-make-it-into-mainline-kernels-20011001 hopefully this will be the end (at least for a while) of problems where every linux version requires a new openafs release. the struct vnode is now dynamically generated by parsing the linux/fs.h file and pulling out the struct inode, then rewriting osi_vfs.h commit a878b9e6899e87ac31f211f3d48ef29f9fbc59d7 Author: Derrick Brashear Date: Mon Oct 1 20:20:04 2001 +0000 allow-configure-time-override-of-DEST-20011001 so DEST=foo ./configure will work commit 8a3eb1f06d1aabe8b44889e73a534ca37bcb61ba Author: Derrick Brashear Date: Mon Oct 1 18:51:41 2001 +0000 be-more-careful-about-references-when-adding-and-deleting-callbacks-20011001 perhaps too careful. to fix potential crash in TDel and TAdd ==================== 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. ==================== remove extra ) which snuck in commit 7afd82623d0108942800b5fc5d30419602d60e65 Author: Nickolai Zeldovich Date: Mon Oct 1 18:35:50 2001 +0000 require-administer-permission-for-mount-point-creation-harder-20010926 make sure a mount point isn't being created if the user isn't allowed to do that commit 12136567fc41d77d9863fe590b95ea59e8d0cf2c Author: Mark W. Eichin Date: Mon Oct 1 18:31:49 2001 +0000 linux24-another-new-inode-field-sigh-20011001 with configure glue by shadow@dementia.org one of these days we really need to implement a better solution commit 308ab83316a1b9f8431a2c99d31833c5d3f183f8 Author: Nathan Neulinger Date: Mon Oct 1 18:20:49 2001 +0000 login-makefile-needs-new-build-system-update-20011001 fixed missed case of afs/ in libdir commit f64e648afb35480de74bfc88860a961731062ae4 Author: Nathan Neulinger Date: Mon Oct 1 18:19:22 2001 +0000 pam-build-on-hpux11-20011001 so pam now builds on hpux 11 commit 7d2a0bd49f46a7c3a7785dfdc20ba1c62729ba85 Author: Nathan Neulinger Date: Mon Oct 1 18:17:20 2001 +0000 linux-kdump-wrapper-20011001 install a kdump wrapper for linux. (with mod to use $0 instead of kdump) commit a134e52982e1471276f76973c0659953229cfed4 Author: Jeffrey Hutzelman Date: Mon Oct 1 18:11:03 2001 +0000 fix-destdir-support-for-fsconv-and-xfs-binaries-20011001 properly support DESTDIR case in vol makefile for certain files which were broken before commit c14d7766f615908412ce9d44bd78495b8a00b0bd Author: Derrick Brashear Date: Fri Sep 28 14:09:21 2001 +0000 rx-ignore-vab-harder-20010928 if the other side suggests we use the vab security class, ignore them harder than we did before commit 0c0cc07c7671a6e409dda1c547e631ab89110187 Author: Derrick Brashear Date: Thu Sep 27 18:37:49 2001 +0000 afs-lookup-put-back-vcache-entry-on-failed-evalmountpoint-20010927 based on observations of effects related to afs-lookup-check-evalmountpoint-return-20010221 and affirmed based on mail from Todd_DeSantis@transarc.com this should reduce but perhaps not eliminate the VLRU cycle: increase -stat parameter problem on Linux as it's not yet clear that this is the only problem and circumstantially it is probably not. commit 0cbe03ec4b3de6560bebbfe65a1e6e6a8846f8c1 Author: Derrick Brashear Date: Thu Sep 27 03:16:36 2001 +0000 afs-client-inline-bulkstatus-rpc-support-20010926 this cuts rpc traffic in half for directories on which you have no permissions and is capable of doing more if a useful way can be conceived of caching errors. currently bulkstat works thus: say a directory has 100 files. bulkstat will on the first hit stat the first 30 files, integrating the information if successful, and when you hit file 31, repeat. meaning if you can read that 100 files is 4 bulkstatus rpcs (3*30+10). if you can't, you do bulkstatus, get an abort, then do fetchstatus on the file and find out why you lost. you go on and try bulkstatus again this time for files 2-31 instead of 1-30. same failure, meaning you do 2N rpcs for the N files. inlinebulk doesn't abort but instead fills in stat info for any of the up to 30 files it can, and errors for any it can't. currently the client will pull out any stat info filled in, and then return the error from the first file, meaning if you can't read the directory we do N inlinebulk rpcs instead of N bulkstatus + N fetchstatus rpcs. if the errors for the other 29 could be meaningfully cached (and you have to be careful not to pollute information such that it's not useful for someone in a different auth context) then we could get down to the same 4 rpcs we have for success, but that's an exercise for later give how the cache manager works. ==================== 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. ==================== create audit event for inlinebulk ==================== rename spare2 commit eaef8cb34c2463d6a00e69b022b35b7042b5806f Author: Jim Rees Date: Wed Sep 26 22:49:33 2001 +0000 fix-locks-for-openbsd-20010926 don't confuse direct with dirent use curproc instead of cur_proc() commit 98c1c1df9e952bcf8482b84e656ef5a6d8d31fd8 Author: Derrick Brashear Date: Wed Sep 26 16:28:22 2001 +0000 bos-avoid-false-errors-when-salvaging-20010926 there were some cases where we falsely reported the BZNOENT from salvage-tmp being cleanup up as "bos: failed to start 'salvager' (no such entity)".. despite having just reported: bos: salvage completed this should no longer happen. commit f8a3fb704e88b1810a7d5b710ca59e5eea69a3b4 Author: Nickolai Zeldovich Date: Wed Sep 26 01:02:46 2001 +0000 allow-namei-fileservers-to-use-directories-instead-of-partitions-for-vicep-20010924 -- /vicepX/AFSIDat/README is created the first time the fileserver is started, rather than the second time. -- For the namei fileserver, /vicepa/Lock/vicepa is created as the lockfile. Previously, on Solaris, the raw device was was being used for LockPartition(), and that breaks when there isn't a corresponding device. -- The VolPartitions and XVolPartitions volserver calls now return the list of attached (rather than mounted) partitions. This is consistent with the NT fileserver and removes duplicate code. The actual magic for allowing the fileserver to attach non-mounted partitions is to create /vicepX/AlwaysAttach. ==================== 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. ==================== carefully avoid non vicep directories and/or partitions as it may get upset at automounters or running cachemanagers! ==================== more carefully avoid non-vicepX partitions commit 362d26c733b086d26f013bd229af979a112098f5 Author: Derrick Brashear Date: Tue Sep 25 16:44:39 2001 +0000 create-inline-bulkstatus-rpc-and-server-stub-20010925 this way it's possible to do a bulkstatus where some items succeed and fill in that stat info, instead of just getting an error. commit fb88a009805c1c918d1790046682620388b7a31b Author: Derrick Brashear Date: Mon Sep 24 23:19:46 2001 +0000 fileserver-remove-delay-on-stat-errors-20010925 previously and since 3.5 rx enhancements fileserver would delay 3 seconds on sending an rx abort when the abort was the 11th or more occurance of the same error on the same call. the problem was fetchstatus/bulkstatus on a directory on which you have "l" but not "r" would take forever after the first 5 files (bulkstatus and then fetchstatus on each file, 2*5=10) so in FetchStatus and BulkStatus stubs we suppress repeated errors from Check_PermissionRights *only*, which has the effect of suppressing the problem without removing the theoretical benefit of avoiding letting any one client throw requests at as as fast as we can abort them unless those requests happen to be fetch/bulkstat requests which fail a permission check, but in order to avoid that we'd also need to cache what they last tried to stat, and then things would get ugly. commit 02254085a962931edd59d8b089ce521173ba2c86 Author: Derrick Brashear Date: Mon Sep 24 17:11:07 2001 +0000 comerr-include-proper-old-compat-glue-20010924 so old initialize function works correctly commit 80afed9bf9e46cf599e1f71e448ddf7e2db3b40c Author: Derrick Brashear Date: Mon Sep 24 13:17:16 2001 +0000 export-vlops-in-vldbint-xg-file-20010924 based on report from lha@stacken.kth.se include vlops in the "published" interface ==================== 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. ==================== based on report from lha@stacken.kth.se remove from vlserver.p.h commit 667a9d149e00910c1454807d292a2b15a95ae134 Author: Derrick Brashear Date: Mon Sep 24 11:51:05 2001 +0000 NEWS-updates-20010924 update NEWS for stuff in 1.2.1 and stuff to go into 1.2.2 commit c1cee109ad926fdf81cfd7134b8af8ed8f176231 Author: Nickolai Zeldovich Date: Mon Sep 24 11:48:14 2001 +0000 viced-deal-gracefully-with-afsconf-failure-20010924 -- Fileserver will complain if afsconf_Open() fails, rather than mysteriously segfault'ing later on. commit 7a214c2bc13d4d18e534fcc933cae5ba1c34f83c Author: Nickolai Zeldovich Date: Mon Sep 24 11:44:32 2001 +0000 rx-cleanup-20010924 The rxi_ReceiveAckPacket() change makes sure we have two extra fields (the max and recommended packet sizes) hanging off the packet, rather than just one. The PKTFLAG_FREE stuff in rx_packet.c just initialized flags in case PKTFLAG_ACKED somehow didn't get cleared there. The wirevec changes are off-by-1 errors: there's p->niovecs iovecs in a packet, from 0 (header) to p->niovecs-1, so p->niovecs doesn't refer to a meaningful iovec. commit 7d317a0e27dc64a2f4629577a6420273f69be047 Author: Mattias Amnefelt Date: Sat Sep 22 00:48:56 2001 +0000 dux-vfsck-check-for-mounted-filesystem-20010919 modified by shadow@dementia.org for dux 4.0a (ifndef UID_NO_CHANGE case) commit 9175ce36fbd575bf6a9f146a45930c6f8e580584 Author: Chaskiel M Grundman Date: Thu Sep 20 21:10:06 2001 +0000 darwin-optimize-and-fix-dirpath-20010920 change optimization, add alternate dirpath for dealing with darwin and macos in same binaries commit 9d50b935e36ef7831f5172f1ac8c8dee52d61710 Author: Derrick Brashear Date: Thu Sep 20 06:08:14 2001 +0000 undo-linux-call-afs-dopartialwrite-20010920 scrap this approach commit e667ec654b7d14fd0ef228dd9acbda974ba6825a Author: Derrick Brashear Date: Thu Sep 20 04:58:23 2001 +0000 ubik-fix-typo-20010919 somehow this crept in commit 67081b64c9794550315bcd24bb8ecf8431cd260e Author: James Peterson Date: Thu Sep 20 00:18:54 2001 +0000 winnt-dont-do-unneeded-version-check-20010918 make afs config wizard not complain about version < 3.5 commit 62ea64e63aa97efdd2b231e91ed00565bad93891 Author: Shyh-Wei Luan Date: Thu Sep 20 00:16:19 2001 +0000 news-include-windows-updates-20010918 list windows client user-visible changes commit bdfa7364be16746448d9149579de6b635ff1390e Author: Jim Rees Date: Wed Sep 19 18:59:08 2001 +0000 openbsd-nits-20010919 With these small changes, "make" on OpenBSD actually completes! commit 9d1bdf1f14218d384b9b5711452e3ed66e824b05 Author: Jim Rees Date: Tue Sep 18 21:44:02 2001 +0000 document automake dependency commit ddb518c786d81c1dc9535101824f1d9bf14ffcfd Author: Derrick Brashear Date: Tue Sep 18 05:26:47 2001 +0000 comerr-behave-like-the-rest-of-the-world-20010918 no other comerr changes the case of the error table name you specify in the .et file. now neither does ours. commit 7944ae223ada964b0a8c617dfef2f9fb52fadbf1 Author: Walter Wong Date: Mon Sep 17 22:37:21 2001 +0000 misc-build-cleanup-20010917 1) Removal of unused variables 2) some NT ifdef cleanup 3) use of size_t rather than int to store the result of strlen() 4) some bugs that really only occured when errors occured. 5) some functions were implicitly declared as 'int' but doing a "return;" Some I declared as 'void' and prototyped them; some I just returned a value. ==================== 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. ==================== put symbol in an ifndef for winnt ==================== change erroneous void to int ==================== technically the cmdprocs return int ==================== update function to be void commit 8068237ad08e1b3e00c09ae5e21c8e772ca67c9a Author: Walter Wong Date: Mon Sep 17 20:35:09 2001 +0000 nt-makefile-clean-targets-20010917 more work on providing a clean target for nt commit eb2727a6a74d634b054c5a757e65e14ec7f94931 Author: Walter Wong Date: Mon Sep 17 20:26:24 2001 +0000 readme-cvs-update-with-instructions-20010917 providedetails about openafs cvs commit 82e061df412c781435f30ee0474f3484ff585cb7 Author: Sam Hartman Date: Mon Sep 17 19:33:50 2001 +0000 ppc-linux-needs-install-path-20010917 set path to install in pcc linux22 makefile fragment commit e53c63cc1c26397ca8fb4a3bca523c3c5d5b7248 Author: Derrick Brashear Date: Mon Sep 17 19:12:20 2001 +0000 linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write-20010828 don't erroneously call fakeopen commit b80f8ab2cbbb3c28328964879f0bb25c05c0a61b Author: Jim Rees Date: Fri Sep 14 00:19:17 2001 +0000 Initial OpenBSD support. Most of user space builds. No kernel module yet. commit 0c412784f1ea6db4a19804421c959e28b31d74af Author: Chaskiel M Grundman Date: Wed Sep 12 06:00:46 2001 +0000 darwin-update-plist-building-20010912 update how plist files are constructed so subsconfigure for libafs can work commit 15cf58cd8e7eb61ac268589157283436bc95716e Author: Derrick Brashear Date: Wed Sep 12 16:55:58 2001 +0000 linux-makefileproto-redhat-enterprise-support-20010912 based on work by thomas.mueller@hrz.tu-chemnitz.de commit 20b20753c85fea9268c13232a9dcdd9ba56d006a Author: Derrick Brashear Date: Tue Sep 11 21:30:21 2001 +0000 darwin-plist-renaming-20010911 allow configure processing of files commit 88cfb6ba69d0f15c7996c91d6fb6960b3efc11c6 Author: Derrick Brashear Date: Tue Sep 11 20:28:56 2001 +0000 afs-callback-kill-bcopy-again-20010911 this slipped in with the memory leak fix commit 1c02f6300b71f7d2016f90cb963d53ceda76c29f Author: Derrick Brashear Date: Tue Sep 11 07:56:23 2001 +0000 update-top-level-docs-for-new-install-targets-20010911 make top level files indicate current build instructions commit 5aa2c39f86289df5746a176f5322f45a483f27c9 Author: Derrick Brashear Date: Tue Sep 11 07:25:54 2001 +0000 aix-makefileproto-cleanup-dest-building-20010911 readd missing /es commit 91b3cb338c3f1023e017e4d9405a30f09a9fdf4a Author: Derrick Brashear Date: Tue Sep 11 05:46:37 2001 +0000 makefileproto-solaris-install-modules-in-modlad-dir-20010911 get rid of another bogosity commit 3d83c88fc5c875d4211e25b82aa8aee87319f7aa Author: Derrick Brashear Date: Tue Sep 11 05:00:29 2001 +0000 configure-libafs-fix-paths-20010910 update paths for building submodule commit 331b7594f560d0873e73307c1b43a197d6705f13 Author: Derrick Brashear Date: Tue Sep 11 04:30:49 2001 +0000 irix-makefileproto-fix-dest-target-20010910 rely on DEST not DESTDIR also install instead of cp to implicitly create needed directory commit 6b113587ca4d66ce213391f9676974d60df3fee8 Author: Derrick Brashear Date: Mon Sep 10 21:52:30 2001 +0000 linux-configure-check-for-more-inode-struct-members-20010910 for redhat enterprise kernel commit ad8f6909ee0e378e7f949cdad445542e97099a64 Author: Derrick Brashear Date: Mon Sep 10 21:50:43 2001 +0000 update-libafs-configure-20010910 so the kernel module subconfigure will work usefully commit 4a31f02b1f271caa63b3274fb3d0f413d4757002 Author: Nathan Neulinger Date: Mon Sep 10 21:21:01 2001 +0000 makefile-cleanup-remove-extraneous-semicolons-and-other-unused-bits-20010910 rationalize away some more crap commit 2a12550e7c7b062aec35f2597babe022bbb23d6a Author: Nathan Neulinger Date: Mon Sep 10 21:14:01 2001 +0000 add-cvsignores-to-project-20010910 start at cvsignores commit af3fa773a451fa891df8534b5a3f0f0346d03d5e Author: Walter Wong Date: Mon Sep 10 21:08:14 2001 +0000 winnt-readme-update-20010910 update winnt build instructions commit 7303f3148e23ce9904de833c86953bd0b284a4f4 Author: Chaskiel M Grundman Date: Mon Sep 10 21:07:32 2001 +0000 darwin-build-updates-20010910 separate plist on per-version basis 1.4 is not yet supported commit 80c42d4a875456c2de8f11087a8f5855c55dd0df Author: Walter Wong Date: Mon Sep 10 20:54:20 2001 +0000 winnt-create-missing-clean-target-20010910 get winnt make clean closer to working commit 80e2c2f8cee29c4e89ab0363e276836d1d95d1d9 Author: Jeffrey Hutzelman Date: Mon Sep 10 20:15:57 2001 +0000 make-install-support-for-transarc-and-prefix-style-universes-20010907 according to jeff: - Renames the top-level 'install' target to 'build'. This should be transparent, since no one should be using that. - Improves on Sam's dirpath patches, by splitting out server binaries into separate bin, sbin, and libexec directories in GCS mode (these are all /usr/afs/bin in Transarc mode). - Updates the top-level 'all' target so that it builds the software but does not generate a dest tree. Top-level 'lib' and 'include' directories are generated to hold the intermediate libraries and headers used during the build. - Adds a new top-level 'install' target, which installs things in the appropriate directories under ${DESTDIR}, based on configure's install directories plus the extras added by Sam's patch. - Adds a new top-level 'dest' target, which creates an old-style dest directory under ${DEST}. The ${DEST} variable defaults to the traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest. Note that this variable used to be called ${DESTDIR}; it was renamed to avoid conflicts with the de facto standard usage of ${DESTDIR}. ==================== 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. ==================== fix missed makefile ==================== update another missed file ==================== eliminate bogus escaping ==================== get rid of another bogus escape ==================== remove unused include directory ==================== get rid of no longer used libdir ==================== remove unused incdir ==================== fix up some problems for make compatibility and missing trailing / ==================== put afs.exp in the right place ==================== remove bogus afssrvdir reference ==================== update dest version of output ==================== update ref to libexecdir ==================== kill refs to afssrvdir ==================== convert missed LIBDIR to TOP_LIBDIR ==================== remove explicit INSTALL and use makefile.@sys value instead ==================== except it's helpful to actually include makefile.@sys ==================== convert LIBDIR to TOP_LIBDIR commit ba4498fa9c514b8916360c0ff8684f7bab609b33 Author: Derrick Brashear Date: Mon Sep 10 17:37:32 2001 +0000 bucoord-cvs-bogosity-20010910 correct bogosity which crept into CVS (rtruct instead of struct) commit b29021b83d51018d81f8b8f3cd521f7c56475c50 Author: James Peterson Date: Mon Sep 10 16:39:47 2001 +0000 windows-install-updates-20010910 more corrections for windows packaging commit 31094ffc5acc68ad8e38b22a070554ef6e456f59 Author: Walter Wong Date: Sat Sep 8 05:31:22 2001 +0000 winnt-makefile-fixes-20010908 clean up makefile problems which got introduced by other changes commit 593e5a8c405685cf116a4d207bf6358343054fa9 Author: Nickolai Zeldovich Date: Fri Sep 7 21:47:57 2001 +0000 rx-do-housekeeping-on-packets-with-new-flags-20010907 keep better track of packet state using flags in packet header indicating which packets are in acked state and which are free commit 186338140064116660b6f80a62379100ea38688b Author: Nickolai Zeldovich Date: Fri Sep 7 21:12:13 2001 +0000 afs-callback-plug-small-memory-leaks-20010907 2 RPC stubs have small memory leaks since the actual string length is being freed and not the whole allocated chunk commit 3ed7207c17a8034f012f8134310bd2465d8ca4b2 Author: Chaskiel M Grundman Date: Fri Sep 7 19:59:03 2001 +0000 darwin-make-afsd-script-exit-for-failure-20010907 script failed to exit for one of the failure cases before commit cb6e75cfaac7a57ce2f5f149105b44e493c3d204 Author: Carsten Jacobi Date: Fri Sep 7 05:36:41 2001 +0000 pam-afs-new-features-20010907 add ignore_uid (like ignore_root) plus set_token (set token in auth step instead of setcred), refresh_token (no new pag), use_klog (fork a klog child), no_unlog, remainlifetime (sleep before deleting creds at logout) commit 2124d625637097aa2e4d9cfee5e15c9a444a351b Author: Chaskiel M Grundman Date: Fri Sep 7 05:00:05 2001 +0000 macosx-dont-interfere-with-cd-audio-20010906 don't use constant VT_AFS for our vfs type commit 3143375715434a104633241aa1959df15b9e51e8 Author: Derrick Brashear Date: Fri Sep 7 04:49:16 2001 +0000 param-remove-nested-commenting-20010906 based on comment from rjs3@andrew.cmu.edu commit 7abae22b939796acdde6f8e83c0e1ed9f5c9b799 Author: Walter Wong Date: Fri Sep 7 04:38:19 2001 +0000 winnt-more-makefile-fixes-for-cvs-head-20010906 take care of some places where we got out of sync between unix and windows, add media target in afs_setup_utils commit 653b0016120c15daca7d8d6bd011421f4c4adaa0 Author: Walter Wong Date: Fri Sep 7 04:32:56 2001 +0000 winnt-initialize-variables-and-memory-before-use-20010906 initialize a variable false when assumed; also some memset(...,0 commit 11b021e1b1480230d64def8217288a49958d20e9 Author: Sam Hartman Date: Fri Sep 7 04:18:59 2001 +0000 dirpath-support-configure-path-options-and-decanonicalization-20010906 Sam's notes: "Here is a patch that supports directory paths, documentation for the above and decanonicalization of of supplied paths. Here are tests I have run: * Build with both transarc and non-transarc paths and examined dirpath.o * Build with roughly FHS-style paths and tested on Debian * confirmed that bos salvage works even when salvager not in /usr/afs/bin (it gets the log correctly too) * confirms that bos getlog can get logs from /usr/afs/logs even when /ur/afs/logs is /var/lib/openafs/logs * confirmed that bos getlog can get /etc/motd " commit 5caf0b44b34027a9ce76fc7744ad108060e326b7 Author: Derrick Brashear Date: Fri Sep 7 04:05:43 2001 +0000 afs-sysnames-add-sunx86-57-and-58-20010906 allocate ids for sunx86 57 and 58 commit fcd12ad905e74fc7a6a19ba01a0d26b78a4ae003 Author: James Peterson Date: Fri Sep 7 03:54:54 2001 +0000 windows-build-environment-cleanup-20010906 clean up previous problems in the win2k build env commit 954a6215de050d145d8554b383a619e840ce5137 Author: Derrick Brashear Date: Fri Sep 7 02:12:29 2001 +0000 linux22-redhat-enterprise-kernels-add-inode-fields-20010906 struct vm_area_struct *i_mmap_shared; added in a patch to the redhat enterprise kernel commit 94024517370ee12c532fa946f6e9ac23091cfe89 Author: Chaskiel M Grundman Date: Thu Sep 6 20:07:12 2001 +0000 linux24-fix-path-leak-20010906 based on suggestion from Srikanth and Chas Williams commit b422dfb6a6ef4ba5e71ccc6c00aaec1323930196 Author: Sam Hartman Date: Tue Sep 4 23:28:20 2001 +0000 update-top-readme-20010904 add ppc linux stuff and update alpha linux commit 23a794974a373cdbf9ecc5fb4b2c5c00d8c22c1e Author: Derrick Brashear Date: Thu Aug 30 07:14:37 2001 +0000 libafs-linux-makefileproto-shouldnt-default-to-kgcc-20010830 nuke kgcc crock *again* commit 5799a68ba61d06f14aca0a1fdb0a9544c19c5837 Author: Derrick Brashear Date: Thu Aug 30 07:07:16 2001 +0000 config-makefile-further-cleanup-20010830 ordering of dependancies caused ${DESTDIR}/include/afs to not exist in time, masked if you built into an existing destdir. so let's make the makefile simpler and more logically paraallel. ==================== 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. ==================== get missing backquote commit 635df30c0f8113daeaeceb856bcaaf0b8ea3d9b5 Author: Nathan Neulinger Date: Thu Aug 30 00:22:17 2001 +0000 more-makefiles-cleanup-20010829 get rid of cases where we'd end up with two / because of DESTDIR pasting macroize calls to rm ==================== 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. ==================== get rid of another case of bogus trailing quoting commit b1aa5e5209fed4ac0378eacfbedfc575ca81b3a2 Author: Jeffrey Hutzelman Date: Wed Aug 29 23:10:45 2001 +0000 libafs-make-subtree-during-build-for-later-use-20010829 get rid of bogus ..'s ==================== 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. ==================== make the subdir buildable commit 3076602831a267cac8bcb7868c64aaed94b1ae00 Author: Derrick Brashear Date: Wed Aug 29 22:31:38 2001 +0000 libafs-irix-makefile-cleanup-20010829 clean up typo so we build correct module commit 1c70ed1f9ce3a58147d38cb0ce5ac2c24456b9fa Author: Jeffrey Hutzelman Date: Wed Aug 29 20:17:19 2001 +0000 libafs-make-subtree-during-build-for-later-use-20010829 at build time, create a subtree for use later which can be used to build *only* kernel modules, but only for the afs sysname you were building for in the first place currently. commit 3b75d2d05dcb8bab58be6ebb84af03364818ec46 Author: Derrick Brashear Date: Wed Aug 29 20:04:00 2001 +0000 linux-support-kernel-patches-used-by-suse-20010829 check for added fields in struct inode commit af5ca3c6084896a634ce9199fed868d1a4b5b0b6 Author: Derrick Brashear Date: Wed Aug 29 19:45:37 2001 +0000 cvs-needs-readme-20010829 warn of the dangers of cvs snapshots explain how to use one commit 65bbcedf9add37c4527aadd0065ce1f2700aafe6 Author: Nathan Neulinger Date: Wed Aug 29 18:40:51 2001 +0000 venus-makefile-cleanup-20010829 cleanup and remove now unused for/do constructs commit 08ab25471c1a83f6a82f1c7430dc2bd80b8d77e9 Author: Nathan Neulinger Date: Wed Aug 29 18:37:32 2001 +0000 afsd-makefile-cleanup-20010829 cleanup for afsd makefile commit 4f0cfb2ee902687aefd5130dcf3fc2c620e27664 Author: Nathan Neulinger Date: Wed Aug 29 18:36:27 2001 +0000 linux24-make-kdump-build-20010829 make kdump at least buildable, not particularly pretty commit dd1798a7bac7b53370c4a90a82949ad7aa3abbe8 Author: Derrick Brashear Date: Wed Aug 29 18:12:35 2001 +0000 dux-documentation-update-20010829 based on information from joda@pdc.kth.se commit dc885e54f28a5d50382c92d58910a358c365eb57 Author: Johan Danielsson Date: Wed Aug 29 17:55:56 2001 +0000 dux-create-loadable-kernel-module-20010829 with minor correction by shadow@dementia.org to install the module, but we now create a loadable kernel module for dux ==================== 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. ==================== actually build afs.mod ==================== fix typo commit b730159315cc7f9dafbf83aedf8c716fccf377f4 Author: Derrick Brashear Date: Wed Aug 29 17:14:49 2001 +0000 xdr-int64-dont-build-on-dux-ever-20010829 some form of xdr_int64 is always available on dux, so don't build it. commit 3a6527e02681ff6f8792dd44b0ddf197a0e2c078 Author: Derrick Brashear Date: Wed Aug 29 04:59:38 2001 +0000 mpp-needs-unistd-for-protos-on-irix-20010828 so we don't get the implicit int return type and upset the irix compiler commit b0c5f0cac6b8b5cda2f3d56d8d637e36c4d90d13 Author: Nathan Neulinger Date: Wed Aug 29 02:19:55 2001 +0000 makefile-updates-20010828 clean up all the makefiles to remove bogus targets, eliminate trailing / requirement from DESTDIR, avoid needing to pass things like DESTDIR around between makefiles ==================== 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. ==================== remove bogus quoting commit 0eb68cde324d26b145e648075524f5e2207c9101 Author: Derrick Brashear Date: Wed Aug 29 01:46:57 2001 +0000 linux-call-afs-dopartialwrite-from-afs-memwrite-and-afs-ufswrite-not-afs-linux-write-20010828 attempt to deal with case where data not being flushed from cache commit ff2f7b801d622553db60eb656a388628107b1a31 Author: Derrick Brashear Date: Tue Aug 28 19:03:49 2001 +0000 linux-attempt-to-support-forcible-umount-20010828 not well tested, likely neither complete nor 100% correct. commit 1cea08ddb0604f6cd9e2dd2e2e7b3823b4337b75 Author: Derrick Brashear Date: Tue Aug 28 15:05:34 2001 +0000 solaris-kernel-lacks-mem-functions-20010828 this is a band-aid, since it maps all memsets to bzero; a replacement memset is actually needed for the non zero case commit f0e5973f8b81d2acf7ba7505a46e69f7608b8612 Author: Nickolai Zeldovich Date: Mon Aug 27 04:35:06 2001 +0000 afs-evalmountpoint-return-code-resync-20010826 resync error codes so they work like they did before afs-lookup-check-evalmountpoint-return-20010221 commit c3951ddb34df85fff841f460d7bdd2f0a3829061 Author: Derrick Brashear Date: Thu Aug 23 18:46:32 2001 +0000 windows-authentication-recognize-time-out-of-bounds-error-20010823 so people don't get "unknown" error 37 commit 25d696ebcada79e1569cb364dd3a6548ed19e695 Author: Derrick Brashear Date: Thu Aug 23 18:26:43 2001 +0000 linux-kernel-headers-have-conflicting-min-max-defs-20010823 so we cheat and call our macros something else. based on report by Owen LeBlanc commit 3a268c2416600985cd8a3e5fd05dc303bf4e668e Author: Chas Williams Date: Thu Aug 23 18:17:40 2001 +0000 windows-installer-updates-20010823 change references to be to openafs and not afs commit aadec38e0609ae3da4c973b6bffa5a204897c93e Author: Nathan Neulinger Date: Thu Aug 23 18:07:24 2001 +0000 hpux10-may-be-hppa-2-20010823 deal with more uname output commit ae0d5a0407b8c816741a9c7d90dafae747c05627 Author: James Peterson Date: Sun Aug 19 15:44:41 2001 +0000 windows-updates-20010819 1. Version control (Win9x & Windows NT/2000) NTMakefile.i386_win95 and NTMakefile.i386_nt40 added AFSPRODUCT_VERSION variable, setting this will propagate through the software by setting the product version for the installation and client dialog boxes. In particular it will provide correct notification if Win2K installation is being upgraded, reinstall or downgraded. Version information shows up in the following ways: Welcome dialog during installation Properities page for Install.exe (Windows Installation routine) Windows Add/Remove Dialogs application list AFS Control Center and Client dialog boxes See README-WIN9X.TXT or README-NT.TXT for further information on how to set thi s variable. 2. CellServDB (Win9x & Windows NT/2000) The installer can choose between various sources for CellServDB: a) Previous installed file, afsdcell.ini(WinNT/2000) or CellServDB(Win9x). b) File that comes with the installation package (recent copy from grand.centra l.org) c) Download a the file from the Web (default http://grand.central.org/dl/cellse rvdb/CellServDB). d) Browse for a file 3. Drive Mapping (Win9x & Windows NT/2000) The installer can choose up to two drive mappings during the installation process. Default is map Z: to AFS root and U: to user home directory 4. Silent Running (Win9x & Windows NT/2000) Setup.exe is capable of running silently (-s option); that is, it will use a pr e-made response script to drive its responses. You can also do a normal installation with the record option (-r) to build a sample response file. The installation routine has been improved to accept a modified response file s o the administrator can setup up additional drive mappings including substituting the user's loggin name into the path. By using a text editor an administrator can setup a variable path name that includes %LOGINNAME% in a path statement. This variable will be substituted for the current user's login name. (Only at installation time.) For example: if an administrator wanted to install AFS client on a machine that had the following mappings: Z:=/ U:=/afs/afscell.org/u/username Q:=/afs/afscell.org/general Then follow these steps: a) run setup with -r option and specify install to record responses into file s etup.iss setup.exe -r -f1setup.iss b) Follow normal installation responses c) Edit the setup.iss response file by modifying the "DRIVEPATH section". This response file could start off looking like this: [DLG_DRIVEPATH-1] Result=1 Drive_0=Z: Path_0=/ Share_0=all Drive_1=U: Path_1=/afs/afscell.org/u/administrator Share_1=home Count=2 This section map would be changed to look like this: [DLG_DRIVEPATH-1] Result=1 Drive_0=Z: Path_0=/ Share_0=all Drive_1=U: Path_1=/afs/afscell.org/u/%LOGINNAME% Share_1=home Drive_2=Q: Path_2=/afs/afscell.org/general Share_2=genrl Count=3 d) Use the silent mode to install AFS (must log to windows as your user name e. g. Frank) setup.exe -s -f1setup.iss HINT: Share name should be limited to 12 characters. The response file terminate if the installation is in any way different; for example, the response is recorded on a clean machine and it is run on a system where AFS is already installed. The execution is truly silent, except for a log file. The last response is BootOption and if set to 1 it will reboot your machine! Refer to additional documentation on silent/record in you Install Shield User's Guide. 5. Fixed the Un-Installation bug that damaged the NetBT parameter registration. (Win2k/NT only) 6. Change Default selection for Win2000 to Client and Documentation only. (Win2 K/NT only) The default installation is with Server and Control Center NOT selected. 7. Win9x Client Operation (Win9x only) Win9x client has been changed to allow "connection" with out forcing authentication. Previous implementation of the Win9x client had three steps to the connection process: 1) start client 2) obtain tokens 3) Map drives The updated Win9x client can leave the username blank and select to Connect. T herefore, only the client will be started (without obtaining tokens). The user can still map drives (those that don't require authentication). This is particularity useful if you want to use a different routine to obtain authentication tokens or additional drive map pings. A command line option has also been added (-noid). This option Prevent selecti on of (Gray out) username/password. This will cause the client to start up without au thentication. By using both -noid and -connect allows the user to run the AFS client in login script that could provide Kerbos 5 authentication and addition drive mapping. 8. Installation (Win9x only) Fix installation into paths that have space, e.g. \Program Files\Afscli ==================== 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. ==================== complete list in first message commit 6a1c9c896cf67c4538c429702f1f7fe3268fa1eb Author: Jeremy Stribling Date: Thu Aug 16 08:56:51 2001 +0000 bosadmin-setrestarttime-should-take-a-structure-20010816 bos_ExecutableRestartTimeSet called BOZO_SetRestartTime incorrectly commit 120e1ef57038167d27dc7dfb348fcf05ccd620eb Author: Nathan Neulinger Date: Thu Aug 16 08:54:48 2001 +0000 configure-simplify-hp-detection-for-sysname-20010816 cut from 2 rules to one commit e8591334602e5e8dad78dc6426d3c44d564572c1 Author: Chas Williams Date: Thu Aug 16 02:01:05 2001 +0000 linux-osi-clear-inode-locking-fix-20010816 "i think this was missed from a patch i sent a while back to cleanup the iput() of afs inodes. i think the lock(vc->lock) needs to be in osi_clear_inode() since osi_clear_inode is called a bit more often than afs_delete_inode(). however, this like just might be uneeded since no one has seen any problems apparently." commit 1bd89f0dc30e32be0899d1e931c4e39ae3f28d41 Author: Hartmut Reuter Date: Thu Aug 16 01:50:55 2001 +0000 clear-xfreemallocs-in-shutdown-rxevent-20010816 only likely to matter to mr-afs commit cb9ccb203df780a705191b034937ef5268c2b62e Author: Derek Atkins Date: Thu Aug 16 01:48:48 2001 +0000 fix-afsconfig-ordering-for-rx-20010816 to fix symbol versioning problems change to rxgen ok on the basis that nothing other than AFS is in any danger of using rx kernel code commit 1c6df2368cf2f2e322972ff856414c69d7019af1 Author: Derrick Brashear Date: Wed Aug 8 03:38:45 2001 +0000 aix-needs-string-h-in-aclproc-20010807 and we get back to the crux of the issue commit cb3985fcd9a96d1faa64641077ce43927af80c41 Author: Derrick Brashear Date: Wed Aug 8 03:37:54 2001 +0000 linux-ext3-adds-items-to-struct-inode-and-so-do-we-20010807 Thanks to shirsch@adelphia.net for mentioning something was added. ==================== 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. ==================== this leaked in, separate delta ==================== fix maxcro defn commit c5c521af0ed944a71f74a316bd51a81636ce2818 Author: Derrick Brashear Date: Wed Aug 8 03:05:55 2001 +0000 convert-from-bsd-to-posix-string-and-memory-functions-20010807 bcopy, bcmp, bzero, index, rindex, you're all cut. memcpy, memcmp, memset, strchr, strrchr, show us how it's done ==================== 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. ==================== fix reference to memset the right thing ==================== make change to arguments globally and not just for e.g. linux/darwin/fbsd ==================== fix a minor flub in how this was done ==================== correct another bad memcpy coversion ==================== fix up more inadvertant turds ==================== fix two errors found by chas williams commit 81c57416335b9d65a467ffb12565ad90d890b815 Author: Derrick Brashear Date: Wed Aug 8 01:34:58 2001 +0000 linux-fs-h-struct-inode-test-for-i-cdev-20010807 doesn't look like it should matter but we might as well try to stay consistent ==================== 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. ==================== remove extra tests commit cf5e1a4260d03031fb210b488707101b2eb76b90 Author: James Flemer Date: Tue Aug 7 17:14:08 2001 +0000 solaris8-build-64bit-kdump-20010807 some solaris 8 machines are 64 bit so build kdump64 commit a1b425f76746f9e56605eafd7c495ef21b84ad45 Author: Chas Williams Date: Tue Aug 7 01:11:25 2001 +0000 introduce-linux-ia64-port-20010806 "no special instructions this time other than you need a rather recent glibc (turbolinux beta5 or redhat 7.1) since the afs userland utilities use ucontext() instead of setjmp()/longjmp(). this is probably the weakest part of the port since lwp is somewhat difficult to test rigorously. you can insmod the afs module now (and rmmod if you like) why so difficult? function pointers are really pointers to a function descriptor that contains the function pointer and global pointer. the syscall table (being written in assembler) only contains function pointers. it doesnt setup the gp. modules and kernels do not share the same gp. so if you want the syscall to go to a module, you need to setup the gp and then call your module's routine. be sure to restore the gp after returning from your routine :) i also converted to the 'new style' module_init() -- only used on kernel versions 2.4.0 and up. this does the right thing if you happen to be linked directly with the kernel. klog has been fixed (afs's crypt() function is sensitive to sizeof(long) -- des/crypt.c should probably use 'afs_int32', not 'long' or 'int') in case it matters, my platform is a b3-stepping running beta5 of turbolinux." ==================== 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. ==================== don't leak into not ia64 port commit 77d10b6d69fae4343d0c96ded4350eb4d0f0d7fd Author: Chas Williams Date: Tue Aug 7 00:50:05 2001 +0000 invert-sense-of-strings-string-header-inclusion-20010806 this will be obsolete in current form once b* and *index are dead but apply for now commit c0250743d1f6cf87dc430d6c8688ae408a12667e Author: Nathan Neulinger Date: Tue Aug 7 00:43:50 2001 +0000 junk-src-config-makefile-version-as-its-generated-20010806 currently being generated on every build; might as well junk it commit d86c2fc293213e3dd7c8b49ad7ee28c60c13a1b8 Author: Nickolai Zeldovich Date: Tue Aug 7 00:41:26 2001 +0000 afs-vcache-state-flag-fix-and-cleanup-20010806 "There appears to be a conflict between two vcache state flags: CWritingUFS and CDCLock are both 0x200000. This patch moves CDCLock to 0x2000000 (which I'm guessing was the intended value from the position of that #define). It also reformats the block of #define's to be consistent in number format and indentation, to make it somewhat more readable, and to make such conflicts less likely to reappear." commit 37edca7a4030d9c2f5153130b62f893f88fa2541 Author: Nickolai Zeldovich Date: Tue Aug 7 00:39:29 2001 +0000 solaris-locking-cleanup-20010806 reduce afs vnode lock contention, also implements async page requests "(In afs_GetDCache, the hints in the vnode are only updated if we can grab the write lock without blocking. In afs_GetOnePage, we only grab the read lock, rather than the shared lock -- as far as I can tell, there's nothing that needs the write lock.) FWIW, the particular case where I was being bitten by this lock contention was playing an mp3 from AFS space and at the same time copying it to local disk. The copy kept fetching chunks while holding the read lock, so the mp3 player couldn't grab a write lock in the page fault, even though the data was already in cache. While I'm not fully familiar with the semantics of afs vnode locks [do they even exist? :-)], I believe changing from shared to read locks in afs_GetOnePage should be safe." commit 52fb58076962d52bd54aa88bce58ba9f2ff203e4 Author: Derrick Brashear Date: Tue Aug 7 00:24:14 2001 +0000 configure-sysname-updates-20010806 add omitted s390 linux port add alternate hpux11 port info from nneul@umr.edu commit 56493b597ef5d4b93a71fe5120afd2363f78dd08 Author: Nathan Neulinger Date: Tue Aug 7 00:21:22 2001 +0000 hpux11-force-system-ranlib-20010806 so binutils ranlib isn't found first commit 4d18662599ed741e3ba2fd5c03ebda5fd176d990 Author: Derrick Brashear Date: Tue Aug 7 00:09:26 2001 +0000 kaserver-log-krb-udp-authentications-also-20010806 currently krb udp auth requests don't get logged while ka requests do fix it. commit d85830ca810d89a2ed1ca12bcad327ecabc17734 Author: Derrick Brashear Date: Tue Aug 7 00:08:01 2001 +0000 kaserver-krb-udp-construct-well-formed-tickets-20010806 certain things really want the realm to be set correctly and not just left blank in tickets; existing krb4 kdcs get this correct. now so do we. commit de681193ee418d3856a3af44afb1c282aca4cfc1 Author: James Peterson Date: Fri Aug 3 18:47:50 2001 +0000 allow-winnt-client-to-be-upgraded-20010803 to allow for change in version numbering commit cfa2e59dc1a1cdae4e6a111f347ee4f35f658e3b Author: Nickolai Zeldovich Date: Thu Aug 2 17:20:02 2001 +0000 solaris8-namei-cleanup-20010802 note gi is useless for namei case The AFS_64BIT_ENV define is needed for afsutil.h which makes use of some 64-bit types (and if AFS_64BIT_ENV isn't set, defaults to the non-existant u_int64_t). commit d11b1bf9247a819843ac42ba1dd66e2fc188892b Author: Derek Atkins Date: Thu Aug 2 17:17:41 2001 +0000 use-multiple-cache-directories-for-large-caches-20010802 - support for large caches in afsd. Cachefiles are stored in subdirectories. The default is 2048 files per subdirectory, which should work fine in most situations. You can use the new afsd option -files_per_subdir to change this number. Note that the first time you run afsd with this patch, your cachefiles will get moved into subdirectories. If you subsequently run an older version of afsd, you will lose all your cached files. ==================== 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. ==================== news entry for large cache patch commit 9692094ec3beed7f526ee65fb27e852be3b485ea Author: James Peterson Date: Thu Aug 2 17:12:09 2001 +0000 winnt-port-updates-20010802 These patches solve the following problem: During Un-Install of AFS for Windows, it removed the following key: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters Instead it should have removed only the SMBDeviceEnable=0 item within the above key. This damaged the NetBT (NetBios over TCP/IP) interface, and required re-installing of TCP/IP. The users found their ability to share files and printers damaged. commit 0207991adcc2aa2b417abc73469ced3586465640 Author: Nathan Neulinger Date: Thu Aug 2 16:45:35 2001 +0000 convert-all-makefiles-to-makefile-ins-20010802 all relevant variables become subst'd and not passed in the environment commit c6d388fe1461851dd164f09be7339cfb43c7111d Author: Derrick Brashear Date: Mon Jul 23 21:50:17 2001 +0000 fs-sysname-output-syntax-compatibility-20010723 per comment by Chaskiel Grundman, fs sysname didn't include a : before, nuke it commit de296c6546c2a3ce8bf562716b97abf295644412 Author: Derrick Brashear Date: Sat Jul 21 17:39:58 2001 +0000 configure-allow-enabling-vos-full-listvol-switch-20010721 enable switch for new feature commit 03c26a2b3c23719f01c7e8010f1443704c08df27 Author: Derrick Brashear Date: Sat Jul 21 17:35:20 2001 +0000 vos-full-listvol-switch-for-parseable-output-20010721 originally from Dan Lovinger. Provides easily parseable vos output and so hopefully should be useful commit b23084cd8b770b8bf0e85cb145ec9e0a76ba74b3 Author: Garry Zacheiss Date: Sat Jul 21 08:07:51 2001 +0000 rx-packet-version-not-all-kernels-have-snprintf-20010721 linux kernel for instance has no snprintf commit b8b4b6c03ce51e36e523da16f21c76f3b1063a22 Author: Derrick Brashear Date: Fri Jul 20 23:12:02 2001 +0000 vos-syncvldb-zero-volname-before-starting-20010720 so vos syncvldb will not core dump because of uninitialized pointer commit 82b24c814da1506a866046b6b56fc67552a6b570 Author: Michael Allman Date: Fri Jul 20 21:41:13 2001 +0000 pam-make-module-useful-for-freebsd-20010720 make module actually work for freebsd commit fabec30f1783167b41e125f2755959e75f986e66 Author: Sam Hartman Date: Fri Jul 20 21:38:06 2001 +0000 viced-copyonwrite-give-useful-error-messages-when-taking-volumes-offline-20010720 don't just report "needs salvage", tell why it was taken offline commit 4e9a25c04fd386167997ecd60b27d8c77dee3773 Author: Derrick Brashear Date: Fri Jul 20 19:09:11 2001 +0000 fs-sysname-format-should-include-quotes-as-before-20010720 based on report from Alf Wachsmann commit 902055cc97a8dd26a26af55778c0b3843de3cc70 Author: Nickolai Zeldovich Date: Fri Jul 20 16:59:43 2001 +0000 rx-honor-only-client-initiated-debug-and-version-packets-to-prevent-loop-20010719 "This patch makes Rx only honor client-initiated Version and Debug packets, and respond to them without the "client-initiated" flag. All existing code sends Version and Debug queries from the client with the appropriate flag set. With the current code, one could easily create a UDP packet loop between two Rx services." commit ad8388547d0b6d0c8cea7403723b1eaca58e18b6 Author: Derrick Brashear Date: Thu Jul 19 22:51:46 2001 +0000 lwp-waitkey-lacks-return-for-eof-and-hence-backup-is-unhappy-20010719 just tell the caller if we got an eof and move on with life commit 3416930f75db8f7268f354ce00531e14f53f5393 Author: Derrick Brashear Date: Thu Jul 19 22:25:26 2001 +0000 configure-fail-if-cant-guess-linux-version-for-sysname-20010719 if we disabled kernel module because there were no headers, guessing the sysname is harder commit 1c46493032e77e5b8d59557f0f4984e0bec01570 Author: Nickolai Zeldovich Date: Thu Jul 19 18:41:23 2001 +0000 resolve-symlinks-from-stat-cache-with-just-lookup-permission-20010719 To fix bug reported by Nathan Rawling. commit 66df924fbafb1134ee81d34f32d86eb3fed042c7 Author: Derrick Brashear Date: Mon Jul 16 19:48:32 2001 +0000 add-afs-man-pages-20010716 documentation from afs command reference commit 453029705ed92463895dbeae87b2ff0fe757b8d1 Author: Derrick Brashear Date: Mon Jul 16 19:46:35 2001 +0000 more-make-clean-cleanup-20010716 try harder to make clean target clean up nicely commit 49ae847e1ba9dec69756f3e323c00532ebb57f9e Author: Derrick Brashear Date: Mon Jul 16 05:58:22 2001 +0000 aix-export-needs-afsconfig-include-path-20010716 minor cleanup for export build on aix commit 354fb1739295cdb10bc08a537db158a70cd18379 Author: Derrick Brashear Date: Mon Jul 16 23:06:26 2001 +0000 linux22-param-file-needs-modversions-reordering-20010716 to make it possible to build modversion'd kernel on linux 2.2 commit 9e09de0b96b3a6a97e6d22c99e3730d1f771a360 Author: Derrick Brashear Date: Mon Jul 16 06:32:48 2001 +0000 add-bogus-install-dependancy-for-lame-systems-which-think-INSTALL-is-install-and-so-do-the-wrong-thing-20010716 darwin has a case-insensitive but case-preserving filesystem. yay. commit d15d69c2d7e4cd4e788d511866a5d0fc6638b194 Author: Derrick Brashear Date: Mon Jul 16 05:33:53 2001 +0000 move-readmes-one-level-up-20010716 move readmes/install into new top level commit 5c38f46fc8bc87bd3666c9508263585afb87d60c Author: Derek Atkins Date: Mon Jul 16 01:59:01 2001 +0000 configure-redhat-kernel-bug-workaround-20010715 to allow hooking in to deal with bug in redhat kernel headers commit 73e458a9c8be007381ab0d8c6fa10edc81ed040f Author: Derek Atkins Date: Mon Jul 16 01:22:48 2001 +0000 linux-under-under-smp-under-under-never-needs-to-be-defined-in-rhconfig-20010715 never need to define __SMP__ (or undefine __SMP__) in module compilation commit c817e39aa3a024b14cb9b576e2fc12f32437057a Author: Nickolai Zeldovich Date: Mon Jul 16 01:20:38 2001 +0000 afsdb-support-use-afs-not-dce-records-only-20010715 so we don't use DCE AFSDB records commit 9e3578a67878b2fb1e4750c0fe4dcc1879c0f031 Author: Nickolai Zeldovich Date: Mon Jul 16 01:13:19 2001 +0000 configure-fail-unknown-sysnames-20010715 fail on unknown systems to default system name commit 1fd4f11faf40914ed794eff09986c29784571cf6 Author: Nathan Neulinger Date: Thu Jul 12 20:58:15 2001 +0000 include-afsconfig-before-param-h-20010712 so stuff can be defined in afsconfig.h and included first commit 36a5eaa81c4c1c9fc0ee7f9872e730c026590819 Author: Nickolai Zeldovich Date: Thu Jul 12 20:04:07 2001 +0000 solaris-detect-kernel-dqrwlock-20010712 based on feedback from Frank Batschulat vfs_dqrwlock not present in all solaris versions commit efe58972cc28d3aa258d2d1a5d9e54a544130f26 Author: Chaskiel M Grundman Date: Thu Jul 12 20:00:33 2001 +0000 darwin-generate-module-version-from-version-string-20010712 generate darwin version string from the autoconf version for the module commit 63d75a498e841220c4916881978e72fba6078047 Author: Derrick Brashear Date: Thu Jul 12 19:57:25 2001 +0000 pam-needs-afsdb-libs-20010712 since libauth can include afsdb support we need the support libs commit fbea776a8cbf221e8aa9a1f50cfdf33f2dfc8686 Author: Derrick Brashear Date: Thu Jul 12 19:37:48 2001 +0000 install-vlib-as-libvlib-also-20010712 these weird archives which aren't installed as libwhatever are really annoying vlib is now no longer one of these commit e49e5ef7f3a78885136284129c4fbff0bb558faf Author: Derrick Brashear Date: Thu Jul 12 18:52:06 2001 +0000 dauth-makefile-dont-reuse-VERSION-macro-20010712 version macro belongs to autoconf build system now commit b1068468fdc61ebb4813024b4c5ab3116c05cfa9 Author: Derrick Brashear Date: Thu Jul 12 18:43:28 2001 +0000 generate-version-strings-from-configure-20010712 have perfectly good version string. use it. commit 34edf837f01275cab99d81250b8f553382c777f9 Author: Derrick Brashear Date: Thu Jul 12 18:26:06 2001 +0000 make-clean-cleanup-20010712 make distclean not do clean's job (src/kauth/Kkauth.cs.c) make clean do clean's job (as above) make pristine make it out of the box clean commit 61aa7f4aafc2f4f980b95b5adf868e3f7d20421b Author: Derek Atkins Date: Thu Jul 12 18:18:53 2001 +0000 add-redhat-buildsys-enabler-in-configure-20010712 to make things easier when building in a spec file environment commit bfdd29c0d88d37bb52ca97e74524fb509715677a Author: Derrick Brashear Date: Thu Jul 12 18:11:32 2001 +0000 configure-compute-darwin-sysnames-20010712 powerpc not ppc is the cpu type; specify version also ==================== 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. ==================== include _ commit 8e762d66a87377309178208004d2d4941fa629a2 Author: Derrick Brashear Date: Thu Jul 12 17:09:17 2001 +0000 make-clean-should-clean-package-and-rsh-20010712 clean up if we enable obsolete and insecure commit 602cbfc75c787d284888c58dcde149b7b1690f44 Author: Derrick Brashear Date: Thu Jul 12 16:55:47 2001 +0000 kill-afs-warning-message-20010712 we aren't ibm and hence government licensing issue doesn't matter commit cb4d93d30b4a545e5464b35a8d0a1a86da303d9b Author: Derrick Brashear Date: Thu Jul 12 16:54:10 2001 +0000 itc-h-is-dead-use-potpourri-h-20010712 in reality potpourri should also die but one thing at a time commit 33ae575a6aa831d9eb5536554486bce97e7ad5a6 Author: Derrick Brashear Date: Thu Jul 12 16:37:31 2001 +0000 linux24-handle-inode-address-space-page-lock-spinlock-20010712 One line patch to initialize spin lock added in a RedHat kernel patch. This should fix the RedHat 7.1 SMP problem. Also includes configure glue to turn it on. Thanks to Chaskiel Grundman for suggesting the fix, Garry Zacheiss for suggesting it affected the SMP kernel generally and not just SMP hardware, and Andrei Maslennikov for noting the problem did not affect vanilla 2.4.3 with only the Alan Cox (AC14 in this case) patch. commit b77acd6010f9ad302e0d26e730cb5e1b56b3c6fd Author: Derrick Brashear Date: Thu Jul 12 05:02:29 2001 +0000 dont-install-crypt-and-itc-headers-20010711 a header named crypt.h with one prototype isn't very useful the itc.h header is also pretty much useless so, they are gone commit e95c6797115c31b53a89daf9194b0eac8d7ffca0 Author: Derrick Brashear Date: Thu Jul 12 03:17:40 2001 +0000 kdump-include-afsconfig-path-20010711 so kdump has a prayer of building commit 6523d5e0c8389375ab3358fac1d55052a8e6b6bf Author: Sam Hartman Date: Thu Jul 12 03:14:13 2001 +0000 top-makefile-needs-lwp-before-rx-in-kfsint-20010711 since rx needs lwp, do lwp dep first commit 9ddcab10497df870a31b2f24ad6906eaf9e3b8cd Author: Derrick Brashear Date: Wed Jul 11 22:00:50 2001 +0000 configure-guess-afs-sysnames-20010711 make configure attempt to guess the correct afs sysname for your platform ==================== 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. ==================== use precomputed kernel we're building for not uname output ==================== stick in missing systems commit 677b7a4ae6a980cbcdb3df502f061ee710688d4a Author: Derrick Brashear Date: Wed Jul 11 21:49:55 2001 +0000 update-INSTALL-to-reflect-state-of-openafs-20010711 the stock INSTALL is wrong for us now. commit 30dce214fd3c1e31be86531079496c151eeb6bab Author: Sam Hartman Date: Wed Jul 11 19:06:20 2001 +0000 add-openafs-news-20010711 edited by shadow@dementia.org based on content and also on suggestions from nneul@umr.edu commit 2f1590321a41099115521b98a33a44a872674892 Author: Derrick Brashear Date: Wed Jul 11 19:04:39 2001 +0000 kauth-retire-SPECIAL-macro-20010711 SPECIAL macro was presumably for conversion to special key cache environment and is no longer needed commit 623bc5bd27d6c1414fea9d894b5f488ee188a3e0 Author: Derrick Brashear Date: Wed Jul 11 18:45:04 2001 +0000 auth-ktc-no-kernel-has-ktc-h-20010711 retire MAYBE_NO_KTC since no kernels have afs integrated that way these days commit b4193780f9105379794380842380c0831837fd42 Author: Derrick Brashear Date: Wed Jul 11 18:27:01 2001 +0000 kaauxdb-fix-silly-comment-substitution-20010711 how afs_int32 can you be? commit 2cd573ce0a532d2db209225e183c6f4c926ae997 Author: Derrick Brashear Date: Wed Jul 11 18:25:56 2001 +0000 libadmin-kas-bugfixes-20010711 fixes for the following report from "Jeremy Stribling" - In the GetPrincipalLockStatus function, an attempt is made to set the lockedUntil variable to the minimum locked value for that principal among all servers. However, lockedUntil is set to 0 immediately before this, and so all attempts to find a locked value less than it fails, and so lockedUntil always comes out of that function as 0. - Also in the GetPrincipalLockStatus function, if the principal is locked out according to all servers, then the main loop will exit when ubik_CallIter returns the UNOSERVERS error code. But, since the return code for GetPrincipalLockStatus is set to 1 if and only if ubik_CallIter returns an error code of 0, this results in an return code of 0 being returned for GetPrincipalLockStatus when in reality no error occured. - A similar problem occurs in the kas_PrincipalUnlock function. If the principal is not currently locked out of any server, ubik_CallIter will iterate through all servers and return a UNOSERVERS error code. Again, in this case the return code of kas_PrincipalUnlock will not be set to 1 and an error will be indicated even though no error occured. - In kas_PrincipalKeySet, the return code is never set to 1, even when it completes successfully, so it seems that an error always occurs when calling this function. commit bba4ffa025ce906f577678fe8ee1f8b857d80bd4 Author: Nathan Neulinger Date: Wed Jul 11 18:00:55 2001 +0000 util-netutils-include-files-and-warnings-cleanup-20010711 cleanup warnings and change inclusion of string/strings commit 5053c3dc575a329c0a40779f025a97967ed74f43 Author: Nathan Neulinger Date: Wed Jul 11 17:58:33 2001 +0000 util-serverlog-inclusion-and-warnings-cleanup-20010711 change how string/strings include files happen, remove unused vars commit 3d35839a13378d7c22aa5e22a5b8267b2a5e46cf Author: Nathan Neulinger Date: Wed Jul 11 17:32:51 2001 +0000 vlserver-header-updates-20010711 autoconf-style header inclusion commit 79077af6e01053fdeb38294794ea631150083fbf Author: Nathan Neulinger Date: Wed Jul 11 17:13:24 2001 +0000 uuid-paren-cleanup-20010711 add return type decls and missing parens to stop compiler whining commit 00a34c793672d9fec02b751953fe66c4ec594918 Author: Nickolai Zeldovich Date: Wed Jul 11 17:09:34 2001 +0000 solaris-inode-lock-cleanup-20010711 fixes based on feedback from Frank Batschulat commit d3e7a805192d2c47c43a17b710eef257c664ebfb Author: Nathan Neulinger Date: Wed Jul 11 16:58:01 2001 +0000 win32-ktc-set-tokens-proto-fix-20010711 declare correctly as afs_int32 commit 77c76eb54561259addc4cdc1b1fe1802b982c44f Author: Derrick Brashear Date: Wed Jul 11 16:40:40 2001 +0000 configure-linux-kernel-detection-should-set-afsconfig-items-20010711 we test for linux kernel features; might even be useful to use the results commit 97e441dce905938e8feffedf5d4b1d479a300888 Author: Johan Danielsson Date: Wed Jul 11 00:40:15 2001 +0000 configurable-dux-kernel-header-path-20010710 modified slightly to allow selection if more than one directory exists commit 405cd3e8e0b8f72244fda6cbdb1a9ba9b9ad150c Author: Jimmy Engelbrecht Date: Tue Jul 10 18:31:07 2001 +0000 add-new-arla-pioctl-20010710 reserve next pioctl for arla statistics gathering interface commit f5eaadfeb971377e82d54b375f421be48feb33a6 Author: Chaskiel M Grundman Date: Fri Jul 6 23:44:05 2001 +0000 configure-linux-redhat-support-on-redhat-only-20010706 a) if the kernel headers use redhat's header-file selection thing, and doesn't define their __BOOT_KERNEL* symbols if not. b) which AFS kernel modules (single-processor, multi-processor, or both) it makes sense to compile against these kernel headers. e.g. in a CONFIG_MODVERSIONS environment, it only makes sense to compile for the same SMP-ness as the headers. commit cf35c1842f72cd6370c0fc6bcecf7c1095d997ee Author: Derrick Brashear Date: Fri Jul 6 06:08:29 2001 +0000 html-doc-add-index-20010706 top page for html docs commit fbcfd7a4ceeab9a0b4ac5316efb8fb82eaedce32 Author: Garry Zacheiss Date: Fri Jul 6 05:45:14 2001 +0000 add-distclean-target-20010705 clean up turds from build process commit b9142278d025369c9fd111888dd43673db1de69b Author: Derrick Brashear Date: Fri Jul 6 05:19:54 2001 +0000 export-param-inclusion-conflicts-with-system-headers-20010706 sys/user.h errors when param.h included first commit b6ab5aac2f457adca06b6ab41ec3179082948dbe Author: Derrick Brashear Date: Fri Jul 6 05:09:46 2001 +0000 export-needs-include-paths-20010705 export needs places to get afsconfig and afs/param.h commit e19667d9f6881ad0d4f6a19d3ed2e5dc34a91130 Author: Derrick Brashear Date: Fri Jul 6 05:04:23 2001 +0000 login-needs-afsconfig-20010705 login needs include path for afsconfig commit c2e1c9ed53eb84da4637086b4761e50317289d34 Author: Derrick Brashear Date: Fri Jul 6 05:02:46 2001 +0000 aix-auth-needs-afconfig-20010705 include path for afsconfig commit bc2898318c8de9ce4bb91fd8df69b740d5381495 Author: Derrick Brashear Date: Fri Jul 6 03:01:42 2001 +0000 aix-lwp-needs-afsconfig-20010705 include path for afsconfig.h was missing for aix commit b1c10226c4f4d2b178a8d7b5a55f432c2cda8193 Author: Derrick Brashear Date: Fri Jul 6 02:15:46 2001 +0000 bozo-bnode-call-iomgr-softsys-with-proper-casted-args-20010705 iomgr_SoftSys is prototyped to take a char* as second arg commit 003f4cd993c14f6235317fd17be26de04374e987 Author: Derrick Brashear Date: Fri Jul 6 02:12:02 2001 +0000 dux-curses-already-using-IN-20010705 don't define IN as it conflicts with curses.h on dux commit b8e186a998bed6be8b230febb77e5abbab03ab8d Author: Derrick Brashear Date: Fri Jul 6 01:48:47 2001 +0000 sia-add-include-path-for-afsconfig-20010705 sia needs to include afsconfig.h commit b6efc81d6141e5621edb82bcae5d99015a4fe3a4 Author: Derrick Brashear Date: Thu Jul 5 21:24:50 2001 +0000 acconfig-needs-version-and-package-macros-for-some-versions-of-autoheader-20010705 PACKAGE and VERSION aren't always in autoconf/acconfig.h commit 5f9afd4147aa4862cf078207e90fa500a2e3f231 Author: Derrick Brashear Date: Thu Jul 5 17:55:29 2001 +0000 allow-disabling-kernel-module-compilation-20010705 add missing fi commit ffb5299adddccf915aaf167eff3b227c4ef6967c Author: Derrick Brashear Date: Thu Jul 5 17:48:34 2001 +0000 remove-generated-files-from-cvs-20010705 will need to deal with snapshot and release generators to include these yet but junk them for now commit 27238dd64c07497f7e857384d925dcc5b3de540b Author: Derrick Brashear Date: Thu Jul 5 17:40:05 2001 +0000 configure-no-error-on-failure-to-find-pthreads-20010705 failure to find pthreads should be non-fatal commit 62994d919dda6e678ed2b72e64553b5f70e03185 Author: Derrick Brashear Date: Thu Jul 5 17:38:19 2001 +0000 allow-disabling-kernel-module-compilation-20010705 in response to reports from hartmans@mekinok.com and zacheiss@mit.edu will also autodisable for linux if no --with-linux-kernel-headers specified and none found commit 290ee432953f448390981a07f63ec40c1bc7ede0 Author: Derrick Brashear Date: Thu Jul 5 16:56:54 2001 +0000 upserver-remove-redundant-prototypes-20010705 again remove redundancy so prototypes match the code commit e6e84590d81d8678286b69703ec2aa7b4f915a92 Author: Derrick Brashear Date: Thu Jul 5 16:44:33 2001 +0000 vlserver-remove-redundant-prototypes-20010705 so we get the prototypes whose types match commit b23a1875f2e365ecd43585ccf0523e98feeee8dd Author: Derrick Brashear Date: Thu Jul 5 16:42:55 2001 +0000 budb-remove-redundant-prototypes-20010705 remove more redundant incorrect prototypes commit b245c4a42987ed506d115d775371653f04386024 Author: Derrick Brashear Date: Thu Jul 5 16:40:49 2001 +0000 kaserver-remove-redundant-prototype-20010705 remove this this doesn't even match the code commit d9403fd97c447c2bc5b064464f147b0dcb2b4482 Author: Derrick Brashear Date: Thu Jul 5 16:39:03 2001 +0000 cellconfig-add-missing-prototypes-20010705 add prototypes for externally used functions commit 151b8b5e60e08817eab29d5444f8ab204960d989 Author: Garry Zacheiss Date: Thu Jul 5 16:30:12 2001 +0000 configure-updates-for-linux-kernel-detection-20010705 report useful error if no kernel headers found. use last version string found in version.h commit e7ec0d4213853117dc463a3629651e280c6cf0fa Author: Nathan Neulinger Date: Thu Jul 5 16:20:00 2001 +0000 afsconfig-and-rcsid-all-around-20010705 convert rest of source to afsconfig; include rcsid macros ==================== 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. ==================== remove bogus if/define/endif triple ==================== revert non-rcsid and afsconfig portion of patch commit 671a9314ecdbd7683d00f6edaa70713553c9a4b6 Author: Nathan Neulinger Date: Thu Jul 5 16:13:08 2001 +0000 util-warnings-cleanup-20010705 get rid of more warnings commit 54d0413ff896f3240d5e4c2c9aaf67cb2360c528 Author: Nathan Neulinger Date: Thu Jul 5 16:09:58 2001 +0000 auth-setkey-warnings-cleanup-20010705 get rid of more warnings, add missing args to printf strings commit 64cde212577618fbd270b9952921d4bafb58a23e Author: Nathan Neulinger Date: Thu Jul 5 16:07:58 2001 +0000 provide-fast-start-configure-options-20010705 add more configure options so fast restart and bitmap later options can be configured on commit bff2d87c9821daa35e7d1608938c33efd993caf4 Author: Nathan Neulinger Date: Fri Jun 29 05:51:37 2001 +0000 autoconf-updates-for-ac-check-lib-quoting-20010629 quote refs to $lib commit a250c7807f325c964c7315ad3fb441bc5e8ae39f Author: Nathan Neulinger Date: Fri Jun 29 05:48:25 2001 +0000 fix-linux-headers-updating-in-configure-20010629 make defaulting work correctly commit 8c08034a39dce0a0186a42200bcaf045752877ff Author: Chaskiel M Grundman Date: Fri Jun 29 05:43:53 2001 +0000 sparc64-linux24-support-20010629 support for sparc64 linux2.4 tested with 2.4.5 commit 469eb74229f1b8856c66c6218f6ac9660a42886a Author: Nathan Neulinger Date: Fri Jun 29 05:40:00 2001 +0000 include-cellconfig-in-ptutils-prototype-20010629 more warning elimination commit 0f0be81c0ad6077edfabd559c56ee3e28bbf9152 Author: Nathan Neulinger Date: Fri Jun 29 05:34:55 2001 +0000 allow-all-target-for-rxstat-20010629 rxstat makefile lacked all target commit b92587cbc81e1f55873bd31061374facc75a2bfa Author: Nathan Neulinger Date: Fri Jun 29 05:25:55 2001 +0000 ptserver-remove-redundant-prototypes-20010629 get rid of redundant prototypes commit 789bdb1c3a4ab32af3a0fed2374cf74426b13e3c Author: Nathan Neulinger Date: Fri Jun 29 05:15:52 2001 +0000 kasadmin-unused-variables-20010629 eliminate warnings from unused variables commit 57a931c220b01750ca7e7111e2e7a20b6ea3e7fe Author: Nathan Neulinger Date: Fri Jun 29 04:58:51 2001 +0000 kauth-rebuild-remove-bogus-argument-20010628 remove unneeded, unused argument commit c0a0c21363d7026500cfa3a73dfa0eb5bcc8b50f Author: Nathan Neulinger Date: Fri Jun 29 04:50:48 2001 +0000 fix-vsutils-bogus-format-string-20010628 remove needless % commit a7014d420832a11d8eb73c774336dd49ce9494b1 Author: Tom Maher Date: Fri Jun 29 04:20:01 2001 +0000 update-freebsd-support-20010628 fileserver now set up for namei interface. still no client commit b5b8b317f6076c665a1ffd6ad3b26c846f06d4a9 Author: Garry Zacheiss Date: Fri Jun 29 04:18:12 2001 +0000 update-make-clean-support-20010628 some stuff the make clean patch missed commit fcc1a29b4e5f71ac90fb022414af5ae6554b23c1 Author: Derrick Brashear Date: Thu Jun 28 17:05:56 2001 +0000 aix-strings-h-preferred-over-string-h-20010628 otherwise we get weird errors like: "/usr/include/strings.h", line 52.20: 1506-010 (W) Macro index invoked with a null argument for parameter __s1. "/usr/include/strings.h", line 52.20: 1506-041 (E) The invocation of macro index contains fewer arguments than required by the macro definition. "/usr/include/strings.h", line 52.14: 1506-275 (S) Unexpected text ',' encountered. from the conflict ==================== 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. ==================== to prevent more of same errors ==================== ==================== continue to placate aix hatred ==================== aix needs more help ==================== aix needs more help commit cc4f5ee37893f72de1a264ec481bc93939828bd7 Author: Derrick Brashear Date: Thu Jun 28 08:06:59 2001 +0000 userok-needs-prototype-for-aix-20010628 default of int for lacking forwarding decl pisses off aix commit 7c6170b1bbdc18cd89bec065cf6e38bef2298800 Author: Derrick Brashear Date: Thu Jun 28 08:03:25 2001 +0000 update-ac-substd-variables-so-aix-make-is-happy-with-obsolete-and-insecure-disabled-20010628 AIX gets upset qwhen these variables are unset commit dc45e9b995b6215d2cd28966a9879983a47b3c5b Author: Derrick Brashear Date: Thu Jun 28 07:54:41 2001 +0000 dont-include-endian-h-when-defining-kernel-for-dux-20010628 otherwise ntohl etc are macros for in-kernel functions we don't have commit 7c2cb16764d8d549979f8b65915a76f4cd0dcbb8 Author: Nathan Neulinger Date: Thu Jun 28 07:00:24 2001 +0000 mountpoint-copying-switch-to-up-needs-netinet-in-h-20010628 some platforms need netinet/in.h for mountpoint copying to work commit aaca2cacd986ec546095a9b4e29e284070e2491e Author: Derrick Brashear Date: Thu Jun 28 06:44:19 2001 +0000 introduce-autoconf-for-openafs-20010628 replace existing build system with autoconf faceplate ==================== 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. ==================== so we can fix the file modes ==================== commit withj correct file modes ==================== stuff which got left behind ==================== more stuff which was missed ==================== get this right so build completes ==================== also make these correct (no obj reference) ==================== so autoconf dependancy chain need not change ==================== set correct variable for obsolete buildng ==================== so we can more easily use autoconf'd CC var commit 114eb0c82773f9943ecd58316333319cf7a2dc3b Author: Sam Hartman Date: Sat Jun 23 18:54:50 2001 +0000 apply-modversions-so-nothing-has-first-been-included-20010623 include afs/afs_sysnames.h after modversions so no unversioned symbols sneak in commit aab5fc6ecd53449a01a686b8d77fea9499cc55d4 Author: Jeff Riegel Date: Sat Jun 23 18:29:56 2001 +0000 winnt-win2000-win98-afs-client-updates-20010623 updates for nt/2000 and 95/98 afs clients ==================== 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. ==================== binary file updates commit 843a9584b044b4f19c93aa281abb6d3ee3638788 Author: Jeff Riegel Date: Sat Jun 23 18:23:34 2001 +0000 make-fsck-claim-openafs-not-transarc-afs-20010623 just update what gets printed to be correct commit 9e31595353e35678792819f0f758d497679fb284 Author: Russ Allbery Date: Sat Jun 23 18:17:09 2001 +0000 linux-changes-needed-to-compile-with-suse-included-patches-20010623 ifdef may need to be changed but should work until autoconf commit 6d6f2c265fca3ec917f26ccc5c736aa13134dcfb Author: Nickolai Zeldovich Date: Sat Jun 23 18:13:16 2001 +0000 fix-fs-error-string-printing-20010623 return useful error codes so correct errors can be printed commit 24ba7b873a6c37aca9e2842339f56dc81ae47ed5 Author: Todd M. Lewis Date: Sat Jun 23 18:09:54 2001 +0000 add-mountpoint-copying-switch-to-up-20010623 Add a "-m" option to up which makes it recognize and copy mount points rather than traversing them during its recursive copy operation. Without the -m option, up's default (questionable) behavior remains unchanged. commit 70802b37037b2bae7c696a1282d4d3fd623475ef Author: Jeff Riegel Date: Sat Jun 23 18:01:03 2001 +0000 afs-web-interface-enhancements-20010623 Changes include: 1) Token caching: Functions to set the current "PAG" (not really a process authentication group, but a generic identifier for a user session) to a specific value, allowing us to switch tokens between different threads of the Web server without reauthenticating. 2) Performance enhancements: The main improvement is that we can check whether a directory is a mount point in advance and avoid doing a stat or contacting the destination cell. We've also enabled bulk statting with kolya's patch from 11/2000. 3) New UAFS API's to call various pioctl functions, etc. enclosed in AFS_WEB_ENHANCEMENTS ifdef commit 727d52ee047101ada6a1a37d961fd1fdf5ea77d5 Author: Nathan Neulinger Date: Sat Jun 23 17:43:20 2001 +0000 libadmin-printf-argument-cast-20010623 kill warning by casting argument to printf commit 9e821222edbfaf0e7dfb7bede5921126bbe15d5c Author: Nathan Neulinger Date: Sat Jun 23 17:36:18 2001 +0000 linux-rx-add-missing-return-types-20010623 return type missing, now added commit 7e00ffc70a57bc926c45056b350933d3ab2f9d83 Author: Nathan Neulinger Date: Sat Jun 23 17:31:36 2001 +0000 convert-update-to-afsconfig-and-kill-warnings-20010623 convert upserver and upclient to use afsconfig and kill warnings commit 152be1a113bd0e4e4b3b9e0a441e7bf14f7224c2 Author: Nathan Neulinger Date: Sat Jun 23 16:20:43 2001 +0000 eliminate-warnings-in-rxgen-generated-code-20010623 provide prototypes in non-kernel case and add missing function return type commit 16e270ac2cb843ebe305a687344ad09a37545234 Author: Nathan Neulinger Date: Sat Jun 23 16:14:37 2001 +0000 convert-rxgen-to-afsconfig-20010623 switch to afsconfig for some configuration; add RCSID commit 3c271afa245381ce582bf4c97cd2a24a6aedb840 Author: Nathan Neulinger Date: Sat Jun 23 16:00:06 2001 +0000 afsconfig-add-rcsid-20010623 add an RCSID macro commit 5349a4495d617be1bca96a80ee9b73382729b5c1 Author: Nathan Neulinger Date: Sat Jun 23 15:50:12 2001 +0000 deal-with-printf-as-macros-20010623 gcc 3.x macroizes printf; deal appropriately commit 1d93f2da22eb02cd81776cabc28012c1b40dd4ec Author: Nathan Neulinger Date: Sat Jun 23 15:40:01 2001 +0000 rx-warnings-and-prototyping-20010623 suppress more warnings in rx; also creat missing prototypes commit 7dec009bd56d2668b9c2ed090eee8787f551e02c Author: Nathan Neulinger Date: Sat Jun 23 15:12:40 2001 +0000 afsmon-warning-cleanup-20010623 get rid of remaining warnings in afsmonitor code commit c8e0124c8e5f0a97591cd75165156a362fa9ca8f Author: Nathan Neulinger Date: Wed Jun 13 17:53:00 2001 +0000 remove-potentially-bogus-warning-20010613 remove added warning which caused warnings during routine operation commit 650c86d47dde3d5193b38d2cd3f87b29ac250757 Author: Derrick Brashear Date: Wed Jun 13 04:56:22 2001 +0000 avoid-string-h-conflict-in-kernel-rx-20010612 avoid conflicting with kernel's string.h commit b1268f4005e6a47fceb9b8b72e99a9c2c7f0bd8f Author: Nathan Neulinger Date: Tue Jun 12 20:46:41 2001 +0000 lwp-warning-cleanup-and-afsconfig-20010612 get rid of warnings and afsconfigize lwp commit c569e9535821cac3c12df45fef72dd3bbd3c03cd Author: Nathan Neulinger Date: Tue Jun 12 20:46:21 2001 +0000 rx-warning-cleanup-and-afsconfig-20010612 get rid of warnings and afsconfigize more of rx commit 97327378612b3374d97efe38070b309405607eef Author: Nathan Neulinger Date: Tue Jun 12 20:44:46 2001 +0000 eliminate-silly-error-in-text-from-vsprocs-20010612 get rid of an extra space commit 9a158cddc1b6394f74d5ad6e26eb7bd1f5c46769 Author: Nathan Neulinger Date: Tue Jun 12 20:43:47 2001 +0000 translate-et-eliminate-warnings-20010612 get rid of warnings in translate_et commit 79606d4e5f09e9b558189e1b56115c4c3aa178d5 Author: Nathan Neulinger Date: Tue Jun 12 20:42:32 2001 +0000 protect-SMP-with-conditionals-against-multiple-definitions-20010612 don't redefine __SMP__ if it's defined. commit e4aad02615fa586ba377faf854313795581557f0 Author: Nathan Neulinger Date: Tue Jun 12 20:36:31 2001 +0000 remove-afsconfigization-from-des-conf-h-20010612 undo earlier change commit fec35c6142da688bb9f7d1652ec471fa72ce05f6 Author: Derrick Brashear Date: Fri Jun 8 23:23:07 2001 +0000 try-harder-to-notice-down-server-20010608 try harder to notice something is down otherwise we can end up looping forever commit 56c9c9ddba3646c270a9201818f49ff4ef134339 Author: Nathan Neulinger Date: Wed Jun 6 23:01:17 2001 +0000 util-warnings-cleanup-20010606 clean up in flipbase64 commit 3848ad0d09e4482efed2a89114ea3ce7147b7345 Author: Nathan Neulinger Date: Wed Jun 6 23:00:47 2001 +0000 sys-warnings-and-unused-variables-cleanup-20010606 clean up sys subtree commit ed0cb4eb6df1a87cc015b2bc1e419bab7bcd32ee Author: Nathan Neulinger Date: Wed Jun 6 23:00:09 2001 +0000 lwp-warnings-and-unused-variables-cleanup-20010606 make lwp warnings and unused variables go away commit d7da1acc31189a023d9ed1060a882448f61ffb47 Author: Derrick Brashear Date: Wed Jun 6 19:09:07 2001 +0000 initial-html-documentation-20010606 pull in all documentation from IBM commit 6f30fcecdae34de8eacf86b544258aac20a24f46 Author: Derrick Brashear Date: Wed Jun 6 18:58:13 2001 +0000 initial-pdf-with-embedded-cmr-fonts-20010606 with thanks to Mattias Amnefelt for converting to the BlueSky Computer Modern Roman fonts from tex. commit 3107b75e94e5d731207530146b07c3fb163af20d Author: Derrick Brashear Date: Wed Jun 6 18:56:26 2001 +0000 scrap-initial-pdf-files-20010606 relocating commit 0e52339b66f5937de8eaca473f0935d873509eab Author: Mattias Amnefelt Date: Tue Jun 5 21:17:46 2001 +0000 automake-work-in-progress-20010605 work-in-progress automake work. will not work as-is as it relies on headers being moved about and that isn't included yet. commit 115708fd8265efe6943f32569e1b2b44c8e7f899 Author: Nathan Neulinger Date: Tue Jun 5 19:26:42 2001 +0000 ubik-warnings-cleanup-20010605 more warning cleanup commit 3653b0c0cf524bf6a787a81207cb64eb2986b2a9 Author: Nathan Neulinger Date: Tue Jun 5 19:22:01 2001 +0000 comerr-cleanup-warnings-20010605 compiler placation commit 083170a430bbb415e70fab724415610b57488461 Author: Nathan Neulinger Date: Tue Jun 5 16:06:56 2001 +0000 config-includes-warning-cleanup-20010605 clean up comment warnings commit 972191fc2436c1fe12fcd0a234288bd29e9df499 Author: Nathan Neulinger Date: Tue Jun 5 16:05:30 2001 +0000 libafs-libuafs-makefile-updates-for-afsconfig-20010605 so afsconfig.h inclusion can be done commit d487720ea8109a676955d8ff9d1f007d52bfa54f Author: Chas Williams Date: Tue Jun 5 15:59:54 2001 +0000 linux-dentry-cache-another-try-20010605 to fix a problem where invalid negative data is cached as well as some efficiency commit 5c644523b7aca5324c26ab21013a368586e18ed5 Author: Nathan Neulinger Date: Tue Jun 5 15:47:53 2001 +0000 afsmon-warning-cleanup-20010605 remove unused variable commit 6a5d19930a7f8a9e232db8207dcb14cdf0f1b45b Author: Ted McCabe Date: Tue Jun 5 15:46:24 2001 +0000 sysname-list-instead-of-simple-name-20010605 allow a sysname list which is interated in lookup instead of a simple namespace ==================== 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. ==================== remove bit which leaked in commit e63a93f371729d565b37aaacb29734faafc938a2 Author: Nathan Neulinger Date: Tue Jun 5 15:32:46 2001 +0000 rx-warning-cleanup-and-afsconfig-20010605 clean up previous rxtrace patch and clean up other warnings commit 7705453b05ddb140a0e26f9e43a7e640c4cb62ab Author: Nathan Neulinger Date: Tue Jun 5 15:30:16 2001 +0000 convert-volparse-to-afsconfig-and-cleanup-20010605 clean up warnings in volparse.c and make it use afsconfig.h for building commit 11b84698222f6f4a511be157d85fa7039a7e9d33 Author: Jeff Riegel Date: Tue Jun 5 15:21:45 2001 +0000 rx-race-condition-cleanup-by-adding-busy-status-20010605 set a busy status on a connection to prevent it from being deleted while in use commit dde2a200a3f0f01bfaae678d3c2fd117489401b4 Author: Jeff Riegel Date: Tue Jun 5 15:18:53 2001 +0000 userland-cachemgr-zero-token-times-on-unlog-to-trigger-gc-20010605 on unlog when using userland cache manager zero token fields so they will be garbage-collected commit cddec1584fa1019e89311aae3f293b372937bfa0 Author: Jeff Riegel Date: Tue Jun 5 15:16:10 2001 +0000 cachemgr-dont-leak-stat-info-to-clients-not-entitled-to-it-20010605 if you only have lookup don't leak stat information from cache, which normally requires read commit 62078136d1eac45fe412a9a3da03960c0f9860e8 Author: Jeff Riegel Date: Tue Jun 5 15:11:01 2001 +0000 usermode-cachemgr-open-mode-checking-fix-20010605 default to read mode when opening commit 2b82ddea166bf558664d9737b4739e99303d33a6 Author: Pavel Semerad Date: Mon Jun 4 23:29:00 2001 +0000 linux24-use-flock64-instead-of-flock-20010604 "locking on linux 2.4.x does not work. 2.4.x uses internally 64bit offsets (start and end of lock) and end is set to 64 bit int max. When it converts to struct flock, len is set to 0xffffffff (cut off high 32 bits) and afs_lockctl decides it is byte-range locking. So on 2.4.x kernel there should be used flock64 instead of flock (flock64 is typedef to flock on 64bit systems such as sparc64 and ia64)" ==================== 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. ==================== use flock64 for linux24 commit 033aecd1e883e84ca5d38037e7fcefa11b6e6c61 Author: Nathan Neulinger Date: Mon Jun 4 22:08:19 2001 +0000 viced-dotted-quad-logging-without-malloc-20010601 based on suggestion from rees@umich.edu ==================== 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. ==================== update for solaris cc joy commit 0e29705b4632bb2e1ba647344f296e269cd29e9d Author: Nathan Neulinger Date: Mon Jun 4 22:07:27 2001 +0000 libadmin-cleanup-and-afsconfigization-20010604 clean up warnings, get rid of unused variables, and set up for use of afsconfig.h commit f8e11f7e1e5fc5d8f152d2affe33732e647d30c5 Author: Nathan Neulinger Date: Sun Jun 3 18:20:15 2001 +0000 lwp-iomgr-warning-suppression-20010602 remove unused variable, add missing parens commit a09cdb27b8e998a58534978d044bf7b6a6eb9538 Author: Nathan Neulinger Date: Sun Jun 3 17:52:05 2001 +0000 fix-afsmonitor-patch-for-string-h-existance-check-20010602 as not all platforms may have string.h commit 142dcf54c108b0901aabbf30b87fd6343d1a9ef5 Author: Nathan Neulinger Date: Sun Jun 3 17:34:34 2001 +0000 vol-volser-more-liberal-information-in-log-messages-20010602 hopefully no one is processing these logs in a way this breaks. make error and volname information available as part of error message commit b8f911768bef9370aa5e68a8be1f5da5374f0d2e Author: Nathan Neulinger Date: Sun Jun 3 17:32:18 2001 +0000 sgiefs-support-is-gone-but-great-rock-lives-on-20010602 remove inclusion of missing sgiefs directory since we didn't get the binary library needed for it to work anyhow commit 94fec7da0672856484bc69a06ffe642b4942396c Author: Nathan Neulinger Date: Sun Jun 3 17:31:07 2001 +0000 rxtrace-warning-cleanup-20010602 more compiler warning squishing commit d9b441897c54a28bd1113056069db3ec0e245847 Author: Nathan Neulinger Date: Sun Jun 3 17:29:52 2001 +0000 split-deprecated-into-insecure-and-obsolete-in-top-makefile-20010602 so it's obvious to people which mistakes are silly and which are dangerous commit d09be7368f153e0d3d8059fbf85665e544eabf43 Author: Nathan Neulinger Date: Sun Jun 3 17:28:33 2001 +0000 libadmin-warning-cleanup-20010602 add missing parens, remove unused decls commit 52e7350706d3e6cdc9346ef7b1290c35d662d572 Author: Nathan Neulinger Date: Sun Jun 3 17:27:03 2001 +0000 kauth-const-warning-cleanup-20010602 dir is not modified so this is safe commit 9fbbc17b7c3bf5357bea5a5668d4edf1a7b34266 Author: Nathan Neulinger Date: Sun Jun 3 17:26:15 2001 +0000 comerr-get-rid-of-compile-warnings-20010602 placate compiler commit 210247b304f199dc9f8512fc524d6dc3065c99b3 Author: Nathan Neulinger Date: Sun Jun 3 17:23:18 2001 +0000 audit-make-int-functions-return-zero-20010602 rather than just having no code block, return 0 commit 22799a3134761d10ba89aa0618bb2248975e5ba9 Author: Nathan Neulinger Date: Sun Jun 3 17:22:10 2001 +0000 afsmonitor-formatting-strings-update-20010602 so error messages are properly formatted strings commit ebbea977f937de3b9be1d6cae27d1bb73dd54042 Author: Nathan Neulinger Date: Sun Jun 3 17:19:15 2001 +0000 namei-ops-cleanup-20010601 get rid of unused/warnings from vol/namei_ops.c commit 429c2eb913b225a8a4e3fd2bc597005770e080bd Author: Nathan Neulinger Date: Fri Jun 1 20:14:58 2001 +0000 log-host-addrs-as-dotted-quad-not-hex-in-viced-20010601 so you get a dotted quad and byte-correct port instead of a hex ip and a potentially byteswapped port number from viced log messages commit 6fdfe323313bd6cf767488dc6bf1952dc50589bf Author: Derrick Brashear Date: Fri Jun 1 20:09:22 2001 +0000 initial-configure-work-take-two-20010601 this isn't useful yet but is a step in the right direction. commit 0a47389634730a2e32b00bec3c4a8dd94b169305 Author: Chaskiel M Grundman Date: Wed May 30 20:45:01 2001 +0000 top-level-makefile-changes-to-allow-partial-afs-compile-20010530 "The afs toplevel makefile theoretically allows you to build bits and pieces of AFS without too much other stuff you don't need. Building the kernel code this way is hard, since it imports stuff from so many modules, and the dependencies aren't necessarily done right. This patch fixes many of the special "for kernel use only" targets to be "for kernel use only" and adds a few new ones, so that the only userlevel stuff built by make TARGET=libafs is util, pinstall, rxgen, comerr (needed for afs/Makefile), and cmd" commit 8b87e45a9b85aa8cf032c109093b03cfc3cab167 Author: Chaskiel M Grundman Date: Wed May 30 20:39:27 2001 +0000 make-xdr-int64-support-consistent-now-that-its-everywhere-20010530 "an mr-afs related patch introduced xdr_afs_int64 into the code. This is a good thing I suppose. The same patch also re-introduced the use of xdr_long on some platforms, which isn't needed, and isn't really appropriate. Said patch also only included the #defines for xdr_afs_int64 into rpc_main.c and not xdr.h. (it is my opinion that rpc_main.c:write_int32_macros should only be used if kflag is set, but transarc didn't do it that way, so I'm not going to change it)" commit 05b43ef0bc3183520b0c03a70db92233741e1e87 Author: Chaskiel M Grundman Date: Wed May 30 20:34:17 2001 +0000 make-rxgen-split-rpcs-not-declare-start-parameters-for-functions-for-data-which-is-copied-out-only-20010530 "fix for rxgen so that split rpc's don't erroneously declare parameters in the "start" function that should only be declared in the "end": example: for the following declaration: Store(IN struct _index_t *descr, IN string group, OUT string spool, OUT afs_uint32 *slot) split; before patch: int StartDMV_Store(z_call, descr, group) register struct rx_call *z_call; struct _index_t * descr; char * group, **spool; { [...] after patch: int StartDMV_Store(z_call, descr, group) register struct rx_call *z_call; struct _index_t * descr; char * group; { [...] " commit 72dcb4b1e15da9d415ad5cb0aa3d146fd32486fd Author: Garry Zacheiss Date: Wed May 30 20:31:21 2001 +0000 catch-bad-afsconf-cehck-result-to-fix-fileserver-segv-20010530 "afsconf_GetKey() in auth/cellconfig.c doesn't check the return value of afsconf_Check(), which can lead to the fileserver SEGV'ing if afsconf_Check() returns an error." commit 42f52c89d63061b41640665436dbca2610a9a4a2 Author: Mattias Amnefelt Date: Wed May 30 20:26:09 2001 +0000 make-backup-dumpi-print-volumes-over-2caret31-bytes-correctly-20010530 makes backup dumpi print volumes > 2^31 bytes correctly commit 13dcb2b316438140a6f01963ede980952e38f85a Author: Mattias Amnefelt Date: Wed May 30 20:22:56 2001 +0000 update-pdf-documentation-to-include-fonts-20010530 "I noticed that the pdf documentation bundled with openafs doesn't include the correct fonts to display properly (atleast with my acrobat). I've generated afs-pdf:s with type1 fonts" commit 36e60e31c781817f458c020990fd0dde05bac5d7 Author: Nathan Neulinger Date: Thu May 24 22:11:45 2001 +0000 fix-msf-cat-warnings-in-compile-et-20010524 so we don't get warning for msf stuff commit 5fb461913ee58e814406ab3b3b5d978120db5af1 Author: Nickolai Zeldovich Date: Thu May 24 22:09:50 2001 +0000 solaris-make-df-in-cwd-return-useful-output-20010524 "This patch makes "df ." work in AFS directories under Solaris 8. (df looks in /etc/mnttab, which is obtained from the kernel, for the device number and then does a pwd-style walk up the tree.. Currently the device number gets set to 0x100000 by default which doesn't match the 0x1234 device number of AFS vnodes.)" commit 5e8ee41b3f392cf2084d2d762719a62a8b6ecaba Author: Carsten Jacobi Date: Mon May 21 21:24:04 2001 +0000 linux-s390-kas-setpass-fix-20010515 fix for s390, per Carsten: (this behaviour occurs only on 31-bit S/390-Systems, the "s390x"-machines should change the AFS-password also without this patch as far as I can imagine) commit 08690c41a2b4a85888f89ddd1049c4478eeaad80 Author: Laura Stentz Date: Sat May 19 18:45:43 2001 +0000 afs-overview-documentation-20010519 Contributed overview docs from IBM, this time binary mode. commit 80c8c1e2d8c25113e1c717636554f65d7f1b80b3 Author: Derrick Brashear Date: Sat May 19 18:44:43 2001 +0000 remove-bad-non-binary-commit-of-afs-docs-20010519 so i can readd with -kb commit b402ffcd52087f943e3aeaf7e74bb668b57092c1 Author: Laura Stentz Date: Sat May 19 18:43:10 2001 +0000 add-afs-overview-manuals-20010519 Documentation contributed by IBM commit 0d26876afac50ee45b76e6f837c1b265603a7e7f Author: Derrick Brashear Date: Fri May 18 18:15:20 2001 +0000 hpux11-kernel-support-20010517 put together from 1994(!) rx open source release available at ftp://ftp.dementia.org/pub/rx, other architectures, rx_kcommon.c, and some net research on hpux has no chance of working, slim chance of compiling, and seriously needs spinlock work to be useful ==================== 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. ==================== shell of this file. won't work ==================== shell of osi_vfs.h not useful yet ==================== use macros in osi_machdep.h for doing spinlocks ==================== include streams tli header ==================== do a little cleanup after looking at other architectures still won't work until we know more about sleep/wakeup and kernel semaphore interface crap ==================== try again. probably still not useful ==================== get this stuff compiling commit 2a8a12e94bc350457acb632722c3540e22e84776 Author: Nathan Neulinger Date: Fri May 18 02:22:10 2001 +0000 update-makefiles-for-afsconfig-h-20010517 more updates so afsconfig.h can be included commit b9c11bc28108c3815a639314b72697016a9c4d87 Author: Derrick Brashear Date: Wed May 16 05:16:27 2001 +0000 linux24-param-cleanup-20010516 make usr version of file not define 64 bit env make kernel version include modversions before afs_sysnames.h (which includes stds.h) commit 27dbb4d0a209eef5f7afa770cbfd7c0b4ccf53e8 Author: Nathan Neulinger Date: Wed May 16 00:28:09 2001 +0000 afsconfig-updates-20010515 updates to and to use afsconfig.h commit 3c314b7f285baade2d7bc3520a3b71590b5ab7b0 Author: Nathan Neulinger Date: Wed May 16 00:16:58 2001 +0000 sgi-fix-prototypes-20010515 use strings.h on irix to get needed prototypes commit 94dd48c9ddce14d78bbcf4e2cfab9d46a673707a Author: Nathan Neulinger Date: Wed May 16 00:15:54 2001 +0000 fix-bad-logic-in-afsconfig-h-in-20010515 fix some iverted logic commit e69d27e8f0169f1e792887305b130e5fd2a7a4af Author: Nathan Neulinger Date: Mon May 14 23:56:33 2001 +0000 afs-superuser-foreign-realm-checks-20010514 This rewrite cleans up the code a bit, removes any athena specific references (not needed anymore in this version), and adds support for multi realm management of afs servers (you can now specify "admin@OTHERREALM" in your userlist). Code now checks as follows: tname tinst - remote user info from conn tcell lcell - local cell lrealm - local realm (defaults to lcell if not avail) if no remote cell or instance allow localauth if the cell of the remote connection matches local cell or local realm if not tinst allow if tname in UserList if tinst allow if tname.tinst in UserList if cell doesn't match local cell or realm if not tinst allow if tname@cell in UserList allow if tname@CELL in UserList if tinst allow if tname.tinst@cell in UserList allow if tname.tinst@CELL in UserList modified per openafs-devel discussion such that krb5 versions (/tinst rather than .tinst) code path disabled for now commit e85c2defa41ece194c9afdbe5aefae58b372d8bb Author: Hartmut Reuter Date: Mon May 14 23:54:01 2001 +0000 restore-writelogbuffer-for-mrafs-20010514 MR-AFs is making use of this to hook into logging to write multiline messages into the log ==================== 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. ==================== move forward to current version of function commit 79f34e549a24b763955e22267eaf01b893ba65d5 Author: Mark Dapoz Date: Mon May 14 23:26:34 2001 +0000 aix42-pthread-self-return-needs-cast-20010514 To compile on AIX 4.2 on PowerPC commit 466eb22ad4be6bf074a93e918e3f3b4465e3d745 Author: Nathan Neulinger Date: Mon May 14 23:23:12 2001 +0000 initial-afsconfig-h-file-20010514 start of config file work for autoconf ==================== 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. ==================== make Makefile use top-level location rather than config as Nathan intended commit 92165dc105d8195dc90c8ce777eb060df0ea34b4 Author: Nathan Neulinger Date: Mon May 14 22:41:12 2001 +0000 change-effect-of-afs-quietfs-env-20010514 so ViceLog happens when file server starts commit f6759c48886e96966a3180c3c656bf291833057c Author: Ted McCabe Date: Mon May 14 22:30:35 2001 +0000 darwin-clear-va-flags-in-copyoutattrs-20010514 "I noticed that when I tried copying files out of AFS, I would often not be able to modify the destination files/dirs due to the user flags being non-zero (see man chflags). Turns out that not all of the fields of Darwin's struct vattr were being set in afs_CopyOutAttrs This patch clears the va_flags entry. I wasn't sure how the va_filerev and va_gen fields are precisely used, but since I wasn't noticing any trouble I could attribute to them, I left them unspecified. I suspect someone with more knowledge can say for sure. " commit a2da7c0d5f26340a0b03d83aa628e13670ebc55e Author: Nathan Neulinger Date: Mon May 14 22:27:10 2001 +0000 make-vos-accept-force-switch-20010514 and let libcmd handling deal with -f commit 3822336ad0cba7a429575330f5f0a193744ed9d2 Author: Nathan Neulinger Date: Mon May 14 22:19:47 2001 +0000 des-warnings-cleanup-20010514 clean up some more warnings from des commit d3c69d1c77d2c462756d10746852b757cdd71659 Author: Carsten Jacobi Date: Thu May 3 15:19:00 2001 +0000 linux24-s390-initial-support-20010503 base support for s390 linux 2.4 commit 17c2d284cb1cfc3d787a8a69b02691ae0c6098eb Author: Mark Dapoz Date: Mon Apr 30 23:15:50 2001 +0000 compile-snprintf-for-solaris25-20010430 so this will still build for solaris 2.5.1, build our snprintf commit f9a46bee19dd8eb1b91b83d5e18febc962f66588 Author: Chas Williams Date: Mon Apr 30 23:13:05 2001 +0000 make-des-test-buildable-20010430 remove bogus rcsid string lines with no strings commit f816a53b265ce8172fa25bc4e84fc4331ac3880d Author: Nickolai Zeldovich Date: Mon Apr 30 23:08:39 2001 +0000 afsdb-callout-and-userspace-implementation-20010430 "This patch implements AFSDB support for both user-space programs and for the kernel.. I've tested these on sun4x_57 (64-bit) and on i386_linux22." not currently enabled in any configuration commit b742b1eda90cd5e842407e8bd2f040e9f6e0054e Author: Derrick Brashear Date: Mon Apr 30 23:03:33 2001 +0000 remove-incomplete-dns-patch-20010430 this shouldn't have leaked in yet commit cb5ab03928f8383394d6f64eb6e5365f39be634b Author: Nathan Neulinger Date: Mon Apr 30 16:18:39 2001 +0000 fix-comment-for-linux-conf-20010430 fix comment to reflect variable change commit d37f3d5ac94868726f83a1a5f3f3bf58e91f6a7d Author: Nathan Neulinger Date: Mon Apr 30 16:09:41 2001 +0000 remove-text-after-endif-20010430 remove typo which crept in commit 7f4414ae3983fe7260de19cf3ccb7659d76a33f3 Author: Jeff Riegel Date: Mon Apr 30 08:03:55 2001 +0000 win95-initial-port-20010430 Windows 95/98 port from IBM Almaden documentation and build support ==================== 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. ==================== Windows 95/98 port from IBM Almaden changes to cache manager ==================== Windows 95/98 port from IBM Almaden makefile changes ==================== Windows 95/98 port from IBM Almaden osi changes to support 95/98 ==================== Windows 95/98 port from IBM Almaden installer for 95/98 client ==================== Windows 95/98 port from IBM Almaden win95/98 panel app ==================== Windows 95/98 port from IBM Almaden win95/98 panel app help ==================== Windows 95/98 port from IBM Almaden makefile changes plus dns implementation ==================== Windows 95/98 port from IBM Almaden makefile changes plus changes for compat with dos line conventions ==================== Windows 95/98 port from IBM Almaden config for 95/98 ==================== Windows 95/98 port from IBM Almaden makefile changes plus support for 95/98 env ==================== Windows 95/98 port from IBM Almaden ms compiler changes ==================== Windows 95/98 port from IBM Almaden makefile changes ==================== Windows 95/98 port from IBM Almaden lwp changes to support 95/98 port ==================== Windows 95/98 port from IBM Almaden rx changes to support 95/98 port commit dae4e16dbee451ecfa977eb3621863f035ea097b Author: Sam Hartman Date: Mon Apr 30 00:42:33 2001 +0000 linux-ppc-linux22-base-config-20010429 base ppc linux 2.2 config commit 8ee4e0cec9f70f4c1cf44fad0a210f1014680a0d Author: Derrick Brashear Date: Mon Apr 30 00:40:12 2001 +0000 winnt-redefine-snprintf-instead-of-building-one-20010429 WINNT has _snprintf, just use that commit 13f30691ead130e199e929fa273a0de1e2585f99 Author: Nathan Neulinger Date: Mon Apr 30 00:36:36 2001 +0000 linux-conf-use-options-not-afsd-options-20010429 make distributed config consistent with rc file commit 1e5270c7d63e561e1d8f1ba46cc8b3651d50ee75 Author: Jeffrey Hutzelman Date: Wed Apr 25 06:44:34 2001 +0000 fix-sense-of-ifdef-for-darwin-20010425 reverse change from freebsd patch commit c1f5a932d1cb274ac0ca6ca29f2175e0547a2bcf Author: Derrick Brashear Date: Tue Apr 24 03:48:32 2001 +0000 linux-make-bridge-script-more-respectful-of-build-environment-20010423 make it actually use the known path to the kernel source, and check for existance before doing anything commit dc4e0286f6548b855eb62b5141c3225f4e080aca Author: Derrick Brashear Date: Sun Apr 22 20:37:33 2001 +0000 linux-bridge-to-deal-with-redhat71-in-pre-autoconf-days-20010422 Kinda crappy but it will suffice for now commit 1e3882bbec8a250560090ee2f16b7527cfd069b5 Author: Jeremy Katz Date: Sun Apr 22 20:02:58 2001 +0000 linux-kernel-extra-definitions-for-sp-versus-mp-20010422 __SMP__, and __BOOT_KERNEL_SMP __BOOT_KERNEL_UP definitions as appropriate commit b1ede0ae41565c8d27e9bf0fbeb744bb778cae91 Author: Derrick Brashear Date: Sat Apr 21 20:04:08 2001 +0000 linux-revert-truncate-inode-pages-for-smush-20010420 osi_VM_TryToSmush needs to be careful not to walk on in-use pages commit eda1b2dc39c2cafc9d9f3ae8555eb794cbfd50fb Author: Derrick Brashear Date: Sat Apr 21 19:38:39 2001 +0000 cleanup-from-readdir-type-hint-guessing-20010420 Based on report by Chas Williams; FindVCache get getting a ref which we need to release commit c2805ce8af4e3232a478ee697564b97da0184ef2 Author: Derrick Brashear Date: Sat Apr 21 05:23:25 2001 +0000 conditionals-for-linux-ac-kernels-20010420 Adapted from katzj@linuxpower.org's work. Still needs makefile hackery and glue scripts to do the defining commit 7d51f70937da5f57f06339514edcbf36e4f56e4c Author: Derrick Brashear Date: Sat Apr 21 04:14:56 2001 +0000 be-tolerant-of-unbuilding-kdumps-20010420 so people who can't get kdump to build aren't so confused commit cb169b7b125167def267d0199e85b0b0af91f597 Author: Derrick Brashear Date: Sat Apr 21 02:35:29 2001 +0000 truncate-inode-pages-for-linux22-20010420 backport support for 2.2 kernerls commit 06a3d080b4b74d114dba028f5a3637f1c6aa5cbe Author: Chas Williams Date: Sat Apr 21 02:23:04 2001 +0000 linux-call-truncate-inode-pages-in-preference-to-invalidate-inode-pages-20010420 To cure "Failed to invalidate all pages on inode 0xc9208720" ==================== 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. ==================== commit 39d23fc838e0e4d2f3202c731d6cdefc7e77b7ea Author: Jeremy Katz Date: Sat Apr 21 02:06:52 2001 +0000 linux-vfsops-updates-20010420 set s_maxbytes if MAX_NON_LFS is defined use &tvp->v nsttead of tvp commit 4bafb7a05e1369f6799b96df0d50f31af616bb20 Author: Jeremy Katz Date: Sat Apr 21 01:31:39 2001 +0000 afs-gunlock-when-umount-as-not-suser-20010420 bad to AFS_GLOCK then exit without AFS_GUNLOCK commit 61ab04a06c74b7d1503af3ed3dc396a807cf8f5e Author: Chas Williams Date: Sat Apr 21 01:14:16 2001 +0000 linux24-add-missing-truncate-inode-pages-call-20010420 actually do the inode page truncation for linux 2.4 commit 3d4fa5b444ccab6730d3792d442aa5d1eb1ec24c Author: Derrick Brashear Date: Sat Apr 21 00:58:24 2001 +0000 undo-i386-linux-64bit-env-20010420 It turns out defining AFS_64BIT_ENV ends up causing accesses to hang if a server goes down; Should not be the case but other work will be needed to figure out why or even if we need to be AFS_64BIT_ENV; in the meantime, revert this part of patches done for xdr_int64; it's not ncessary now anyhow commit a86c6b835ad8569444a464f9617a93d196803aed Author: Nickolai Zeldovich Date: Sat Apr 21 00:34:59 2001 +0000 vfs-dqrwlock-doesnt-exist-before-solaris7-20010420 in order that the modified solaris code works on pre-solaris7 it's necessary to not use the locks we didn't have then commit 0ec5d7fa117fa9f32f96ec35c915ce0c1e0f8ca4 Author: Chas Williams Date: Fri Apr 20 23:42:11 2001 +0000 linux24-ppc-has-no-setgroups32-20010420 use generic ifdef to deal with ppc 2.4 not having setgroups32 yet commit 6bfdf43e9f963abd1e6801edf254b3dc159cc100 Author: Tom Maher Date: Fri Apr 20 23:38:51 2001 +0000 install-updates-for-freebsd-20010420 make install build for freebsd commit 8d91087287cb0e4e15ca1b2eb64bca8dbc9077c0 Author: Derrick Brashear Date: Fri Apr 20 23:34:03 2001 +0000 linux-dentry-revalidation-always-revalidate-20010420 Based on collaboration with Chas Williams and Chaskiel Grundman Always force revalidation so if call which caused caching was in another authentication "context" we don't inadvertantly leak information. Cases where things matter involve bad caching for negative dentries (something fails because you don't have permission, then you authenticate and the negative dentry is not flushed) or when you have l only and someone with rl caused the dentry to get cached, in which case stat() information and nothing else is leaked commit bb46079477b664c1eabfb423966f71220821d099 Author: Chas Williams Date: Mon Apr 16 22:09:15 2001 +0000 linux-cleanup-after-check-bad-parent-20010416 check_bad_parent doing lookups is incrementing i_count and nothing is cleaning up after it; this should make it happier commit 315191f6d48c2d35896264a9d5efb3da8495af14 Author: Chaskiel M Grundman Date: Mon Apr 16 19:11:04 2001 +0000 linux-dont-d-drop-in-revalidate-20010416 calling d_drop ends up precluding shrink_dcache_parent; don't call it commit beda84b831015d293e48300b164ae9fc739006f6 Author: Chaskiel M Grundman Date: Mon Apr 16 05:01:39 2001 +0000 linux-dentry-revalidation-rework-20010416 invalidate based on dataversion so negative dentries will actually go away commit 08aaf5c45deb3f18d277709d63e91aea5d0dd2f2 Author: Derrick Brashear Date: Sat Apr 14 19:25:41 2001 +0000 rmdir(2) claims ENOTDIR pathname, or a component used as a directory in pathname, is not, in fact, a directory. ENOTEMPTY pathname contains entries other than . and .. . meaning what we really want to return here is ENOTEMPTY ==================== 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. ==================== commit 1e9fc5888fba84db985ca4263a668653c8496a7e Author: Nathan Neulinger Date: Sat Apr 14 18:49:51 2001 +0000 warning-cleanup-20010414 cleanup based on complaints for gcc -Wall commit 2ca31969c61733c128ba5d0282d78682dd1aa51c Author: Nathan Neulinger Date: Sat Apr 14 18:45:16 2001 +0000 allow-disabling-compile-of-obsolete-and-insecure-bits-20010414 so that ntp, rcmds, inetd, mpp and package can be disabled easily commit b38f3590c893514aad7eab9eb0f0274c5d2eaf7a Author: Nathan Neulinger Date: Sat Apr 14 18:38:06 2001 +0000 update-linux-gcc-processor-optimization-flag-20010414 gcc now wants -march not -m(processor) commit d50326c7c15fb1e2e90d3c1524a4fd2d9c7cbd7e Author: Nickolai Zeldovich Date: Sat Apr 14 18:34:32 2001 +0000 solaris-ufs-call-updates-20010414 updates per message from Frank Batschulat regarding problems with how afs hooked the solaris ufs code commit 9e4c9975adef4c405d4f95414f71eaa71742e7f6 Author: Mattias Amnefelt Date: Sat Apr 14 18:31:49 2001 +0000 update-volumesets-for-deletevolentry-20010414 analog of patch for addvolentry commit 0c1eb3a380a7ec7042167d76faf9193f2e9cd43a Author: Tom Maher Date: Sat Apr 14 18:27:12 2001 +0000 initial-freebsd-port-work-20010414 start of work on freebsd port commit c402670db9c69f31bf7a5bcf522035b3f9a1a217 Author: Chas Williams Date: Fri Apr 13 22:56:00 2001 +0000 linux-inode-and-dentry-validation-rework-20010413 gets us closer to the ideal in inode and dentry revalidation commit 3133a5772992aa677475af086054e45949b10d30 Author: Derrick Brashear Date: Thu Apr 12 21:39:33 2001 +0000 make-use-of-int-preblock-specific-to-s390-linux-20010412 based on report Pavel Semerad , but fixing the root cause. commit 4fafb35ccf4e1db52ad92c0f1fea8b4e43ec37bb Author: Chaskiel M Grundman Date: Wed Apr 11 20:17:51 2001 +0000 better-type-guessing-for-readdir-hint-20010411 instead of just saying unknown, if we know for sure, provide the info commit d065b7fc5184fe5d12332a399c4314ba2f653957 Author: Volker Holfeld Date: Wed Apr 11 19:57:23 2001 +0000 windows-compile-fixes-20010411 ignore serverLog on nt ==================== 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. ==================== correct typo for nt ==================== update volinfo -filenames feature for nt commit 020669f21a59f285eaa165dcbb7724bf7d4578c2 Author: Nickolai Zeldovich Date: Fri Apr 6 19:22:01 2001 +0000 rx-keep-track-of-resent-packets-20010406 previously the resent packet counter was never incremented commit 0b1598cf4be800eae47ee30c08ad8d60ede568ef Author: Nickolai Zeldovich Date: Fri Apr 6 19:13:19 2001 +0000 dont-fflush-fds-20010406 bogus call to fflush in server log code, trying to fflush a file descriptor commit a574d1e742a4efd4a7d6a641238d04803d6818bf Author: Nickolai Zeldovich Date: Fri Apr 6 19:11:44 2001 +0000 partition-include-headers-to-get-opendir-etc-20010406 so namei code comes closer to being useful in more cases commit e0cac680593fb85a34bb8d9d15c173446dc2511a Author: Chaskiel M Grundman Date: Fri Apr 6 19:08:09 2001 +0000 linux24-new-afs-xsetgroups32-implementation-20010406 afs_xsetgroups32 is now a copy of afs_xsetgroups, with the call to sys_setgroupsp changed to sys_setgroups32p no change to sparc64 port stuff commit cc05bd342538339bc244e86682696d6bdedc6674 Author: Chaskiel M Grundman Date: Fri Apr 6 19:03:46 2001 +0000 darwin-pagincred-will-notice-pags-20010406 make PagInCred notice pags on darwin commit c0742b1f50ffc0d9342b34989ea502d98f23820c Author: Nathan Neulinger Date: Thu Apr 5 20:32:41 2001 +0000 remove-endif-warning-20010405 endif comment should be commentized commit 3daff6958946d7ce7d3074b55e15eb6f13ace01a Author: Nathan Neulinger Date: Wed Apr 4 21:36:19 2001 +0000 use-consistent-data-typing-for-hosts-20010404 use afs_uint32 everywhere commit 0b88affca4d304ff28a15c5e195ea23a50a3ed99 Author: Nathan Neulinger Date: Wed Apr 4 21:29:31 2001 +0000 placate-gmake-on-solaris-when-building-libafs-20010404 gmake tries to build something named libafs, make it not commit 3c1176d868311412c3e99018ee3276ec4bd4731c Author: Nathan Neulinger Date: Wed Apr 4 21:27:43 2001 +0000 vfsck-doesnt-build-on-hpux11-20010404 previous revisions caused it to be attempted to be built commit d06043cc1036622746e3a082a6e7096600d98bd0 Author: Hartmut Reuter Date: Wed Apr 4 18:28:05 2001 +0000 make-getfreetag-find-correct-free-tags-20010404 "I have found a "nice" bug in namei_ops.c: In GetFreeTag() the following code was used to find a free place in the link table entry: /* Now find a free column in this row and claim it. */ coldata = 0x7; for (col = 0; col Date: Wed Apr 4 18:24:02 2001 +0000 remove-redundant-makefile-rules-20010404 another set of redundant makefile rules removed commit 98b06ddaf2cc89dfce31809140dfc2e19b6a0b48 Author: Hartmut Reuter Date: Wed Apr 4 18:21:53 2001 +0000 changes-to-allow-identifying-threads-in-log-file-output-20010404 "This is an addition for MR-AFS log files where the thread name is shown. rx switches the general server threads to listeners and vice versa. To have reasonable names the listener must get back his old name when converting himself to a server thread. To not bother other programs with unresolved references I do this with two function pointers which are initialized in the main() programs for MR-AFS." ==================== 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. ==================== use function pointers here instead of threadname commit d8313d4404add128b23be24987e9055e0f3d49da Author: Hartmut Reuter Date: Wed Apr 4 18:14:23 2001 +0000 make-vol-package-deal-with-namei-correctly-on-systems-which-can-be-compiled-with-or-without-namei-fileserver-20010404 If compiled without AFS_NAMEI_ENV existence of AFSIDat must stop us. If compiled with AFS_NAMEI_ENV volume headers in a partition, but no AFSIDat must stop us. commit 3c597bf21878fa5a2ea776e81a01d72844b26909 Author: Nathan Neulinger Date: Wed Apr 4 18:12:18 2001 +0000 salvager-syslog-support-20010404 support for salvager to syslog instead of logging to file commit 7fd13204a3bfa037bf83389195f2d90906f458ad Author: Nathan Neulinger Date: Wed Apr 4 18:08:51 2001 +0000 partial-hpux-10-support-20010404 similar to HPUX 11, just make what can be compiled now compile commit 16238e1dd2c70d5fe29a256c6148ad38e091cf35 Author: Nathan Neulinger Date: Wed Apr 4 18:00:44 2001 +0000 simplify-salvager-target-20010404 it's the same for linux as for everyone else now commit 4b2213d0cfd5e1a4516639c9ab1740891581aede Author: Derrick Brashear Date: Wed Apr 4 13:48:23 2001 +0000 enable-getcrypt-command-20010404 provide cmd hook for getcrypt command (support was already present) commit 814ac0fc1d98b09667bcd5738b3607f9b8595359 Author: Volker Holfeld Date: Wed Apr 4 13:46:19 2001 +0000 winnt-enable-cryptall-support-20010404 introduce fs setcrypt/fs getcrypt features to nt client add registry parameter SecurityLevel to allow persistent setting commit bf58cfd11f28c1b32501d5f79a03dcd7c8d35517 Author: Volker Holfeld Date: Wed Apr 4 13:43:45 2001 +0000 winnt-create-globalautomapper-registry-key-20010404 if GlobalAutoMapper key is missing when a global drive is defined with the gui it will be created commit ef95c122570b8459b98ff7bbcf6501c00d382942 Author: Nathan Neulinger Date: Tue Apr 3 21:26:31 2001 +0000 correct-udebug-flag-name-20010403 -server takes one server arg, so fix its name to be -server and not -servers commit 7b5ef774b870f3299376da44ef9c4090eccd7cb9 Author: Nathan Neulinger Date: Tue Apr 3 21:22:05 2001 +0000 fix-ubik-lowest-host-comparison-algorithm-20010403 be more particular about how we do comparison, and fix printing of the host address for byte order problem commit 2cdf6103d6c6957c791da3d87fbd48b9eca0ec6b Author: Nathan Neulinger Date: Tue Apr 3 21:19:34 2001 +0000 prefer-ubik-print-to-printf-20010403 changes to prefer ubik_print &c to printf to make syslogging easier commit 12df8ce78eaea65d92094eeab9dfae729dfc5f74 Author: Volker Holfeld Date: Tue Apr 3 20:06:24 2001 +0000 link-libs-into-windows-butc-in-useful-order-20010403 reorder libs so threaded afsrpc.lib is before afsrx.lib commit ff118da207882f246179612aa63473ce92de82b0 Author: Derrick Brashear Date: Tue Apr 3 07:55:34 2001 +0000 i386-linux24-includes-long-long-types-20010403 define AFS_64BIT_ENV for linux24 i386 basically denotes existance of long long commit 55bb14eb8d1f6d353eb9943b83c672acc35e7a07 Author: Derrick Brashear Date: Tue Apr 3 07:52:56 2001 +0000 attempt-more-portable-64bit-type-support-for-namei-fileserver-20010403 be at least as portable as existing code commit afaa1854723a06fb1f4218b154afd7408346ce64 Author: Thomas Mueller Date: Tue Apr 3 00:13:04 2001 +0000 add-volinfo-filenames-arg-in-namei-environment-20010402 show filenames used by volumes in namei fileserver commit e08803e46088eb66585c90cee5ae2016244f2d02 Author: Chas Williams Date: Tue Apr 3 00:09:51 2001 +0000 linux24-use-kmap-instead-of-afs-linux-page-address-20010402 kmap is the preferred interface for 2.4 now commit 2fb73345baf5e6b3cf93ce35ff8910612850d767 Author: Chas Williams Date: Mon Apr 2 23:48:22 2001 +0000 linux-dentry-validation-changes-20010402 change afs_linux_dentry_revalidate to call afs_linux_revalidate commit df9e479968824380b4a4c1d47c011785f71868e9 Author: Adam Thornton Date: Sat Mar 31 00:20:23 2001 +0000 s390-updates-20010330 fix PRE_Block and lwp problems commit 47b588f42fb15805e95c975180d455d096a550f1 Author: Volker Holfeld Date: Fri Mar 30 05:10:59 2001 +0000 add-missing-exports-for-64bit-types-for-windows-20010329 commit 7ddc83dcdf1ee002a9dbef31b01cfc783c147256 Author: Silvia Gross Date: Fri Mar 30 00:18:55 2001 +0000 drivemap-box-error-for-3-character-cellnames-20010329 "In the original version the path name in the box showing the network drives were wrong if a part of the name after afs had only 3 characters: afs\ipp\u became afs\u. Also the small hooks in front of the names disappeared immediately." commit 57815fd837f5e55612ef781991ec0a5f1c91f4a3 Author: Sam Hartman Date: Fri Mar 30 00:12:38 2001 +0000 fix-readdir-hint-20010329 "Under 2.4.x kernels, there is a file type in the result of readdir to help applications optimize directory traversal. With usfficiently new libc compiled against sufficiently new kernel headers, this is exported to applications. Several applications, including fileutils use this information. AFS asserts that all files are directories. This sucks, because among other things it causes rm -rf not to work." commit 56a53a2016fad623bf2925d97208680861e9c0a6 Author: Michael Durket Date: Thu Mar 29 23:56:18 2001 +0000 s390-libafs-makefile-changes-20010329 use -O and not -O2 to deal with some bad versions of gcc for now link in appropriate asm directory commit 62afbc5792581e701bf81a833c17a1a90116712e Author: Thomas Mueller Date: Thu Mar 29 18:07:41 2001 +0000 linux24-setgroups32-support-20010329 setgroups32 support for linux2.4 machines (required for modern glibc) commit 965dd94785048c7bf3e49e38977400317add02f1 Author: David Bailey Date: Wed Mar 28 17:54:21 2001 +0000 winnt-bufio-mods-20010328 fix warnings in fileutil.c commit 30632102cd8b3780281ac58217db4625c5e0c134 Author: Carsten Jacobi Date: Wed Mar 28 17:50:19 2001 +0000 linux-s390-page-offset-fix-20010328 use PAGE_OFFSET for s390 commit f9a817bcdf593e4a5fbb54ac2f62c448b7cb1631 Author: Hartmut Reuter Date: Wed Mar 28 07:51:25 2001 +0000 ubik-clone-support-20010212 ubik library support for readonly clones commit 42ec4cb1a516f37f075b4286fbcdb4b38064c6a2 Author: Johan Danielsson Date: Wed Mar 28 00:01:45 2001 +0000 first-cut-autoconf-support-20010327 Makefile.am and configure.in first cuts. not yet useful ==================== 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. ==================== oops; this belongs on the branch created for autoconf development commit c57654e7dc2eb785fbcca30783b364ae2cfb45a1 Author: Chaskiel M Grundman Date: Tue Mar 27 23:22:05 2001 +0000 darwin-cacheops-initialization-check-20010327 make sure nothing happens before cacheops init commit 7b64d0d2f9e1a0f4074159ed663683517b3a9235 Author: Chaskiel M Grundman Date: Tue Mar 27 23:18:09 2001 +0000 darwin port was unhappy because of this commit 92914a52655521fcee9ef8b5c52a95f4a6f64103 Author: Derrick Brashear Date: Tue Mar 27 23:10:13 2001 +0000 remove-libadmin-real-dependancies-20010327 commit 14e482ad26912a089ff0c365335081f2071f1299 Author: Derrick Brashear Date: Tue Mar 27 23:02:13 2001 +0000 death-to-permit-xprt-h-20010327 permit_xprt.h, we hardly knew ye commit 09cfd4a43ede7a050d905edf0610813156cbd0d9 Author: Derrick Brashear Date: Tue Mar 27 22:31:02 2001 +0000 begone-with-xprt-CoerceLevel-20010327 coersion is a crime. last step in the death of permit_xprt.h commit 4f17e9ed3d19c2b0feab96ac01a2e77b7be2be68 Author: Derrick Brashear Date: Tue Mar 27 22:28:17 2001 +0000 begone-with-xprt-cryptok-20010327 de-cripple rxkad-crypt for all cases commit 8aa4bf9b54a8dbd78dcaa1296dd13902f00d554e Author: Derrick Brashear Date: Tue Mar 27 22:18:26 2001 +0000 begone-with-AFS-HIDE-20010327 start of the death of permit_xprt.h commit b93a385178396915b3a2f70d6f629c9d0270ad39 Author: Chaskiel M Grundman Date: Tue Mar 27 21:33:17 2001 +0000 allow-building-subset-of-afs-20010327 allow overriding finale with e.g. blibafs to build a subset of afs commit 44fa060ece6b0c5c584402a54ff5706feaf4ceb7 Author: Derrick Brashear Date: Tue Mar 27 21:05:20 2001 +0000 winnt-lacks-snprintf-so-build-ours-20010327 apparently windows lacks snprintf commit c3244fb9d400db5036c39c033d2ab3ad577447e0 Author: Chaskiel M Grundman Date: Tue Mar 27 20:37:56 2001 +0000 dont-install-uklibs-unless-linktest-works-20010327 follow the intent of this target commit 72e06ec1ca2286e998b87c866eaf1ea6860ba9d6 Author: Nathan Neulinger Date: Tue Mar 27 20:33:52 2001 +0000 dont-build-clients-for-hpux11-20010327 build tools and servers but no kernel support for hpux since it doesn't work currently commit 127d4d2a6bf1ca73620f10a04d08ddf2a2de6dbc Author: Derrick Brashear Date: Tue Mar 27 20:29:04 2001 +0000 install-util-archive-also-as-libafsutil-20010327 It's about time you can link to this with -lsomething commit ba4157f839bcb961d83726f44a20f3aa8c07d8d9 Author: Derrick Brashear Date: Tue Mar 27 09:57:15 2001 +0000 update-libuafs-install-procedure-20010327 to deal with tweaks make so pinstall can be left uninstalled on darwin port commit 57ee8d64e4142f4cac1c848ae451adc90a51eae9 Author: Derrick Brashear Date: Tue Mar 27 09:49:41 2001 +0000 add-pts-global-reader-support-20010327 in the same way members of system:administrators have all pts powers, members of system:ptsviewers have all pts read powers by virtue of said membership commit e31f1895da5cc54500484329f3c447f0e2fd705b Author: Derrick Brashear Date: Tue Mar 27 09:36:15 2001 +0000 rudimentary-support-in-kpasswd-and-kas-for-mit-v4-string-to-keyed-passwords-20010327 klog supports such passwords but without this such users can't run kas or kpasswd commit 3c6509369da4e2ca08096d6ffcdda8beb1b56dd1 Author: Derrick Brashear Date: Tue Mar 27 09:16:43 2001 +0000 use-afs-int64-types-in-util-package-20010327 we already defined "portable" types for this; use them commit 150cbf3db8c4c2c5bd95297f60da0eac84ba14c4 Author: Nickolai Zeldovich Date: Tue Mar 27 08:58:49 2001 +0000 make-namei-fileserver-compile-on-solaris8-20010327 use uint64_t in preference to u_int64_t as solaris has only the latter and linux appears to have both. also, use lockf where flock was used in the solaris case commit a41175cfbbf4d06ccfe14ae54bef8b7464ecd80b Author: Chaskiel M Grundman Date: Tue Mar 27 08:43:13 2001 +0000 initial-darwin-support-20010327 setup for darwin port ==================== 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. ==================== changes for darwin port ==================== added files for the darwin port ==================== changes for darwin port commit 9602e1a3fde7b04d398245b10adcf4f316f1c43b Author: Nickolai Zeldovich Date: Tue Mar 27 01:53:27 2001 +0000 rxdebug-changes-for-peers-and-to-show-rtt-values-20010326 " rxdebug: allow the use of -onlyhost and -onlyport options with -peers, and also list the rtt, rttdev and retransmit timeout values." commit 6cd845bdb528938c2b6a559c2f0d577436676f94 Author: Nickolai Zeldovich Date: Tue Mar 27 01:51:35 2001 +0000 fix-rx-rtt-computation-when-delay-is-involved-20010326 " rx: attempt to fix incorrect rtt computation, possibly winning on performance for links with some packet loss. Currently, the rtt is computed as the time from the transmission of a packet until the receipt of the corresponding ack packet. But this includes a potential delay (rx_{soft,hard,last}AckDelay) on the client which results in an abnormally high rtt, and even more erroneous rtt_dev and retransmit timeout values. The proposed solution is to ignore RX_ACK_DELAY type ack packets for the purposes of rtt computations, and introduce another ack packet type for RX_ACK_DELAY-type acks which are sent immediately by the client. This should of course be backwards-compatible with existing clients. " commit bccc6a809dc15479e5831ab8ad111029fcdba258 Author: Michael Stroucken Date: Tue Mar 27 00:53:26 2001 +0000 first-pass-at-alpha-linux-support-20010312 Changes for Alpha to previous 64 bit changes for sparc (sparc64 isn't necessarily analogous to alpha or any other 64 bit linux platform) ==================== 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. ==================== use mkstemp ==================== Include necessary file for alpha config ==================== Deal with 64 bit time_t ==================== Don't do increments in a way that can be miscompiled ==================== configure for alpha linux ==================== deal with time and initialize a variable ==================== don't use ViceIoctl32 for alpha linux ==================== deal with compiling kdump for alpha linux ==================== mods in callback.c analogous to dux port; mods in viced to deal with thread creation function return convention ==================== config for linux alpha ==================== ids for alpha linux consistent with new-style sysname grouping ==================== makefile and config files for new-style sysnames ==================== MakefileProto changes for alpha linux with new-style sysnames. A change in config/mc.c will be needed for this to configure correctly, and it will be added soon ==================== note alpha port and the state it's in to hopefully avoid questions commit 0d466f2f1022579171376983923630fcd44c450b Author: Nathan Neulinger Date: Mon Mar 26 20:26:17 2001 +0000 add-server-syslog-logging-capabilities-20010326 Add support for syslogging server log messages ==================== 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. ==================== Add syslogging capability to ptserver ==================== add syslog capability to fileserver ==================== Add syslog capability to the volserver ==================== Add syslog capability to the vlserver ==================== fix my own error when hand-applying nathan's patch ==================== remove unused function commit 2165ef3af8d503557c174ca004f242e8aa418cdf Author: Derek Atkins Date: Mon Mar 26 17:51:34 2001 +0000 make-fileserver-deal-correctly-with-client-which-changed-addresses-but-was-offline-when-a-callback-to-it-was-revoked-20010326 "First, some background: The AFS Fileserver tries really hard to keep track of all the "interfaces" of a client. Generally this is for a multi-homed client, so that the server realizes that you are the same client when you come from multiple addresses. However, this also winds up applying to a mobile host whose IP address changes over time. When the Fileserver sees a "new" address, it asks the client for its Uuid and, if that Uuid already exists, it adds this new address to the list of interfaces for the existing host. However, it keeps a callback connection open to the original address. Here's the problem: Assume the client has callbacks registered with the server and then disappears from the network. While the client is off the net, someone else makes a change that causes that callback to be broken. The fileserver can't reach the client, so the break gets added to the delayed callback list. The logic is such that no client requests will be processed by a host while there are outstanding delayed callbacks to that client. Now, if the client comes back on the same IP Address, everything works fine. The fileserver uses the cached callback connection and the callbacks are cleared successfully. However, if the client returns to the network under a different address, this new address is added to the existing host structure and then the delayed callbacks are attempted. Unfortunately it is using the (invalid) cached connection to the old IP Address, so the delayed break fails. Therefore, this client is locked out of the fileserver until: 1) the fileserver reboots, 2) the client returns to the original IP Address, or 3) All the callbacks timeout on their own. This patch will fix this problem. When the client makes a request and the fileserver tries to break the delayed callbacks, if the breaking fails then the fileserver will attempt to find a 'working' interface by probing all the host interfaces for one that responds with the correct Uuid. If that succeeds then it resets the cached callback connection and then breaks the delayed callbacks, thereby regaining the connection to the client and proceeding with the proper cleanup before the original request is completed." commit 146fca9060d18cdfc8c5a5bba54770b96484e5cf Author: Derrick Brashear Date: Mon Mar 26 17:26:29 2001 +0000 build-vfsck-for-solaris8-20010326 Before it was being explicitly skipped; Build it commit 9feea404fd44455bc1645aac87e7a4bb8306cca3 Author: Harald Barth Date: Mon Mar 26 17:18:42 2001 +0000 null-terminate-cell-when-copying-from-lrealm-20010326 Avoid condition where we could read past the end of lrealm (unlikely to occur in practice and not remotely exploitable; cell and lrealm are both MAXKTCREALMLEN and lrealm is configured locally and not read from the network) commit 54b7292a4499106f956a4449c620466f64303498 Author: Nickolai Zeldovich Date: Fri Mar 16 03:35:07 2001 +0000 do-bounds-checking-in-psetvolumestatus-20010315 Previously it was possible to overflow the variables used to construct a SetVolumeStatus call commit 4b85432743e002eae3e636febadb326c2081732d Author: Erik J. Burckart Date: Fri Mar 16 03:27:05 2001 +0000 fix-for-cache-consistency-on-linux-24-smp-systems-20010315 "Here are the symptoms. I have 2 OpenAFS Linux 2.4 machines, one SMP and one not. --With both of them I access a series of directories and files within (/afs/w/x/y/z/). --I then move to the root directory. --From a third machine, I remove the directories x, y, and z. Then re-add them (same names) with some other files. --From the SMP box, I do an ls in /afs/w and see x. But x is inaccessible. --From the UP box I can see and access x. " ==================== 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. ==================== Missed earlier: not part of the IBM delta. ==================== Part of the alpha patch slipped into the delta; Revert to previous revision commit 70cbd6f689988237075d01258d9469daa16de060 Author: Johan Danielsson Date: Thu Mar 15 18:55:20 2001 +0000 dux-advfs-client-support-20010315 necessary changes to allow a cache in an advfs commit 5994633186da9856b21592b8b3c8f4fd27fccbef Author: Nathan Neulinger Date: Thu Mar 15 18:47:50 2001 +0000 bosserver-syslog-option-including-selectable-facility-20010315 "Simple patch to add "-syslog" option to bosserver. Causes it to direct all logging activity to syslogd instead of to logs/BosLog" currently unimplemented for NT ==================== 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. ==================== Don't use a static outside its scope commit 27d7f4fd60d5506865ac55fd7d6e809ef56c2808 Author: Michael Stroucken Date: Thu Mar 15 18:15:46 2001 +0000 initial-alpha-linux-support-20010315 top-level makefile mods for 64 bit system commit a1fac47017ee0448ed7d87d2005f6fd54ae32de7 Author: Nickolai Zeldovich Date: Thu Mar 15 17:50:34 2001 +0000 pts-args-checking-when-calling-com-err-20010314 "This prevents pts from crashing like this: pepsi-one~> pts createg a:b -id -1234 /bin/athena/pts: Permission denied ; unable to create group a:b with id -1234 owned by 'Segmentation fault " commit 4d3b445cc3e20feeb65c2915a80640a980b97608 Author: Pavel Semerad Date: Thu Mar 15 17:47:45 2001 +0000 fix-locking-on-linux-sparc64-20010312 " I have found problem with file locking and 64bit linux (tested on ultrasparc). When issued fcntl(fd, f_SETLK, ..) with l_start = 0 and l_len = 0, it sets l_len to LONG_MAX, so it is needed to test this value" commit 3fd459ac396cef49a89be43176b218b573ae8f93 Author: Johan Danielsson Date: Thu Mar 15 17:43:11 2001 +0000 simplification-of-code-in-cache-manager-to-make-dux-advfs-support-simpler-20010315 with advfs you can't VTOI inodes so provide a wrapper function for dux to ease this problem commit 00c69d3f076c2c329b3a6e223bd95b97c6497433 Author: Eric Lorenzo Date: Tue Mar 6 17:57:00 2001 +0000 make-comerr-tolerate-different-eol-convention-20010306 commit b90dd040090f014cfce61de8481c750ef02cce63 Author: Derrick Brashear Date: Tue Mar 6 16:02:00 2001 +0000 make-afsd-be-less-annoying-20010306 commit 17abe56f755710b0a76714fefcfe6f9b2f0d06c3 Author: Derrick Brashear Date: Tue Mar 6 06:16:17 2001 +0000 xlc-r-on-path-not-usr-bin-20010306 By default it ends up in /usr/vac/bin commit 858edd205652cf6f93a02bbcefafeebc6f6e2048 Author: Derrick Brashear Date: Mon Mar 5 22:57:57 2001 +0000 use-dollar-cc-not-cc-for-aix-exporter-20010305 necessary to build aix afs with gcc commit 5a9eb81c9431438b6d52f20539e331a1a46a8077 Author: Derrick Brashear Date: Mon Mar 5 22:47:54 2001 +0000 make-snprintf-compile-on-aix-433-20010305 AF_INET is in sys/socket.h on AIX 4.3.3 commit 5da931163b4b3bd0e22c8e4c6102bf77d76c27fc Author: Derrick Brashear Date: Mon Mar 5 19:13:24 2001 +0000 make-bosserver-be-less-annoying-20010305 commit 3531babbd25ac18deacd7bf1cc170327411c2a4a Author: Derrick Brashear Date: Mon Mar 5 18:55:13 2001 +0000 restore-rxdebug-to-the-living-20010305 Give us back rxdebug commit f310da48b4ccc2e63379d194364057a5ed1fedec Author: Hartmut Reuter Date: Mon Mar 5 16:39:05 2001 +0000 support-namei-fileserver-on-solaris8-20010305 So the namei fileserver can be used on Solaris 8 commit c12594fb08fc9f169a3d83cc1dac3a0a8ddcee85 Author: Adam Thornton Date: Mon Mar 5 16:34:32 2001 +0000 afs-linux-s390-updates-20010305 Updates for Linux s/390 AFS port commit 5837ab64635d34521a39d37d08fab69a7d629a2c Author: Derrick Brashear Date: Mon Mar 5 16:26:04 2001 +0000 return-truncated-reason-from-krb-udp-interface-20010305 The remainder of the patch the snprintf support was intended to be used for commit 92dcbd617bd978259521755ddf5c847ccc5388b8 Author: Ulrich Hahn Date: Mon Mar 5 16:22:53 2001 +0000 pam-afs-password-changing-support-20010305 support for changing passwords when user has kaserver password only commit c8bfbcc55d83ff0156fcb02e07baf98fd17fcea0 Author: Hartmut Reuter Date: Mon Mar 5 15:37:46 2001 +0000 allow-shadowed-src-trees-20010305 So "make links" will work if src was a symlink. commit 4470f1d03fab800fd2b2acd14b6229aaa42525ac Author: Hartmut Reuter Date: Mon Mar 5 15:34:14 2001 +0000 ntp-for-solaris-58-20010305 Let ntp build on Solaris 8 commit bc5204d4e79198501608be68434106c7be119d67 Author: Johan Danielsson Date: Mon Mar 5 15:12:42 2001 +0000 support-dux-51-20010305 Changes needed for OpenAFS Tru64 5.1 support commit 3f43961f538884b76092012627172dcb1afffa7d Author: Michael Welsh Duggan Date: Wed Feb 28 19:22:44 2001 +0000 linux-libafs-with-modversions-20010228 Use symbol versioning when compiling against a kernel with symbol versioning enabled. commit f2fbb398a439423e210d41f46a9433838b0a8fce Author: Nickolai Zeldovich Date: Sat Feb 24 15:35:05 2001 +0000 afs-lookup-check-evalmountpoint-return-20010221 Make check the return code from EvalMountPoint() ==================== 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. ==================== maintain old behavior consistent with checking eval return commit fd4fe77ecd3c4118decf370194e2db3a72270717 Author: Mattias Amnefelt Date: Thu Feb 22 03:06:04 2001 +0000 backup-addvolentry-fix-20010221 commit 98e79522fb704a3cb1ffc58dc88575104b82b283 Author: Derrick Brashear Date: Thu Feb 22 00:34:45 2001 +0000 bos-mrafs-support-20010221 Make it work as intended commit 73634549ab94017c137442dcceedd4f121433a8d Author: Nathan Neulinger Date: Tue Feb 13 16:53:48 2001 +0000 update-README-20010213 Irix compile completes commit 4dca94ffe66092da8401652dba651e0ff8ac5f1c Author: Derrick Brashear Date: Tue Feb 13 03:54:04 2001 +0000 snprintf-for-aix-not-irix-20010212 Irix 6.5 has snprintf commit 61eb7d88387b3870ae2a8dd924b1ced4516b7846 Author: Derrick Brashear Date: Tue Feb 13 03:46:15 2001 +0000 provide-snprintf-for-irix-dux-20010212 So we can use snprintf, provide it for platforms that don't have it commit 54b2c2307a538da521808541cfaa100609f362df Author: Hartmut Reuter Date: Tue Feb 13 00:28:22 2001 +0000 bos-mrafs-support-20010212 Necessary additions to bos for MR-AFS support commit 2156a32e7d503374f3f7e5f5511805474dde39c1 Author: Hartmut Reuter Date: Tue Feb 13 00:15:25 2001 +0000 revert-xdr-int64-in-favor-of-common-makefile-20010212 the new version of the patch put these in Makefile.common commit d26273e0f18ecff16319d9c708bc184c0e6d9db5 Author: Hartmut Reuter Date: Mon Feb 12 23:56:16 2001 +0000 include-xdr-int64-in-libafs-20010212 for new pioctl calls for mrafs ==================== 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. ==================== for new pioctl calls for mrafs; convert spaces to tab commit f896be7dd587eb82e0d4a61c8048e17f3e34b7f2 Author: Hartmut Reuter Date: Mon Feb 12 23:50:21 2001 +0000 dirpath-mrafs-additions-20010212 Dirpath additions for MR-AFS files ==================== 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. ==================== Dirpath additions for MR-AFS files; remove extra newline commit c4a127d0578e521b97131c5dedf9da58f71b0242 Author: Hartmut Reuter Date: Mon Feb 12 21:57:57 2001 +0000 ubik-clone-support-20010212 Changes needed to support ubik (non-voting) clones. ==================== 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. ==================== Needed kaserver support for ubik clones ==================== Needed support for ubik clones for the ptserver ==================== Support for ubik clones in vlserver ==================== auth layer support for ubik readonly clones ==================== ubik library support for readonly clones commit 8881f8778cbd7325e294b32a18e3d6493b4a1b42 Author: Hartmut Reuter Date: Mon Feb 12 21:09:17 2001 +0000 rework-ktc-to-allow-dummy-libkrb-20010212 export some previously internal routines, and rename to not conflict with libkrb; with NO_AFS_CLIENT you can use the ktc routines also for architectures which not yet have kernel support for AFS tokens (Cray T3E, NEC SX5). commit d80d0eeaabbd139471ee4c9520eb7c77973870bc Author: Hartmut Reuter Date: Mon Feb 12 20:30:50 2001 +0000 bos-mrafs-support-20010212 Necessary additions to bos for MR-AFS support ==================== 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. ==================== FS bnode changes for MR-AFS ==================== allow hex numbers for residencies, used by bos commit 86f1dc2117e6b6c8abb55ccbc8621743969b8996 Author: Hartmut Reuter Date: Mon Feb 12 20:29:20 2001 +0000 mrafs-server-log-handling-20010212 Rotate old logs by date for MR-AFS; Could be adapted to rest of AFS commit c6e03e4a4551d6c6c2d287bd99c4d6cc90fa97f4 Author: Hartmut Reuter Date: Mon Feb 12 20:28:27 2001 +0000 mrafs-util-update-20010212 Error additions for MR-AFS commit f415363f45aeedaff5604348d6e0d31eb5651221 Author: Hartmut Reuter Date: Mon Feb 12 19:44:08 2001 +0000 export-threadnames-totviced-20010212 commit 9f57c28605f948fa0e0a924cf2ccd6d382a177c7 Author: Hartmut Reuter Date: Mon Feb 12 19:33:40 2001 +0000 rx-writevinit-for-mrafs-20010212 commit 261716adb158ca8cff92791922d446332fe2a1e2 Author: Hartmut Reuter Date: Mon Feb 12 19:30:33 2001 +0000 commit 20d654d59d28b7bd23ce9149089ce479c324b432 Author: Hartmut Reuter Date: Mon Feb 12 19:25:53 2001 +0000 nicer-dummy-rxi-startserverprocs-20010212 commit 44485fed5e427e85e5b0c28070f79a2299963e5a Author: Hartmut Reuter Date: Mon Feb 12 19:24:48 2001 +0000 allow-rx-shutdown-for-userlevel-20010212 Allow rx shutdown (state reset) for userlevel rx code, for MR-AFS salvager commit 8f157e9ea42963cfe4af100efc5de9a7907b6c5d Author: Hartmut Reuter Date: Mon Feb 12 19:06:11 2001 +0000 rx-nt-xdr-int64-support-20010212 compile xdr_int64 for nt commit 9c82b2024e2ebaf5dfb0a7f1ffe9f4c201763f4e Author: Hartmut Reuter Date: Mon Feb 12 17:35:16 2001 +0000 thread-identification-routines-20010212 Needed to identify thread in serverlog for mrafs commit ae77f046c5a5f737a3540ea0699472db4fffc018 Author: Hartmut Reuter Date: Mon Feb 12 17:28:39 2001 +0000 libafsrpc-xdr-int64-support-20010212 int64 support for libafsrpc for mrafs commit efe1fef24c7775b3aac1ab5dbe4b37729e4dce17 Author: Hartmut Reuter Date: Mon Feb 12 17:22:46 2001 +0000 export-kauth-GetTickets-for-dummy-libkrb-20010212 For dummy libkrb which is a wrapper around libkauth commit d85f42ad0ad12ca9e4e991fe041ad5f26afc4170 Author: Hartmut Reuter Date: Mon Feb 12 17:19:20 2001 +0000 ftpd-placate-aix-20010212 Required to placate AIX compiler ==================== 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. ==================== commit 218377fec283c17db5bebb3464557e4bb69d7e02 Author: Derrick Brashear Date: Mon Feb 12 17:17:09 2001 +0000 clean-up-64bit-mod-spacing-20010212 Missed earlier; needed to be compiler-friendly on some platforms commit e9cf43f198a2ec9cdcf9464b37ccc13a1f9f27c4 Author: Hartmut Reuter Date: Mon Feb 12 17:15:37 2001 +0000 update-rs-aix42-afs-syscall-20010212 AFS_SYSCALL again 31 per Hartmut commit 36d02757fd6863a845163daf0d730bdcc0a28343 Author: Hartmut Reuter Date: Mon Feb 12 17:13:29 2001 +0000 cmd-suite-option-for-hiding-admin-commands-20010212 Hide help for admin commands unless asked for commit 3a0880476e7e52ddff4f4e7118a854d35bd28ede Author: Hartmut Reuter Date: Mon Feb 12 16:56:52 2001 +0000 bosserver-rx-initialization-failed-warning-20010212 Provide notice if rx initialization fails commit 7dd378687b9f639a3e808c2e3179e78bd85a48a3 Author: Hartmut Reuter Date: Mon Feb 12 16:25:17 2001 +0000 bozo-save-old-cores-by-date-option-20010212 compile-time option to save old cores by date instead of rotating commit 714058f3875b569523add7aca7e904198c9390ab Author: Hartmut Reuter Date: Mon Feb 12 16:21:00 2001 +0000 mrafs-port-definitions-20010212 Ports used by additional MRAFS services ==================== 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. ==================== mrafs port definitions commit caf9ae4077b4aa4caea7ae82bde2a94ee5d72fb0 Author: Hartmut Reuter Date: Mon Feb 12 16:16:44 2001 +0000 mrafs-audit-types-20010212 Audit types for MR-AFS commit defda2dc962c9773ad3aae0f022dd41d02e79f76 Author: Hartmut Reuter Date: Mon Feb 12 16:12:25 2001 +0000 svc-create-servicetype-to-afsservicetype-20010212 missed in previous passes commit f918914d50a051446390e70eda732768e1151cff Author: Jeffrey Hutzelman Date: Sun Feb 11 15:05:08 2001 +0000 include-snprintf-in-util-20010211 For platforms which need snprintf, this should be suitable for AC_REPLACE_FUNCS when we get that far commit ba461fc17059946155f2413e3f7accc6964d9921 Author: Derrick Brashear Date: Sun Feb 11 02:57:17 2001 +0000 use-snprintf-for-krb-udp-error-packets-20010210 Avoid potential for overrunning buffer commit acf6dfa37d7c9837e8d077f25449429fd6835925 Author: Johan Danielsson Date: Sat Feb 10 23:27:38 2001 +0000 dux50-osi-inode-fix-20010210 incorrect in first cut commit 8315656f318769611f932c57f1fd467f68bb9020 Author: Derrick Brashear Date: Sat Feb 10 21:49:43 2001 +0000 fix-64bit-stds-h-patch-20010210 dux and irix compilers don't like # in other than first column commit f8e20a32007e7d631c9428c3233826e109d3efcb Author: Derrick Brashear Date: Sat Feb 10 21:47:47 2001 +0000 update-systypes-in-README-20010210 Update list of systems expected to work commit 0b70e190560c2bfb004273e442f1113a815ebdd8 Author: Hartmut Reuter Date: Sat Feb 10 21:26:14 2001 +0000 mrafs-client-extensions-including-afs-int64-20010210 " Extensions used by MR-AFS in the client. I have added only two pioctl-calls which are used by the "fs"-command for a large number of MR-AFS specific subcommands. With this modification also the data type afs_int64 is introduced because MR-AFS supports large files. afs_int64 is either "long long" or a structure consisting of two 32-bit numbers. We are already running on rs_aix42 a fully large-file capable AFS-client, but these changes are still in a beta test and not yet added here." commit 4fb818dbf6f35d91a4828d6f672798d342349358 Author: Carsten Jacobi Date: Sat Feb 10 21:05:33 2001 +0000 pam-afs-trust-root-login-20010210 add trust_root option which basically provides a bypass mechanism for root commit d089415117684aea0f975e036615433b6c94f1b0 Author: Johan Danielsson Date: Sat Feb 10 20:57:28 2001 +0000 tru64-50-initial-support-20010210 makes client work under 5.0A, untested with 5.0 or 5.1 commit 83074e0491fb5a215ffdb223280a3c3428edd29e Author: James Peterson Date: Sat Feb 10 20:46:15 2001 +0000 winnt-directory-scan-memory-leak-20010210 "Problem: During a directory scan W2K does not send the FindClose the way NT does. When smb_ReceiveTran2SearchDir() processes FindFirst or FindNext, the termination Flags is never set either (close search if end of search). Since these operations don't occur smb_DeleteDirSearch() is never called; therefore the dsp (smb_dirSearch_t) is never freed. This problem was reproducible while trying to scan a directory (e.g. dir *.c/s) with symbolic links. When smb_ReceiveTran2SearchDir() processes FindFirst or FindNext the last SMB call in a session can be indicated by checking for no more files (filesnames==0). Running a directory scan (DOS window) and file cache size of 5 MB: With the memory leak patch, the program grew upto the limit of +5.3MB. Without the patch, the program will grew +27MB before the operation was finished, then became unstable." commit 27d66d2928ffd2f1bbe533d7437ac533394f4113 Author: Derrick Brashear Date: Thu Feb 8 02:58:59 2001 +0000 make-icreate-exist-always-for-irix65-20010207 Since Afs_init installs a syscall, make sure this exists commit cd912ea3691c20436a92e264eb519eb93959a4e4 Author: Nathan Neulinger Date: Thu Feb 8 02:51:20 2001 +0000 remove-libefs-Makefile-reference-20010207 commit 2eb056dfd39a41194bb7ffb80e0a623be4a27808 Author: ssen@mit.edu Date: Wed Feb 7 16:28:02 2001 +0000 minor-README-reorg-20010207 commit b36c44618e1056c7a09523260401299430f83d51 Author: Derrick Brashear Date: Wed Feb 7 15:21:17 2001 +0000 add-ssi-master-file-20010207 First guess at this file based on master(4); I haven't tried this yet but since it seems to be for the build-into- kernel module I assume we don't need: d dynamically loadable kernel module R auto-registrable dynamically loadable kernel module N don't allow auto-unload of dynamically loadable kernel module and I don't know if we'd need or be able to use R, either. Afs_ to match what previous systems seem to be doing; For symmetry it looks like it should be e.g. afs_ commit 3dd6590174b9c827e151dc64a9c2fcdcb5403d29 Author: Hartmut Reuter Date: Wed Feb 7 15:04:53 2001 +0000 more-irix65-fixes-for-no-libefs-20010207 Some minor stuff missed on the first pass. commit 4d6f5e1b83ef46e4df8e0523dc6b996518bc0996 Author: Nathan Neulinger Date: Wed Feb 7 14:51:08 2001 +0000 fix-missattributed-loff-t-ifdef-20010207 More correct way to decide when to use loff_t unstead of off_t commit ab4ec4ad33ee4501d7d3bde3cfb9c0ea62379b28 Author: Chas Williams Date: Thu Feb 1 03:11:42 2001 +0000 fix-solaris-afs-readdir-move-20010131 Code which had been previously disabled caused problems when enabled, hence removed. commit 1ce1e6ed4900575fc341ace6c48e69d8fb98130b Author: Hartmut Reuter Date: Wed Jan 31 21:27:44 2001 +0000 sgi_65-compilation-patches-20010131 Remove references to missing EFS support library so sgi_65 support compiles commit 9081ff711bb5818cfa4e704f04e6a9e004f03eb9 Author: Nathan Neulinger Date: Wed Jan 31 20:07:33 2001 +0000 fix-solaris7-afsd-rc-copyright-message-20010131 wrong type of comment commit 5293aa35617a6ad35980ce16fdf492ea960cc18a Author: Chas Williams Date: Wed Jan 31 02:28:11 2001 +0000 linux-iput-and-glock-changes-20010130 ". afs_dentry_iput is essentially osi_iput, so it now calls osi_iput it wasnt locking before checking i_count (and osi_iput didnt either) osi_iput now AFS_GLOCK's. to do this afs_delete_inode was split into afs_delete_inode (which does the locking) and osi_clear_inode before osi_iput called afs_delete_inode, which since it wanted to hold AFS_GLOCK, osi_iput couldnt call AFS_GLOCK. this seems to have cured the problem i saw (running multiple 'ls -R &' would cause a bad iput w/o fail) and i hope it fixes it otherwise. its possible vc->lock should be held inside osi_clear_inode. . removed osi_notify_change (i added during 2.4.0 development) and now i just call inode_change_ok/inode_setattr. the 2.4.0 notify_change checks the dentry parent (which doenst exist for the cache inodes) . moved the locks around inside writepage, writepage_sync, commit_write. the guy next door complained about pauses while running afs. i think this addresses those issues. apparently you only need to lock_kernel() during commit_write(). in order to get lock_kernel() inside AFS_GLOCK() the AFS_GLOCK() was moved out of writepage_sync and into writepage and commit_write" commit 1b428f375e5366d8ef4179a1a47cd9aad98e2833 Author: Chaskiel M Grundman Date: Mon Jan 29 17:47:38 2001 +0000 support-reiserfs-20010129 Minor patch needed to work correctly on suse, where reiserfs is included by default. commit 3734711b9ef7ba3be0885caaadbc33b130f3bb94 Author: Chaskiel M Grundman Date: Mon Jan 29 17:40:14 2001 +0000 allow-new-bosconfig-file-and-rename-into-place-20010129 This patch causes the bosserver to use a "BosConfig.new" file if one is found on startup, which will allow admins to prepare a new BosConfig file to be picked up at rebozo time. (This is not possible now because the bosserver likes overwriting the BosConfig file while it's running) commit ca7935d1c6bfa76ff99e1999c34b0329360aaa2e Author: Chaskiel M Grundman Date: Mon Jan 29 17:38:30 2001 +0000 implement-bos-restricted-mode-20010129 This patch enables the bosserver to be placed in a restricted mode in which AFS superusers are only granted limited access to the server host. The following functionality is disabled when restricted mode is in use: bos exec bos getlog (except for files with no '/'s in their name)* bos create * bos delete bos install bos uninstall * specific exceptions are made for functionality that "bos salvage" uses: a cron bnode who's name is "salvage-tmp", time is now, and command begins with "/usr/afs/bin/salvager" may be created. This bnode deletes itself when complete, so no special "delete" support is needed. This functionality may be removed in the future if a "Salvage" RPC is implimented. The file with the exact path /usr/afs/logs/SalvageLog may be fetched, since that is how bos salvage [...] -showlog is implimented. Restricted mode is enabled using a new bos command (bos setrestricted) or bossever command line switch (bosserver -restricted). Restricted mode can be disabled by a) sending the bosserver process a SIGFPE (which will then allow restricted operations until the next restart or setrestricted command) or b) editing /usr/afs/local/BosConfig (or BosConfig.new), and restarting the bosserver. commit 000c69679226ded5843cfcbab6cb477eecfd8498 Author: Derrick Brashear Date: Sat Jan 20 23:18:01 2001 +0000 dummy-linux-vers-to-placate-make-on-non-linux-20010119 The empty variable upsets make, so we provide a dummy value which gets overriden when it matters commit b05deccb9f57df04cc933a94dec2be96dcbadb87 Author: Dave Koziol Date: Fri Jan 19 23:44:04 2001 +0000 drive-letter-tabs-for-submounts-containing-string-afs-20010119 "The following patch is to addresses problems with the Drive Letters tabs in the AFS Client and AFS Control Panel when using submounts which start with the letters afs. We had a test cell up and running with a name that started with afs01 and this caused the afs client to misbehave." commit d88ed238288fc1914f5bf8968bb68b2d97ef9eea Author: Michael Pronath Date: Fri Jan 19 22:22:35 2001 +0000 linux24-shutdown-listener-cleanly-20010119 Don't garbage-collection listener pid too early. commit 7f6f446ad0f007d85b25280947301c36fa0e862f Author: Derrick Brashear Date: Fri Jan 19 22:11:24 2001 +0000 linux-install-kdump-with-make-rules-that-work-20010119 gmake doesn't like $?-$$lv; It's easier to just do it this way. commit 988d4cf0f8b0edfac0256b30a940c03e9740bf16 Author: Derek Atkins Date: Fri Jan 19 21:51:05 2001 +0000 linux-build-kdump-for-each-kernel-20010119 Make a kdump for each kernel we're building for commit 340194f29b7c9aae32edfa4f6cd519305715b03f Author: Pavel Semerad Date: Fri Jan 19 10:22:50 2001 +0000 add-missing-solaris8-call-20010119 The Solaris 8 analog of vfs_devsearch is vfs_dev2vfsp commit 57ee0438440040560c5b3517cd95b3d85a984b96 Author: Derrick Brashear Date: Fri Jan 19 06:44:55 2001 +0000 linux-kdump-build-against-kernel-headers-20010119 This is a kernel-aware program, it really does want to build against the kernel headers instead of the versions libc was built against. commit 9e8ffd556717e4e409883ff786ad5b0de034203d Author: Derrick Brashear Date: Fri Jan 19 06:30:37 2001 +0000 add-cryptall-pioctl-macros-20010119 Required for cryptall fs command support. commit 084d1b109f8d1cc526dd3e07ac89ceb1422fbab6 Author: Derrick Brashear Date: Fri Jan 19 06:26:34 2001 +0000 krb-udp-cleanup-20010119 Make krb_udp try kerberos-iv as a fallback (from the original default of kerberos4) before going to "kerberos". "kerberos" incidentally is 88 on all modern platforms, so lord forbid you want to run this and something which can actually answer krb5 requests, if you're using the default services. Also minor fix for the size of an answer packet. commit acceff25eb133d218809121fef0e31f38c052f59 Author: Sam Hartman Date: Fri Jan 19 05:57:12 2001 +0000 linux-ppc-minor-cleanup-20010119 Minor fixes to make the PPC port happy. commit e19270efa90eaa75b7bee74e80ef3ab6579da930 Author: Derrick Brashear Date: Fri Jan 19 05:38:42 2001 +0000 cleanup-pioctl-cryptall-interface-20010119 Finish port of cryptall patch to current AFS codebase commit 527b64b950a79bdf5f071f6bde6c52b6240cbb05 Author: Chas Williams Date: Mon Jan 15 20:06:07 2001 +0000 solaris8-fixes-20010115 Fixes for variable sizes commit e51aacb61474150303cd0f97c4854af702204eee Author: Derrick Brashear Date: Mon Jan 15 19:44:16 2001 +0000 add-fs-crypt-commands-20010115 A simple way to get/set encryption support. commit 4a8f7153d2e60cb997c185de7dd1659a9e5a98c3 Author: Greg Hudson Date: Mon Jan 15 19:29:40 2001 +0000 export-pioctl-cryptall-interface-20010115 Export interface to cryptall commit 5e534226f308a3c4e301e9bdbe036d38a10ed8d9 Author: Derrick Brashear Date: Mon Jan 15 19:22:56 2001 +0000 merge-afs-and-arla-pioctl-space-20010115 The net effect being that since all pioctls will have the same values across platforms, so AFS userland binaries can be used on an Arla system and vice-versa commit 59fe3f3cc4a391a46bd342e76e90ad75bc8676a1 Author: Chas Williams Date: Fri Jan 12 17:05:15 2001 +0000 missing-minus-for-solaris-8-20010112 commit 22293eeada64329250864b4f46dfce3ca857f674 Author: Nickolai Zeldovich Date: Fri Jan 12 06:31:43 2001 +0000 honor-solaris-attr-hint-20010112 "The problem that it fixes is as follows: suppose user A's process maps something into its address space out of AFS. Now if user B runs "ps", or otherwise reads /proc/NNN/status, the kernel code will lock the associated entry in /proc and then proceed to find the size of the address space for that process; in doing so, it calls getattr(). If B does not have tokens to access the file, the fileserver will eventually start delaying responses to FetchStatus requests, and the kernel will block with /proc locked. The user-visible effect is that "ps", "w" and so on start blocking uninterruptibly for long periods of time." commit 10892a7bde1c9eb8beac2ecb1d618a67cdea3fdb Author: Greg Hudson Date: Thu Jan 11 06:50:43 2001 +0000 repair-afs-cryptall-20010111 This makes it possible to have encryption enabled, but does not expose an interface to do so. That will follow tomorrow, when hopefully OpenAFS and Arla will have synchronized pioctls allowing userspace compatibility commit 4e81c489ee99612fbafa62e8a4a8a07d45fb6ade Author: Michael Nelson Date: Thu Jan 11 06:41:23 2001 +0000 winnt-port-cleanup-20010111 Add needed headers, convert from SERVICETYPE to AFSSERVICETYPE commit 6153f6b654e8353c166d4ab09c2f643a0e6a3d44 Author: Jeffrey Hutzelman Date: Thu Jan 11 06:28:27 2001 +0000 winnt-eventlog-copyright-fixes-20010111 The perl script used to update copyrights failed to properly handle these files commit 1b0a7f95e9451da9c7d55fa8204fdc1c2949cd34 Author: Chas Williams Date: Thu Jan 11 06:15:52 2001 +0000 update-for-linux-240-final-20010111 Update Linux 2.4 support for the 2.4.0 release kernel. commit c12b66c1bec412d928bbcb62c7eb3b3caad3511c Author: Jeffrey Hutzelman Date: Thu Jan 11 05:59:34 2001 +0000 allow-rx-newservice-with-zero-port-after-rx-init-zero-20010111 The intent is to allow services to be set up on random rather than fixed ports commit a727f0417ab4c568eb84b8ddd657299cf6461047 Author: Pavel Semerad Date: Thu Jan 11 05:48:31 2001 +0000 sparc64-linux-missing-header-define-20010111 sparc64 linux uses 32bit userland and so needs the 32bit header commit c915747a227f7826e9150ac72f77f8606d32bb7b Author: Jeffrey Hutzelman Date: Thu Jan 11 05:40:06 2001 +0000 krb-udp-use-transaction-for-special-keys-20010111 use the ubik transaction we got to lookup the kvno otherwise this fails for uncached keys, like foreign realm krbtgts commit 9a7b4da986b0e2d5610fbdff1246353e2ba8d219 Author: Neale Ferguson Date: Sun Dec 24 01:15:06 2000 +0000 s390-linux-20001223 Port for Linux on the IBM S/390 commit 928c5e686bf508b60820e015c405f7d155ba4d90 Author: Pavel Semerad Date: Sun Dec 24 00:51:17 2000 +0000 sparc-linux-20001223 Sparc/Sparc64 linux support commit 9499904817a43fe9f48eb372d0fa901cba886d8c Author: Nathan Neulinger Date: Sun Dec 24 00:19:42 2000 +0000 solaris26-needs-ccs-libcurses-20001223 use the libcurses capable of fulfilling our needs for symbols in gtx commit 6103bb18255134ae2ae3a13a8f00cba48ddfa083 Author: Nathan Neulinger Date: Sun Dec 24 00:11:41 2000 +0000 make-make-dollar-make-20001223 Make Makefiles be gmake-friendly commit f2811db37d313c79c1858657463880f4122684a7 Author: Nathan Neulinger Date: Sun Dec 24 00:02:00 2000 +0000 sgi-65-gnu-cc-ld-harmful-20001220 gcc and Gnu LD cause problems with build on Irix 6.5; Avoid them. commit 7a6fdfd5122a3e9720718d7c8f120699dc12b75f Author: Nathan Neulinger Date: Sat Dec 23 23:59:34 2000 +0000 ptser-Makefile-missing-slash-20001220 DESTDIR is assumed to have a trailing /, so we don't need another here commit 43f97ca58c720ccb22264b97775edc93eddb6ad5 Author: Hartmut Reuter Date: Sat Dec 23 23:52:38 2000 +0000 fast-start-20001220 FAST_RESTART ifdef'd code omits salvage at restart. -DontSalvage must be added to salvager args in the bos configuration BITMAPS_LATER ifdef'd code lets the fileserver create the bitmaps for free vnodes only on demand, so the fileserver may start faster. commit bfff302520e528effba7247984c5ebd1357b2ccf Author: Hartmut Reuter Date: Sat Dec 23 23:39:34 2000 +0000 cml-version-string-maker-20001220 CML version string maker for OpenAFS (modified for devel) commit 016cf269e44f6721fe6307e86d983b0b966ee09a Author: Chas Williams Date: Tue Dec 19 18:32:45 2000 +0000 missing-sol8-Makefile-20001219 Not in initial commit commit 53986479ee1eba7c91e8d7b859ceccac7bc08ecc Author: Garry Zacheiss Date: Tue Dec 19 07:45:10 2000 +0000 ptutil-initial-20001219 Add pt_util for offline pts database manipulation commit 36f72fa1144e818642d3fc9d65f9e1021b83aaac Author: Nathan Neulinger Date: Tue Dec 19 07:34:34 2000 +0000 solaris-make-cleanup-20001219 Remove redundancy in Solaris Makefile Protos commit 0de9b367b9dbb5dcb357f6af6cf3bf1086a67466 Author: Nathan Neulinger Date: Tue Dec 19 07:27:08 2000 +0000 warning-fixes-20001219 Warning fix missed in last round. commit a35279d3146688498bfabec9957a5fd47d6246de Author: Nathan Neulinger Date: Wed Dec 13 21:36:06 2000 +0000 warning-fixes-20001213 Various fixes to eliminate warnings commit 052d68b92d0b057eee922cc537963cf0fcadadb0 Author: Chas Williams Date: Wed Dec 13 19:33:47 2000 +0000 linux-ppc-des-20001213 Add missing file for DES commit be4b55e1554cfd4cf345c46d5020f85a3d094741 Author: Derrick Brashear Date: Sat Dec 2 18:17:50 2000 +0000 add-buildnotes-20001202 notes for building openafs commit ade7e22286120f5cde1b79afed656acbac0dc73b Author: Derrick Brashear Date: Sat Dec 2 18:06:26 2000 +0000 README-update-20001202 refer people to openafs.org site for help commit bd931f3d053a62733e9c269fc7e2c545f8a0962f Author: Nickolai Zeldovich Date: Sat Dec 2 17:52:58 2000 +0000 check-flushvol-args-20001202 check args for flushvol commit 8f0ac00554f7b78dd5b71d576a41a2967081910e Author: Nickolai Zeldovich Date: Sat Dec 2 17:46:52 2000 +0000 bulkstat-changes-20001202 change in bulkstatus code commit f975937b69831376a920dd19c8ca7a4f180c7e4d Author: Chas Williams Date: Sat Dec 2 17:41:43 2000 +0000 linux-xfs-support-20001202 support for linux xfs kernels commit 6fdc2bbdfa4099a649232c7cee4e47cc2c436ec5 Author: Derrick Brashear Date: Fri Dec 1 23:59:27 2000 +0000 kdump-linux-header-fixes-20001201 Deal with kdump not building on modern glibc linux systems. On RedHat 7, we also need kgcc. commit 92d163d6b0cd130503b91b4aaa9e9262623ce9f9 Author: Derrick Brashear Date: Fri Dec 1 23:26:44 2000 +0000 linux-needs-larger-lwp-stacksize-20001201 The 48k stack is insufficient and can lead to servers that refuse to start or that crash unexpectedly. commit fd0e5208b7471174d1cb30e80f166d65c866bcb1 Author: Derrick Brashear Date: Fri Dec 1 23:11:06 2000 +0000 linux-glibc22-has-pthread-attr-setstacksize-20001201 Newer glibc includes this function, and this conflicts with a header commit 0f9376f2eaedaf24bb8bcf4f834d81e7dff1692e Author: Derrick Brashear Date: Fri Dec 1 22:52:01 2000 +0000 redhat-linux-version-h-is-mangled-20001201 the kernel-source rpm on redhat 7.0 provides a modified linux/version.h which chokes the linux-version script. attempt to deal. commit f4281b12792c120df2410dd295314dfbba827c75 Author: Derrick Brashear Date: Fri Dec 1 22:36:53 2000 +0000 build-vfsck-for-solarises-20001201 build vfsck for solaris 2.5, 2.6 and 7 not known to work correctly in all cases commit 5a16f075f5471e1f4bc41872f299c390dd46f727 Author: Michael Pronath Date: Fri Dec 1 17:30:42 2000 +0000 linux-module-initialization-allocate-20001201 Loading and unloading a module without starting AFS would oops without this because nothing checked for allocation. commit e17bbb16d9064f9f11feccf76cfb0783cb560a06 Author: Chas Williams Date: Wed Nov 15 00:38:24 2000 +0000 solaris8-fixes-20001114 updates to solaris 8 commit 36b6f3aea6c2a81eb0a866f97913b0ed3c84df88 Author: Chas Williams Date: Tue Nov 14 03:28:15 2000 +0000 linux24-writepage-20001113 Linux 2.4 kernel writepage support commit 90077f84f20f1f5fd0d84ff88e89a409816481bb Author: Derek Atkins Date: Tue Nov 7 15:51:03 2000 +0000 copy-permit-export-h-20001107 copy another include file to make a separate kernel module build easier commit b33a70498eefe52dfce724b1d888ceba7ef099ae Author: Michael Nelson Date: Tue Nov 7 15:44:17 2000 +0000 winnt-letter-mappings-20001107 Single user drive letter mapping support commit 79a00a452a6764e31b953b6ceadd03d5954d2ed0 Author: Chas Williams Date: Mon Nov 6 18:55:50 2000 +0000 linux24-config-params-20001106 Add param file for linux24 commit 7e3aaf5d87fb88e42d0cdefb4f298cbdad34e395 Author: Michael Nelson Date: Mon Nov 6 15:48:48 2000 +0000 winnt-fixes-20001106 WinNT build fixes commit 38e7c5f727af4ac1905e505c5e8225503ca2e030 Author: Derrick Brashear Date: Mon Nov 6 15:30:18 2000 +0000 linux24-cleanup-20001106 remainder of fixes. temporary test hardware confirms it builds again commit d5291b6eeea6e46bde68039f828e4be2f8888e94 Author: Derrick Brashear Date: Mon Nov 6 15:09:13 2000 +0000 linux24-missing-endif-20001106 missing endif. these problems won't happen when I have the testing hardware, obviously;-) commit f139286eb493a4c442dc18513bbb3e98e2dd00da Author: Derrick Brashear Date: Mon Nov 6 15:01:54 2000 +0000 linux24-missing-ifdef-20001106 Add missing ifdef/endif for linux 24 support code commit 3e363ca7a6255a57cd5ee07249feb611f55effb6 Author: Chas Williams Date: Mon Nov 6 04:22:21 2000 +0000 initial-solaris8-support-20001105 Iniktial Solaris 8 support ==================== 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. ==================== Initial Solaris 8 support ==================== Initial Solaris 8 support commit 640176d60ff336563596ea299ee6c37b5913fa8a Author: Derek Atkins Date: Mon Nov 6 03:36:43 2000 +0000 copy-rx-header-for-libafs-20001105 Make sure that rx_misc.h is copied to the libafs tree from rx source commit b860b359d584aa1cf84653d771a347ac3b951bfe Author: Chas Williams Date: Sun Nov 5 20:13:38 2000 +0000 initial-linux24-support-20001105 preliminary linux 2.4 kernel support ==================== 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. ==================== missed file commit 6024581217557c12a4d28f710fc7c2cffe0d1b42 Author: Derrick Brashear Date: Sun Nov 5 03:25:14 2000 +0000 eliminate-libaudit-requirement-20001104 move afsconf_CheckAuth which requires afsconf_SuperUser into userok.c where afsconf_SuperUser is, eliminating the need for libaudit when using archive libraries (doesn't help with shlibs) commit 17fdc9038acf9db178cd6d03a15ab0ae909e2954 Author: Derrick Brashear Date: Sun Nov 5 02:21:42 2000 +0000 replace-gets-with-fgets-20001104 replace gets with fgets based as patch from nneul@umr.edu commit 0977f32648d744fc15d63b49c1bd0420e99b4bec Author: Derrick Brashear Date: Sun Nov 5 01:50:30 2000 +0000 replace-getwd-with-getcwd-20001104 getcwd replaces getwd commit a2daff69ddd3b5ffe3bfb34ba4edc0f8deae48dd Author: Chaskiel M Grundman Date: Sun Nov 5 01:16:17 2000 +0000 prefetch-pioctls-overflow-20001104 1024 was being used of a buffer which wasn't that large. commit 1f7dd889361544e1b3118aef65c1520f7debff74 Author: Derrick Brashear Date: Sun Nov 5 00:55:11 2000 +0000 For people who don't know any better commit 6a0f3dc94a49eba1e3fa6a4cd2c21bff4984c6af Author: Derrick Brashear Date: Sat Nov 4 22:20:51 2000 +0000 For people who don't know any better commit fb5bcd00fc6f1560d7d02115a0b5beaa3014a0e7 Author: Derrick Brashear Date: Sat Nov 4 10:01:08 2000 +0000 Standardize License information commit d87d34e18dbd5bd75faa405d6af703267e4d3e06 Author: Derrick Brashear Date: Sat Nov 4 08:38:12 2000 +0000 where the per file license text refers to it commit c829afea5d0c45c805ad34562d31e8a1b6603e7a Author: Derrick Brashear Date: Sat Nov 4 08:37:38 2000 +0000 foo commit aa1ed00e008a0eff601b1cdf9852aa836b322a07 Author: Derrick Brashear Date: Sat Nov 4 08:36:53 2000 +0000 where the license refers to it commit ba3d4666cbd19b56bcec1e80aa9bb001e193cc9f Author: Derrick Brashear Date: Sat Nov 4 03:34:07 2000 +0000 add a license commit 87c10e8d7f05dbbdf12ee9e8651dcec07e08af3f Author: IBM Date: Sat Nov 4 02:13:13 2000 +0000 Initial IBM OpenAFS 1.0 tree