Commit Graph

1661 Commits

Author SHA1 Message Date
Christopher Allen Wing
3c66862d69 setgroups-return-errors-negative-20030515
FIXES 1383

return errors negative as linux kernel needs
2003-05-15 16:16:26 +00:00
Alexei Kosut
26ee3fcc39 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.
2003-05-15 16:00:27 +00:00
Jim Rees
19b1a9015f pioctl-buffer-size-checking-20030515
don't check output buffer size against PIGGY
2003-05-15 15:53:28 +00:00
Jim Rees
0683dd7fcd openbsd-20030515
OpenBSD 3.3 is out now, and seems to work.
2003-05-14 23:08:25 +00:00
Jim Rees
b6e4d69eff openbsd-20030514
#include afs/sysincludes.h for OpenBSD.
I suspect other systypes will need this too.
2003-05-14 22:47:32 +00:00
Alexei Kosut
ffeb03ae95 osx-fake-mode-bits-20030513
FIXES 1362

give up on waiting for apple to get things right, which probably means they
never will.
2003-05-14 16:47:24 +00:00
Nathan Neulinger
e970988aa1 more-prototyping-20030513
FIXES 1351

some ansification in src/ubik, more prototyping
2003-05-14 16:14:54 +00:00
Nathan Neulinger
3673e304fd kdump-deal-with-vnode-to-vc-change-20030513
FIXES 1350

so kdump can compile again
2003-05-14 16:10:23 +00:00
Alexei Kosut
d4828d3226 darwin-use-perl-instead-of-grep-20030513
FIXES 1361

perl is installed by default. grep isn't. use perl.
2003-05-14 16:06:41 +00:00
Nathan Neulinger
1932dede05 vol-additional-logging-20030513
FIXES 1387

additional logging for attach/detach.
2003-05-14 15:54:53 +00:00
Douglas Engert
5bd1a6140a 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.
2003-05-14 15:37:06 +00:00
Matthew N. Andrews
d9eab68f86 rx-bulk-example-cleanup-20030513
FIXES 1436

make the bulk example work
2003-05-14 15:30:51 +00:00
Jim Rees
436ebe8a8a rx-mtu-params-fix-again-20030513
remove redundant decl of rxmtu
2003-05-13 22:22:19 +00:00
Nathan Neulinger
7aa0acdbc8 rxgen-xdr-call-stifle-warnings-20030513
FIXES 1349

eliminate some warnings in generated code from rxgen
2003-05-13 05:27:59 +00:00
Kris Van Hees
fcdc120ce7 i386-user-mode-linux-support-20030513
FIXES 1396

support for usermode linux
2003-05-13 05:23:56 +00:00
Nathan Neulinger
bdd9476a9a vol-gi-prototyping-20030513
FIXES 1432

changed slightly by shadow@dementia.org to not need forward decl.
2003-05-13 05:11:01 +00:00
Nathan Neulinger
49358c8ae7 rx-mtu-params-fix-20030513
FIXES 1433

