Commit Graph

1094 Commits

Author SHA1 Message Date
Derrick Brashear
3b1a964d95 osconf-cleanup-20020826
don't set shlib stuff in makefile fragments. do include sun4_413 in
osconf
2002-08-26 15:09:35 +00:00
Derrick Brashear
6ffcd27a1e libafsrpc-use-our-xdr-for-consistency-20020826
suggested by Srikanth Vishwanathan
2002-08-26 15:01:19 +00:00
Derrick Brashear
4b178dacd6 prototypes-fixes-20020821
add externs removed and missed

====================
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.
====================

ok, another try. don't include protosw.h here and let sysincludes.h pull it in

====================

one more missed extern

====================

keep trying...

====================

fix weird redefintion problem with kmem_alloc

====================

can't know this sort of thing (and it's wrong at least sometimes)
2002-08-23 05:52:56 +00:00
Garry Zacheiss
d3d299657a dux-juafs-make-it-compile-20020823
fix this so make will bother
2002-08-23 05:38:53 +00:00
Derrick Brashear
6f7e6bf112 dux-call-flushpages-with-cred-20020823
we weren't passing in creds before. do so.
2002-08-23 05:29:38 +00:00
Nathan Neulinger
c5a2487ea8 hpux-dont-build-login-20020822
don't build login on hpux
2002-08-23 04:36:29 +00:00
Nickolai Zeldovich
629d080654 This is mostly a rewrite of src/afs/afs_cell.c, and associated changes
to other things.  Features of the new cell code:

 * Persistent name-to-cell-number mapping across reboots, to ensure the
   cell numbers in the dcache are meaningful.  Stored in the new cache
   file, /usr/vice/cache/CellInfo.
 * Allow cmdebug to query the cell number to cell name mapping.
 * Allow clients to have an empty CellServDB as long as AFSDB is enabled
   and ThisCell has AFSDB records.
 * The home cell retains the setuid bit even if looked up via AFSDB.
 * Dynroot gets its own cell, rather than piggybacking on cell 1.
 * Cell 1 is no longer special; cell numbers are now semi-opaque.
 * Convert cell traversal code to using GetCellByIndex rather than
   directly poking at CellLRU / afs_xcell.
 * Separate cells from aliases, which shouldn't have been the same
   in the first place.
 * Cleaner code (IMHO).

====================
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.
====================

make the arguments afs_CellNumValid takes match the prototype (since it
really is a afs_int32 it looks like)

====================

update irix to deal

====================

update irix to deal

====================


Fix some more references to the now-nonexistant cell->index
2002-08-23 04:31:38 +00:00
Derrick Brashear
641a84b67b prototypes-fixes-20020821
hopefully last of the lwp fun

====================
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.
====================

make it build on the bsds

====================

nope. this time for sure (more lwp createprocess casting)

====================

clean up osi_UFSOpen prototyping

====================

aix gets bitter at this

====================

fix missed argument

====================

again, aix doesn't like this. so, we don't do it

====================

yup, aix still hates this

====================

dux compiler doesn't like this (i think this one is actually my fault)

====================

already prototyped in rxkad_prototypes.h

====================
causes multiple inclusion of protosw.h which isn't safe on irix.

====================

for some reason you just can't declare the same thing the same way twice

====================

make dux compiler happy. oops.
2002-08-22 23:37:11 +00:00
Derrick Brashear
c796a743c2 dux-force-lex-compatible-lex-20020822
hopefully to correct problem observed by garry zacheiss
2002-08-22 22:59:12 +00:00
Nickolai Zeldovich
2a6c074d3c Drop GLOCK over the entire loop iterating over the iovec, since
it's not needed for any operations performed in the loop (rather
than dropping it just for the memcpy inside the loop).
2002-08-22 20:43:30 +00:00
Derrick Brashear
8e66ec5e01 prototypes-fixes-20020821
screw it. if winnt can have generic pointers, so can we

