4451 Commits

Author SHA1 Message Date
Derrick Brashear
cb9ddf7013 STABLE14-nfstrans-extra-protection-20080813
LICENSE IPL10

ensure, at least, that there is a filehandle for everything we check


(cherry picked from commit 04a25e0a4057b63cf7c700b17b1a6ab28e469547)
2008-08-14 00:49:37 +00:00
Rainer Toebbicke
982208420a STABLE14-salvager-dont-corrupt-dir-lengths-20080812
LICENSE IPL10
FIXES 111585

make the int64 macros work when the "64 bit" number to fill isn't.
use the correct variable type for length in salvager


(cherry picked from commit e5bf9b91eaf8cb930c6cf70419983901907db84d)
2008-08-14 00:44:41 +00:00
Hartmut Reuter
39d3c9b229 STABLE14-salvager-avoid-directory-issues-and-mark-volumes-busy-20080728
LICENSE IPL10
FIXES 107767

avoid corrupting length in vnodeds when salvaging directories.
avoid tag reuse leaving data behind (not verified)
avoid not marking something busy during salvage


(cherry picked from commit 674e94b29c09cf87496d74a01ebeada14413daac)
2008-07-28 13:59:20 +00:00
Jason Edgecombe
64a1dc3fcf STABLE14-pinstall-copy-env-20080728
LICENSE IPL10
FIXES 108449

copy environment to children
2008-07-28 13:17:41 +00:00
Derrick Brashear
7582371f28 STABLE14-softsig-structure-handling-20080716
LICENSE IPL10

this is sort of a dumb ifdef. harmless, but fix it to be what it's supposed to


(cherry picked from commit 4d7cfa129353001759c6224cc5c590be7e043fe9)
2008-07-16 05:25:53 +00:00
Derrick Brashear
67af5e5268 STABLE14-volser-reclone-bring-online-before-giveback-20080716
LICENSE IPL10
FIXES 107258

when giving back a volume after reclone, make it inService to avoid a race
between callers and the SetFlags RPC


(cherry picked from commit b4ce530d365e97342a92f4a8d59de12b0570c699)
2008-07-16 05:16:25 +00:00
Todd DeSantis
8f94ec4482 STABLE14-butc-xbsa-update-20080711
LICENSE IPL10

update xbsa support for current tsm


(cherry picked from commit 5baf817a31e72d85415222af5c3dee70ed1f6bd3)
2008-07-15 11:33:57 +00:00
Russ Allbery
111924596c STABLE14-readme-devel-doxygen-20080713
LICENSE IPL10

Document the preferred Doxygen comment style.


(cherry picked from commit faeb953142a15866f0a35e908114a2443f0ac703)
2008-07-14 07:03:17 +00:00
Russ Allbery
e541189b2d STABLE14-readme-improvements-20080713
LICENSE IPL10

Significant improvements to README, including:

- Add documentation of (nearly) all of the configure options.
- Update the platform list to reflect current reality.
- Update the HP-UX header download instructions for the current web site.
- Fiddle with formatting and wording in a few places.


(cherry picked from commit 1ed9e36ffc34fa5ea41b72131a222d0ab8195b54)
2008-07-14 06:45:39 +00:00
Russ Allbery
0bbbd05dbf STABLE14-man-page-html-index-underscores-20080713
LICENSE BSD

Remove underscores from the anchor in the index for all section 5 manual
pages.


(cherry picked from commit 6a322e4eb7e79896e3322e0ace16a6ed99668162)
2008-07-14 03:30:55 +00:00
Russ Allbery
1112a44af3 STABLE14-html-man-index-links-20060802
Add links back to the index at the top and bottom of each generated page.


(cherry picked from commit b57f675bc3364c17fccc58ed56307f91213d3b3d)
2008-07-14 03:04:08 +00:00
Russ Allbery
6a3ab81cf0 STABLE14-man-page-html-generation-hack-20080713
LICENSE BSD

Pod::Simple::Search ignores every POD file that doesn't "look right," which
means it skips files containing a period (like krb.conf.pod) unless you set
a search option.  Pod::Simple::HTMLBatch has no way to set search options.

Apply a truly horrible hack to get around this.


(cherry picked from commit 2a92f43987cd08dc0134b775e0d118894d22d3e5)
2008-07-14 02:56:20 +00:00
Jason Edgecombe
c8e7bba82c STABLE14-docs-ticket-104110-20080713
LICENSE BSD
FIXES 104110

add krb.conf

update CellServDB to discuss AFSDB DNS records


(cherry picked from commit 298fb5ce52f3f5296c24ed1300287b5fa5870a3c)
2008-07-14 00:57:24 +00:00
Jeffrey Altman
380b5e8c41 STABLE14-man-page-fs-read-not-list-20080711
LICENSE MIT

 - fs diskfree
 - fs examine
 - fs listquota
 - fs quota

require read permission not list for the root directory
of the volume and list permission for the preceding path.


(cherry picked from commit df9f2455fbe34ac105179797f85aacc63a8b8da8)
2008-07-12 07:02:27 +00:00
Dale Ghent
c49d2e3107 STABLE14-solaris-nevada-vfsdev-type-20080707
LICENSE IPL10
FIXES 105495

in nevada, struct vfsdev_v4 -> vfsdev_t. cope.


(cherry picked from commit acf76ac85f55e268e9a99d12dc89bad4b763038b)
2008-07-07 18:16:26 +00:00
Derrick Brashear
31cfe29060 STABLE14-solaris-udp-modname-20080707
LICENSE IPL10

older solaris 10 lacked this


(cherry picked from commit 078f966e6293504dc7fd0a7c6b49997b6739be71)
2008-07-07 18:15:37 +00:00
Chas Williams
32110a0cea STABLE14-linux-revalidate-renames-correctly-20080707
LICENSE IPL10
FIXES 74672

when renaming causes a dentry to be newer than its parent we handled it
incorrectly. zero the d_time to force correct evaluation to happen.


(cherry picked from commit 9f3629b018f9d25b205f911464789ed0a14103b4)
2008-07-07 17:54:28 +00:00
Simon Wilkinson
4510503730 STABLE14-rhel3-disable-fedorakmod-20080707
LICENSE IPL10
FIXES 102673

if we're building for 2.4.x we need to disable fedorakmod. do so here in our
packaging.


(cherry picked from commit 9946c027a33b89cdf128748b9fd3000b31bee48f)
2008-07-07 17:42:56 +00:00
Benjamin Bennett
71d8d25245 STABLE14-linux-probe-syscall-table-again-20080703
LICENSE IPL10
FIXES 105457

move the init_mm ifdef down far enough that it's effective and we actually
probe to be able to hook syscall table


(cherry picked from commit a4e3fb21f0fd8f02ffd2c01b4d39ac55cd3474b1)
2008-07-03 21:33:25 +00:00
Andrew Deason
6c68c39c83 STABLE14-libuafs-fixes-20080701
LICENSE IPL10
FIXES 104698, 104699, 104305

make cellname get init'd right. correct startup argument order to match
what afsd does. call lookupname correctly (when did this break?)

at the same time, move the lookupname define out of afs_osi.h and into each
osi_machdep.h


(cherry picked from commit c61a8f37c9957034961aed8abc2a1adb046247d3)
2008-07-01 23:28:59 +00:00
Andrew Deason
a6e92feb97 STABLE14-redhat-build-updates-20080701
LICENSE IPL10
FIXES 105231

update specfile for new manpages.
update patch for 1.5.x/head
update makesrpm to quote some arguments to system so perl doesn't eat them

some rewriting from shadow@dementia.org including the patch update


(cherry picked from commit 0d343077ac1ca8bd35921de2a2b19cac4eb75496)
2008-07-01 20:41:50 +00:00
Russ Allbery
97e3946722 STABLE14-more-cpp-fixes-20080701
LICENSE BSD

Use PATH_CPP instead of CPP everywhere and always redirect the output
instead of assuming that it will write to a file.  Hopefully this is the
least common denominator across all systems, although it still isn't
fully correct for systems that have no separate cpp binary.


(cherry picked from commit c733e2e07aeb0cc981d53d843a1ffb787f43ed64)
2008-07-01 19:17:07 +00:00
Russ Allbery
2a8bb17860 STABLE14-pt_util-database-path-20080630
LICENSE BSD

Use the dirpath functions to find the prdb database path in pt_util instead
of hard-coding the default Transarc path.


(cherry picked from commit 5e1459f431fc046dfd3b25aca87709193ccca211)
2008-07-01 06:59:20 +00:00
Thomas Galliano
c76bc1181e STABLE14-ubik-lwp-createprocess-64-bit-20080630
LICENSE IPL10
FIXES 104732

use NULL and not (void *)0 to avoid issues on 64 bit platforms


(cherry picked from commit e22a5cc8afe889d5d76ecf44a63860e12f1effbf)
2008-07-01 04:07:27 +00:00
Russ Allbery
3cd8c5cc18 STABLE14-cpp-fixes-20080630
LICENSE BSD

When probing in configure for cpp, use the user's PATH first and then
the /lib and /usr/ccs/lib directories.  Set PATH_CPP instead of CPP,
since the latter is just overwritten by Autoconf.  Use PATH_CPP by
preference in rxgen and when pre-processing assembly, since otherwise
newer gcc will treat the input file as linker input and not do anything
with it.  Don't assume that cpp writes to the second argument; gcc
apparently doesn't always do this.  Instead, redirect standard output.


