openafs.git
11 years agoSTABLE14101-linux-mmap-antirecursion-fix-20090512 openafs-stable-1_4_10_1-branch
Felix Frank [Tue, 12 May 2009 18:57:49 +0000]
STABLE14101-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

(cherry picked from commit 5e0e1ea2540d0cb7d7274350eb1fadfd41733ea4)

11 years agoSTABLE14101-linux26-defer-cred-changing-20090511
Simon Wilkinson [Mon, 11 May 2009 16:14:39 +0000]
STABLE14101-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.

(cherry picked from commit 7d530b9080f6dd4d7f7e4555ed6ce855ff81bcaa)

11 years agoSTABLE14-linux-avoid-returning-invalid-pointers-on-error-20090402 openafs-stable-1_4_10
Simon Wilkinson [Tue, 7 Apr 2009 13:26:15 +0000]
STABLE14-linux-avoid-returning-invalid-pointers-on-error-20090402

LICENSE IPL10
FIXES 124580

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

11 years agoSTABLE14-openafs-1-4-10-20090406
Derrick Brashear [Mon, 6 Apr 2009 23:54:42 +0000]
STABLE14-openafs-1-4-10-20090406

LICENSE IPL10
FIXES 124514

make 1.4.10

11 years agoSTABLE14-avoid-buffer-overflow-on-rx-fixed-size-array-return-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:53:16 +0000]
STABLE14-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

(cherry picked from commit 62bca1123fb471ca1eec58b448fd39f7f797638a)

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

LICENSE IPL10
FIXES 124580

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

11 years agoSTABLE14-linux-key-alloc-no-pointer-arith-20090404
Simon Wilkinson [Sat, 4 Apr 2009 17:44:15 +0000]
STABLE14-linux-key-alloc-no-pointer-arith-20090404

LICENSE IPL10

make the key_alloc configure test work

(cherry picked from commit 4ecaeaac97a48c36df3866f1f71eb8a95c8f6e51)

11 years agoSTABLE14-dynamic-vcache-no-printf-20090331
Derrick Brashear [Tue, 31 Mar 2009 13:41:47 +0000]
STABLE14-dynamic-vcache-no-printf-20090331

LICENSE IPL10

no printf in 1.4.9

(cherry picked from commit 84871adb4bb3f8d1d50127255da75629e2167977)

11 years agoSTABLE14-linux-2630-maybe-20090331
Marc Dionne [Tue, 31 Mar 2009 13:16:45 +0000]
STABLE14-linux-2630-maybe-20090331

LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released

(cherry picked from commit d0a166bdffce2d2498cab54cc458d9489d05c299)

11 years agoSTABLE14-obsd-44-20090327
Matt Benjamin [Fri, 27 Mar 2009 15:55:43 +0000]
STABLE14-obsd-44-20090327

LICENSE IPL10
FIXES 124541

update openbsd support

11 years agoSTABLE14-uss-kvno-warning-fix-20090327
Mike Meffie [Fri, 27 Mar 2009 15:47:43 +0000]
STABLE14-uss-kvno-warning-fix-20090327

LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss

(cherry picked from commit a523710780d54b27fc61db0fd1a561f789871046)

11 years agoSTABLE14-linux-flushpages-call-truncate-inode-pages-after-all-20090327
Chaskiel M Grundman [Fri, 27 Mar 2009 15:45:49 +0000]
STABLE14-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

(cherry picked from commit 9243308990dc93ef3f42b9d024b9b02568881468)

11 years agoSTABLE14-bucoord-update-kvno-check-20090327
Garry Zacheiss [Fri, 27 Mar 2009 13:46:13 +0000]
STABLE14-bucoord-update-kvno-check-20090327

LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere

(cherry picked from commit 3fcbdab1889f2674f1229cb551afeafc6f06b66a)

11 years agoSTABLE14-return-values-missing-fix-20090326
Derrick Brashear [Thu, 26 Mar 2009 14:30:42 +0000]
STABLE14-return-values-missing-fix-20090326

LICENSE IPL10
FIXES 124194

add return values for functions missing them

(cherry picked from commit d4359ad72aee9839ee019165a3fb37c9cfae3b4d)

11 years agoSTABLE14-openafs-1-4-9pre2-20090325 openafs-stable-1_4_9pre2
Derrick Brashear [Wed, 25 Mar 2009 20:32:14 +0000]
STABLE14-openafs-1-4-9pre2-20090325