define needed variables outside ifdef
2003-05-13 05:05:39 +00:00
David Howells
7cd283e55e 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.
2003-05-13 04:55:13 +00:00
Derrick Brashear
c3cee1da8c 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.
2003-05-13 02:58:32 +00:00
Derrick Brashear
079af80b44 linux-gcpags-deal-correctly-with-uid-tokens-20030508
look at the correct uid, so we don't gc in use tokens
2003-05-08 19:53:48 +00:00
Jeffrey Hutzelman
ab08821590 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.
2003-05-05 20:58:36 +00:00
Derrick Brashear
6cb9784781 ubik-dont-copy-stack-garbage-when-netinfo-forces-primary-address-change-20030505
don't mess up count by reusing it
2003-05-05 17:13:25 +00:00
Derrick Brashear
76832e229e mapname-allocate-enough-space-for-pr-nametoid-20030505
the alternative is to crash when we get a foreign user here
2003-05-05 16:40:25 +00:00
Nickolai Zeldovich
e9993b1fce 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.
2003-04-30 02:14:43 +00:00
Jim Rees
31629a7925 freebsd-50-20030429
FreeBSD 5.0 kernel module compiles now, but not likely to work yet.
2003-04-29 22:39:36 +00:00
Derrick Brashear
dd2cad1e18 no-sysincludes-in-rx-20030428
not the correct fix but without it linux/vnode.h conflicts with osi_vfs.h
when both get included.
2003-04-29 00:30:09 +00:00
Derrick Brashear
f5df7b1d97 autoconf-deal-with-res-search-as-macro-20030428
on some platforms, res_search is a macro for __res_search, find it anyway
2003-04-29 00:05:57 +00:00
Derrick Brashear
509c965d0a amd64-linux-port-20030428
first cut at an opteron port
2003-04-28 22:38:20 +00:00
Jim Rees
1c67a70709 proto-20030425
add missing prototype for ClearHostCallbacks_r()
2003-04-25 16:54:48 +00:00
Nickolai Zeldovich
5c8d5da460 uae-dont-translate-zero-20030424
Leave a zero return value as zero, rather than translating to UAEMEDIUMTYPE.
2003-04-24 20:21:31 +00:00
Rainer Toebbicke
05be212fea viced-shutdown-avoid-deadlock-20030424
don't deadlock on H_LOCK if we need to shut down in an emergency
2003-04-24 14:37:15 +00:00
Jim Rees
9948575c6e freebsd-50-20030423
more FreeBSD 5.0 kernel module work.
2003-04-24 00:03:45 +00:00
Derrick Brashear
42a1981fff 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.
2003-04-23 05:31:14 +00:00
Rolf Sattler
ea410c1c4d winnt-xdr-mem-needs-limits-h-20030422
as received from scoot williams
2003-04-22 17:45:07 +00:00
Chas Williams
f135e42fbf fs-include-string-function-prototypes-20030422
so fs won't segfault on ia64 linux
2003-04-22 16:45:40 +00:00
Derrick Brashear
ddd9554560 pass-pointers-for-uuid-printing-20030422
pass pointers for uuid string building
2003-04-22 06:27:17 +00:00
Derrick Brashear
5cebfdc757 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
2003-04-22 06:25:50 +00:00
Chaskiel M Grundman
3960ee3bb8 freebsd-20030421
add .PHONY target for libafs
2003-04-21 17:37:08 +00:00
Jim Rees
26d844a453 openbsd-20030417
use the correct group list entries (1,2) for pag (duh)
2003-04-17 23:14:30 +00:00
Kevin Coffman
8c788b1e75 aix-20030417
I had to do the following to do a 'make dest' on AIX in a directory
separate from the source:
2003-04-17 16:05:58 +00:00
Jim Rees
5d443e0d36 freebsd-50-20030416
More FreeBSD 5.0. Most of it builds now.
2003-04-16 23:28:52 +00:00
Jim Rees
26c8bff4ee ignore-20030416
ignore all MakefileProtos in libuafs
2003-04-16 20:47:07 +00:00
Joakim Fallsjö
6eac7d6817 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
2003-04-14 16:45:54 +00:00
Garry Zacheiss
e233f0646c 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.
2003-04-14 00:53:07 +00:00
Derrick Brashear
8cb30fa5fb 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
2003-04-11 18:50:12 +00:00
Garry Zacheiss
2abc691001 update-news-20030410
Update NEWS file with important changes going into 1.2.9.
2003-04-11 01:58:23 +00:00
Derrick Brashear
5946081876 linux-try-more-kernel-paths-20030410
FIXES 1364

try /usr/src/linux-2.4 in addition to /usr/src/linux
2003-04-10 20:57:22 +00:00
Garry Zacheiss
abc9f6b190 darwin-map-more-versions-20030410
Reocgnize MacOS X 10.2.5 as ppc_darwin_60.
2003-04-10 20:23:23 +00:00
Love Hörnquist-Åstrand
429cc8b646 rxkad-2b-deal-with-expiry-20030410
FIXES 1369

return the actual error and not RXKADBADTICKET always
2003-04-10 19:55:03 +00:00
Kevin Coffman
dbced93c1a static-return-from-structname-20030410
return pointer to static data from structname()
needed by aix, probably others too.
This bug has been around forever!
2003-04-10 15:55:32 +00:00