208 Commits

Author SHA1 Message Date
Simon Wilkinson
f5dcf2aa13 DEVEL15-linux-keytype-exports-20080130
LICENSE IPL10

try to work even if key_type_keyring isn't exported


(cherry picked from commit 9751c68faaff4ab5e4fae7aaad082073ca4daebf)
2008-01-30 17:30:38 +00:00
Derrick Brashear
c2243623e4 DEVEL15-revert-linux-2624-rc5-updates-20080127
LICENSE IPL10
FIXES 83716

the generic 2.6.24 patch should address all this.


(cherry picked from commit a0fd168db5e24fca5f08ccf67d53f58c6f05fa35)
2008-01-28 19:30:06 +00:00
Matt Benjamin
6434311442 DEVEL15-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 8569f67aee8ee0de26259397818ab3af69f18007)
2008-01-10 17:00:16 +00:00
Derrick Brashear
6337cbab32 DEVEL15-emulate-vsyslog-20071213
LICENSE IPL10

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


(cherry picked from commit ea3d49eaea3d825e5b328e0fbb4382fe5b0249cd)
2007-12-13 22:41:53 +00:00
Tracy Di Marco White
69e90d92fe DEVEL15-nbsd-new-version-20071201
LICENSE IPL10
FIXES 75602

add support for new version(s) of netbsd


(cherry picked from commit 1daa2c0b4fd25f959f6436a9d9eb9a45b7cab379)
2007-12-01 05:42:42 +00:00
Marc Dionne
edd56e701a DEVEL15-linux-2624-20071123
FIXES 77370

support linux 2.6.24


(cherry picked from commit af7cf697ef8c0a416251d3fbfd516738e14c290b)
2007-11-23 13:40:36 +00:00
Kevin McBride
bddb2fcf69 DEVEL15-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 8593c52c2787587110865287937750e51c48afa5)
2007-11-12 18:28:30 +00:00
Anders Kaseorg
b6899bf362 DEVEL15-linux-splice-support-20071106
support splice in kernels new enough to support it (sendfile is deprecated)


(cherry picked from commit 1951d7d6c773aead0ea6e9d120e23d15fee4a29f)
2007-11-06 18:32:37 +00:00
Simon Wilkinson
d063e4b7ef DEVEL15-linux-nfstrans-20071024
FIXES 75233

better track changes so we can build an nfstranslator module for new linux kernels


(cherry picked from commit d78b844133549b530273fc7ad1ea376d582985d9)
2007-10-24 16:45:01 +00:00
Simon Wilkinson
638bdf7e80 DEVEL15-fssync-poll-interface-20071022
FIXES 74708

support a poll interface

otherwise, the fd setsize can screw with us


(cherry picked from commit d0285a2193de9868024eb0f432a495bd1802663f)
2007-10-22 18:29:49 +00:00
Marc Dionne
72f790f180 DEVEL15-linux-2623-support-20071004
FIXES 70773

update for support for 2.6.23


(cherry picked from commit 127cebfacdaf84292fc1ecfd64c0e8d259aba474)
2007-10-05 04:09:55 +00:00
Marc Dionne
2cd9c5f158 DEVEL15-linux-vfs-flush-3arg-20070612
FIXES 62203

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


(cherry picked from commit 6eabfbd4b969d9efcc1eef646899af28a5077f0f)
2007-06-12 19:34:16 +00:00
Marc Dionne
db8553387d DEVEL15-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 37a0b14e016af74176d714cc1b25a2af00275d56)
2007-06-12 06:44:00 +00:00
Derrick Brashear
4e0f39a9fb DEVEL15-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 ad98eacdadf6b9e079d1606f40cfc352450650a1)
2007-05-17 19:36:01 +00:00
Arkadi Shishlov
31cee4f0ae DEVEL15-linux-sparc-arch-detection-20070517
FIXES 60288

use arch to figure out if we are sparc64


(cherry picked from commit 9352435f1c128ee011fc820e41c6fba508d141dd)
2007-05-17 07:51:27 +00:00
Derrick Brashear
4bbb0d3295 DEVEL15-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 59eb3de5ea3bc9588c91d3f2dbb6a598fa56ad43)
2007-05-17 07:36:42 +00:00
Christopher Allen Wing
607b35e6df DEVEL15-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 2d18bd1777b8d18a3b855685928dcdafcbe609b8)
2007-04-18 19:19:59 +00:00
Marc Dionne
473e3fcf46 DEVEL15-linux-2621-20070222
FIXES 54645

