]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
22 years agoSTABLE12-winnt-enable-global-drive-mappings-20030701
Douglas Engert [Tue, 1 Jul 2003 20:44:12 +0000 (20:44 +0000)]
STABLE12-winnt-enable-global-drive-mappings-20030701

FIXES 1614

This will allow access to AFS from system processes and scheduled tasks.
It also means that each user does not have to map AFS to his own
drive.

(cherry picked from commit 4bda27a286acb45ce87131eb43d80dbcbe5e5b39)

22 years agoSTABLE12-ptserver-make-main-int-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:39:31 +0000 (20:39 +0000)]
STABLE12-ptserver-make-main-int-20030701

FIXES 1645

don't declare main void.

(cherry picked from commit f661ad4e58f6ad7fd9aea9755c141e0a2d742b66)

22 years agoSTABLE12-fix-static-decl-conflict-for-localcell-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:36:41 +0000 (20:36 +0000)]
STABLE12-fix-static-decl-conflict-for-localcell-20030701

FIXES 1646

declared static, make header match

22 years agoSTABLE12-libadmin-pts-pointer-fixes-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:35:08 +0000 (20:35 +0000)]
STABLE12-libadmin-pts-pointer-fixes-20030701

FIXES 1647

fix pointers, kill warnings

(cherry picked from commit 9d1570615849e9f83e78d365fb98df743f512550)

22 years agoSTABLE12-use-lncurses-instead-of-path-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:31:40 +0000 (20:31 +0000)]
STABLE12-use-lncurses-instead-of-path-20030701

FIXES 1648

use -lncurses instead of explicit path

(cherry picked from commit 4fc1bbdf9406bf28e9027d68d3b861ded9b65fd5)

22 years agoSTABLE12-ignore-pam-module-if-no-headers-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:27:39 +0000 (20:27 +0000)]
STABLE12-ignore-pam-module-if-no-headers-20030701

FIXES 1649

we check for pam headers; use the result

(cherry picked from commit 96c7261a229207a44e483cce52478fbb1b35fe96)

22 years agoSTABLE12-eliminate-bogus-rebuilding-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:15:35 +0000 (20:15 +0000)]
STABLE12-eliminate-bogus-rebuilding-20030701

FIXES 1651

so makefiles have proper dependancies

(cherry picked from commit 010af620459e2af0841810f1b232eccd7bc4ccb1)

22 years agoSTABLE12-kill-usr-include-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:10:09 +0000 (20:10 +0000)]
STABLE12-kill-usr-include-20030701

FIXES 1652

kill explicit makefile refs to -I/usr/include.

22 years agoSTABLE12-cleanup-dbg-and-ldflags-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 20:03:50 +0000 (20:03 +0000)]
STABLE12-cleanup-dbg-and-ldflags-20030701

FIXES 1653

switch from -g to ${DBG}; remove -g from LDFLAGS.

22 years agoSTABLE12-kdump-build-cleanup-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 19:57:56 +0000 (19:57 +0000)]
STABLE12-kdump-build-cleanup-20030701

FIXES 1654

don't rebuild kdump on each build

(cherry picked from commit a75f0516f52d967a1ffa0088fddaff88fe3f40bb)

22 years agoSTABLE12-makefile-consistency-20030701
Peter Breitenlohner [Tue, 1 Jul 2003 19:51:19 +0000 (19:51 +0000)]
STABLE12-makefile-consistency-20030701

FIXES 1655

apply leading / ourselves for consistency

22 years agoSTABLE12-bozo-ubik-needs-rx-20030627
Derrick Brashear [Fri, 27 Jun 2003 15:12:52 +0000 (15:12 +0000)]
STABLE12-bozo-ubik-needs-rx-20030627

make ubik depend on rx, not vice-versa

(cherry picked from commit 819df73c887c7999cf8163e0e95477a88a67490a)

22 years agoSTABLE12-rx-xdr-rename-userland-symbols-also-on-amd64-linux-20030627
Derrick Brashear [Fri, 27 Jun 2003 15:09:58 +0000 (15:09 +0000)]
STABLE12-rx-xdr-rename-userland-symbols-also-on-amd64-linux-20030627

pull up fix for amd64 xdr problem

(cherry picked from commit def59db27bb8a6b2b123547b30054d8ff380366e)

22 years agoSTABLE12-use-mkstemp-correctly-on-linux-20030619
Derrick Brashear [Thu, 19 Jun 2003 17:19:14 +0000 (17:19 +0000)]
STABLE12-use-mkstemp-correctly-on-linux-20030619

FIXES 1603

might as well fix it all.

(cherry picked from commit 7f16752202c603eadb6d88ae4cee8b55e8c66436)

22 years agoSTABLE12-check-mkstemp-in-config-20030617
Nathan Neulinger [Thu, 19 Jun 2003 17:18:49 +0000 (17:18 +0000)]
STABLE12-check-mkstemp-in-config-20030617

check for mkstemp in configure
use HAVE_MKSTEMP in src/butc/tcudbprocs.c

(cherry picked from commit a8dd10c862abeba2c05809b9fd921293b7e5e5e6)

22 years agoSTABLE12-use-mkstemp-20030617
David Magda [Thu, 19 Jun 2003 17:18:20 +0000 (17:18 +0000)]
STABLE12-use-mkstemp-20030617

have the BSDs use mkstemp(3)

