Commit Graph

4494 Commits

Author SHA1 Message Date
Felix Frank
3ef285cb11 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 5e0e1ea254)
2009-05-12 18:57:49 +00:00
Simon Wilkinson
a6403c0134 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 7d530b9080)
2009-05-11 16:14:39 +00:00
Simon Wilkinson
c88e2778d3 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.
2009-04-07 13:26:15 +00:00
Derrick Brashear
c6f0397608 STABLE14-openafs-1-4-10-20090406
LICENSE IPL10
FIXES 124514

make 1.4.10
2009-04-06 23:54:42 +00:00
Simon Wilkinson
363ddbae03 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 62bca1123f)
2009-04-06 23:53:16 +00:00
Simon Wilkinson
abb18010b2 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.
2009-04-06 23:50:44 +00:00
Simon Wilkinson
1f20b3208b STABLE14-linux-key-alloc-no-pointer-arith-20090404
LICENSE IPL10

make the key_alloc configure test work


(cherry picked from commit 4ecaeaac97)
2009-04-04 17:44:15 +00:00
Derrick Brashear
05fe1afff7 STABLE14-dynamic-vcache-no-printf-20090331
LICENSE IPL10

no printf in 1.4.9


(cherry picked from commit 84871adb4b)
2009-03-31 13:41:47 +00:00
Marc Dionne
761803469f STABLE14-linux-2630-maybe-20090331
LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released


(cherry picked from commit d0a166bdff)
2009-03-31 13:16:45 +00:00
Matt Benjamin
7e4acb69f7 STABLE14-obsd-44-20090327
LICENSE IPL10
FIXES 124541

update openbsd support
2009-03-27 15:55:43 +00:00
Mike Meffie
c7752ba0b1 STABLE14-uss-kvno-warning-fix-20090327
LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss


(cherry picked from commit a523710780)
2009-03-27 15:47:43 +00:00
Chaskiel M Grundman
0d4350cb4b 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 9243308990)
2009-03-27 15:45:49 +00:00
Garry Zacheiss
6e54eb9621 STABLE14-bucoord-update-kvno-check-20090327
LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere


(cherry picked from commit 3fcbdab188)
2009-03-27 13:46:13 +00:00
Derrick Brashear
d97c0328e8 STABLE14-return-values-missing-fix-20090326
LICENSE IPL10
FIXES 124194

add return values for functions missing them


(cherry picked from commit d4359ad72a)
2009-03-26 14:30:42 +00:00
Derrick Brashear
474f28c146 STABLE14-openafs-1-4-9pre2-20090325
LICENSE IPL10
FIXES 124514

with fileserver, client shutdown fixes. confirmed on 2.6.29
2009-03-25 20:32:14 +00:00
Chaskiel M Grundman
4ca1bd85c7 STABLE14-cbr-free-what-you-alloc-20090325
LICENSE IPL10
FIXES 124531

dequeue and free items as alloc'd


(cherry picked from commit 80494f5096)
2009-03-25 19:34:59 +00:00
Simon Wilkinson
4e351502a3 STABLE14-redhat-spec-update-20090325
LICENSE IPL10
FIXES 123650

install afszcm.cat, update CellServDB


(cherry picked from commit cc0922c26f)
2009-03-25 18:42:48 +00:00
Derrick Brashear
74b83cf30a STABLE14-undo-viced-copyonwrite-optimization-20090315
LICENSE IPL10

still issues with this
2009-03-25 13:07:27 +00:00
Derrick Brashear
14ba3153ef STABLE14-shutdown-vcache-avoid-null-deref-20090324
LICENSE IPL10

avoid potential null pointer deref at shutdown


(cherry picked from commit 4162ff9d4d)
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 ede1c215d1)
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 7a7b55658b)
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 4830a7c8d7)
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 39c4e32bf4)
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 c1d545dff6)
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 4398d6277d)
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 b1aaf822f5)
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 3e034dcb6c)
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 18da64a45c)
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 6ef7d7dfb8)
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 2d683a880b)
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 ef5f6f988c)
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 4eef62a2f2)
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 e59b81c984)
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 79d362c77c)
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 b7372c3e14)
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 bf9dc554b3)
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 544dedb6ed)
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 18e78d91e7)
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 f26074cbde)
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 8aa03f1168)
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 e7b2534209)
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 85bb464bb4)
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 0c39a855a2)
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 6308037dec)
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 5102d56f08)
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 fd6d954e95)
2009-03-15 18:19:37 +00:00