4453 Commits

Author SHA1 Message Date
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 f26074cbde320fbc89da291e0aa243c2301bb599)
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 8aa03f1168c19166333a47e88e667a8ca5138133)
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 e7b25342096994520b7cea8eab76791edc68b9aa)
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 85bb464bb46cd87e10a90b75748e164ae683cba0)
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 0c39a855a2da7b3e82970c65f835eed38b650215)
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 6308037dec22d5a141fc64a11472b1a36585deb2)
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 5102d56f080f1284eecb94dbc7c06cb966c27f5b)
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 fd6d954e95e016a78001e9bc12c4646ba8183e12)
2009-03-15 18:19:37 +00:00
Chaskiel M Grundman
c943130b7f STABLE14-solaris-avoid-returning-einval-if-possible-20090315
LICENSE IPL10
FIXES 124426

if we have a better error code, return it.


(cherry picked from commit 22c5edb1b22dbeee28b569ceefb543ab5ffed929)
2009-03-15 18:13:55 +00:00
Derrick Brashear
3f4db030a6 STABLE14-aklog-old-principal-conversion-sans-524-20090315
LICENSE IPL10

we'll want to fix this differently later; since 524 is dying perhaps we need
to just ship heimdal's version of this code


(cherry picked from commit fd9e5ffb4653b87f92438574083185a55086b661)
2009-03-15 18:02:52 +00:00
Simon Wilkinson
bda95331a7 STABLE14-linux-vmtruncate-20090130
LICENSE IPL10
FIXES 124128

use linux's vmtruncate feature instead of doing a somewhat-right internal version


(cherry picked from commit 175393288df30ca88178ee98cdfff364bffbabb7)
2009-03-12 18:37:56 +00:00
Matt Benjamin
b752ace969 STABLE14-dumpcallbackstate-64bit-timet-safe-20090310
LICENSE IPL10
FIXES 124451

on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad


(cherry picked from commit 77452db304abfc6ad0139769034986dc8bf172d9)
2009-03-10 19:21:34 +00:00
Jeffrey Altman
46b8dc55c7 STABLE14-avoid-blocking-with-connhashtable-lock-in-reapconnections-20090307
LICENSE BSD

instead of potentially blocking waiting for a call lock, assume if the call is
locked, the conn is still busy. also, don't even try to get the conn data lock
if we don't need to


(cherry picked from commit 581fd18bd9c3fe8e07169c60a7cde9e72e8af89c)
2009-03-07 14:11:01 +00:00
Russ Allbery
5bee49d05c STABLE14-libafs-tree-clean-target-20090221
LICENSE IPL10

Add clean and distclean targets to the libafs_tree Makefile, based on
suggestions by jhutz.


(cherry picked from commit f83cfcafcbec8a953161fad300073b85a4215a03)
2009-02-21 20:53:50 +00:00
Mike Meffie
aa53855bce STABLE14-linux-module-build-test-configure-fix-20090221
LICENSE IPL10
FIXES 124381

deal when the module link warning has extra characters


(cherry picked from commit 2290db5f160a0105005ec0787a002ce71629c3df)
2009-02-21 15:37:01 +00:00
Peter Tripician
455c7720db STABLE14-vos-increment-offline-count-20090218
LICENSE IPL10
FIXES 124333

increment offline volume count, not pointer to it


(cherry picked from commit 733794b4d8be284dcb6f9e60fa4b4abe1f3398f2)
2009-02-18 17:28:20 +00:00
Derrick Brashear
82c72b2472 STABLE14-cyclic-library-dependency-20090217
LICENSE IPL10
FIXES 124341

deal the way we do in other branches
2009-02-17 22:06:11 +00:00
Derrick Brashear
072d15cc10 STABLE14-vldb-check-no-bogus-shadow-decl-20090217
LICENSE IPL10

unfussy compilers treat this as a shadow declare; others thankfully as an error


(cherry picked from commit da8df5ea2c9311c4e4b263fbdba3aea3141ef075)
2009-02-17 14:34:41 +00:00
Derrick Brashear
50f89cbc54 STABLE14-aklog-524-vars-20090216
LICENSE IPL10

add missing variables


(cherry picked from commit 8b74a85b977f379ea94cd01df3fcb553147a42dc)
2009-02-17 14:28:12 +00:00
Jeffrey Altman
fcdedef79e STABLE14-vclosevnodefiles-ihandle-leak-20090216
LICENSE IPL10
FIXES 124359

don't leak ihandles on close. this isn't a complete fix for the issue