configure support for new sysctl api


(cherry picked from commit f1a6107e0814d1e3e1d171834c97489479b5e6df)
2007-02-22 21:47:23 +00:00
Jeffrey Hutzelman
5995ddd44e DEVEL15-linux-kbuild-test-fixes-20070119
fixes to build for linux when doing objdir builds


(cherry picked from commit c88ab63663319035d88dfceb9778b98553a091b5)
2007-02-09 18:22:48 +00:00
Derrick Brashear
bc245e4897 DEVEL15-tasklist-export-check-20070208
work around tasklist lock export harder


(cherry picked from commit 00c5dbfd048e31a653de0e1cf37d45d539e0c755)
2007-02-09 01:30:14 +00:00
Derrick Brashear
64f1cba2a9 DEVEL15-use-unix-sockets-20070208
option to use unix socket for fssync


(cherry picked from commit a4d52ee772a84212911c52f5d79dd4f02b9a8b2a)
2007-02-08 23:59:32 +00:00
Jeffrey Hutzelman
751c9aa7c1 DEVEL15-linux-lock-tracking-20070208
FIXES 31818

avoid a potential leaked lock when closing firefox.


(cherry picked from commit b0425c4e7f65c00fe217d7c54d309bceac9b38d5)
2007-02-08 22:39:29 +00:00
Chaskiel M Grundman
85d98e779f DEVEL15-linux-and-locks-cleanup-20070202
fix linux flock, remove a bogus lock assert, and fix pid tracking to avoid usele
ss panic


(cherry picked from commit fd1c37ebe7f5fb2ed52371705aaf1efc7764c7eb)
2007-02-03 03:28:02 +00:00
Marcus Watts
3458f6630e DEVEL15-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 182a18931a3fc696a53288dbd6fcf04e109f785b)
2007-01-04 22:05:29 +00:00
Dale Ghent
a81eb33275 DEVEL15-add-solaris-11-support-v2-20061228
FIXES 50343

initial 5.11 support


(cherry picked from commit a537d3ae9621ade7d03f289980eb340e435c0d8a)
2006-12-28 22:02:14 +00:00
Marc Dionne
41898994d5 DEVEL15-linux-2620-rc1-update-20061228
FIXES 49890

updates for linux 2.6.20-rc1


(cherry picked from commit 064926fd1b664b143e1389516c63bacb124b5f9f)
2006-12-28 21:30:25 +00:00
Chas Williams
81aeb742ff DEVEL15-linux-blkbits-20061109
FIXES 42671

set blkbits if we have it


(cherry picked from commit 789bf060d28465edc996b07b7f4bc21fc051515d)
2006-11-10 00:11:01 +00:00
Marc Dionne
00363f6fff DEVEL15-linux-statfs-dentry-20061109
FIXES 42788

statfs changed in recent linux kernels. cope.


(cherry picked from commit c12c958febfd6f7667345baec164b617f44f8bb9)
2006-11-09 23:43:29 +00:00
Chas Williams
20da36bd97 DEVEL15-linux-config-h-died-20061109
FIXES 42662

config.h vanished. deal.


(cherry picked from commit ee8ae61a4d9610fea16473d87b471cd4fc128804)
2006-11-09 23:18:45 +00:00
Tracy Di Marco White
9aade56ceb DEVEL15-netbsd-30-20061006
FIXES 40782

add support for netbsd 3.0, netbsd 4.0(ish)


(cherry picked from commit 04b51cc8df7a3210ea18228743cb156c0e2c7115)
2006-10-06 15:58:47 +00:00
Chas Williams
5f9efaeebf DEVEL15-linux-2619-aio-and-read-write-changes-20061006
changes to support 2.6.19


(cherry picked from commit 775ea6f1b79b0e0e2b700e3894e01279e26ebbfa)
2006-10-06 14:29:14 +00:00
Chas Williams
b15bafceea DEVEL15-linux-i-blksize-test-20060919
this was missed in the configure test conversions