(cherry picked from commit 1ec104280d4a4b0a7544a99a7366f59cd3a2cc5f)
2008-07-01 00:57:44 +00:00
Russ Allbery
8b1a7a2139 STABLE14-man-page-html-index-20080630
LICENSE BSD

Use the correct subcommand name (fs getacl instead of fs_getacl) on the
HTML index page, even though we have to use the underscore in the NAME
section of the actual POD documentation.


(cherry picked from commit 9b61f58fa78259eb092350599a0a26d75ac14fa8)
2008-07-01 00:12:31 +00:00
Russ Allbery
93c0213d7e STABLE14-linux-ucontext-fixes-20080630
LICENSE BSD

Enable UCONTEXT on alpha, s390, and s390x for glibc > 2.3.  This is the
semantic backport of linux-ucontext-fixes-20080630 adjusted for the
param file reorganization.


(cherry picked from commit 9f94f89a7a894651f18947ec7ac20959f9326478)
2008-06-30 21:52:22 +00:00
Russ Allbery
3d5f71516c STABLE14-ktc-prototypes-20080630
LICENSE IPL10

Expose the ktc_* prototypes on non-Windows systems.  This is a partial
backport of ktc-cleanup-20070208 from HEAD containing only the move
of the #ifdef.  (Debian Bug#449432)
2008-06-30 21:40:32 +00:00
Russ Allbery
9a4f3babb9 STABLE14-bozo-find-linux-core-files-20080630
LICENSE BSD

Current Linux kernels always append a period and the PID to "core" when
creating core files for multithreaded processes.  Teach bosserver to scan
the directory into which core files are deposited looking for such core
files and treat them like any other core file if the PID matches the
process that just died.

This patch has been in the Debian OpenAFS packages for some time without
problems.


(cherry picked from commit d82169c51cc1d4db5de1c51dabeb1d6fe712fb79)
2008-06-30 21:31:41 +00:00
Russ Allbery
f8623fba39 STABLE14-man-page-vos-convertROtoRW-inode-20080630
LICENSE BSD

vos convertROtoRW can now be used with an inode file server.  Adjust the
man page accordingly.


(cherry picked from commit 6331d37125428956586610b8e514e1b304a16022)
2008-06-30 21:22:06 +00:00
Russ Allbery
1730718f22 STABLE14-man-page-readme-update-20080630
LICENSE BSD

Add additional missing commands to the to-do list.  Add a section on man
page section numbers and their rationale.  Document that embedding a
license in the man page isn't required if it's one of the licenses in our
LICENSE file.


(cherry picked from commit cf816d535a60a7a5f7efa5564b647ee87e33b7d7)
2008-06-30 21:09:40 +00:00
Chaskiel M Grundman
00ea20573f STABLE14-afs-blacklist-initialize-volume-ptr-always-20080628
LICENSE IPL10

always initialize this


(cherry picked from commit dff0d834a7c03d19d572d74849599ac89c2a058e)
2008-06-29 04:39:39 +00:00
Derrick Brashear
fbacf9e0b6 STABLE14-client-idledeadtime-support-20080430
LICENSE IPL10

in the event a server is "melting down" and not responding with data to RPCs
this adds the ability to time out the calls rather than letting keepalives
effectively hang the client forever.  does not mark the server down since...
it's not down.

Side effect: adds similar tracking for authentication errors so tokens need
not be discarded if one server's clock has drifted.


(cherry picked from commit 0a2c144307d2471450c0660e141906a1f7b1ea36)
2008-06-29 04:26:03 +00:00
Russ Allbery
29617c0210 STABLE14-install-and-document-klog-krb5-20080627
LICENSE IPL10

Install the Kerberos v5 klog as klog.krb5 and install a man page for it.


(cherry picked from commit 3b273dd55291b28c698990001370a97c413c2673)
2008-06-28 08:19:05 +00:00
Russ Allbery
ae95f78d09 STABLE14-remove-administration-reference-20080627
LICENSE IPL10

Purge the old AFS Administration Reference documentation.  This has now
been completely replaced by the manual pages.


(cherry picked from commit 62ffbc2a464521eeee4c244d2555c316dfae180f)
2008-06-28 07:41:28 +00:00
Jason Edgecombe
b73ad3122d STABLE14-man-page-afs-fixes-20080626
FIXES 104745
LICENSE BSD

Fix several issues with the afs(1) man page.  Based on the patch by Jason,
but I also documented /vicepiv as the maximum, and /vicepiu as the
maximum recommended, partition.


