4476 Commits

Author SHA1 Message Date
Derrick Brashear
14ba3153ef STABLE14-shutdown-vcache-avoid-null-deref-20090324
LICENSE IPL10

avoid potential null pointer deref at shutdown


(cherry picked from commit 4162ff9d4d733afc788b3c002adc57aac78a3282)
2009-03-24 22:40:25 +00:00
Derrick Brashear
68b9157a06 STABLE14-viced-threadnum-return-cast-20090323
LICENSE IPL10

cast return type from threadNum


(cherry picked from commit ede1c215d16d394fcd0afb7aacd827680be56cf6)
openafs-stable-1_4_9pre1
2009-03-24 03:44:36 +00:00
Derrick Brashear
d985860844 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)
2009-03-23 18:47:03 +00:00
Derrick Brashear
26a55d03fb STABLE14-openafs-1-4-9pre1-20090323
LICENSE IPL10
FIXES 124514

make 1.4.9pre1
2009-03-23 18:23:18 +00:00
Derrick Brashear
237f1e3184 STABLE14-volid-cast-unsigned-int32-20090323
LICENSE IPL10
FIXES 124510

deal with the problem in 1.4.x by casting
2009-03-23 18:19:55 +00:00
Derrick Brashear
aa84f53d3e STABLE14-linux-task-becomes-task-struct-20090323
LICENSE IPL10

struct task->struct task_struct. configure needs to cope


(cherry picked from commit 4830a7c8d79c72dcd5d8ce4bab6b8c0a8b249d96)
2009-03-23 15:16:59 +00:00
Derrick Brashear
a23c5dd82d 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)
2009-03-21 16:30:15 +00:00
Derrick Brashear
3b5c49eb6c 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)
2009-03-21 15:49:33 +00:00
Derrick Brashear
f5372f5137 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)
2009-03-21 15:46:07 +00:00
Derrick Brashear
5f3925923e STABLE14-update-config-guess-20090321
LICENSE IPL10

update from upstream


(cherry picked from commit b1aaf822f558236b91e543f03bcf159db1054c0b)
2009-03-21 15:08:01 +00:00
Derrick Brashear
f3933e252b STABLE14-aix51-pag-header-20090320
LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2


(cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd)
2009-03-20 22:45:35 +00:00
Chaskiel M Grundman
ac3904ad9b 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)
2009-03-20 15:55:57 +00:00
Derrick Brashear
8aab951ecb STABLE14-dyn-vcache-shake-needs-exporting-20090320
LICENSE IPL10

update to export shakeloosevcaches


(cherry picked from commit 6ef7d7dfb8caf4a555c2de480037769783cbe88e)
2009-03-20 15:05:09 +00:00
Derrick Brashear
2cba971320 STABLE14-socklen-t-check-20090316
LICENSE IPL10

verify we have socklen_t and if not, get it


(cherry picked from commit 2d683a880bf5f30db22862f0f6add14142dbcf9a)
2009-03-20 13:53:09 +00:00
Derrick Brashear
ddc5ad3763 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)
2009-03-20 03:49:16 +00:00
Derrick Brashear
e538a7d31c STABLE14-param-file-64-bit-scalar-updates-20090319
LICENSE IPL10

64 bit scalar type availability


(cherry picked from commit 4eef62a2f29d81d4fd8c3d28beb0403499f9802e)
2009-03-20 03:12:39 +00:00
Derrick Brashear
157e3374bb 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)
2009-03-20 02:32:56 +00:00
Derrick Brashear
d6fc723d56 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)
2009-03-19 20:13:23 +00:00
Derrick Brashear
27376322fb STABLE14-solaris-vnode-path-cache-cleanup-20090317
LICENSE IPL10

declare needed variables everywhere


(cherry picked from commit b7372c3e1473ffcd4ab13451d3861103b51df3af)
2009-03-19 19:30:28 +00:00
Derrick Brashear
b6213311fb STABLE14-linux24-fixes-20090318
LICENSE IPL10

no backing_dev_info on 2.4
2009-03-19 04:54:50 +00:00
Marc Dionne
f495ff4e85 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)
2009-03-19 04:02:53 +00:00
Jeffrey Altman
59155ddc25 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)
2009-03-19 03:44:59 +00:00
Marc Dionne
0dc296c6c3 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)
2009-03-18 12:57:09 +00:00
Derrick Brashear
e7176d4827 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)
2009-03-17 15:44:34 +00:00
Steven Jenkins
7c130366b6 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)
2009-03-17 03:07:21 +00:00
Derrick Brashear
07889ef0db STABLE14-gtx-x11-init-debug-20090316
LICENSE IPL10

initialize x11 version of gtx correctly