(cherry picked from commit 361751cbf4b0cfef9a738cfcfbbd589eee621ade)
2006-09-20 00:28:24 +00:00
Derrick Brashear
2b4539c011 DEVEL15-namei-emulate-flock-20060913
FIXES 39797

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


(cherry picked from commit 1c8080fe9dcb3713bf1231cf4b455e80c6f0c697)
2006-09-16 01:08:59 +00:00
Derrick Brashear
4f56ce32e5 DEVEL15-suse-kernel-source-path-update-20060912
no one can ever agree on anything


(cherry picked from commit 94ff5651cb84a26ab931626392908684fae913f3)
2006-09-12 20:00:09 +00:00
Marc Dionne
cdaff8453d DEVEL15-get-sbdev-configure-test-20060828
FIXES 38736

the autoconf glue was missed before


(cherry picked from commit 7ee51491035be767fc0e9d72a8471179b9874127)
2006-08-28 20:16:44 +00:00
Derrick Brashear
55778135c2 DEVEL15-linux-gpl-only-tests-20060813
don't try to use gpl-only kernel symbols


(cherry picked from commit 3017c8dc541afbaed68f9399c348bbdfa7529f9b)
2006-08-13 17:48:12 +00:00
Derrick Brashear
1fe458a41d DEVEL15-linux-updates-20060811
fix for current fc kernels, and clean up linux nfs translator


(cherry picked from commit 7c76320e8b0bf49954f5b6f231305e36b7bc4edb)
2006-08-13 05:53:27 +00:00
Chas Williams
6f7f147430 DEVEL15-linux-keyring-pags-20060804
ok, well, first try


(cherry picked from commit 43f1bcf65ae1f75694510524d9cb2d8fffcc5992)
2006-08-04 16:57:53 +00:00
Chas Williams
73902c4a3b DEVEL15-linux-kernel-updates-20060804
updates for new stuff in linux kernels


(cherry picked from commit a901d2b8ad9cfb3060b7824179b92b16e5f3dd14)
2006-08-04 16:56:33 +00:00
Chas Williams
b5d380bac6 DEVEL15-linux-try-kbuild-20060804
FIXES 34561

the real reason i upgraded auto*


(cherry picked from commit 51799f7cc0337e6ecc7892be7b8700737712b5e5)
2006-08-04 16:45:29 +00:00
Chaskiel M Grundman
7a3d70f177 DEVEL15-openlog-consistency-20060607
open logs consistently so assert logging is appended


(cherry picked from commit ed9a2181217f19b7ddbfe28118f6fb2f700b08ad)
2006-06-07 05:28:57 +00:00
Christof Hanke
811b7f89e8 pam-configure-optmz-20060426
FIXES 30659

get rid of hardcoded optimize flags
2006-04-26 16:36:21 +00:00
Derrick Brashear
5a1bd817b8 build-system-updates-20060323
config.sub config.guess and some other scripting updates
2006-04-05 01:11:15 +00:00
Pedro Perez
3f061cc2c3 configure-help-clarity-20060319
Change "AFSDB RR" to "AFSDB DNS RR" for people who don't speak DNS.
2006-03-20 04:45:06 +00:00
Tom Keiser
51ec267011 dafs-20060317
FIXES 26648

demand attach/fast restart fileserver
2006-03-17 19:54:26 +00:00
Jim Rees
d451a366fb openbsd39-20060309
Changes for OpenBSD 3.8 and 3.9.
Based on ports by ober@linbsd.org and todd@fries.net.
Untested.
2006-03-09 15:27:17 +00:00
Ed Moy
9f94892f8d darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard
2006-03-09 06:35:14 +00:00
Chas Williams
6e7d51187c linux-updates-20060309
FIXES 27590

add missing variable test

====================
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.
====================
FIXES 27589

update for new mutexes
2006-03-09 06:05:46 +00:00
Derrick Brashear
21e0734259 linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem

====================
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.
====================

make i_sem become i_mutex
2006-02-15 21:01:49 +00:00
Jim Rees
5790bf7cd0 host-cpu-20060120
Introduce @HOST_CPU@ and use it to find correct headers for FreeBSD build.
2006-01-20 16:40:24 +00:00