(cherry picked from commit ae5e2f7865ce1dee9649aa6992f49fc89eb52669)

22 years agoSTABLE12-rxkad-check-tkt-length-20030610
Derrick Brashear [Tue, 10 Jun 2003 20:22:47 +0000 (20:22 +0000)]
STABLE12-rxkad-check-tkt-length-20030610

tkt_DecodeTicket didn't seem to check that ticketLen < MAXKTCTICKETLEN

didn't matter since no callers failed to check, but we should enforce this where the limit is

(cherry picked from commit 8a33c2d8a590d92df27d7febf708449feae17254)

22 years agoSTABLE12-opteron-no-modversions-ia32-sys-call-table-fun-20030610
Derrick Brashear [Tue, 10 Jun 2003 20:15:42 +0000 (20:15 +0000)]
STABLE12-opteron-no-modversions-ia32-sys-call-table-fun-20030610

attempt to deal if modversions is disabled

(cherry picked from commit 10a00664e344fd8d8bb2089c5e8a43a62050a5ed)

22 years agoSTABLE12-winnt-give-better-debugging-20030606
Joakim Fallsjö [Fri, 6 Jun 2003 22:12:09 +0000 (22:12 +0000)]
STABLE12-winnt-give-better-debugging-20030606

offer better messages in certain cases

(cherry picked from commit b609b807d24d336dfe8a0939249001dc8874c69a)

22 years agoSTABLE12-linux-rx-listener-flush-signals-20030605
Derrick Brashear [Fri, 6 Jun 2003 21:00:34 +0000 (21:00 +0000)]
STABLE12-linux-rx-listener-flush-signals-20030605

FIXES 1409

make sure we flush signals before calling force_sig. i don't know why this
matters, but it does.

(cherry picked from commit ad61a30d57eaf91d6c4edde632459b7e3d9f8700)

22 years agoSTABLE12-windows-version-20030605
Derrick Brashear [Thu, 5 Jun 2003 23:43:07 +0000 (23:43 +0000)]
STABLE12-windows-version-20030605

update version now

22 years agoSTABLE12-news-20030605
Derrick Brashear [Thu, 5 Jun 2003 23:39:57 +0000 (23:39 +0000)]
STABLE12-news-20030605

update news to be current

22 years agoSTABLE12-rx-avoid-leaking-nwaiting-20030605
Derrick Brashear [Thu, 5 Jun 2003 22:42:41 +0000 (22:42 +0000)]
STABLE12-rx-avoid-leaking-nwaiting-20030605

thanks to kolya@mit.edu for suggesting moving rather than adding the
decrement and confirming sanity.

basically if a call ended up call->error it was possible to queue_Remove()
it, drop the call, and not rx_nWaiting--; result should be observed as
rxdebug reporting waitprocs when threads were idle.

(cherry picked from commit 3fd6efb40fb4b81874cd1d48a1b529a175383e55)

22 years agoSTABLE12-amd64-hook-ia32-table-20030519
Derrick Brashear [Thu, 5 Jun 2003 15:17:12 +0000 (15:17 +0000)]
STABLE12-amd64-hook-ia32-table-20030519

if sys_call_table is exported and ia32_sys_call_table isn't, we need it this way

(cherry picked from commit 718f25e62e7249682f8e9deddb1eb72408f4df9e)

22 years agoSTABLE12-amd64-hook-ia32-table-20030521
Derrick Brashear [Wed, 4 Jun 2003 17:12:11 +0000 (17:12 +0000)]
STABLE12-amd64-hook-ia32-table-20030521

keep track of the ia32 table separately. annoying but needed.

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

provide the variables we need for ia32 sys call table if
sys_call_table is exported

(cherry picked from commit 2acd0d9937f6040ab8b9dc0ce3304706136fac87)

22 years agoSTABLE12-softsig-update-20030602
Chaskiel M Grundman [Mon, 2 Jun 2003 23:49:01 +0000 (23:49 +0000)]
STABLE12-softsig-update-20030602

FIXES 1435

changes to help us die and to unblock all signals to wait on

(cherry picked from commit ee00daa36432ba6eac6004c6c691aaab98c0e62f)

22 years agoSTABLE12-i386-user-mode-linux-support-20030513
Kris Van Hees [Fri, 30 May 2003 20:29:54 +0000 (20:29 +0000)]
STABLE12-i386-user-mode-linux-support-20030513

FIXES 1396

usermode linux support for 1.2.x

(cherry picked from commit fcdc120ce70a189ca7ed908688721b72ab3ffe77)

22 years agoSTABLE12-closer-to-vc7-support-20030528
Chaskiel M Grundman [Wed, 28 May 2003 19:36:05 +0000 (19:36 +0000)]
STABLE12-closer-to-vc7-support-20030528

FIXES 1334