LICENSE IPL10
FIXES 124514

with fileserver, client shutdown fixes. confirmed on 2.6.29

11 years agoSTABLE14-cbr-free-what-you-alloc-20090325
Chaskiel M Grundman [Wed, 25 Mar 2009 19:34:59 +0000]
STABLE14-cbr-free-what-you-alloc-20090325

LICENSE IPL10
FIXES 124531

dequeue and free items as alloc'd

(cherry picked from commit 80494f5096d231e1e032229732f2d94ba569718e)

11 years agoSTABLE14-redhat-spec-update-20090325
Simon Wilkinson [Wed, 25 Mar 2009 18:42:48 +0000]
STABLE14-redhat-spec-update-20090325

LICENSE IPL10
FIXES 123650

install afszcm.cat, update CellServDB

(cherry picked from commit cc0922c26fcbeebe73d4df422db65a550a9c6bf8)

11 years agoSTABLE14-undo-viced-copyonwrite-optimization-20090315
Derrick Brashear [Wed, 25 Mar 2009 13:07:27 +0000]
STABLE14-undo-viced-copyonwrite-optimization-20090315

LICENSE IPL10

still issues with this

11 years agoSTABLE14-shutdown-vcache-avoid-null-deref-20090324
Derrick Brashear [Tue, 24 Mar 2009 22:40:25 +0000]
STABLE14-shutdown-vcache-avoid-null-deref-20090324

LICENSE IPL10

avoid potential null pointer deref at shutdown

(cherry picked from commit 4162ff9d4d733afc788b3c002adc57aac78a3282)

11 years agoSTABLE14-viced-threadnum-return-cast-20090323 openafs-stable-1_4_9pre1
Derrick Brashear [Tue, 24 Mar 2009 03:44:36 +0000]
STABLE14-viced-threadnum-return-cast-20090323

LICENSE IPL10

cast return type from threadNum

(cherry picked from commit ede1c215d16d394fcd0afb7aacd827680be56cf6)

11 years agoSTABLE14-viced-type-fixups-20090323
Derrick Brashear [Mon, 23 Mar 2009 18:47:03 +0000]
STABLE14-viced-type-fixups-20090323

LICENSE IPL10

SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*

(cherry picked from commit 7a7b55658b7c72eef0f9b495f02ce766c9961d6e)

11 years agoSTABLE14-openafs-1-4-9pre1-20090323
Derrick Brashear [Mon, 23 Mar 2009 18:23:18 +0000]
STABLE14-openafs-1-4-9pre1-20090323

LICENSE IPL10
FIXES 124514

make 1.4.9pre1

11 years agoSTABLE14-volid-cast-unsigned-int32-20090323
Derrick Brashear [Mon, 23 Mar 2009 18:19:55 +0000]
STABLE14-volid-cast-unsigned-int32-20090323

LICENSE IPL10
FIXES 124510

deal with the problem in 1.4.x by casting

11 years agoSTABLE14-linux-task-becomes-task-struct-20090323
Derrick Brashear [Mon, 23 Mar 2009 15:16:59 +0000]
STABLE14-linux-task-becomes-task-struct-20090323

LICENSE IPL10

struct task->struct task_struct. configure needs to cope

(cherry picked from commit 4830a7c8d79c72dcd5d8ce4bab6b8c0a8b249d96)

11 years agoSTABLE14-krb5-run-configure-tests-20090321
Derrick Brashear [Sat, 21 Mar 2009 16:30:15 +0000]
STABLE14-krb5-run-configure-tests-20090321

LICENSE IPL10
FIXES 124522

--with-krb5=/path caused us to not run configure tests. fix that

(cherry picked from commit 39c4e32bf484aab2c9cf978cbf5877bdb989e9d6)

11 years agoSTABLE14-aix-no-aklog-tsm-without-krb5-20090320
Derrick Brashear [Sat, 21 Mar 2009 15:49:33 +0000]
STABLE14-aix-no-aklog-tsm-without-krb5-20090320

LICENSE IPL10
FIXES 124522

don't build aklog_dynamic_auth without krb5

(cherry picked from commit c1d545dff6483369ade640b27b9ab7baaa6faac5)

