commit 0d61953e69c004667e8a293d1bc58b396710a356 Author: Stephan Wiesand Date: Sun Dec 15 23:37:43 2013 +0100 Make OpenAFS 1.6.5.2 Update configure version strings for 1.6.5.2. Note that macos kext can be of form XXXX.YY[.ZZ[(d|a|b|fc)NNN]] where d dev, a alpha, b beta, f final candidate so we have no way to represent 1.6.5.2. Use 1.6.6 dev 2 for macos. Change-Id: I4ab3fca89c95ad331db4b0a9823138e87f823c3b Reviewed-on: http://gerrit.openafs.org/10586 Tested-by: Stephan Wiesand Reviewed-by: Stephan Wiesand commit fc5fb7febf54820d3848b23d10264961191ac6ee Author: Stephan Wiesand Date: Sun Dec 15 23:54:15 2013 +0100 Update NEWS for 1.6.5.2 Release notes for 1.6.5.2 Change-Id: I59f5aa9a6887e3d23288672a08e67e0d676e239c Reviewed-on: http://gerrit.openafs.org/10587 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 05c45dc0969c51346c9562973ab31a35cfb8eb31 Author: Marc Dionne Date: Wed May 29 10:33:44 2013 -0400 Linux: Remove extra "goto out" from tmpfs fix Remove a stray "goto out" that should not have been applied in this spot along with the tmpfs fix. Thanks to Stephan Wiesand for pointing it out. Reviewed-on: http://gerrit.openafs.org/9953 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit f393612d8f0a121d0cb8755f3eb9913c0f09606d) Reviewed-on: http://gerrit.openafs.org/10193 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand (cherry picked from commit 86ce4dcac924440c29024906bfda89e8d6f030a7) Change-Id: Ic81399e7ac9c2034f02e95b9cbc335d79d0f00fa Reviewed-on: http://gerrit.openafs.org/10613 Tested-by: Stephan Wiesand Reviewed-by: Stephan Wiesand commit 823d182a5bba7054849ce767db46acbb01e3499a Author: Marc Dionne Date: Wed May 22 09:26:57 2013 -0400 Linux: Fix tmpfs cache support As of kernel 3.1, tmpfs no longer has a readpage() operation in its address space operations. Some of the cache manager code relies on this, causing an oops if tmpfs is used as backing store for the cache. As a minimal fix, detect that there is no readpage() and disable the optimizations that depend on it. Reviewed-on: http://gerrit.openafs.org/9949 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 3767cf8bf420bd59c3426a4287259b1e97178e96) Reviewed-on: http://gerrit.openafs.org/9950 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand (cherry picked from commit 7a40c83337cb4ff07646ea7c2cc0d6d98be94bff) Change-Id: I063428ba5a177b57eccf883c2019dbc670a6c080 Reviewed-on: http://gerrit.openafs.org/10612 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 512ef081c1f1c2e31e7233e4b79338ae27f787b6 Author: Jeff Layton Date: Fri Dec 6 13:34:04 2013 -0500 Linux: stop trying to use getname/putname The current code has afs_putname defined as kmem_cache_free (names_cachep, (void *) name); This is wrong and will cause a double -free when syscall auditing is enabled. Fix it to call putname properly. Instead of that, just create a new afs_getname function that doesn't bother with struct filename at all, and use that unconditionally. Signed-off-by:Jeff Layton Reviewed-on: http://gerrit.openafs.org/10547 Tested-by: BuildBot Reviewed-by: Jeff Layton Reviewed-by: Derrick Brashear (cherry picked from commit d40ed7391670010db0df2202d770341b2ca82f32) Reviewed-on: http://gerrit.openafs.org/10578 Reviewed-by: Derrick Brashear Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand Tested-by: BuildBot (cherry picked from commit d68e6c24f53b6878733e28909e23e44a0fdfae1d) Change-Id: Ic8055a6ed7aa955266c0f3112817924ef8ba591b Reviewed-on: http://gerrit.openafs.org/10604 Tested-by: Stephan Wiesand Reviewed-by: Stephan Wiesand commit 6e97ac37caa91ff03dc2ddcd224b8c93d1f2063b Author: Ken Hornstein Date: Thu Dec 5 13:53:56 2013 -0500 Packaging support for MacOS X 10.9 "Mavericks". Based on work originally done by Matt Haught . Reviewed-on: http://gerrit.openafs.org/10539 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit cb53d255a6285c884c6a5ea9a20427327b1ab9b3) Reviewed-on: http://gerrit.openafs.org/10542 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Stephan Wiesand (cherry picked from commit 77826dd3eeb5355834e073553462856df64b9e81) Change-Id: Ib609dfbaa337f0e5046e9a0d03aebbbfdf26873a Reviewed-on: http://gerrit.openafs.org/10610 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 4ec5d78f41c0c9116d489d1222d3b232e5341821 Author: Ken Hornstein Date: Thu Dec 5 13:46:18 2013 -0500 Add support for configuration of MacOS 10.9 "Mavericks". Based on work originally done by Matt Haught Reviewed-on: http://gerrit.openafs.org/10538 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit aac384b2eda823519780afed84e53a868561711d) Reviewed-on: http://gerrit.openafs.org/10541 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Derrick Brashear Reviewed-by: Stephan Wiesand (cherry picked from commit 33edca62271ed4c5e50e1990adfb9cc262d8468e) Change-Id: I452f743074c3e5635df45e815840273a2e2188bc Reviewed-on: http://gerrit.openafs.org/10609 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 9d340e42dbcfb27b2987d55dfa332e1a2de7ce02 Author: Ben Kaduk Date: Tue Mar 26 17:42:38 2013 -0400 Fix DARWIN build with clang In 1d8937b86050 we added a function call to kauth_cred_unref in the DARWIN100 case (replacing a macro), but added the inclusion of sys/kauth.h only when using versions older than DARWIN80. On DARWIN100 and above, clang detects that the now-implicit function declaration is in conflict with the actual prototype, which is included later through afs/sysincludes.h when compiling the kernel rx code. Since including sys/kauth.h seems to have been harmless for old versions, just include it always. Reviewed-on: http://gerrit.openafs.org/9676 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 6ad2cc0275cd1074316d6bc70cd8758d25f94467) Reviewed-on: http://gerrit.openafs.org/10549 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Derrick Brashear Reviewed-by: Stephan Wiesand (cherry picked from commit e4b2242f3a29832e1df389ceea6ec4ca41c06306) Change-Id: I5e3b28bbf513d47792dbf7808d6d88db6457ed33 Reviewed-on: http://gerrit.openafs.org/10608 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 59269b39b2dcc6ad9157c674b0104beecba46206 Author: Simon Wilkinson Date: Fri Mar 30 19:09:36 2012 +0100 DARWIN: Make crfree() an inline function On Darwin 100, we have #define crfree(X) kauth_cred_unref(&X) which expands in one place to kauth_cred_unref(&(afs_ucred_t *)avc->linkData) clang warns about this in -Werror mode, because arguments to the address-of operator must be lvalues. To fix this make crfree an inline function, which will then let us do the indirection required. Reviewed-on: http://gerrit.openafs.org/7073 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 1d8937b860509fcaabb041bc14faf7aa3023f3c9) Reviewed-on: http://gerrit.openafs.org/10548 Tested-by: BuildBot Reviewed-by: Stephan Wiesand (cherry picked from commit 931d1a8bea393ba3df69b163cb4d05c35f3c948e) Change-Id: Iba1def8ae4004e918185109767bd8a0f0a263813 Reviewed-on: http://gerrit.openafs.org/10607 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 5f45d5b8ebee3a6b2fc0be5e2d6a6c1036d88408 Author: Ken Hornstein Date: Thu Dec 5 13:57:36 2013 -0500 Remove extra whitespace from macro invocations On MacOS X 10.9, the compiler has switched to LLVM and as a consequence generates an error if there is a space between a macro invocation and the starting left parenthesis. Based on code originally done by Matt Haught . Reviewed-on: http://gerrit.openafs.org/10540 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit ce96143d79ea006f7b1318dd1c962d4c4f79fc1e) Reviewed-on: http://gerrit.openafs.org/10543 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Andrew Deason Reviewed-by: Marc Dionne Reviewed-by: Stephan Wiesand (cherry picked from commit e54a0902fb4ed09d955a2cb9c3d091da28b8f21a) Change-Id: I1dc8a50bb28f5656bc05b261870b6e01684034a5 Reviewed-on: http://gerrit.openafs.org/10606 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand commit 5dd30fbf353fbc11d84a6b71e7e0db5b2f9374f3 Author: Ken Hornstein Date: Wed Nov 20 13:37:52 2013 -0500 Support for changes to OS X Mavericks VNOP_SYMLINK() function. Add support for an extra argument to afs_symlink() to return the newly-created symlink vnode if requested (this is needed on OS X Mavericks). On OS X Mavericks return the newly-created symlink vnode in the symlink vnops functions, on all other platforms ignore it. It turns out that technically OS X has required the symlink to be created for a while, but code inside of symlink() would call namei() on the symlink name if the returned vnode point was NULL. The difference is that on Mavericks the Manditory Access Control Framework has been enabled, and that turns on some extra code which unconditionally calls vnode_mount() on the returned vnode pointer, which ends up causing a panic Reviewed-on: http://gerrit.openafs.org/10474 Reviewed-by: Derrick Brashear Tested-by: BuildBot (cherry picked from commit 3f4c1099b7b2d1467b1f5b701ea2f953fec20dc0) Reviewed-on: http://gerrit.openafs.org/10519 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk Reviewed-by: Andrew Deason Reviewed-by: Jeffrey Altman Reviewed-by: Stephan Wiesand (cherry picked from commit 192536d62b085bb14f54ffc958e6303810cca624) Change-Id: I01b319c43ee74d220cccc6c0defbe1a8cd38b9c4 Reviewed-on: http://gerrit.openafs.org/10605 Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand