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
Derrick Brashear
2dbc58bc4a
solaris-vfsck-allow-force-runs-when-old-inodes-exist-20020310
...
if running with -y report old inodes and continue anyway
2002-03-10 19:26:41 +00:00
Derrick Brashear
372da2bebc
revert-part-of-linux-dcache-inconsistency-fix-20020115
...
may revisit this before release; however, open_namei on 2.2 wants a
dentry returned to it and so without this change, creating files in
afs breaks
2002-03-10 19:23:38 +00:00
Love Hörnquist-Åstrand
a5cb7c256b
rxgen-prototypes-fixes-20020310
...
prototype fixes as fallout from rxgen header prototypes
emit server stubs which include header as well
2002-03-10 19:07:56 +00:00
Love Hörnquist-Åstrand
bfa8c6a788
netbsd-allow-param-file-inclusion-20020310
...
fix param files so ifdef error does not preclude inclusion at all
2002-03-10 18:44:22 +00:00
Love Hörnquist-Åstrand
c06ff599dd
afsmonitor-strcasestr-in-freebsd-not-netbsd-20020310
...
1.5 and current have no strcasestr
2002-03-10 18:41:52 +00:00
Derek Atkins
edd10398af
configure-allow-kernel-debugging-support-20020310
...
currently for linux only, but allow it for others in the future
2002-03-10 18:39:45 +00:00
Yee Jiun
908e05adbe
winnt-deal-with-compiler-packing-20020310
...
use pragmas to hit compiler into packing smb_tran2QFSInfo usefully
2002-03-10 18:24:16 +00:00
Nickolai Zeldovich
571f314329
viced-call-safss-functions-with-acall-not-tcon-20020307
...
based on report from mattiasa@e.kth.se who has the following feedback from
lha@e.kth.se:
Patch from Love to make filserver not loop on MUTEX_ENTER() in
rx_SetSpecific()
2002-03-08 06:08:05 +00:00
Chaskiel M Grundman
de6a291146
freebsd-use-fake-refs-to-hold-inodes-20020307
...
unlike macos x a fake ref works for freebsd
2002-03-08 06:03:34 +00:00
Mattias Amnefelt
f0aea5e186
makefiles-dont-hardcode-optimization-flags-20020307
...
allow setting optimization in CFLAGS in makefiles
use -g3 on tru64
2002-03-08 05:59:32 +00:00
Derrick Brashear
c1bb9648b2
fix-stats-structure-ordering-20020307
...
report from jhutz@cmu.edu says client-64bit-file-size-support-20011031
was broken in this way
2002-03-08 05:48:54 +00:00
Derek Atkins
f3bcfda51f
linux24-fix-memcache-20020307
...
The problem is that on 2.4 the 'code' variable is over-written during
the path walk, such that by the time it's checking if the inode
exists, code is already '0'. But if the inode does not exist, code
should be ENOENT to show that the file does not exist.
2002-03-08 04:57:56 +00:00