(cherry picked from commit e7b25342096994520b7cea8eab76791edc68b9aa)
2009-03-17 02:39:43 +00:00
Jason Edgecombe
b4070fe233 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)
2009-03-17 02:38:35 +00:00
Derrick Brashear
33afbdac88 STABLE14-ubik-phys-invalidate-returns-void-20090316
LICENSE IPL10

if we're fixing it this way let's be consistent
2009-03-16 13:46:22 +00:00
Rainer Toebbicke
66f6c57f31 STABLE14-viced-copyonwrite-optimization-20090315
LICENSE IPL10
FIXES 124397

optimize CopyOnWrite to avoid rewriting data if possible


(cherry picked from commit 0c39a855a2da7b3e82970c65f835eed38b650215)
2009-03-15 18:50:22 +00:00
Chaskiel M Grundman
47cbe90691 STABLE14-cellservdb-proc-file-glocking-20090315
LICENSE IPL10
FIXES 124407

hold GLOCK appropriately when dealing with the proc file


(cherry picked from commit 6308037dec22d5a141fc64a11472b1a36585deb2)
2009-03-15 18:42:34 +00:00
Mike Meffie
05d338ccd9 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)
2009-03-15 18:31:03 +00:00
Mike Meffie
027e968221 STABLE14-butc-xbsa-buffersize-20090315
LICENSE IPL10
FIXES 124425

restrict buffer size to allow for header space


(cherry picked from commit fd6d954e95e016a78001e9bc12c4646ba8183e12)
2009-03-15 18:19:37 +00:00
Chaskiel M Grundman
c943130b7f 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)
2009-03-15 18:13:55 +00:00
Derrick Brashear
3f4db030a6 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)
2009-03-15 18:02:52 +00:00
Simon Wilkinson
bda95331a7 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)
2009-03-12 18:37:56 +00:00
Matt Benjamin
b752ace969 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)
2009-03-10 19:21:34 +00:00
Jeffrey Altman
46b8dc55c7 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)
2009-03-07 14:11:01 +00:00
Russ Allbery
5bee49d05c 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)
2009-02-21 20:53:50 +00:00
Mike Meffie
aa53855bce 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)
2009-02-21 15:37:01 +00:00
Peter Tripician
455c7720db STABLE14-vos-increment-offline-count-20090218
LICENSE IPL10
FIXES 124333

increment offline volume count, not pointer to it


(cherry picked from commit 733794b4d8be284dcb6f9e60fa4b4abe1f3398f2)
2009-02-18 17:28:20 +00:00
Derrick Brashear
82c72b2472 STABLE14-cyclic-library-dependency-20090217
LICENSE IPL10
FIXES 124341

deal the way we do in other branches
2009-02-17 22:06:11 +00:00
Derrick Brashear
072d15cc10 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)
2009-02-17 14:34:41 +00:00
Derrick Brashear
50f89cbc54 STABLE14-aklog-524-vars-20090216
LICENSE IPL10

add missing variables


(cherry picked from commit 8b74a85b977f379ea94cd01df3fcb553147a42dc)
2009-02-17 14:28:12 +00:00
Jeffrey Altman
fcdedef79e 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)
2009-02-17 04:37:59 +00:00
Peter Tripician
d88f438179 STABLE14-bozo-corefile-timestamp-fix-20090216
LICENSE IPL10
FIXES 124340

output y2k-correct corefile names


(cherry picked from commit 846919700b90b919d6a12102ae8c6d85ee36b83c)
2009-02-17 04:32:30 +00:00
Evan Broder
cb58c1629a 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)
2009-02-17 04:29:24 +00:00
Chas Williams
886f31052a 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)
2009-02-17 04:25:40 +00:00
Steven Jenkins
4f81e0be85 STABLE14-vldb-check-meaningful-return-codes-20090216
LICENSE IPL10
FIXES 124321

make vldb_check have meaningful return codes


(cherry picked from commit 43bcfaf9cc429cec51a98857d86d870c45759baa)
2009-02-17 04:17:22 +00:00
Peter Tripician
4007abe99c STABLE14-fs-lsm-parse-bug-20090226
LICENSE IPL10
FIXES 124319

print correct error on root directory


(cherry picked from commit 52f3295d32e3a72916ea1f99119967b7279f642a)
2009-02-17 03:59:53 +00:00
Tony D'Amato
c8fd523094 STABLE14-redhat-rpms-kernel24-20090216
LICENSE IPL10
FIXES 102673

rewrite make rule for 2.4 kernels


(cherry picked from commit 4817a4a98fe9ccc61c90d8bbc769790ad067339b)
2009-02-17 03:29:47 +00:00