11 years agoSTABLE14-rx-prototypes-alloc-free-ifdefs-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:46:07 +0000]
STABLE14-rx-prototypes-alloc-free-ifdefs-20090321

LICENSE IPL10

don't prototype osi_Alloc/osi_Free if they're just #defines

(cherry picked from commit 4398d6277dacde8464c0db7a73d5ecb37039823f)

11 years agoSTABLE14-update-config-guess-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:08:01 +0000]
STABLE14-update-config-guess-20090321

LICENSE IPL10

update from upstream

(cherry picked from commit b1aaf822f558236b91e543f03bcf159db1054c0b)

11 years agoSTABLE14-aix51-pag-header-20090320
Derrick Brashear [Fri, 20 Mar 2009 22:45:35 +0000]
STABLE14-aix51-pag-header-20090320

LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2

(cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd)

11 years agoSTABLE14-linux-osi-vm-flushpages-use-remote-invalidate-20090320
Chaskiel M Grundman [Fri, 20 Mar 2009 15:55:57 +0000]
STABLE14-linux-osi-vm-flushpages-use-remote-invalidate-20090320

LICENSE IPL10

use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages

(cherry picked from commit 18da64a45c5f1a069f39f687bd84ee51b77a6bd3)

11 years agoSTABLE14-dyn-vcache-shake-needs-exporting-20090320
Derrick Brashear [Fri, 20 Mar 2009 15:05:09 +0000]
STABLE14-dyn-vcache-shake-needs-exporting-20090320

LICENSE IPL10

update to export shakeloosevcaches

(cherry picked from commit 6ef7d7dfb8caf4a555c2de480037769783cbe88e)

11 years agoSTABLE14-socklen-t-check-20090316
Derrick Brashear [Fri, 20 Mar 2009 13:53:09 +0000]
STABLE14-socklen-t-check-20090316

LICENSE IPL10

verify we have socklen_t and if not, get it

(cherry picked from commit 2d683a880bf5f30db22862f0f6add14142dbcf9a)

11 years agoSTABLE14-ubik-recovery-use-file-number-not-hardcoded-zero-20090319
Derrick Brashear [Fri, 20 Mar 2009 03:49:16 +0000]
STABLE14-ubik-recovery-use-file-number-not-hardcoded-zero-20090319

LICENSE IPL10

don't hardcode DB0, use the file number which is being recovered

(cherry picked from commit ef5f6f988c352db58e8b9df422b417cc199b4837)

11 years agoSTABLE14-param-file-64-bit-scalar-updates-20090319
Derrick Brashear [Fri, 20 Mar 2009 03:12:39 +0000]
STABLE14-param-file-64-bit-scalar-updates-20090319

LICENSE IPL10

64 bit scalar type availability

(cherry picked from commit 4eef62a2f29d81d4fd8c3d28beb0403499f9802e)

11 years agoSTABLE14-dynamic-vcache-allocation-20090319
Derrick Brashear [Fri, 20 Mar 2009 02:32:56 +0000]
STABLE14-dynamic-vcache-allocation-20090319

LICENSE IPL10
FIXES 124334

add dynamic allocation of vcaches when possible (currently just for linux)

(cherry picked from commit e59b81c984652f7570708831d8b36bdd42f98cf8)

11 years agoSTABLE14-cbd-new-magic-version-with-fixed-time-size-and-dump-switch-20090319
Derrick Brashear [Thu, 19 Mar 2009 20:13:23 +0000]
STABLE14-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

(cherry picked from commit 79d362c77cfc307dc66bfe874952a914e2313e89)

11 years agoSTABLE14-solaris-vnode-path-cache-cleanup-20090317
Derrick Brashear [Thu, 19 Mar 2009 19:30:28 +0000]
STABLE14-solaris-vnode-path-cache-cleanup-20090317

LICENSE IPL10

declare needed variables everywhere

(cherry picked from commit b7372c3e1473ffcd4ab13451d3861103b51df3af)

11 years agoSTABLE14-linux24-fixes-20090318
Derrick Brashear [Thu, 19 Mar 2009 04:54:50 +0000]
STABLE14-linux24-fixes-20090318

LICENSE IPL10

no backing_dev_info on 2.4

11 years agoSTABLE14-linux-key-alloc-changes-20090318
Marc Dionne [Thu, 19 Mar 2009 04:02:53 +0000]
STABLE14-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