(cherry picked from commit b9816e12f7ed8213c9c4eaea09e992e69ce4ee05)
2009-02-17 04:37:59 +00:00
Peter Tripician
d88f438179 STABLE14-bozo-corefile-timestamp-fix-20090216
LICENSE IPL10
FIXES 124340

output y2k-correct corefile names


(cherry picked from commit 846919700b90b919d6a12102ae8c6d85ee36b83c)
2009-02-17 04:32:30 +00:00
Evan Broder
cb58c1629a STABLE14-aklog-use-native-principal-conversion-20090216
LICENSE IPL10
FIXES 124338

use krb5_524_conv_principal instead of doing it potentially wrong ourselves


(cherry picked from commit b1f9b4cb5dd295162ae51704310e9d6058008f0a)
2009-02-17 04:29:24 +00:00
Chas Williams
886f31052a STABLE14-macos-10-6-support-20090216
LICENSE IPL10
FIXES 124288

support for (32 bit) macos 10.6. no pam yet


(cherry picked from commit 8bc58a3d6dd531b55c405590e419d2ce4d74b5fc)
2009-02-17 04:25:40 +00:00
Steven Jenkins
4f81e0be85 STABLE14-vldb-check-meaningful-return-codes-20090216
LICENSE IPL10
FIXES 124321

make vldb_check have meaningful return codes


(cherry picked from commit 43bcfaf9cc429cec51a98857d86d870c45759baa)
2009-02-17 04:17:22 +00:00
Peter Tripician
4007abe99c STABLE14-fs-lsm-parse-bug-20090226
LICENSE IPL10
FIXES 124319

print correct error on root directory


(cherry picked from commit 52f3295d32e3a72916ea1f99119967b7279f642a)
2009-02-17 03:59:53 +00:00
Tony D'Amato
c8fd523094 STABLE14-redhat-rpms-kernel24-20090216
LICENSE IPL10
FIXES 102673

rewrite make rule for 2.4 kernels


(cherry picked from commit 4817a4a98fe9ccc61c90d8bbc769790ad067339b)
2009-02-17 03:29:47 +00:00
Jeffrey Altman
b6bcf4ea2d STABLE14-viced-avoid-infinite-loop-with-altaddr-unset-20080508
LICENSE IPL10

if we return leaving a non HOSTDELETED host while it does not have ALTADDR set,
a loop can happen. avoid it by simply setting ALTADDR again when we're done,
if we believe some addresses are still good this is fine.


(cherry picked from commit e6c818f070022529c362e42dfed340f54b2fd26e)
2009-02-17 03:21:21 +00:00
Jeffrey Altman
b2be1adbb7 STABLE14-viced-cleanup-old-addresses-as-they-become-invalid-20080225
LICENSE IPL10

otherwise we can end up with stale addresses when a client uses then leaves an
address never to return


(cherry picked from commit 428cac5d6dfc287452af51c08eba0f0fca276864)
2009-02-17 03:18:05 +00:00
Mike Meffie
24d29f702d STABLE14-upclient-cleanup-temp-files-20090203
LICENSE IPL10
FIXES 124221

remove tempfiles in the event of a fetching error


(cherry picked from commit 58a924fd50e96c827fc6dd3dcea48328b6abe4be)
2009-02-03 19:44:51 +00:00
Simon Wilkinson
d1e231a171 STABLE14-redhat-packaging-updates-20090203
LICENSE IPL10
FIXES 124272

adds fc10, fc11 support


(cherry picked from commit fe3779411ea025d5ecf40687d5c21649e6daabdc)
2009-02-03 19:34:31 +00:00
Russ Allbery
75e3325997 STABLE14-man-page-salvager-fixes-20090201
LICENSE BSD

Fix the -parallel example in the main description text: "5all" should be
"all5".  Reword the description a bit to hopefully make it clearer that
there are two separate values set here.  Note under the option description
of -parallel that multiple partitions on the same device are normally
processed serially.


(cherry picked from commit d4763404655e27098eb4340eca8777b63d8a5847)
2009-02-02 01:23:16 +00:00
Russ Allbery
d47c223bc7 STABLE14-man-page-vos-examine-copy-date-20090201
LICENSE BSD

Document the Copy field of vos examine output.


(cherry picked from commit f204e4e37f39fa15beabf68e68dce1f6425f7513)
2009-02-02 01:22:43 +00:00
Jeffrey Altman
c3eb28716e STABLE14-vol-fsync-20090128
LICENSE IPL10

no unistd.h on windows
2009-01-28 17:08:53 +00:00
Derrick Brashear
f2937ebf14 STABLE14-bcdb-listdumps-argument-fix-20090122
LICENSE IPL10

prototype caught this. oops.