VC7 dropped support for the LARGE_INTEGER functions (linking against
largeint.lib doesn't seem to have any effect)

(cherry picked from commit 5ecdab3b75c02784ae6d87e93a92d1a3f705c83d)

22 years agoSTABLE12-hpux11i-ia64-hpux-1122-20030523
Douglas Engert [Wed, 28 May 2003 19:08:37 +0000 (19:08 +0000)]
STABLE12-hpux11i-ia64-hpux-1122-20030523

FIXES 1490

so 1.2.10 will support hpux 11i and 11.22

22 years agoSTABLE12-linux-system-calls-return-long-20030522
Derrick Brashear [Thu, 22 May 2003 16:52:58 +0000 (16:52 +0000)]
STABLE12-linux-system-calls-return-long-20030522

the kernel says they return long. returning int causes sadness. stop being sad.

(cherry picked from commit ce4f08f0a9ab6fc7a2c40267aebc48934ec6dfb9)

22 years agoSTABLE12-revert-pioctl-return-negative-errors-on-linux-20030522
Derrick Brashear [Thu, 22 May 2003 16:17:29 +0000 (16:17 +0000)]
STABLE12-revert-pioctl-return-negative-errors-on-linux-20030522

syscall stub handles it. this is actually an overflow on 64 bit system

(cherry picked from commit 20656c4a44c4ae294e99eaa60cf8137a2fda51d3)

22 years agoSTABLE12-pioctl-return-negative-errors-on-linux-20030522
Derrick Brashear [Thu, 22 May 2003 15:22:47 +0000 (15:22 +0000)]
STABLE12-pioctl-return-negative-errors-on-linux-20030522

otherwise we can end up with errors that make no sense.

(cherry picked from commit 7d710fd45f7f6fa06de22d4f524342d02ae4afcd)

22 years agoSTABLE12-switch-to-strerror-20030522
Derrick Brashear [Thu, 22 May 2003 05:58:08 +0000 (05:58 +0000)]
STABLE12-switch-to-strerror-20030522

FIXES 1458

your brights brighter, your whites whiter. well, at least compilers won't bitch
that sys_errlist[] isn't supported anymore.

(cherry picked from commit 580f1ffc506bb925c28af824e08f84318f1dca64)

22 years agoSTABLE12-linux-group-syscalls-return-long-20030521
Derrick Brashear [Wed, 21 May 2003 22:41:21 +0000 (22:41 +0000)]
STABLE12-linux-group-syscalls-return-long-20030521

these return long. also call the underlying handler expecting to get a long
back

(cherry picked from commit 4b88ff73550199014d552f9fddc74785fa5eccdb)

22 years agoSTABLE12-close-cellaliases-20030521
Thomas Mueller [Wed, 21 May 2003 15:45:27 +0000 (15:45 +0000)]
STABLE12-close-cellaliases-20030521

FIXES 1481

don't leak a ref to CellAliases

(cherry picked from commit ad98c8d9562f8d56ba8497467480a2de49e1527a)

22 years agoSTABLE12-amd64-copy-args-for-ia32-table-20030520
Derrick Brashear [Wed, 21 May 2003 14:43:09 +0000 (14:43 +0000)]
STABLE12-amd64-copy-args-for-ia32-table-20030520

so the ia32 emulation might work

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

first cut at an opteron port

(cherry picked from commit 055e0b99f911a1c821cf6264f72bad61d8e63d11)

22 years agoSTABLE12-amd64-hook-ia32-table-20030519
Derrick Brashear [Tue, 20 May 2003 08:03:30 +0000 (08:03 +0000)]
STABLE12-amd64-hook-ia32-table-20030519

first cut at an opteron port

(cherry picked from commit 831e17246314f6204b1fe05c8f8a23a3be6b728a)

22 years agoSTABLE12-amd64-linux-port-20030428
Derrick Brashear [Tue, 20 May 2003 07:26:19 +0000 (07:26 +0000)]
STABLE12-amd64-linux-port-20030428

first cut at an opteron port

(cherry picked from commit 9dfb5d60479847c630d46bf67a6cd9570a5b1a21)

22 years agoSTABLE12-linux-use-kernel-net-include-dir-for-net-20030519
Derrick Brashear [Tue, 20 May 2003 05:23:05 +0000 (05:23 +0000)]
STABLE12-linux-use-kernel-net-include-dir-for-net-20030519

since we can end up trying to include things which exist in include/net
but not include/linux, try to rationalize.

(cherry picked from commit a9b72c443e4bd074ecabe7ed005354e55c69b53d)

22 years agoSTABLE12-linux-look-for-syscall-h-in-kernel-20030519
Derrick Brashear [Tue, 20 May 2003 05:05:38 +0000 (05:05 +0000)]
STABLE12-linux-look-for-syscall-h-in-kernel-20030519

some new kernels appear not to have linux/syscall.h in the kernel. no clue.

(cherry picked from commit 7fa099db6f796eb1eb0528cf8b7b68d27f510dd7)

22 years agoSTABLE12-uss-fix-bogus-grammar-20021026
Sam Hartman [Fri, 16 May 2003 18:45:09 +0000 (18:45 +0000)]
STABLE12-uss-fix-bogus-grammar-20021026

FIXES 1451

newer bison actually wants you to write correct grammars apparently.

(cherry picked from commit c7f84a5867a5c1e6611dc8ea6e929031553a7818)

22 years agoSTABLE12-linux-try-sys-wait4-20030516
Derrick Brashear [Fri, 16 May 2003 18:43:21 +0000 (18:43 +0000)]
STABLE12-linux-try-sys-wait4-20030516

we may have close/wait4 instead of close/chdir or open/exit

(cherry picked from commit a8b536e7d3f45abd20fa0ea293f5f313189114d4)

22 years agoSTABLE12-linux-busy-cache-partition-while-afs-running-and-dont-allow-afsd-shutdown...
Derrick Brashear [Thu, 15 May 2003 18:00:20 +0000 (18:00 +0000)]
STABLE12-linux-busy-cache-partition-while-afs-running-and-dont-allow-afsd-shutdown-while-afs-mounted-20030515

FIXES 1454

to preclude superblock corruption and stramge oopses

(cherry picked from commit 6c4bb9b335a3e5464007c61b6c4e4f286281ef0b)

22 years agoSTABLE12-salvage-allow-hardlinked-logs-by-date-20030515
Jeffrey Hutzelman [Thu, 15 May 2003 17:24:25 +0000 (17:24 +0000)]
STABLE12-salvage-allow-hardlinked-logs-by-date-20030515

FIXES 1259

so salvagelogs can be made persistent (by switch)

(cherry picked from commit 5012151295bef1f99944041fd19083ffc7c3f912)

22 years agoSTABLE12-amd64-linux-port-20030428
Derrick Brashear [Thu, 15 May 2003 17:13:34 +0000 (17:13 +0000)]
STABLE12-amd64-linux-port-20030428

first cut at an opteron port

(cherry picked from commit 509c965d0aef031293edc0fcf3e97587d1deac73)

22 years agoSTABLE12-pass-pointers-for-uuid-printing-20030422
Derrick Brashear [Thu, 15 May 2003 16:52:46 +0000 (16:52 +0000)]
STABLE12-pass-pointers-for-uuid-printing-20030422

pass pointers for uuid string building

(cherry picked from commit ddd9554560a44314a029d7d2d59af8b7aaaec8ca)

22 years agoSTABLE12-cellconfig-unlock-mutex-on-error-20030422
Derrick Brashear [Thu, 15 May 2003 16:52:25 +0000 (16:52 +0000)]
STABLE12-cellconfig-unlock-mutex-on-error-20030422

clean up my own mess (i bet).
certain error cases weren't being cleaned up properly before we returned

(cherry picked from commit 5cebfdc757655ba0762b3edd5d9dbdd3dc5f25dd)

22 years agoSTABLE12-viced-shutdown-avoid-deadlock-20030424
Rainer Toebbicke [Thu, 15 May 2003 16:51:59 +0000 (16:51 +0000)]
STABLE12-viced-shutdown-avoid-deadlock-20030424

don't deadlock on H_LOCK if we need to shut down in an emergency

(cherry picked from commit 05be212fea360747dbe5a9681ca81459b3d6ac62)

22 years agoSTABLE12-autoconf-deal-with-res-search-as-macro-20030428
Derrick Brashear [Thu, 15 May 2003 16:51:27 +0000 (16:51 +0000)]
STABLE12-autoconf-deal-with-res-search-as-macro-20030428

on some platforms, res_search is a macro for __res_search, find it anyway

(cherry picked from commit f5df7b1d97572b6a0cd5f8a3a7b0f752ae111905)

22 years agoSTABLE12-add-afsdb-aliases-for-cellservdb-cells-20030429
Nickolai Zeldovich [Thu, 15 May 2003 16:49:12 +0000 (16:49 +0000)]
STABLE12-add-afsdb-aliases-for-cellservdb-cells-20030429

Add cell aliases we find using AFSDB for cells that have been
statically configured via CellServDB.  This preserves the AFSDB
implementation behavior from before the cell code rewrite.

(cherry picked from commit e9993b1fce5a9d0260d94e95811a5b5dd79ef4ad)

22 years agoSTABLE12-mapname-allocate-enough-space-for-pr-nametoid-20030505
Derrick Brashear [Thu, 15 May 2003 16:47:15 +0000 (16:47 +0000)]
STABLE12-mapname-allocate-enough-space-for-pr-nametoid-20030505

the alternative is to crash when we get a foreign user here

(cherry picked from commit 76832e229efa8ee34e0aeead0c13381f027e92fd)

22 years agoSTABLE12-ubik-dont-copy-stack-garbage-when-netinfo-forces-primary-address-change...
Derrick Brashear [Thu, 15 May 2003 16:46:13 +0000 (16:46 +0000)]
STABLE12-ubik-dont-copy-stack-garbage-when-netinfo-forces-primary-address-change-20030505

don't mess up count by reusing it

(cherry picked from commit 6cb978478120614f0f9df21a08a3be9decc89435)

22 years agoSTABLE12-linux-gcpags-deal-correctly-with-uid-tokens-20030508
Derrick Brashear [Thu, 15 May 2003 16:45:39 +0000 (16:45 +0000)]
STABLE12-linux-gcpags-deal-correctly-with-uid-tokens-20030508

look at the correct uid, so we don't gc in use tokens

(cherry picked from commit 079af80b44d6175d4def489338a25159aa82a1af)

22 years agoSTABLE12-solaris8-dont-read-binding-file-20030513
Douglas Engert [Thu, 15 May 2003 16:32:08 +0000 (16:32 +0000)]
STABLE12-solaris8-dont-read-binding-file-20030513

FIXES 1434

Sun changed read_binding_file in a patch; Make sure we avoid the problem.
We don't need to call it if afs was already in /etc/system.

(cherry picked from commit 5bd1a6140aa79cd3ac7e8e384a4f84d4fe3f008c)

22 years agoSTABLE12-solaris-deal-with-gatekeeper-stupidity-20030515
Jeffrey Hutzelman [Thu, 15 May 2003 16:27:33 +0000 (16:27 +0000)]
STABLE12-solaris-deal-with-gatekeeper-stupidity-20030515

FIXES 1261

make gmake not try to link libafs.o and libafs.nonfs.o into another object

(cherry picked from commit 68c67f8621f8d76f430b7329c1db8d6704ec0037)

22 years agoSTABLE12-darwin-use-perl-instead-of-grep-20030513
Alexei Kosut [Thu, 15 May 2003 16:18:38 +0000 (16:18 +0000)]
STABLE12-darwin-use-perl-instead-of-grep-20030513

FIXES 1361

perl is installed by default. grep isn't. use perl.

(cherry picked from commit d4828d32266cbd6cd9786c5d6e7e6312925e691e)

22 years agoSTABLE12-setgroups-return-errors-negative-20030515
Christopher Allen Wing [Thu, 15 May 2003 16:16:45 +0000 (16:16 +0000)]
STABLE12-setgroups-return-errors-negative-20030515

FIXES 1383

return errors negative as linux kernel needs

(cherry picked from commit 3c66862d6932430e64e7abbd8c87fffd47b5e2cd)

22 years agoSTABLE12-pioctl-buffer-size-checking-20030515
Jim Rees [Thu, 15 May 2003 16:12:36 +0000 (16:12 +0000)]
STABLE12-pioctl-buffer-size-checking-20030515

don't check output buffer size against PIGGY

(cherry picked from commit 19b1a9015f5546881c3c077e4c39d2b8d167dfc5)

22 years agoSTABLE12-pioctl-buffer-size-checking-20030512
David Howells [Thu, 15 May 2003 16:12:15 +0000 (16:12 +0000)]
STABLE12-pioctl-buffer-size-checking-20030512

FIXES 1413

buffers are signed, should be checked for negative in addition to smaller than
PIGGYSIZE; also, check out buffer size before calling pioctl handler.

(cherry picked from commit 7cd283e55e3559a42f451cf5d5f5d9dd09d20f21)

22 years agoSTABLE12-darwin-mount-and-disk-arbitration-enhancements-20030515
Alexei Kosut [Thu, 15 May 2003 16:09:00 +0000 (16:09 +0000)]
STABLE12-darwin-mount-and-disk-arbitration-enhancements-20030515

FIXES 1363

* Allow AFS to be mounted multiple times, each mountpoint with its
  own root volume.  This allows usage similar to the Windows client,
  e.g., mounting a drive that contains only the user's home
  directory.  Our users find this much easier to work with than
  having to navigate the entire AFS tree in the Finder or open/save
  dialog.

* Have afsd register /afs with the DiskArbitration system
  when mounting it.  This means that the root afs volume shows up in
  the Finder immediately, and prevents the Finder from getting
  confused by additional AFS volumes later on.

* Add a "-nomount" option to afsd, which prevents afsd from
  mounting /afs.  We use this by default on our Mac OS X client, so
  that AFS doesn't show up in the interface at all unless the user
  explicitly asks for an AFS volume to be mounted.  This is
  especially handy for portable or remote users who don't always
  have a network connection, since there isn't an AFS filesystem
  around to hang the Finder if the AFS servers can't be contacted
 (the cache manager may still hang, but since there are no AFS
  volumes mounted, the rest of the OS doesn't notice).

* Make it so that /afs (mounted by afsd) will not unmount unless
  MNT_FORCE is given.  This prevents the user from accidentally
  ejecting /afs in the Finder, and also works around a DiskArb bug in
  Mac OS X (possibly fixed in 10.2) where autodiskmount would sometimes
  unmount /afs when logging out, even though it's marked as
  non-ejectable.

(cherry picked from commit 26ee3fcc3947c8df88b5e95d413b5144f13c7e6a)

22 years agoSTABLE12-bos-new-config-option-20021210
Derrick Brashear [Thu, 15 May 2003 15:29:07 +0000 (15:29 +0000)]
STABLE12-bos-new-config-option-20021210

FIXES 1224

based on patch from nneul@umr.edu but including the switch

(cherry picked from commit 69cb63ef545b4c8dc4e3b307b474ade4951d9691)

22 years agoSTABLE12-winnt-129a-updates-20030515
James Peterson [Thu, 15 May 2003 15:17:32 +0000 (15:17 +0000)]
STABLE12-winnt-129a-updates-20030515

FIXES 1450

minor updates and bugfixes

22 years agoSTABLE12-volser-ros-use-parent-id-20030512
Derrick Brashear [Thu, 15 May 2003 15:11:36 +0000 (15:11 +0000)]
STABLE12-volser-ros-use-parent-id-20030512

FIXES 1448

everything shoudl be done as the parent volume id so the volume group stuff works right.
otherwise, we create things which get stored under one "tag", try to open the,
under another "tag" and they aren't there, because it doesn't hash the same.

(cherry picked from commit c3cee1da8cab49810ba7509fdf17feba3258fd05)

22 years agoSTABLE12-osx-fake-mode-bits-20030513
Alexei Kosut [Wed, 14 May 2003 16:50:47 +0000 (16:50 +0000)]
STABLE12-osx-fake-mode-bits-20030513

FIXES 1362

give up on waiting for apple to get things right, which probably means they
never will.

(cherry picked from commit ffeb03ae952b671691387421e0e4319fef97a7c9)

22 years agoSTABLE12-ia64-string-headers-20030513
Chas Williams [Wed, 14 May 2003 15:44:19 +0000 (15:44 +0000)]
STABLE12-ia64-string-headers-20030513

FIXES 1395

already in CVS head, needed for 1.2

22 years agoSTABLE12-afs-analyze-avoid-potential-loop-20030423
Derrick Brashear [Mon, 12 May 2003 16:16:24 +0000 (16:16 +0000)]
STABLE12-afs-analyze-avoid-potential-loop-20030423

avoid potentially looping forever in e.g. afs_FetchStatus because
we exit afs_Analyze too early to increment busyCount, and despite having
areq->busyCount non-zero we have servers still not_busy which are already down
that we'll never talk to again. that combined with no conn means we never
touch most of afs_Analyze, exiting early with shouldRetry set.

incrementing busyCount whenever we exit with shouldRetry set should
ensure we can never end up looping forever.

(cherry picked from commit 42a1981fff5c9b3f4855e4f9200fb6a9de53642b)

22 years agoSTABLE12-winnt-eventlog-newline-fixes-20030505
Jeffrey Hutzelman [Mon, 5 May 2003 21:11:45 +0000 (21:11 +0000)]
STABLE12-winnt-eventlog-newline-fixes-20030505

Clean up newline conventions in src/WINNT/eventlog/lang/*/event.mc.
Existing files were in CVS with CRLF newlines, and so some Windows tools
would check them out with CRCRLF.  Unfortunately, the mc-compiler can't
handle CRCRLF newlines.  Fixing the files in CVS to have LF newlines
(like all proper text files) makes the problem go away -- they end up
with CRLF if checked out using tools that do newline conversion, and
LF-only if not, and the compiler accepts either.

(cherry picked from commit ab088215909fb60067adbdaab168556ea99f97fe)

22 years agoSTABLE12-solaris-x86-port-already-htons-20030414
Joakim Fallsjö [Mon, 14 Apr 2003 16:47:03 +0000 (16:47 +0000)]
STABLE12-solaris-x86-port-already-htons-20030414

rx_port is already htons() and htons is a NULL-op on sparc but not on x86...
make shutdown actually work on x86 solaris

will issue this patch only as 1.2.9a or as "contributed"; something
to avoid needing a fresh release.

(cherry picked from commit 6eac7d68178e5d0800d3ac00c63b50e1ef0378dc)

22 years agoSTABLE12-update-news-file-20030413
Garry Zacheiss [Mon, 14 Apr 2003 00:55:42 +0000 (00:55 +0000)]
STABLE12-update-news-file-20030413

Note minimum version requirement for 2.2.x series Linux kernels, and
also note incompatability between 1.2.9 afsd and older kernel modules.

(cherry picked from commit e233f0646c81f671f0c70d209ba601f864e3d82a)

22 years agoSTABLE12-update-1_2_9-relnotes-20030413 openafs-stable-1_2_9
Garry Zacheiss [Mon, 14 Apr 2003 00:56:56 +0000 (00:56 +0000)]
STABLE12-update-1_2_9-relnotes-20030413

Note 2.2.19 version requirement for 2.2 series kernels, and importance of
not using 1.2.9 afsd with old kernel modules.

22 years agoSTABLE12-softsig-dont-block-critical-signals-20030411
Derrick Brashear [Fri, 11 Apr 2003 18:50:48 +0000 (18:50 +0000)]
STABLE12-softsig-dont-block-critical-signals-20030411

blocking these seems to prevent all threads from dying when the kernel
gives e.g. SIGSEGV to one of the processes. since softsig is to protect us
from what signals we handle might do in the handler, this should be fine

(cherry picked from commit 8cb30fa5fb6084f5a6b67120ab1155b7da029e9f)

22 years agoSTABLE12-add-1_2_9-release-notes-20030411
Garry Zacheiss [Fri, 11 Apr 2003 06:11:53 +0000 (06:11 +0000)]
STABLE12-add-1_2_9-release-notes-20030411

Add 1.2.9 release notes.

22 years agoSTABLE12-update-news-20030410
Garry Zacheiss [Fri, 11 Apr 2003 02:01:27 +0000 (02:01 +0000)]
STABLE12-update-news-20030410

Update NEWS file with important changes going into 1.2.9.

(cherry picked from commit 2abc69100118bb1e50efcb061c60d71ca5b77a7b)

22 years agoSTABLE12-create-openafs-1_2_9-20030410
Garry Zacheiss [Thu, 10 Apr 2003 23:36:01 +0000 (23:36 +0000)]
STABLE12-create-openafs-1_2_9-20030410

Begin 1.2.9 release cycle.

22 years agoSTABLE12-linux-try-more-kernel-paths-20030410
Derrick Brashear [Thu, 10 Apr 2003 20:57:49 +0000 (20:57 +0000)]
STABLE12-linux-try-more-kernel-paths-20030410

FIXES 1364

try /usr/src/linux-2.4 in addition to /usr/src/linux

(cherry picked from commit 5946081876332bfb53eecf48448b42412ddf9925)

22 years agoSTABLE12-darwin-map-more-versions-20030410
Garry Zacheiss [Thu, 10 Apr 2003 20:25:26 +0000 (20:25 +0000)]
STABLE12-darwin-map-more-versions-20030410

Recognize MacOS X 10.2.5 as ppc_darwin_60.

(cherry picked from commit abc9f6b19029fc76093d8c2d1326ad1b36fa1b00)

22 years agoSTABLE12-rxkad-2b-deal-with-expiry-20030410
Love Hörnquist-Åstrand [Thu, 10 Apr 2003 19:55:40 +0000 (19:55 +0000)]
STABLE12-rxkad-2b-deal-with-expiry-20030410

FIXES 1369

return the actual error and not RXKADBADTICKET always

(cherry picked from commit 429cc8b6467726795bf46bdf1aa612400aa7afdf)

22 years agoSTABLE12-dux51-basic-build-support-20030409
Mattias Amnefelt [Wed, 9 Apr 2003 17:33:26 +0000 (17:33 +0000)]
STABLE12-dux51-basic-build-support-20030409

so servers can be built from 1.2.9-release

22 years agoSTABLE12-h-gethost-r-race-20030401
Derrick Brashear [Mon, 7 Apr 2003 21:16:20 +0000 (21:16 +0000)]
STABLE12-h-gethost-r-race-20030401

FIXES 1308

avoid deref of identP when code is -1

(cherry picked from commit f40a6356f7917b164c4b949bc1916dbcb83a2f38)

22 years agoSTABLE12-salvager-aix-update-20030407
Michael Niksch [Mon, 7 Apr 2003 18:54:45 +0000 (18:54 +0000)]
STABLE12-salvager-aix-update-20030407

make it work with namei

(cherry picked from commit 3ab37f714824d90701caa9123fc7c820aa411bcb)

22 years agoSTABLE12-flushhostcps-20030407
Derrick Brashear [Mon, 7 Apr 2003 18:39:25 +0000 (18:39 +0000)]
STABLE12-flushhostcps-20030407

make it so flushhostcps can't try to Release when no host was found,
which was apparently the problem dlc@cs really observed.

(cherry picked from commit dd517125c21e010954989d60caa31bc2da7ca394)

22 years agoSTABLE12-volser-dump-vnode-include-volid-in-error-20030213
Derrick Brashear [Fri, 4 Apr 2003 09:29:47 +0000 (09:29 +0000)]
STABLE12-volser-dump-vnode-include-volid-in-error-20030213

include a volume number in the error message

(cherry picked from commit 7c8bd23f40a18027b9229376bf9dacdbc9a2879b)

22 years agoSTABLE12-h-gethost-r-race-20030401
Derrick Brashear [Wed, 2 Apr 2003 01:23:58 +0000 (01:23 +0000)]
STABLE12-h-gethost-r-race-20030401

FIXES 1308

Thanks to Chaskiel Grundman for explaining what was happening:
- the connection is old and pre-existing, but has no host structure.
- 2 calls come in
- the first one enters h_GetHost_r, and h_Lookup_r returns null (but identP is
non-null, since rx keeps it around until it gc's the connection)
  The first thread calls WhoAreYou, which succeeds, it then calls
InitCallBackState3 (after H_UNLOCK) note that the host has been inserted into
the hashtable
- the second thread enters h_GetHost_r, and calls rx_GetSpecific. it then
calls h_Lookup_r. h_Lookup_r will block (new host is locked), but eventually
returns the new host
- InitCallBackState3 returns, and the frees the old identP, replaces it, and
unlocks the host.
- the first thread returns from h_Lookup_r. boom.

the changes:
-call rx_GetSpecific after h_Lookup_r returns (and potentially slept)
-removes an if wrapping which always is true (since !interfValid is always
 true)
-don't realloc identP if it exists
-don't free an old one by calling rx_SetSpecific either

(cherry picked from commit 5967b22698c8aeb51131a62c56a2f7fbf1f8e79e)

22 years agoSTABLE12-darwin-map-more-version-20030331
Garry Zacheiss [Mon, 31 Mar 2003 19:23:20 +0000 (19:23 +0000)]
STABLE12-darwin-map-more-version-20030331

Recognize MacOS X 10.2.3 and 10.2.4.

(cherry picked from commit f14686ea2e4d10381554bd466d236dd9b9479e4a)

22 years agoSTABLE12-ubik-allow-netinfo-netrestrict-to-mask-address-pointed-to-by-hostname-20020417
Derrick Brashear [Sun, 30 Mar 2003 08:44:38 +0000 (08:44 +0000)]
STABLE12-ubik-allow-netinfo-netrestrict-to-mask-address-pointed-to-by-hostname-20020417

if you really want to mask the IP address from gethostbyname(gethostname())
there's not really any reason to stand in your way

(cherry picked from commit 7158ef3ae57a97c4b7bb03527cb162ba968a2b35)

22 years agoSTABLE12-solaris-fs-rolled-20030328
Derrick Brashear [Fri, 28 Mar 2003 21:27:16 +0000 (21:27 +0000)]
STABLE12-solaris-fs-rolled-20030328

for solaris 9 u2

(cherry picked from commit b9eb8cc6695a0dc903b10cd763041f5cfd6a1764)

22 years agoSTABLE12-flushhostcps-init-held-20030328
Daryl Clevenger [Fri, 28 Mar 2003 09:21:37 +0000 (09:21 +0000)]
STABLE12-flushhostcps-init-held-20030328

init held so flushhostcps is more useful.

(cherry picked from commit 665e86f6fc4fbca43fd0d827d25f3de5f074e082)

22 years agoSTABLE12-viced-allow-hinting-of-all-new-clients-for-vbusy-vrestarting-handling-20030215
Derrick Brashear [Fri, 28 Mar 2003 09:17:18 +0000 (09:17 +0000)]
STABLE12-viced-allow-hinting-of-all-new-clients-for-vbusy-vrestarting-handling-20030215

For sites with only new (>3.4) clients (or who decide to not care
about older clients) and want to force VRESTARTING instead of VBUSY.

(cherry picked from commit 214c2e7b19333380cb7f3aa5c997f35543bd3d15)

22 years agoSTABLE12-shlibafsrpc-export-missing-des-symbols-20030326
Derrick Brashear [Wed, 26 Mar 2003 17:23:39 +0000 (17:23 +0000)]
STABLE12-shlibafsrpc-export-missing-des-symbols-20030326

symbols libafsauthent wants but we don't have

(cherry picked from commit cd159fddccbf19448e73a3a468268590f26ba59c)

22 years agoSTABLE12-linux-rxk-listener-shutdown-cleanup-20030323
Derrick Brashear [Wed, 26 Mar 2003 09:11:29 +0000 (09:11 +0000)]
STABLE12-linux-rxk-listener-shutdown-cleanup-20030323

avoid need for sys_kill

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

get rid of need for sys_kill

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

get rid of need for sys_kill

(cherry picked from commit 937ec63685f69f55eb0a6ce39ab94dc475eb5fe6)

22 years agoSTABLE12-rxkad2b-allow-no-kvno-20030325
Nathan Neulinger [Tue, 25 Mar 2003 21:11:08 +0000 (21:11 +0000)]
STABLE12-rxkad2b-allow-no-kvno-20030325

allow a missing kvno field to work usefully

(cherry picked from commit 45dd8988f28ff573200136edda16d5592a757bff)

22 years agoSTABLE12-move-up-cell-initialization-in-cachemgr-20030323
Derrick Brashear [Sun, 23 Mar 2003 19:47:53 +0000 (19:47 +0000)]
STABLE12-move-up-cell-initialization-in-cachemgr-20030323

to potentially avoid an oops at startup

(cherry picked from commit 3fa5f389b2b7778cf0df5a506c91b427b147c4c2)

22 years agoSTABLE12-linux-kthreads-reparent-20030323
Chaskiel M Grundman [Sun, 23 Mar 2003 06:45:51 +0000 (06:45 +0000)]
STABLE12-linux-kthreads-reparent-20030323

reparent kernel threads to avoid zombies at shutdown

(cherry picked from commit d14d08e35b95b2482bb074fe174db1e2b55da49d)

22 years agoSTABLE12-xdrmem-getbytes-20030321
Jim Rees [Fri, 21 Mar 2003 18:36:42 +0000 (18:36 +0000)]
STABLE12-xdrmem-getbytes-20030321

See, for example:
http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2003-003-xdr.txt
This source is unused but it seems like a good idea to patch it anyway.

(cherry picked from commit 7f4d43ac2f6d7b44a5f07be6e59d45bf9c6736dc)

22 years agoSTABLE12-linux-hold-tasklist-lock-in-get-page-offset-20030321
Chaskiel M Grundman [Fri, 21 Mar 2003 18:28:52 +0000 (18:28 +0000)]
STABLE12-linux-hold-tasklist-lock-in-get-page-offset-20030321

tasklist_lock must be held to traverse list

(cherry picked from commit 38cec12f2c45d4d2f544acedeeffafec70a89582)

22 years agoSTABLE12-linux-one-more-stupid-configure-test-20030321
Derrick Brashear [Fri, 21 Mar 2003 14:01:08 +0000 (14:01 +0000)]
STABLE12-linux-one-more-stupid-configure-test-20030321

pointed out by zacheiss@mit.edu that i missed this. oops

(cherry picked from commit 4731e86a441df09b893a8bf3973a51a404f69d9a)

22 years agoSTABLE12-redhat-81-support-again-20030319
Derrick Brashear [Wed, 19 Mar 2003 22:22:59 +0000 (22:22 +0000)]
STABLE12-redhat-81-support-again-20030319

once more. maybe this time they'll release something that looks like this

(cherry picked from commit 284d3edd2375f672057aef638c0e0afd41cc559d)

22 years agoSTABLE12-kaserver-disable-krb4-crossrealm-20030317
Derrick Brashear [Wed, 19 Mar 2003 12:52:36 +0000 (12:52 +0000)]
STABLE12-kaserver-disable-krb4-crossrealm-20030317

to deal with krb4 security advisory

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

to deal with krb4 security advisory
type mismatch for krb4_cross pointed out by Jack Neely <slack@quackmaster.net>

(cherry picked from commit 1312d1179d4a97e9c62eb26ef55f60007cd35872)

22 years agoSTABLE12-sunx86-update-20030318
Joakim Fallsjö [Tue, 18 Mar 2003 23:18:18 +0000 (23:18 +0000)]
STABLE12-sunx86-update-20030318

make client useful on solaris x86 again

22 years agoSTABLE12-viced-vbusy-when-getclient-fails-20030317
Love Hörnquist-Åstrand [Tue, 18 Mar 2003 03:55:18 +0000 (03:55 +0000)]
STABLE12-viced-vbusy-when-getclient-fails-20030317

more paranoia to not crash if GetClient fails, since there's apparently a
race we haven't found yet

(cherry picked from commit 4f35fbb68005579f626d021632e899301f551c66)