(cherry picked from commit bf9dc554b366b08ce0bef62ce242c94371938000)

11 years agoSTABLE14-multiple-local-realms-20051208
Jeffrey Altman [Thu, 19 Mar 2009 03:44:59 +0000]
STABLE14-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.

(cherry picked from commit 544dedb6eddd353094a8c7d9b30d76b80f6d2a87)

11 years agoSTABLE14-linux-disable-readahad-20081108
Marc Dionne [Wed, 18 Mar 2009 12:57:09 +0000]
STABLE14-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.

(cherry picked from commit 18e78d91e78e541fce6c9295919946af0744aa7e)

11 years agoSTABLE14-configure-cpp-fallback-to-cc-E-20090317
Derrick Brashear [Tue, 17 Mar 2009 15:44:34 +0000]
STABLE14-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

(cherry picked from commit f26074cbde320fbc89da291e0aa243c2301bb599)

11 years agoSTABLE14-tests-update-20090316
Steven Jenkins [Tue, 17 Mar 2009 03:07:21 +0000]
STABLE14-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

(cherry picked from commit 8aa03f1168c19166333a47e88e667a8ca5138133)

11 years agoSTABLE14-gtx-x11-init-debug-20090316
Derrick Brashear [Tue, 17 Mar 2009 02:39:43 +0000]
STABLE14-gtx-x11-init-debug-20090316

LICENSE IPL10

initialize x11 version of gtx correctly

(cherry picked from commit e7b25342096994520b7cea8eab76791edc68b9aa)

11 years agoSTABLE14-man-page-vos-setfields-20090316
Jason Edgecombe [Tue, 17 Mar 2009 02:38:35 +0000]
STABLE14-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.

(cherry picked from commit 85bb464bb46cd87e10a90b75748e164ae683cba0)

11 years agoSTABLE14-ubik-phys-invalidate-returns-void-20090316
Derrick Brashear [Mon, 16 Mar 2009 13:46:22 +0000]
STABLE14-ubik-phys-invalidate-returns-void-20090316

LICENSE IPL10

if we're fixing it this way let's be consistent

11 years agoSTABLE14-viced-copyonwrite-optimization-20090315
Rainer Toebbicke [Sun, 15 Mar 2009 18:50:22 +0000]
STABLE14-viced-copyonwrite-optimization-20090315

LICENSE IPL10
FIXES 124397

optimize CopyOnWrite to avoid rewriting data if possible

(cherry picked from commit 0c39a855a2da7b3e82970c65f835eed38b650215)

11 years agoSTABLE14-cellservdb-proc-file-glocking-20090315
Chaskiel M Grundman [Sun, 15 Mar 2009 18:42:34 +0000]
STABLE14-cellservdb-proc-file-glocking-20090315

LICENSE IPL10
FIXES 124407

hold GLOCK appropriately when dealing with the proc file

(cherry picked from commit 6308037dec22d5a141fc64a11472b1a36585deb2)

11 years agoSTABLE14-viced-improve-host-hashing-20090315
Mike Meffie [Sun, 15 Mar 2009 18:31:03 +0000]
STABLE14-viced-improve-host-hashing-20090315

LICENSE IPL10
FIXES 124447

hash based on host byte order so intel machines aren't sad

(cherry picked from commit 5102d56f080f1284eecb94dbc7c06cb966c27f5b)

11 years agoSTABLE14-butc-xbsa-buffersize-20090315
Mike Meffie [Sun, 15 Mar 2009 18:19:37 +0000]
STABLE14-butc-xbsa-buffersize-20090315

LICENSE IPL10
FIXES 124425

restrict buffer size to allow for header space

(cherry picked from commit fd6d954e95e016a78001e9bc12c4646ba8183e12)

11 years agoSTABLE14-solaris-avoid-returning-einval-if-possible-20090315
Chaskiel M Grundman [Sun, 15 Mar 2009 18:13:55 +0000]
STABLE14-solaris-avoid-returning-einval-if-possible-20090315

LICENSE IPL10
FIXES 124426

if we have a better error code, return it.

(cherry picked from commit 22c5edb1b22dbeee28b569ceefb543ab5ffed929)

11 years agoSTABLE14-aklog-old-principal-conversion-sans-524-20090315
Derrick Brashear [Sun, 15 Mar 2009 18:02:52 +0000]
STABLE14-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

