193 Commits

Author SHA1 Message Date
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
Jim Rees
bb0d0e7df0 fbsd-build-path-20051111
set default BSD_KERNEL_BUILD for FreeBSD >= 5.0.
2005-11-11 20:32:22 +00:00
Ervin Fenyak
cfa7b866c8 add-volupdate-counter-20051015
FIXES 18349

add a volume update counter. danger will robinson. see ticket for details.

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

add configure gunk

====================

add configure gunk

====================

make this happy in libadmin on e.g. solaris

====================

make this work on Windows
2005-10-23 20:05:40 +00:00
Derrick Brashear
0f422eae19 default-largefile-on-20051015
turn on largefile fileserver by default
2005-10-15 16:40:14 +00:00
Chas Williams
4f5ab395d6 darwin-x86-20051015
FIXES 20130

add support for x86 darwin
2005-10-15 15:42:17 +00:00
Tracy Di Marco White
1c990adad6 nbsd20-amd64-20051015
FIXES 21562

add amd64 netbsd 2.0 support
2005-10-15 15:16:07 +00:00
Derrick Brashear
bb33cbb6eb macos-rollup-20051013
incorporating STABLE14-macos104-20051005 STABLE14-macos-cleanup-20051006 macos-cleanup-20051006 macos-cleanup-20051007 from the 1.4.x branch, which needed to be forward-ported to work here, sadly.
2005-10-13 16:12:00 +00:00
Joe Buehler
aee18ed884 hpux-build-updates-20051002
FIXES 21722

ndir.h has been changed. also, pthreads header doesn't match how we used it
2005-10-03 03:44:42 +00:00
Jim Rees
cdb51cf261 automate-freebsd-systype-20050815
Determine freebsd systype automatically too.
Thanks to "Todd T. Fries" <todd@fries.net>
2005-08-15 21:36:53 +00:00
Todd Fries
8ea5ed2c2b auto-obsd-version-20050813
Determine openbsd version automatically.
2005-08-13 21:49:00 +00:00
Jim Rees
c8db31cc2b openbsd38-20050812
With thanks to "Todd T. Fries" <todd@fries.net>
OpenBSD 3.8.
Introduce HAVE_STRCASESTR.
2005-08-12 22:26:09 +00:00
Chas Williams
c9b0955360 refrigerator-20050809
FIXES 20728

refrigerator takes void starting in 2.6.13
2005-08-10 20:21:27 +00:00
Chas Williams
652f3bd9cb linux-dynamic-inodes-20050710
i slipped a rollback on the linux 2.4 dentry stuff for osi_UFS* in here
at the same time. this patch lets us use kernel inodes instead of our own pool.
2005-07-11 19:45:47 +00:00
Derrick Brashear
2695a18459 vos-ctime-help-20050705
FIXES 6031

kept looking at this backwards, fix is obvious
2005-07-07 02:31:05 +00:00
Derrick Brashear
dbd69d19e4 objdir-20050622
FIXES 19341

try harder to make builds work in cases where you're building into an alternate directory with old autoconf (mkdir vs mkdir -p)
2005-06-22 18:35:20 +00:00
Ken Hornstein
bcdb5a184e more-aklog-fixes-20050618
Fixup aklog so it will compile (at least on MacOS X).  Include basic
autoconf glue.
2005-06-19 02:06:21 +00:00