186 Commits

Author SHA1 Message Date
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 2d18bd1777b8d18a3b855685928dcdafcbe609b8)
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 f1a6107e0814d1e3e1d171834c97489479b5e6df)
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 00c5dbfd048e31a653de0e1cf37d45d539e0c755)
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 a4d52ee772a84212911c52f5d79dd4f02b9a8b2a)
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 b0425c4e7f65c00fe217d7c54d309bceac9b38d5)
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 fd1c37ebe7f5fb2ed52371705aaf1efc7764c7eb)
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 c88ab63663319035d88dfceb9778b98553a091b5)
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 182a18931a3fc696a53288dbd6fcf04e109f785b)
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 a537d3ae9621ade7d03f289980eb340e435c0d8a)
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 064926fd1b664b143e1389516c63bacb124b5f9f)
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 789bf060d28465edc996b07b7f4bc21fc051515d)
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 c12c958febfd6f7667345baec164b617f44f8bb9)
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 ee8ae61a4d9610fea16473d87b471cd4fc128804)
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 04b51cc8df7a3210ea18228743cb156c0e2c7115)
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 775ea6f1b79b0e0e2b700e3894e01279e26ebbfa)
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 361751cbf4b0cfef9a738cfcfbbd589eee621ade)
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 1c8080fe9dcb3713bf1231cf4b455e80c6f0c697)
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 94ff5651cb84a26ab931626392908684fae913f3)
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 7ee51491035be767fc0e9d72a8471179b9874127)
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 3017c8dc541afbaed68f9399c348bbdfa7529f9b)
2006-08-14 23:13:58 +00:00
Chas Williams
dde2baa239 STABLE14-linux-keyring-pags-20060804
ok, well, first try


(cherry picked from commit 43f1bcf65ae1f75694510524d9cb2d8fffcc5992)
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 a901d2b8ad9cfb3060b7824179b92b16e5f3dd14)
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 51799f7cc0337e6ecc7892be7b8700737712b5e5)
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 ed9a2181217f19b7ddbfe28118f6fb2f700b08ad)
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 5a1bd817b82ad613b1b63738dfa4a08746531a96)
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 6e7d51187c881e6a785b88ccddbb083e52d58448)
2006-03-09 21:41:51 +00:00
Ed Moy
9ef1c3325e STABLE14-darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard

RCS file: /cvs/openafs/src/vol/Attic/fstab.c,v
Working file: src/vol/fstab.c
head: 1.6
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 8;	selected revisions: 0
description:


(cherry picked from commit 9f94892f8d996a522e7801ef6088a13769bee7c2)
2006-03-09 06:41:31 +00:00
Derrick Brashear
1dcab82cdb STABLE14-linux-inode-i-mutex-20060214
new (2.6.16) kernerls have i_mutex instead of i_sem
2006-02-15 00:32:52 +00:00
Chas Williams
92fe9738f0 STABLE14-darwin-x86-20051015
FIXES 20130

add support for x86 darwin
2005-10-21 05:48:39 +00:00
Derrick Brashear
fbf16a7206 STABLE14-default-largefile-on-20051015
turn on largefile fileserver by default


(cherry picked from commit 0f422eae1934a55e666c2f4d8968713fd02ad5f0)
2005-10-15 16:41:17 +00:00
Tracy Di Marco White
1f366383c0 STABLE14-nbsd20-amd64-20051015
FIXES 21562

add amd64 netbsd 2.0 support


(cherry picked from commit 1c990adad6b654170849ccdaa1e5476d6caba9b4)
2005-10-15 15:17:47 +00:00
Jim Rees
8835916d5e STABLE14-automate-freebsd-systype-20050815
Determine freebsd systype automatically too.
Thanks to "Todd T. Fries" <todd@fries.net>


(cherry picked from commit cdb51cf26196ffc2f7a2c2090c73f7b0892ab119)
2005-10-13 18:56:50 +00:00
Todd Fries
0db58d8ed6 STABLE14-auto-obsd-version-20050813
Determine openbsd version automatically.


(cherry picked from commit 8ea5ed2c2b7d5ac5f66eaef5f8b615812aa69601)
2005-10-13 18:55:49 +00:00
Jim Rees
563f1ed734 STABLE14-openbsd38-20050812
With thanks to "Todd T. Fries" <todd@fries.net>
OpenBSD 3.8.
Introduce HAVE_STRCASESTR.


