Commit Graph

1530 Commits

Author SHA1 Message Date
R. Lindsay Todd
aaea47afd2 start-splint-support-20030528
FIXES 1493

only part of this bug
2003-05-28 19:18:08 +00:00
Derrick Brashear
ce4f08f0a9 linux-system-calls-return-long-20030522
the kernel says they return long. returning int causes sadness. stop being sad.
2003-05-22 16:51:08 +00:00
Derrick Brashear
20656c4a44 revert-pioctl-return-negative-errors-on-linux-20030522
syscall stub handles it. this is actually an overflow on 64 bit system
2003-05-22 16:16:19 +00:00
Derrick Brashear
7d710fd45f pioctl-return-negative-errors-on-linux-20030522
otherwise we can end up with errors that make no sense.
2003-05-22 15:22:18 +00:00
Derrick Brashear
580f1ffc50 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.
2003-05-22 05:57:31 +00:00
Derrick Brashear
4b88ff7355 linux-group-syscalls-return-long-20030521
these return long. also call the underlying handler expecting to get a long
back
2003-05-21 20:56:28 +00:00
Thomas Mueller
ad98c8d956 close-cellaliases-20030521
FIXES 1481

don't leak a ref to CellAliases
2003-05-21 15:45:05 +00:00
Derrick Brashear
055e0b99f9 amd64-copy-args-for-ia32-table-20030520
first cut at an opteron port
2003-05-21 14:42:53 +00:00
Derrick Brashear
831e172463 amd64-hook-ia32-table-20030519
first cut at an opteron port
2003-05-20 08:02:53 +00:00
Derrick Brashear
9dfb5d6047 amd64-linux-port-20030428
first cut at an opteron port
2003-05-20 05:01:15 +00:00
Derrick Brashear
a9b72c443e 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.
2003-05-20 04:57:44 +00:00
Derrick Brashear
7fa099db6f linux-look-for-syscall-h-in-kernel-20030519
some new kernels appear not to have linux/syscall.h in the kernel. no clue.
2003-05-20 04:49:29 +00:00
Derrick Brashear
a8b536e7d3 linux-try-sys-wait4-20030516
we may have close/wait4 instead of close/chdir or open/exit
2003-05-16 18:42:28 +00:00
Nathan Neulinger
f1198f411f stifle-valgrind-20030515
FIXES 1379

shut up valgrind on zeroing allocations
2003-05-15 18:10:39 +00:00
Derrick Brashear
6c4bb9b335 linux-busy-cache-partition-while-afs-running-and-dont-allow-afsd-shutdown-while-afs-mounted-20030515
FIXES 1454

otherwise you can get into situations where you get strange oopses
and superblock corruption
2003-05-15 17:59:12 +00:00
Derrick Brashear
36225d6573 vol-more-logging-20030515
FIXES 1453

much more to do here. start with this.
2003-05-15 17:41:25 +00:00
Jeffrey Hutzelman
5012151295 salvage-allow-hardlinked-logs-by-date-20030515
FIXES 1259

a switch causes salvager to create salvagelog hardlinks by date so
logs are preserved forever
2003-05-15 17:23:37 +00:00
James Peterson
390083af2e winnt-add-osi-event-mc-20030515
FIXES 1373

add missed file
2003-05-15 16:41:11 +00:00
Jeffrey Hutzelman
68c67f8621 solaris-deal-with-gatekeeper-stupidity-20030515
FIXES 1261

make gmake not try to link libafs.o and libafs.nonfs.o into another object
2003-05-15 16:25:08 +00:00
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