Commit Graph

208 Commits

Author SHA1 Message Date
Derrick Brashear
345ffd3735 STABLE14-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) w
ork around it.


(cherry picked from commit c761f24839)
2008-05-20 22:04:02 +00:00
Simon Wilkinson
2df69d3595 STABLE14-linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels


(cherry picked from commit 0caa578a05)
2008-04-19 22:56:06 +00:00
Marc Dionne
08c9069ac1 STABLE14-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


(cherry picked from commit c7ee4828e0)
2008-04-07 04:49:12 +00:00
Derrick Brashear
cb973c5a36 STABLE14-enable-linux-flock-20080324
LICENSE IPL10
FIXES 53457

enable flock again in 1.4; it's been on without complaint in 1.5 since the original ticket was filed
2008-03-24 20:46:40 +00:00
Chaskiel M Grundman
73681e858e STABLE14-hpux1123-sysname-detection-20080317
LICENSE IPL10
FIXES 89125

add the 11.23 sysname


(cherry picked from commit 7ffe6a97ff)
2008-03-17 18:08:00 +00:00
Derrick Brashear
1b065bec14 STABLE14-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?


(cherry picked from commit cadbebc2e5)
2008-03-10 19:05:28 +00:00
Simon Wilkinson
8b8c54b822 STABLE14-keyring-updated-20080310
LICENSE IPL10

revise keyring patch to avoid detection problems with keyring_type_key


(cherry picked from commit b7fb842b1c)
2008-03-10 16:48:55 +00:00
Simon Wilkinson
1243f7c981 STABLE14-configure-enable-warnings-20080228
LICENSE IPL10

add a switch to turn on warnings when using gcc


(cherry picked from commit 737c03a75c)
2008-02-29 15:28:31 +00:00
Simon Wilkinson
1c55ca9534 STABLE14-linux-keytype-exports-20080130
LICENSE IPL10

try to work even if key_type_keyring isn't exported


(cherry picked from commit 9751c68faa)
2008-01-30 17:30:55 +00:00
Derrick Brashear
cd14e748d0 STABLE14-revert-linux-2624-rc5-updates-20080127
LICENSE IPL10
FIXES 83716

the generic 2.6.24 patch should address all this.


(cherry picked from commit a0fd168db5)
2008-01-28 19:30:22 +00:00
Matt Benjamin
bf720401ff STABLE14-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]).


(cherry picked from commit 8569f67aee)
2008-01-10 18:50:16 +00:00
Derrick Brashear
55ae530857 STABLE14-emulate-vsyslog-20071213
LICENSE IPL10

aix 5.3 lacks vsyslog. the fixed buffer is poor, but...


(cherry picked from commit ea3d49eaea)
2007-12-13 22:43:55 +00:00
Tracy Di Marco White
cd98b2eb3b STABLE14-nbsd-new-version-20071201
LICENSE IPL10
FIXES 75602

add support for new version(s) of netbsd


(cherry picked from commit 1daa2c0b4f)
2007-12-01 05:44:28 +00:00
Marc Dionne
14e237cc30 STABLE14-linux-2624-20071123
FIXES 77370

support linux 2.6.24


(cherry picked from commit af7cf697ef)
2007-11-23 13:44:57 +00:00
Kevin McBride
4c23bb5984 STABLE14-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.


(cherry picked from commit 8593c52c27)
2007-11-12 18:31:17 +00:00
Anders Kaseorg
f033d8afb8 STABLE14-linux-splice-support-20071106
support splice in kernels new enough to support it (sendfile is deprecated)


(cherry picked from commit 1951d7d6c7)
2007-11-06 18:35:30 +00:00
Marc Dionne
328dd7b2dc STABLE14-linux-2623-support-20071004
FIXES 70773

update for support for 2.6.23


(cherry picked from commit 127cebfacd)
2007-10-15 13:42:20 +00:00
Marc Dionne
17fd18aaf2 STABLE14-linux-vfs-flush-3arg-20070612
FIXES 62203

3rd arg for passing lock owner id. add configure gunk also


(cherry picked from commit 6eabfbd4b9)
2007-06-12 19:35:44 +00:00
Marc Dionne
eb7a697c2e STABLE14-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


(cherry picked from commit 37a0b14e01)
2007-06-12 06:47:41 +00:00
Derrick Brashear
a6aed12083 STABLE14-linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now


(cherry picked from commit ad98eacdad)
2007-05-17 19:38:46 +00:00
Arkadi Shishlov
ecc37bec26 STABLE14-linux-sparc-arch-detection-20070517
FIXES 60288

use arch to figure out if we are sparc64


(cherry picked from commit 9352435f1c)
2007-05-17 07:52:52 +00:00
Derrick Brashear
64398b5b5c STABLE14-linux-posix-lock-file-has-wait-arg-now-20070517
FIXES 58590

hopefully this works, i can't actually try it now


(cherry picked from commit 59eb3de5ea)
2007-05-17 07:39:48 +00:00
Christopher Allen Wing
3320feb386 STABLE14-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.


(cherry picked from commit 2d18bd1777)
2007-04-18 19:27:46 +00:00
Marc Dionne
7410868846 STABLE14-linux-2621-20070222
FIXES 54645

configure support for new sysctl api


(cherry picked from commit f1a6107e08)
2007-02-22 21:48:58 +00:00
Derrick Brashear
ac0fd46881 STABLE14-disable-linux-flock-20070209
this needs more testing before we can run with it
2007-02-09 18:52:59 +00:00
Derrick Brashear
0b47a171a1 STABLE14-tasklist-export-check-20070208
work around tasklist lock export harder