====================
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 cast all the pointers
2002-08-22 19:45:11 +00:00
Derrick Brashear
0e05e114a6 vsprocs-checkvolume-bug-20020822
if we're going to make a string we should make it where we expect it
2002-08-22 18:53:43 +00:00
Derrick Brashear
76aa5ff218 sunos-support-cleanup-20020822
some things want ucontext.h. leave it there
2002-08-22 18:02:03 +00:00
Nickolai Zeldovich
5d36376c07 Add two useful functions for string operations: afs_strdup() and
afs_osi_FreeStr().  Will be used by an upcoming patch.
2002-08-22 18:01:51 +00:00
Nickolai Zeldovich
f840143cd6 Make "fs newcell" work even when there are no pre-existing cells in
the kernel yet.  Previously, newcell tried to issue a GetCell pioctl
to figure out what version of the pioctl interface the kernel is
using.  Lacking such information (if the pioctl returns an error),
we now assume the newer interface.
2002-08-22 18:00:15 +00:00
Chaskiel M Grundman
b1edf891d7 struct-buf-hack-cleanup-20020822
get rid of bogus struct and just declare it
2002-08-22 17:19:38 +00:00
Derrick Brashear
0c15f693e3 solaris-make-cleanup-20020822
avoid make confusion about libafs target
2002-08-22 17:14:14 +00:00
Chaskiel M Grundman
ab09e39174 darwin-head-build-fixes-20020821
make the head build on darwin
2002-08-22 01:15:09 +00:00
Chaskiel M Grundman
da1203ea20 prototypes-fixes-20020821
fix the following problems
- including osi_vfs.h on almost all platforms, even though afsincludes.h
already deals with it
- universally declaring afs_globalVFS as a struct vfs *
- declaring afs_stats_XferSumBytes in a header without a storage class
- using afsincludes.h without sysincludes.h
- make clean removes a source file in rxkad

====================
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.
====================

irix needs this, put it back

====================

cast parm argument to CreateProcess

====================

more lwp createprocess fun

====================

more lwp
2002-08-22 01:13:09 +00:00
Derrick Brashear
d539fb41e5 osi-vfs-h-only-on-linux-20020821
based on report from Chaskiel Grundman

