Commit Graph

992 Commits

Author SHA1 Message Date
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
Mattias Amnefelt
459815329b dux-make-namei-fileserver-work-20020304
namei should now work on tru64 (tested on 5.0a)
2002-03-04 16:47:22 +00:00
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