Mattias Amnefelt
7b4d6af73d
dux-autoconf-tweaks-20020228
...
make tru64 5.0a build 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.
====================
and make 4.0d work again as well
2002-03-04 16:44:00 +00:00
Nathan Neulinger
c642825ba8
butc-make-xg-match-code-20020228
...
this may need to be revisited in the future but in the meantime the rpc stubs match the code
2002-02-28 20:00:40 +00:00
Nickolai Zeldovich
cfba7e0068
Use AFS_RXDEADTIME instead of hardcoding a value of 50
2002-02-28 06:34:15 +00:00
Mattias Amnefelt
7138b2734c
afs-servers-use-rx-setnojumbo-interface-20020228
...
use rx library interface instead of tweaking in each program
2002-02-28 06:10:47 +00:00
Nathan Neulinger
48d411fa4e
afs-rx-enable-locks-cleanup-20020228
...
use RX_AFS_GLOCK macros instead of ifdef wrappers
2002-02-28 06:08:10 +00:00
Nathan Neulinger
12f595485e
vnop-lookup-fix-putvcache-calls-to-match-prototype-20020228
...
provide unused 2nd arg to putvcache
2002-02-28 06:05:14 +00:00
Nathan Neulinger
676a493f5b
Really apply improve-type-safety-and-prototype-matching-20020226.
...
Somehow only the first 128K of afsfileprocs.c got copied over before.
2002-02-26 23:35:26 +00:00
Nathan Neulinger
864edcbc52
Make the SRXAFS_* functions match prototypes by taking an
...
rx_call instead of rx_connection, and make CallPreamble()
type-safe by taking two arguments instead of magically
turning an rx_call into rx_connection.
2002-02-26 23:26:36 +00:00
Nickolai Zeldovich
18fdd2a233
Fix more build problems due to prototypes produced by rxgen.
2002-02-26 22:53:59 +00:00
Nathan Neulinger
385037490f
comerr-fix-objdir-builds-after-sun-make-change-20020226
...
use lex source from srcdir
2002-02-26 16:47:33 +00:00
Nickolai Zeldovich
592d0fb0cd
ubik_tid and ubik_version now come from ubik-int.h
2002-02-26 16:44:54 +00:00
Nickolai Zeldovich
ebb45c54d9
Fix some of the fallout from having rxgen-fabricated prototypes.
2002-02-25 09:31:08 +00:00
Nickolai Zeldovich
ec04dd0090
Make sure we have enough memory to allocate the return list.
2002-02-23 09:38:11 +00:00
Nickolai Zeldovich
1e6bc5de52
Fix minor build errors, and rename the dumpId argument of butc's
...
DeleteDump to avoid collision with budb's #define dumpId.
2002-02-22 09:00:36 +00:00
Nickolai Zeldovich
feb689396c
Always verify that the client is fully reachable before talking
...
to it, in the fileserver. This prevents some additional lossage
cases with poorly-connected clients.
Disable same feature for other Rx services, since they don't
need to incur extra RTT delay.
2002-02-22 08:58:20 +00:00
Nickolai Zeldovich
0dfa0954ff
Fix build when INSTRUMENT_LOCKS isn't defined
2002-02-22 08:03:30 +00:00
David Howells
3cced4ee45
rxgen-generate-function-prototypes-20020212
...
actually from David Howells of Red Hat.
generates function prototypes in rxgen-emitted headers
2002-02-13 04:09:14 +00:00
Derrick Brashear
87843056e5
test-suite-run-script-make-setup-not-use-localcell-inadvertantly-20020221
...
was a case where we could end up testing "localcell" by accident
2002-02-21 07:07:52 +00:00
Derrick Brashear
bf1e47a218
test-suite-update-ka-database-20020221
...
cached copy that works
2002-02-21 06:31:13 +00:00
Derrick Brashear
d92d4ac69f
bos-listkeys-fix-test-20020221
...
cksum can be either number
2002-02-21 06:25:34 +00:00
Derrick Brashear
4f8f508e04
test-suite-run-tests-export-shell-20020221
...
set $SHELL to override whatever your shell sets
2002-02-21 06:06:00 +00:00
Derrick Brashear
acf19ae7e9
test-suite-updates-20020221
...
minor tweaks found making solaris work
2002-02-21 05:18:35 +00:00
Derrick Brashear
aeeecc446b
test-suite-make-sure-test-script-is-executable-20020221
...
since configure creates the script, just chmod it
2002-02-21 05:15:28 +00:00
Derrick Brashear
148b57dff5
back-out-bosserver-dont-enforce-world-readability-on-server-etcdir-20011126
...
on a server where bosserver sets up /usr/vice/etc with symlinks, the links are
/usr/vice/etc/* -> /usr/afs/etc/*
oops
2002-02-21 04:29:22 +00:00
Jaroslaw Polok
3a6b630ce1
pam-makefile-fix-dependancies-20020219
...
the rest of the patch is already in CVS but missed being pulled up to 1.2.3
2002-02-19 19:23:46 +00:00
Derrick Brashear
d116b27ebe
test-suite-solaris-fixes-plus-some-kaserver-glue-20020216
...
make it all build on solaris. provide necessary files to set up a kaserver
and authenticate against it (albeit with "known" keys)
2002-02-19 18:29:16 +00:00
Derrick Brashear
14f28d4fe5
makefile-use-filename-instead-of-dollar-questionmark-20020219
...
at least some versions of sun make try to run this as
lex -t ex_lex.lex.l ex_lex.lex.l instead of lex -t ex_lex.lex.l
2002-02-19 09:14:54 +00:00
Derrick Brashear
1902efa41c
dir-create-initialize-null-to-avoid-drelease-on-garbage-20020218
...
if FindItem returns without setting previtem this is never initialized
2002-02-18 21:09:47 +00:00
Chaskiel M Grundman
bd707fb7e6
freebsd-almost-working-client-20020216
...
a) a freebsd client that compiles, and to a certain extent, works. Should
not be used except by people doing freebsd client development
b) configure glue for freebsd 4.3, 4.4, and 4.5
c) freebsd tfileserver support. Note that, by default, this isn't very
interesting, as the supported freebsd pthreads are just as cooperative as
LWP. if you install the linuxthreads port and swap the MT_* variables in
osconf.m4, you will get a more traditional tfileserver though. configure
glue for that will be forthcoming at some point.
d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them.
(and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x
on same conf files issue)
2002-02-16 18:23:44 +00:00
Derrick Brashear
0b2f7b748e
test-suite-solaris-fixes-plus-some-kaserver-glue-20020216
...
make it all build on solaris. provide necessary files to set up a kaserver
and authenticate against it (albeit with "known" keys)
2002-02-16 18:09:26 +00:00
Derrick Brashear
f6525247ab
linux-osi-alloc-up-alloc-sem-while-alloc-to-avoid-deadlock-against-glock-20020215
...
Based on report from David Howells of RedHat (via Guy Streeter)
2002-02-15 14:00:39 +00:00
Nickolai Zeldovich
d0ffec1b28
Use autoconf to check for p_corefile in struct proc, rather than
...
assuming it exists in Solaris 7 and above; nneul@umr.edu reports
that it doesn't for some kernel revision.
2002-02-15 05:07:13 +00:00
Derrick Brashear
d7dca002be
rx-event-deal-with-gcc-296-this-time-for-sure-20020214
...
somehow i suspect one of our platforms doesn't do volatile and i'll
regret this, but this stops linux i386 when afs_int32 is an int from
going off into la-la land when an Rx retransmit is needed
2002-02-15 04:38:59 +00:00
Derrick Brashear
0cc7a07486
rx-clock-cast-comparison-macros-to-int-20020212
...
gcc 2.96 appears to miscompile these
====================
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.
====================
undo. the bug was a little more subtle and my debugging code masked it
2002-02-15 04:23:24 +00:00
Ted Anderson
aef9d35023
vol-salvage-add-missing-parameter-to-logging-20020213
...
bad trace statement due to missing parameter; added
2002-02-13 20:00:18 +00:00
Laura Stentz
808946cad8
afsweb-add-netscape-config-script-20020213
...
this was omitted from the original release and now can be included
2002-02-13 09:37:59 +00:00
Nathan Neulinger
9a6dbb4df7
viced-printinode-returns-string-not-number-20020212
...
based on feedback from ota@transarc.com
PrintInode returns a string, use it
2002-02-13 04:00:57 +00:00
Nickolai Zeldovich
c446c128e9
Allow AFS to shutdown on Solaris (and subsequently be reloaded
...
and restarted). Still leaks memory, unlike the Linux module.
2002-02-08 19:50:00 +00:00
Hartmut Reuter
cbcef0bd40
Don't grab tdc->lock when tdc is null.
2002-02-08 17:28:44 +00:00
Nickolai Zeldovich
ebcef80696
Properly AFS_GUNLOCK() when returning an error after having previously
...
AFS_GLOCK()'ed, in afs_mount() and afs_unmount().
2002-02-08 07:05:34 +00:00
Nickolai Zeldovich
21455cdba2
Include linux/sysctl.h after afsconfig.h, since we need the
...
modversion stuff first.
2002-02-07 03:07:23 +00:00
Kris Van Hees
1f34ef4873
linux-provide-sysctl-interface-20020206
...
provide sysctl interface for toggling module state. provide hooks for
all currently known tweakable items
2002-02-07 00:06:35 +00:00
Nickolai Zeldovich
e7b3045d8e
solaris-p-crlock-not-safe-to-hold-across-call-to-crset-20020206
...
crset() expects p_crlock to not be held when it's called; deal accordingly
2002-02-06 23:57:44 +00:00
Derrick Brashear
918d96d665
newvolumebyname-analyze-the-vrequest-actually-used-20020205
...
it's ok to support a null request being passed in, but if a real one is
passed in we shouldn't analyze it when it's not the one we used when
making calls.
2002-02-05 21:58:03 +00:00
Nickolai Zeldovich
9311437f3d
Add the necessary includes for AFS_ISGLOCK, AFS_GLOCK, AFS_GUNLOCK.
2002-02-02 18:33:49 +00:00
Hartmut Reuter
b7b1788424
viced-callback-avoid-potential-looping-problem-20020201
...
avoid case where we never come out of loop attempting to clear host cvallbacks
2002-02-01 22:12:51 +00:00
Nickolai Zeldovich
7b8d569f42
First pass at better signal handling:
...
-- Add afs_osi_SleepSig, which returns EINTR when interrupted by signal.
-- Similar CV_WAIT_SIG for Rx code.
-- Implement afs_osi_SleepSig and CV_WAIT_SIG for Linux, Solaris.
-- Use afs_osi_SleepSig in afs_{UFS,Mem}Read, allowing user to interrupt
an AFS read if it's being handled by background daemon.
-- Balance the number of open & close braces in CV_TIMEDWAIT macros,
even though noone uses them.
-- Untangle parts of the macro forest by moving some of the Rx CV code
into rx_kmutex.c.
2002-02-01 20:29:59 +00:00
Nickolai Zeldovich
7573d5ed14
Block signals when sleeping in CV_WAIT() and CV_TIMEDWAIT(), similar
...
to the linux-avoid-signal-wakeups-while-sleeping-20020129 change for
afs_osi_Sleep().
2002-01-30 21:13:48 +00:00
Nickolai Zeldovich
cc8f0afbad
Avoid deadlocking with afs_ResetVolumeInfo in InstallVolumeInfo and
...
InstallNVolumeInfo, like we already do in InstallUVolumeInfo.
2002-01-30 16:16:23 +00:00
Derrick Brashear
79afed93d2
readd-t-uniq-bad-as-binary-20020129
...
oops
2002-01-29 22:34:13 +00:00