(cherry picked from commit 00c5dbfd04)
2007-02-09 01:30:31 +00:00
Derrick Brashear
f8f7da2b3a STABLE14-use-unix-sockets-20070208
backport for 1.4.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.
====================


option to use unix socket for fssync


(cherry picked from commit a4d52ee772)
2007-02-08 23:59:47 +00:00
Jeffrey Hutzelman
34f2eabe3c STABLE14-linux-lock-tracking-20070208
FIXES 31818

avoid a potential leaked lock when closing firefox.


(cherry picked from commit b0425c4e7f)
2007-02-08 22:41:17 +00:00
Chaskiel M Grundman
936692ac34 STABLE14-linux-and-locks-cleanup-20070202
fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid useless panic


(cherry picked from commit fd1c37ebe7)
2007-02-03 03:25:15 +00:00
Jeffrey Hutzelman
735e23a121 STABLE14-linux-kbuild-test-fixes-20070119
fixes to build for linux when doing objdir builds


(cherry picked from commit c88ab63663)
2007-01-19 19:32:28 +00:00
Marcus Watts
620074b28e STABLE14-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.


(cherry picked from commit 182a18931a)
2007-01-04 22:25:55 +00:00
Dale Ghent
3dfc806c7f STABLE14-add-solaris-11-support-v2-20061228
FIXES 50343

initial 5.11 support


(cherry picked from commit a537d3ae96)
2006-12-28 21:59:37 +00:00
Marc Dionne
59b0d226ef STABLE14-linux-2620-rc1-update-20061228
FIXES 49890

updates for linux 2.6.20-rc1


(cherry picked from commit 064926fd1b)
2006-12-28 21:32:05 +00:00
Chas Williams
a5b6927d93 STABLE14-linux-blkbits-20061109
FIXES 42671

set blkbits if we have it


(cherry picked from commit 789bf060d2)
2006-11-10 00:08:50 +00:00
Marc Dionne
c606d83934 STABLE14-linux-statfs-dentry-20061109
FIXES 42788

statfs changed in recent linux kernels. cope.


(cherry picked from commit c12c958feb)
2006-11-09 23:41:52 +00:00
Chas Williams
c8497bf0e2 STABLE14-linux-config-h-died-20061109
FIXES 42662

config.h vanished. deal.


(cherry picked from commit ee8ae61a4d)
2006-11-09 23:14:24 +00:00
Tracy Di Marco White
5c983e6f7f STABLE14-netbsd-30-20061006
FIXES 40782

add support for netbsd 3.0, netbsd 4.0(ish)


(cherry picked from commit 04b51cc8df)
2006-10-06 15:57:11 +00:00
Chas Williams
12b4293efb STABLE14-linux-2619-aio-and-read-write-changes-20061006
changes to support 2.6.19


(cherry picked from commit 775ea6f1b7)
2006-10-06 14:30:54 +00:00
Chas Williams
f2bf7ba577 STABLE14-linux-i-blksize-test-20060919
this was missed in the configure test conversions


(cherry picked from commit 361751cbf4)
2006-09-19 23:23:00 +00:00
Derrick Brashear
59474c0831 STABLE14-namei-emulate-flock-20060913
FIXES 39797

lockf when not locking and unlocking the whole file is fraught with peril


(cherry picked from commit 1c8080fe9d)
2006-09-16 01:05:50 +00:00
Derrick Brashear
391a4843e1 STABLE14-suse-kernel-source-path-update-20060912
no one can ever agree on anything


(cherry picked from commit 94ff5651cb)
2006-09-12 19:58:42 +00:00
Marc Dionne
7a84e3b4fc STABLE14-get-sbdev-configure-test-20060828
FIXES 38736

the autoconf glue was missed before


(cherry picked from commit 7ee5149103)
2006-08-28 20:15:23 +00:00
Derrick Brashear
573357cc5c STABLE14-linux-gpl-only-tests-20060813
don't try to use gpl-only kernel symbols


(cherry picked from commit 3017c8dc54)
2006-08-14 23:13:58 +00:00
Chas Williams
dde2baa239 STABLE14-linux-keyring-pags-20060804
ok, well, first try


(cherry picked from commit 43f1bcf65a)
2006-08-14 23:09:30 +00:00
Chas Williams
fb8b12ed0d STABLE14-linux-kernel-updates-20060804
updates for new stuff in linux kernels


(cherry picked from commit a901d2b8ad)
2006-08-14 23:07:14 +00:00
Chas Williams
e5644ac186 STABLE14-linux-try-kbuild-20060804
FIXES 34561

the real reason i upgraded auto*


(cherry picked from commit 51799f7cc0)
2006-08-14 23:04:40 +00:00
Derrick Brashear
8fde8feb1c STABLE14-linux-updates-20060811
fix for current fc kernels, and clean up linux nfs translator
2006-08-11 22:43:33 +00:00
Chaskiel M Grundman
c9b812ccb3 STABLE14-openlog-consistency-20060607
open logs consistently so assert logging is appended


(cherry picked from commit ed9a218121)
2006-06-07 05:27:17 +00:00
Derrick Brashear
175ac3a96a STABLE14-build-system-updates-20060323
config.sub config.guess and some other scripting updates


(cherry picked from commit 5a1bd817b8)
2006-03-23 20:11:50 +00:00
Chas Williams
52e0966d0b STABLE14-linux-updates-20060309
FIXES 27589

update for new mutexes


(cherry picked from commit 6e7d51187c)
2006-03-09 21:41:51 +00:00