Commit Graph

1019 Commits

Author SHA1 Message Date
Chaskiel M Grundman
ea0b193c19 README-NT-provide-file-locations-20020429
give people a clue where to get things from
2002-04-30 01:24:11 +00:00
Srikanth Vishwanathan
5cbc233c64 vol-ihandle-cleanup-20020429
this does fix some potential problems, even if none of them are the
CopyOnWrite problem. basically, ih_reallyclose() could reinsert a now-unref'd
fd handle into the wrong list when cleaning up, and this cleans up the code
considerably.
2002-04-30 00:40:22 +00:00
Chaskiel M Grundman
c2e075fba4 darwin-use-namei-fileserver-20020429
build the right fileserver on darwin
2002-04-29 16:31:54 +00:00
Chaskiel M Grundman
291e8352be cvsignore-updates-20020429
add missed fc_test
2002-04-29 16:32:24 +00:00
Nickolai Zeldovich
a319288157 If the inode is not allocated, don't bother updating timestamps.
Pointed out by Frank.Batschulat@Sun.COM.
2002-04-26 22:33:55 +00:00
Nickolai Zeldovich
be1458b078 Don't spawn a separate kernel thread for rx kernel listener under
Solaris, but instead just use the afsd fork for the listener. Use
of newproc() is deprecated, according to Frank.Batschulat@Sun.COM.
2002-04-26 22:27:29 +00:00
Chaskiel M Grundman
1ccedea1a0 darwin-map-more-versions-20020425
5.3 and 5.4 are "Same" enough
2002-04-25 22:44:53 +00:00
Chaskiel M Grundman
0c0eb03e9a rxkad-stats-initialize-to-placate-darwin-compiler-20020425
because it deals badly with common symbols
2002-04-25 22:18:23 +00:00
Chas Williams
8268bf34ac linux-ia64-cleanup-casting-20020423
so we don't need the SYSCALL2POINTER change
2002-04-23 14:45:51 +00:00
Chaskiel M Grundman
5d57da192e sparc64-linux-and-setgroups32-cleanup-20020422
update setgroups32 for 2.4 and make sparc64 linux2.4 work again
2002-04-23 04:26:36 +00:00
Chas Williams
e12859bed9 linux-ia64-updates-20020422
updates to make it work with later 2.4

SYSCALL2POINTER change may be unnecessary (sparc64 way should work)
but without any way to test...
2002-04-23 04:03:29 +00:00
Nickolai Zeldovich
27595ffcd9 The heldp argument to h_Lookup should be an int* rather than int,
as pointed out by amu@alum.mit.edu.
2002-04-22 18:16:16 +00:00
Chaskiel M Grundman
6d43ab450a darwin-vnops-make-unlink-fix-fake-references-20020422
so unlink doesn't panic us
2002-04-22 17:05:10 +00:00
Jeremy Stribling
df363edad1 libadmin-pts-allow-listing-all-users-and-groups-20020422
so the java api can take advantage of this
2002-04-22 16:42:21 +00:00
Derrick Brashear
7158ef3ae5 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
2002-04-17 23:29:04 +00:00
Nickolai Zeldovich
d4493526a7 Make h_Lookup_r return the host held, and ensure that it's not
deleted at that point; otherwise, the host may be deleted by
another thread between a call to h_Lookup_r and the time when
we actually get around to h_Hold'ing it.
2002-04-15 22:36:00 +00:00
Nickolai Zeldovich
301d83202c Pass &treq to afsrename() when preserving a currently-open file. 2002-04-11 08:18:11 +00:00
Nickolai Zeldovich
a1925f8caf Fix more places where afs_EvalFakeStat arguments were out of order 2002-04-09 20:21:59 +00:00
Pavel Semerad
c2109aba5c fakestat-fix-eval-args-ordering-20020409
fixed bad args ordering in call to afs_EvalFakeStat
2002-04-09 19:08:10 +00:00
Derrick Brashear
7747fce7e7 linux-newvcache-more-simplification-20020405
based on suggestion from vsrikanth@in.ibm.com


eliminate extra for loop, flatten function to drop dentries, fix
locking error i introduced
2002-04-05 19:13:32 +00:00
Derrick Brashear
607c17c8a9 solaris-nfstrans-make-it-compile-20020404
it compiles. it's not pretty, but it does compile
2002-04-04 20:03:13 +00:00
Nickolai Zeldovich
7c20aa6082 Clear the RX_CONN_ATTACHWAIT flag when an asymmetric client's calls
time out; otherwise, the client could be locked out until the conn
is recycled.
2002-04-03 07:20:07 +00:00
Nickolai Zeldovich
999c7fb70d Don't make tvc a register, since we want to dereference it later on.
Pointed out by nneul@umr.edu.
2002-04-02 18:35:03 +00:00
Nickolai Zeldovich
6b33ed2b05 Initial fakestat support (fake mountpoint directory attributes).
Useful for quickly stat'ing everything under /afs, for instance.
Reasonably tested on Solaris, and appears to work on Linux too.
Enable with 'afsd -fakestat'.
2002-04-02 06:09:48 +00:00
Nickolai Zeldovich
fd318a1fc9 Fix build on Darwin (missing close paren). 2002-04-01 20:18:50 +00:00
David Bailey
b0e4e7bcbf winnt-servermgr-use-existing-creds-option-20020401
This adds /useexisting to use current AFS creds, bypassing the initial authentication
dialog box. It's useful if you're not running kaserver (i.e. if you've moved
over to kerberos 5) and can't authenticate again by the normal AFS means.
2002-04-01 17:25:37 +00:00
Nickolai Zeldovich
b08f021fc9 Add osi_Assert()'s around pthread_{cond,mutex}_* calls to make sure
we aren't getting errors anywhere.