(cherry picked from commit fd9e5ffb4653b87f92438574083185a55086b661)

11 years agoSTABLE14-linux-vmtruncate-20090130
Simon Wilkinson [Thu, 12 Mar 2009 18:37:56 +0000]
STABLE14-linux-vmtruncate-20090130

LICENSE IPL10
FIXES 124128

use linux's vmtruncate feature instead of doing a somewhat-right internal version

(cherry picked from commit 175393288df30ca88178ee98cdfff364bffbabb7)

11 years agoSTABLE14-dumpcallbackstate-64bit-timet-safe-20090310
Matt Benjamin [Tue, 10 Mar 2009 19:21:34 +0000]
STABLE14-dumpcallbackstate-64bit-timet-safe-20090310

LICENSE IPL10
FIXES 124451

on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad

(cherry picked from commit 77452db304abfc6ad0139769034986dc8bf172d9)

11 years agoSTABLE14-avoid-blocking-with-connhashtable-lock-in-reapconnections-20090307
Jeffrey Altman [Sat, 7 Mar 2009 14:11:01 +0000]
STABLE14-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

(cherry picked from commit 581fd18bd9c3fe8e07169c60a7cde9e72e8af89c)

11 years agoSTABLE14-libafs-tree-clean-target-20090221
Russ Allbery [Sat, 21 Feb 2009 20:53:50 +0000]
STABLE14-libafs-tree-clean-target-20090221

LICENSE IPL10

Add clean and distclean targets to the libafs_tree Makefile, based on
suggestions by jhutz.

(cherry picked from commit f83cfcafcbec8a953161fad300073b85a4215a03)

11 years agoSTABLE14-linux-module-build-test-configure-fix-20090221
Mike Meffie [Sat, 21 Feb 2009 15:37:01 +0000]
STABLE14-linux-module-build-test-configure-fix-20090221

LICENSE IPL10
FIXES 124381

deal when the module link warning has extra characters

(cherry picked from commit 2290db5f160a0105005ec0787a002ce71629c3df)

11 years agoSTABLE14-vos-increment-offline-count-20090218
Peter Tripician [Wed, 18 Feb 2009 17:28:20 +0000]
STABLE14-vos-increment-offline-count-20090218

LICENSE IPL10
FIXES 124333

increment offline volume count, not pointer to it

(cherry picked from commit 733794b4d8be284dcb6f9e60fa4b4abe1f3398f2)

11 years agoSTABLE14-cyclic-library-dependency-20090217
Derrick Brashear [Tue, 17 Feb 2009 22:06:11 +0000]
STABLE14-cyclic-library-dependency-20090217

LICENSE IPL10
FIXES 124341

deal the way we do in other branches

11 years agoSTABLE14-vldb-check-no-bogus-shadow-decl-20090217
Derrick Brashear [Tue, 17 Feb 2009 14:34:41 +0000]
STABLE14-vldb-check-no-bogus-shadow-decl-20090217

LICENSE IPL10

unfussy compilers treat this as a shadow declare; others thankfully as an error

(cherry picked from commit da8df5ea2c9311c4e4b263fbdba3aea3141ef075)

11 years agoSTABLE14-aklog-524-vars-20090216
Derrick Brashear [Tue, 17 Feb 2009 14:28:12 +0000]
STABLE14-aklog-524-vars-20090216

LICENSE IPL10

add missing variables

(cherry picked from commit 8b74a85b977f379ea94cd01df3fcb553147a42dc)

11 years agoSTABLE14-vclosevnodefiles-ihandle-leak-20090216
Jeffrey Altman [Tue, 17 Feb 2009 04:37:59 +0000]
STABLE14-vclosevnodefiles-ihandle-leak-20090216

LICENSE IPL10
FIXES 124359

don't leak ihandles on close. this isn't a complete fix for the issue

(cherry picked from commit b9816e12f7ed8213c9c4eaea09e992e69ce4ee05)

11 years agoSTABLE14-bozo-corefile-timestamp-fix-20090216
Peter Tripician [Tue, 17 Feb 2009 04:32:30 +0000]
STABLE14-bozo-corefile-timestamp-fix-20090216

LICENSE IPL10
FIXES 124340

output y2k-correct corefile names

(cherry picked from commit 846919700b90b919d6a12102ae8c6d85ee36b83c)