(cherry picked from commit c8db31cc2bf9b59d8b8cf7e5310079ff6c9e4a96)
2005-10-13 18:55:32 +00:00
Derrick Brashear
3a6fb939c8 STABLE14-macos-rollup-20051013
update sysname foo


(cherry picked from commit bb33cbb6eb15664ff56ec5e93d95888878af3d7a)
2005-10-13 18:51:37 +00:00
Derrick Brashear
74ed54fcf4 STABLE14-macos-cleanup-20051006
minor cleanup to get things working from the merge

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

remaining bits to make this build

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

add missing installer files
2005-10-07 00:38:13 +00:00
Joe Buehler
cb2c1d953e STABLE14-hpux-build-updates-20051002
FIXES 21722

ndir.h has been changed. also, pthreads header doesn't match how we used it


(cherry picked from commit aee18ed884d2af05174594120ba1825bfe76c96a)
2005-10-03 03:46:29 +00:00
Chas Williams
db74ba09fb STABLE14-refrigerator-20050809
FIXES 20728

refrigerator takes void starting in 2.6.13


(cherry picked from commit c9b0955360b34ab1f8775c5ccc55e77037e0d312)
2005-08-10 20:23:17 +00:00
Chas Williams
b2abbb4a31 STABLE14-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.


(cherry picked from commit 652f3bd9cb7a5d7833a760ba50ef7c2c67214bba)
2005-07-11 20:29:54 +00:00
Derrick Brashear
8facb0b52c STABLE14-vos-ctime-help-20050705
FIXES 6031

kept looking at this backwards, fix is obvious


(cherry picked from commit 2695a18459c3f5294a6de2cd2d13d725d61840e9)
2005-07-11 20:10:33 +00:00
Derrick Brashear
5875140026 STABLE14-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)


(cherry picked from commit dbd69d19e43ecdb74be531ab847c8aba48c025d3)
2005-06-22 18:37:25 +00:00
Ken Hornstein
c5894fcfdc STABLE14-more-aklog-fixes-20050618
Fixup aklog so it will compile (at least on MacOS X).  Include basic
autoconf glue.


(cherry picked from commit bcdb5a184ee597244fe1c7a8c708ee6bf796d07a)
2005-06-21 21:20:20 +00:00
Jim Rees
0a6a25d99c STABLE14-use-test-r-20050531
Use "test -r" instead of "test -e".  Not all systems (Solaris) have -e.


(cherry picked from commit 1ceb19954b0b4bfca3d500803649debc0e9c001a)
2005-06-05 16:39:55 +00:00
Tracy Di Marco White
f2fe2ca70d STABLE14-netbsd-399-20050601
FIXES 18288

add support for netbsd 3.99


(cherry picked from commit 9e110558c26b1f3b4c3f96fa9c4b3c1cb9e60dd7)
2005-06-02 05:28:10 +00:00
Jim Rees
470b060085 STABLE14-bsd-config-20050520
config stuff for OpenBSD 3.7, FreeBSD 5.4 and 6.0


(cherry picked from commit 4e6733a0520bc0221bdda085ffa83bd23463a599)
2005-05-23 22:17:40 +00:00
Christopher Allen Wing
a08fd215db STABLE14-linux-proc-read-seq-file-20050508
FIXES 18612

use sequenced file interface for proc copy of CellServDB


(cherry picked from commit ccdab705071cf7ab1a508b06bf09b472806a8b1f)
2005-05-23 22:17:18 +00:00
Chaskiel M Grundman
c7e260ef0d STABLE14-add-missing-inotify-test-20050424
so we actually detect the inotify sem


(cherry picked from commit 9213494ea84370f095d1d43e81b78fa11e5529e7)
2005-04-24 15:55:15 +00:00
Christopher Allen Wing
5d7ea6cf9d STABLE14-use-daemon-in-bosserver-and-afsd-20050424
provide daemon() if none exists. call it in bosserver and in afsd for afsdb handler

====================
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 the file, too


(cherry picked from commit 21610a43f7bd4a0f1df1c1184308c04b26d77785)
2005-04-24 15:27:52 +00:00