Update the documentation/comments about Rx lock ordering.

Fix possible deadlock in asymmetric client detection code.
2002-03-30 18:02:40 +00:00
Derrick Brashear
8011b683bc afs-dont-mask-rights-granted-by-lookup-20020328
lookup is sufficient for this, fix the client not to bogusly
enforce extra restrictions
2002-03-28 22:00:55 +00:00
Derrick Brashear
4beb9adb66 linux-dcache-create-negative-dentries-22-needs-while-still-avoiding-vlru-cycle-20020328
based on patch by Srikanth Vishwanathan and modifications based on suggestions
from Ted Anderson applicable to this part of the code.

the original theory we operated under, namely that negative dentries
could be banished entirely, causes file creation to stop working
under linux 2.2 kernels. reverting that change means we have to deal with
these negative dentries, and Srikanth's original suggested patch does so.
2002-03-28 20:43:03 +00:00
Nathan Neulinger
1ad668aee2 fstrace-fix-memory-leak-20020325
avoid leaking catalog reference on failure
2002-03-25 18:35:07 +00:00
Nathan Neulinger
13f864f21e cvsignore-update-for-autoconf-25-20020325
autoconf 2.5x turds to ignore
2002-03-25 18:30:09 +00:00
Derrick Brashear
39ee79e7c3 convert-linux-macros-for-inodes-appropriately-20020325
even though right now a vnode and an inode are basically but not exactly
the same, part of the usefulness of this change is the ability to convert
to inodes linked from vcaches later. make the macros fit with this view of the
fture
2002-03-25 18:09:22 +00:00
Johan Danielsson
3bf8818d95 convert-vcache-casts-to-macros-20020325
convert vcache casting in cache manager to macros

should ease further changes later
2002-03-25 17:39:55 +00:00
Nickolai Zeldovich
c4ac62f829 Clean up some more ViceLog calls to consistently refer to hosts in a
format like 18.239.2.102:7001, rather than memory address or hex IP.
2002-03-24 23:39:01 +00:00
Nickolai Zeldovich
41f047edf6 Verify that name lengths are at most AFSNAMEMAX and symlink
contents are at most AFSPATHMAX (notably, the Linux kernel
doesn't check this for us); bug report by nneul@umr.edu.
2002-03-24 19:21:35 +00:00
Nickolai Zeldovich
0329c5fbb4 Initialize tvc in afs_remove so that we don't call afs_PutVCache
on stack garbage in case of some failure.
2002-03-24 19:08:45 +00:00
Nathan Neulinger
d30a319f8d rx-glock-order-headers-correctly-so-its-defined-or-not-consistently-20020322
fix for earlier change to RX_AFS_GLOCK()
2002-03-22 21:56:44 +00:00
Derrick Brashear
ef1ee322de afs-memcachetruncate-takes-memcacheentry-not-inode-20020321
prototyping caught this; the usage is inconsistent with other cases and
i believe this is the correct fix. it's not clear to me why we weren't seeing
problems from this, though
2002-03-21 18:44:19 +00:00
Nathan Neulinger
4f1ca9bb2e afs-checkservers-call-getuser-with-cell-index-20020321
this means to be calling afs_GetUser with a cell index, not with the cell
structure itself
2002-03-21 18:11:50 +00:00
Love Hörnquist-Åstrand
f749ef6e02 rxkad-regression-test-20020228
regression test for rxkad
2002-03-20 18:59:56 +00:00
Mattias Amnefelt
7ffbc40b21 tru64-avoid-leaking-vnodes-when-failure-20020320
tru64 needs vrele when an error happens, rather than just returning. make
sure we do so
2002-03-20 18:38:28 +00:00
Nathan Neulinger
a093138a6d 2002-03-19 22:03:30 +00:00
Derrick Brashear
bd35700f8f sys-add-aix-syscall-exports-removed-incorrectly-earlier-20020319
to export syscalls as functions you need the magic exp file

====================
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 also reinstall them for the user cache manager library
2002-03-19 22:01:30 +00:00
Nickolai Zeldovich
209f1c2257 Allocate the exact string length needed for the string in symlink
contents, rather than assuming that symlink data never contains
nulls (or that it's of the length we expect).
2002-03-18 03:03:04 +00:00
Nickolai Zeldovich
246f955432 Call afs_PutCell after afs_GetCellByIndex, even though right
now it doesn't do anything.
2002-03-18 02:51:13 +00:00
Love Hörnquist-Åstrand
efa250bd1c nbsd-fileserver-dont-leak-fds-20020317
file server now works usefully on netbsd
2002-03-17 17:59:04 +00:00
Derrick Brashear
fc09b92dce callback-function-fixes-20020317
suggested by lha@stacken.kth.se

drop locks when rxi_Alloc fails, and rework SRXAFSCB_GetCellServDB to use
afs_GetCellByIndex. He suggested same for GetLocalCell, and as long as cell 1
and not CPrimary is the local cell indicator that works, but I left that part
of the code as is for now.
2002-03-17 17:53:00 +00:00
Nickolai Zeldovich
5b1310f346 Add a -cache flag to cmdebug to remotely obtain cache manager configuration
parameters.
2002-03-16 22:17:29 +00:00
Nathan Neulinger
1fe41530c1 Fix typo: OMIT_FRAME_POINTER not FOMIT_FRAME_POINTER 2002-03-14 19:57:12 +00:00
Nathan Neulinger
c360bb35ce Zero out the "allocated" flag so that we don't accidentally
free something that wasn't allocated.
2002-03-14 19:50:48 +00:00