11 years agoSTABLE14-aklog-use-native-principal-conversion-20090216
Evan Broder [Tue, 17 Feb 2009 04:29:24 +0000]
STABLE14-aklog-use-native-principal-conversion-20090216

LICENSE IPL10
FIXES 124338

use krb5_524_conv_principal instead of doing it potentially wrong ourselves

(cherry picked from commit b1f9b4cb5dd295162ae51704310e9d6058008f0a)

11 years agoSTABLE14-macos-10-6-support-20090216
Chas Williams [Tue, 17 Feb 2009 04:25:40 +0000]
STABLE14-macos-10-6-support-20090216

LICENSE IPL10
FIXES 124288

support for (32 bit) macos 10.6. no pam yet

(cherry picked from commit 8bc58a3d6dd531b55c405590e419d2ce4d74b5fc)

11 years agoSTABLE14-vldb-check-meaningful-return-codes-20090216
Steven Jenkins [Tue, 17 Feb 2009 04:17:22 +0000]
STABLE14-vldb-check-meaningful-return-codes-20090216

LICENSE IPL10
FIXES 124321

make vldb_check have meaningful return codes

(cherry picked from commit 43bcfaf9cc429cec51a98857d86d870c45759baa)

11 years agoSTABLE14-fs-lsm-parse-bug-20090226
Peter Tripician [Tue, 17 Feb 2009 03:59:53 +0000]
STABLE14-fs-lsm-parse-bug-20090226

LICENSE IPL10
FIXES 124319

print correct error on root directory

(cherry picked from commit 52f3295d32e3a72916ea1f99119967b7279f642a)

11 years agoSTABLE14-redhat-rpms-kernel24-20090216
Tony D'Amato [Tue, 17 Feb 2009 03:29:47 +0000]
STABLE14-redhat-rpms-kernel24-20090216

LICENSE IPL10
FIXES 102673

rewrite make rule for 2.4 kernels

(cherry picked from commit 4817a4a98fe9ccc61c90d8bbc769790ad067339b)

11 years agoSTABLE14-viced-avoid-infinite-loop-with-altaddr-unset-20080508
Jeffrey Altman [Tue, 17 Feb 2009 03:21:21 +0000]
STABLE14-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.

(cherry picked from commit e6c818f070022529c362e42dfed340f54b2fd26e)

11 years agoSTABLE14-viced-cleanup-old-addresses-as-they-become-invalid-20080225
Jeffrey Altman [Tue, 17 Feb 2009 03:18:05 +0000]
STABLE14-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

(cherry picked from commit 428cac5d6dfc287452af51c08eba0f0fca276864)

11 years agoSTABLE14-upclient-cleanup-temp-files-20090203
Mike Meffie [Tue, 3 Feb 2009 19:44:51 +0000]
STABLE14-upclient-cleanup-temp-files-20090203

LICENSE IPL10
FIXES 124221

remove tempfiles in the event of a fetching error

(cherry picked from commit 58a924fd50e96c827fc6dd3dcea48328b6abe4be)

11 years agoSTABLE14-redhat-packaging-updates-20090203
Simon Wilkinson [Tue, 3 Feb 2009 19:34:31 +0000]
STABLE14-redhat-packaging-updates-20090203

LICENSE IPL10
FIXES 124272

adds fc10, fc11 support

(cherry picked from commit fe3779411ea025d5ecf40687d5c21649e6daabdc)

11 years agoSTABLE14-man-page-salvager-fixes-20090201
Russ Allbery [Mon, 2 Feb 2009 01:23:16 +0000]
STABLE14-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.

(cherry picked from commit d4763404655e27098eb4340eca8777b63d8a5847)

11 years agoSTABLE14-man-page-vos-examine-copy-date-20090201
Russ Allbery [Mon, 2 Feb 2009 01:22:43 +0000]
STABLE14-man-page-vos-examine-copy-date-20090201

LICENSE BSD

Document the Copy field of vos examine output.

(cherry picked from commit f204e4e37f39fa15beabf68e68dce1f6425f7513)

11 years agoSTABLE14-vol-fsync-20090128
Jeffrey Altman [Wed, 28 Jan 2009 17:08:53 +0000]
STABLE14-vol-fsync-20090128

LICENSE IPL10

no unistd.h on windows