(cherry picked from commit e381e1d07822639ba4ce00c96ff483034104afb5)
2008-06-27 05:09:09 +00:00
Jason Edgecombe
2e6eaf066e STABLE14-man-page-vldb_convert-20080626
FIXES 104192
LICENSE BSD

New man page for vldb_convert.


(cherry picked from commit d9dc7e28fe73b1e3ac2773fb1efd44e67de5e21d)
2008-06-27 05:07:09 +00:00
Jason Edgecombe
97400f4069 STABLE14-man-page-vos-clone-20080626
FIXES 104110
LICENSE BSD

Add man page for vos clone.


(cherry picked from commit fbe10c80860ce9f456a056e0d397a10411f22369)
2008-06-27 05:02:15 +00:00
Derrick Brashear
3af910c195 STABLE14-doc-nfs-translator-instructions-20080622
LICENSE IPL10
FIXES 103459

clarify instructions for the translator


(cherry picked from commit e5f9eba38634c2b07da1d7b20fb45cfdd772a27c)
2008-06-23 04:41:45 +00:00
Derrick Brashear
d00f07a6ef STABLE14-server-meltdown-avoidance-20080509
LICENSE IPL10

if the server is melting down or otherwise unable to reply with data, it will
cut itself off.


(cherry picked from commit c26dc0e6aaefedc55ed5c35a5744b5c01ba39ea1)
2008-06-20 16:49:09 +00:00
Derrick Brashear
92693e780d STABLE14-ptserver-simple-corrupt-protection-20080612
LICENSE IPL10

protects against direct loops, which we have seen in the wild, but not more (yet)


(cherry picked from commit e2ce8710efc93f7172b9d4daaf685c6f2669f7c3)
2008-06-12 19:37:44 +00:00
Derrick Brashear
aa56d86732 STABLE14-volume-limit-higher-20080612
LICENSE IPL10

allow more volume lookups to be cached


(cherry picked from commit bc47951c9ec0845eafe0d1634f56b761cbf8b06f)
2008-06-12 18:25:03 +00:00
Marc Dionne
7b066c21a3 STABLE14-linux-2626-support-20080608
LICENSE IPL10
FIXES 101091

add 2.6.26 support


(cherry picked from commit bed3e31ca4da711649d6c6b9ab828515cd3418fc)
2008-06-09 04:39:42 +00:00
Rainer Toebbicke
0f134b32d7 STABLE14-limit-mountpoint-symlink-abuse-20080608
LICENSE IPL10
FIXES 100836

official mountpoints end in a .; treat others as symlinks to avoid creating
files which can't be removed


(cherry picked from commit 0da0a9d4d2e5b2d39495e57b9840ce0acdd961e2)
2008-06-09 04:30:59 +00:00
Russ Allbery
0d0244fb28 STABLE14-man-page-readme-fileserver-20080605
LICENSE BSD

Remove the note about missing file server options.  We think we got them
all.


(cherry picked from commit 1473a8747a104af3938a14393f73da666149b114)
2008-06-05 21:40:35 +00:00
Jason Edgecombe
4612666aa0 STABLE14-man-page-pts-updates-20080605
LICENSE BSD

Add documentation of foreign realm user registration and cross-realm PTS
groups.  Add documentation of missing ptserver flags.  Add some additional
to-do entries for the man pages.


(cherry picked from commit 1fdfac7065b85feafcfa3f9fc382cfd90680d67f)
2008-06-05 21:08:03 +00:00
Derrick Brashear
6114ed092b STABLE14-linux24-hlist-unhashed-configure-test-fix-20080602
LICENSE IPL10

make the hlist_unhashed test actually work


(cherry picked from commit 79b7b4eaded831a33d85f580e9e4155528fbd35f)
2008-06-03 03:54:34 +00:00
Jeffrey Hutzelman
05369aa555 STABLE14-rx-client-keep-keepalives-20080523
LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in cli
ent rx connections while they are turned around.


(cherry picked from commit b1549f29a9515de09d4a64bfb28bf5afdfee2615)
2008-05-23 15:56:54 +00:00
Jeffrey Hutzelman
41122a94a2 STABLE14-rx-client-keep-keepalives-20080522
LICENSE IPL10
FIXES 20727

not our bug, but, previous code refactoring broke rx. put back keepalives in cli
ent rx connections while they are turned around.


(cherry picked from commit c34822d6105cef7f68423e4ebbf485b2d11b9635)
2008-05-22 19:29:19 +00:00
Derrick Brashear
a58ead2692 STABLE14-vos-sync-flag-voltype-properly-20080521
LICENSE IPL10

when adding a backup volume to a vldb entry, flag it as such.


(cherry picked from commit dcafea769a1cb70c7b1f8763ae4f7b7744b2a436)
2008-05-21 21:17:01 +00:00