(cherry picked from commit d6c5d0bbb09f84476d7928e62921a4aa01cd17ed)
2009-01-22 19:33:26 +00:00
Jason Edgecombe
32202429ec STABLE14-man-page-pts-membership-fixes-20090119
FIXES 124157
LICENSE BSD

More wording and typo fixes for the pts membership man page.


(cherry picked from commit 8c18c62dffa23557fb521950eede4252cdafc0b5)
2009-01-19 23:05:07 +00:00
Derrick Brashear
195bbc306b STABLE14-linux-init-script-uses-bash-20090119
LICENSE IPL10
FIXES 124056

note the script uses bash


(cherry picked from commit 5e1859a88e8133904f1315833c17851d7e6d10a4)
2009-01-19 20:54:01 +00:00
Simon Wilkinson
816cf9a52e STABLE14-afs-q-improvements-20090119
LICENSE IPL10
FIXES 124134

simplify afs_q macros and allow further reuse in disconnected


(cherry picked from commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9)
2009-01-19 19:27:19 +00:00
Steven Jenkins
2b94199c6f STABLE14-rename-residency-from-mrafs-to-osd-20090119
LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.


(cherry picked from commit 92c7925b12d7b99e4ff044bc053330e77336a21a)
2009-01-19 18:09:32 +00:00
Russ Allbery
03fb12e1fa STABLE14-man-page-pts-membership-privilege-20090118
FIXES 124151
LICENSE BSD

Add system:ptsviewers to the privilege documentation of pts membership and
try to clarify the privilege required by being less verbose and hopefully
more direct.


(cherry picked from commit d781450cf3c08bf89f3d1490620ed89885f7e518)
2009-01-19 03:46:53 +00:00
Derrick Brashear
beb3a2ba26 STABLE14-krb5-klog-link-rule-20090118
LICENSE IPL10

this was just wrong


(cherry picked from commit df71f42b637c5ef2aa266a709720b35e65b8e27f)
2009-01-19 03:25:48 +00:00
Marc Dionne
6c9af0dc39 STABLE14-linux-2629-20090115
LICENSE IPL10
FIXES 124115

add 2.6.29 support


(cherry picked from commit 24a5d12bae9a2af393f3641055893824c71a4712)
2009-01-15 13:27:42 +00:00
Chaskiel M Grundman
aa946e987f STABLE14-osi-probe-check-result-cope-with-enoent-20090115
LICENSE IPL10

in order for probing to work right


(cherry picked from commit 86225b60147d58ca71063a72be02236df1257407)
2009-01-15 13:13:21 +00:00
Simon Wilkinson
ab309974de STABLE14-linux-truncate-cleanup-20090113
LICENSE IPL10

fix the patch to actually be applicable


(cherry picked from commit e6d60f58e2a6b7ac9964cfb1ec753decd5d6ed91)
2009-01-13 19:37:28 +00:00
Matt Benjamin
1836aefc28 STABLE14-freebsd-cleanup-20090112
LICENSE IPL10
FIXES 124107

minor freebsd cleanup


(cherry picked from commit ba9556ff2bbf854bb5c05074032b94973bf339ec)
2009-01-12 14:33:37 +00:00
Marc Dionne
8d7f7f51d2 STABLE14-linux-i-size-20090112
LICENSE IPL10
FIXES 124106

use i_size_read macro correctly


(cherry picked from commit 45e808945627b36ab1dbb64b6fafa8ed7b1901b6)
2009-01-12 14:19:29 +00:00
Andrew Deason
4429ed93ee STABLE14-libuafs-set-fileoffsetbits-20090112
LICENSE IPL10
FIXES 124093

make libuafs work with things which expect to be able to use native file
sizes etc


(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)
2009-01-12 14:12:03 +00:00
Rainer Toebbicke
8475a6ce08 STABLE14-fetch64-fstrace-typo-20090112
LICENSE IPL10
FIXES 124113

move l to correct side of % for type printing


(cherry picked from commit d158ddb25c769d357d5f58acbd911ec7a7281343)
2009-01-12 13:24:37 +00:00
Jeffrey Altman
4a4493c720 STABLE14-viced-callback-20090110
LICENSE MIT
FIXES 124099

CB and FE point to one before the array.  Decrement them as needed
after the valid allocation check.
2009-01-11 06:11:41 +00:00
Simon Wilkinson
efd56d611a STABLE14-linux-truncate-race-20090109
LICENSE IPL10
FIXES 124094

avoid a race during truncation which trips an issue when fsx is run


(cherry picked from commit f49bf1d919b48901533da78c9fe38ca0339b7bca)
2009-01-09 15:09:33 +00:00