11 years agoSTABLE14-bcdb-listdumps-argument-fix-20090122
Derrick Brashear [Thu, 22 Jan 2009 19:33:26 +0000]
STABLE14-bcdb-listdumps-argument-fix-20090122

LICENSE IPL10

prototype caught this. oops.

(cherry picked from commit d6c5d0bbb09f84476d7928e62921a4aa01cd17ed)

11 years agoSTABLE14-man-page-pts-membership-fixes-20090119
Jason Edgecombe [Mon, 19 Jan 2009 23:05:07 +0000]
STABLE14-man-page-pts-membership-fixes-20090119

FIXES 124157
LICENSE BSD

More wording and typo fixes for the pts membership man page.

(cherry picked from commit 8c18c62dffa23557fb521950eede4252cdafc0b5)

11 years agoSTABLE14-linux-init-script-uses-bash-20090119
Derrick Brashear [Mon, 19 Jan 2009 20:54:01 +0000]
STABLE14-linux-init-script-uses-bash-20090119

LICENSE IPL10
FIXES 124056

note the script uses bash

(cherry picked from commit 5e1859a88e8133904f1315833c17851d7e6d10a4)

11 years agoSTABLE14-afs-q-improvements-20090119
Simon Wilkinson [Mon, 19 Jan 2009 19:27:19 +0000]
STABLE14-afs-q-improvements-20090119

LICENSE IPL10
FIXES 124134

simplify afs_q macros and allow further reuse in disconnected

(cherry picked from commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9)

11 years agoSTABLE14-rename-residency-from-mrafs-to-osd-20090119
Steven Jenkins [Mon, 19 Jan 2009 18:09:32 +0000]
STABLE14-rename-residency-from-mrafs-to-osd-20090119

LICENSE IPL10
FIXES 124130

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

(cherry picked from commit 92c7925b12d7b99e4ff044bc053330e77336a21a)

11 years agoSTABLE14-man-page-pts-membership-privilege-20090118
Russ Allbery [Mon, 19 Jan 2009 03:46:53 +0000]
STABLE14-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.

(cherry picked from commit d781450cf3c08bf89f3d1490620ed89885f7e518)

11 years agoSTABLE14-krb5-klog-link-rule-20090118
Derrick Brashear [Mon, 19 Jan 2009 03:25:48 +0000]
STABLE14-krb5-klog-link-rule-20090118

LICENSE IPL10

this was just wrong

(cherry picked from commit df71f42b637c5ef2aa266a709720b35e65b8e27f)

11 years agoSTABLE14-linux-2629-20090115
Marc Dionne [Thu, 15 Jan 2009 13:27:42 +0000]
STABLE14-linux-2629-20090115

LICENSE IPL10
FIXES 124115

add 2.6.29 support

(cherry picked from commit 24a5d12bae9a2af393f3641055893824c71a4712)

11 years agoSTABLE14-osi-probe-check-result-cope-with-enoent-20090115
Chaskiel M Grundman [Thu, 15 Jan 2009 13:13:21 +0000]
STABLE14-osi-probe-check-result-cope-with-enoent-20090115

LICENSE IPL10

in order for probing to work right

(cherry picked from commit 86225b60147d58ca71063a72be02236df1257407)

11 years agoSTABLE14-linux-truncate-cleanup-20090113
Simon Wilkinson [Tue, 13 Jan 2009 19:37:28 +0000]
STABLE14-linux-truncate-cleanup-20090113

LICENSE IPL10

fix the patch to actually be applicable

(cherry picked from commit e6d60f58e2a6b7ac9964cfb1ec753decd5d6ed91)

11 years agoSTABLE14-freebsd-cleanup-20090112
Matt Benjamin [Mon, 12 Jan 2009 14:33:37 +0000]
STABLE14-freebsd-cleanup-20090112

LICENSE IPL10
FIXES 124107

minor freebsd cleanup

(cherry picked from commit ba9556ff2bbf854bb5c05074032b94973bf339ec)

11 years agoSTABLE14-linux-i-size-20090112
Marc Dionne [Mon, 12 Jan 2009 14:19:29 +0000]
STABLE14-linux-i-size-20090112

LICENSE IPL10
FIXES 124106

use i_size_read macro correctly

(cherry picked from commit 45e808945627b36ab1dbb64b6fafa8ed7b1901b6)