no osi_vfs.h on anything but linux
2002-08-22 01:05:23 +00:00
Chaskiel M Grundman
89f411e22c darwin-updates-20020821
should be correct support for 10.2. also updates for 10.1
2002-08-21 23:07:52 +00:00
Derrick Brashear
c6fcaad9e8 ptserver-catch-empty-idlist-20020831
based on report from joda+openafs@pdc.kth.se
consistent with what the opposite transform does
2002-08-21 22:12:58 +00:00
Hartmut Reuter
6587d22521 int64-operator-updates-20020821
Changing the length and offset fields from afs_int64 to afs_uint64 gave
strange results for CompareInt64 and SubtractInt64. Therefore it's
better to cast the values as signed in these macros.
2002-08-21 21:57:35 +00:00
Nathan Neulinger
f256e25bc8 eliminate-nested-comments-20020821
cleanup config fragments
2002-08-21 21:34:28 +00:00
Nathan Neulinger
0ca7613ac4 viced-provide-way-to-not-retraverse-hostlist-20020821
based on thomas muellers patch
2002-08-21 21:32:19 +00:00
Nathan Neulinger
c928f5e043 ukernel-updateosi-read-write-for-prototypes-20020821
cleanup
2002-08-21 21:30:00 +00:00
Nathan Neulinger
6ca8bd9741 volser-prototypes-20020831
vsprocs prototyping
2002-08-21 21:02:02 +00:00
Derrick Brashear
d4d7befaeb linux-22-kernel-support-for-current-state-20020821
based on report from alfw@SLAC.Stanford.EDU
2002-08-21 20:57:45 +00:00
Derrick Brashear
9f2a661a98 bosserver-dont-create-unused-directories-20020821
in a build with alternate dirpaths we shouldn't create directories we
don't use
2002-08-21 20:49:04 +00:00
Love Hörnquist-Åstrand
a0938ecaf5 print-cause-of-bosserver-whining-20020821
instead of a vague error be slightly more useful
2002-08-21 20:33:15 +00:00
Nathan Neulinger
4b148570b3 volser-vsprocs-call-enumerateentry-correctly-20020821
prototyping caught this
2002-08-21 20:26:15 +00:00
Jeffrey Hutzelman
808369b969 sunos4-port-20020821
This patch adds support for building OpenAFS user-mode code on SunOS 4.
It does not include libafs, ulibafs, or any code that needs to understand
the filesystem layout (so, no vfsck, and while the salvager will be built,
it won't work).
2002-08-21 20:19:28 +00:00
Derrick Brashear
641beba860 uuid-update-copyright-info-20020821
apply copyright info from arla.
2002-08-21 20:04:05 +00:00
Derrick Brashear
2a2e9b8268 modernize-bozo-20020821
convert to protoized declarations in the bosserver
deal with InitBnode malloc failures
2002-08-21 19:58:18 +00:00
Nathan Neulinger
8f2df21ffe pull-prototypes-to-head-20020821
pull up prototypes to head
2002-08-21 19:52:17 +00:00
Derrick Brashear
ba5ed52c87 bos-fix-restart-usage-message-20020821
as suggested by Turbo Fredriksson

restart does not default to all
2002-08-21 16:43:29 +00:00
Derrick Brashear
ae3e679ab0 realcellindex-fix-allocation-20020821
fix comparison and the double allocation it uncovers
2002-08-21 06:52:18 +00:00
Nickolai Zeldovich
847a5af3be Allow users with admin bits to store different user/group IDs
along with a StoreData call; they can already do so anyway by
using StoreStatus.  Fixes a spurious permission denied error
with arla clients.
2002-08-20 22:39:31 +00:00
Chas Williams
3d0874aa14 linux-dcache-flushing-experimental-20020819
shadow@dementia.org at least partly to blame.

hold the dcache lock only briefly; instead put dcache entries to be junked
onto a free list, by unhashing them, then grab the dcache lock, junk them,
and release it.
2002-08-19 23:06:02 +00:00
Chas Williams
e9ec286d9b linux-dentry-revalidate-lock-kernel-20020813
avoid potential race for shrink_dcache_parent/d_drop

smbfs and nfs do equivalent.

====================
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.
====================

avoid potential race for shrink_dcache_parent/d_drop

smbfs and nfs do equivalent.

slight rework to avoid holding glock in a way which could deadlock us
2002-08-19 22:52:52 +00:00
Garry Zacheiss
f6462eac36 Don't return ELOOP when crossing a mountpoint boundary from a BK volume to
a BK volume.  find treats it as a fatal error, and it's annoying not to be
able to naively use find to recurse through a volume with its backup volume
mounted.  Never noticed this before because we used to ignore this return
value.  Return ENODEV instead.
2002-08-19 19:53:34 +00:00
Love Hörnquist-Åstrand
9a871520c9 An unintentional change accidentally leaked out when the
rx-avoid-using-newproc-on-solaris-20020812 delta was checked
in.  Undo it, since it breaks things.
2002-08-17 17:19:18 +00:00
Harald Barth
1371bb1bec compiler-autoconf-tests-20020815
attempt to find compilers we like
2002-08-15 22:10:23 +00:00
Derrick Brashear
5a7fa71c86 pioctl-write-null-before-copyout-20020814
suggested by lha@stacken.kth.se
2002-08-14 22:18:34 +00:00
Nathan Neulinger
8c2edd9de6 solaris8-param-cleanup-nested-comments-20020813
get rid of nested comment
2002-08-14 02:24:59 +00:00
Nathan Neulinger
1a8355845a kdump-sh-objdir-build-fix-20020813
make objdir build that i keep breaking work again.
2002-08-14 02:22:09 +00:00
Nathan Neulinger
abc490d0fc venus-owntest-cleanup-20020813
exit with errno on failures
2002-08-14 02:21:23 +00:00
Harald Barth
b375c306aa solaris-find-valid-cc-for-compiling-kernel-20020813
configure test to find solaris cc since we can't (yet) compile
kernel module with gcc on solaris.
2002-08-13 20:07:44 +00:00
Nickolai Zeldovich
7dc3c1a6ea Fix a vcache refcount leak in afs_root() on all platforms. 2002-08-12 22:32:39 +00:00
Nickolai Zeldovich
5d3545610b Second attempt at avoiding the use of newproc() on Solaris.
This time, use thread_create to spawn a kernel thread, and
use a dummy packet to wake up the listener during shutdown.
2002-08-12 22:31:03 +00:00