11 years agoSTABLE14-libuafs-set-fileoffsetbits-20090112
Andrew Deason [Mon, 12 Jan 2009 14:12:03 +0000]
STABLE14-libuafs-set-fileoffsetbits-20090112

LICENSE IPL10
FIXES 124093

make libuafs work with things which expect to be able to use native file
sizes etc

(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)

11 years agoSTABLE14-fetch64-fstrace-typo-20090112
Rainer Toebbicke [Mon, 12 Jan 2009 13:24:37 +0000]
STABLE14-fetch64-fstrace-typo-20090112

LICENSE IPL10
FIXES 124113

move l to correct side of % for type printing

(cherry picked from commit d158ddb25c769d357d5f58acbd911ec7a7281343)

11 years agoSTABLE14-viced-callback-20090110
Jeffrey Altman [Sun, 11 Jan 2009 06:11:41 +0000]
STABLE14-viced-callback-20090110

LICENSE MIT
FIXES 124099

CB and FE point to one before the array.  Decrement them as needed
after the valid allocation check.

11 years agoSTABLE14-linux-truncate-race-20090109
Simon Wilkinson [Fri, 9 Jan 2009 15:09:33 +0000]
STABLE14-linux-truncate-race-20090109

LICENSE IPL10
FIXES 124094

avoid a race during truncation which trips an issue when fsx is run

(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)

11 years agoSTABLE14-ac-verbatim-include-undefs-20090109
Andrew Deason [Fri, 9 Jan 2009 14:51:07 +0000]
STABLE14-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.

(cherry picked from commit 2d07a62c38fea642d52c20ff86e8f72e3c16bbe0)

11 years agoSTABLE14-netrestrict-no-wildcard-20090106
Derrick Brashear [Tue, 6 Jan 2009 13:40:27 +0000]
STABLE14-netrestrict-no-wildcard-20090106

LICENSE IPL10

don't misadvertise network wildcard support

(cherry picked from commit 80fc888a9223050481de932233fe7121a48df194)

11 years agoSTABLE14-rx-do-not-race-current-packet-20090105
Jeffrey Altman [Mon, 5 Jan 2009 23:17:48 +0000]
STABLE14-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.

(cherry picked from commit 423ab97eee35f57beeb481cac2159d28dea20577)

11 years agoSTABLE14-libuafs-updates-20081229
Andrew Deason [Mon, 29 Dec 2008 21:26:24 +0000]
STABLE14-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)

(cherry picked from commit 3d44f93f9a0b1d2d4a07b58b3104420e9c138d12)

11 years agoSTABLE14-macos-103-fixes-20081229
Derrick Brashear [Mon, 29 Dec 2008 17:29:30 +0000]
STABLE14-macos-103-fixes-20081229

LICENSE IPL10

make macos 10.3 work again

(cherry picked from commit c11eb4c3336f66a3f0fd92c3df41eb9765de050c)

11 years agoSTABLE14-rx-rdwr-writeproc-race-20081228
Jeffrey Altman [Sun, 28 Dec 2008 21:08:13 +0000]
STABLE14-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.

(cherry picked from commit d0cc6eb2f5f0aea0a6ad88de2d847f93d07cc8b9)

11 years agoSTABLE14-solaris-largepartition-interface-20081222
Derrick Brashear [Mon, 22 Dec 2008 20:34:33 +0000]
STABLE14-solaris-largepartition-interface-20081222

LICENSE IPL10

add support for using statvfs64 on solaris

(cherry picked from commit 556b9780517376c688c965dd446506cac1a0353b)

11 years agoSTABLE14-ubik-serverinit-clones-correction-20081222
Derrick Brashear [Mon, 22 Dec 2008 19:23:31 +0000]
STABLE14-ubik-serverinit-clones-correction-20081222

LICENSE IPL10

as pointed out by Simon Wilkinson

(cherry picked from commit 72cb3a5f18f0483515dd82f8c851309003cf3a2f)

11 years agoSTABLE14-vol-dump-incr-largefile-support-20081222
Tom Kula [Mon, 22 Dec 2008 19:02:09 +0000]
STABLE14-vol-dump-incr-largefile-support-20081222

LICENSE IPL10
FIXES 123984

add large file support for >2gb dumps; add incremental support

(cherry picked from commit d2ae1c99523ac4150a0d5536593781dbccfc1408)