Commit Graph

1082 Commits

Author SHA1 Message Date
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
Nickolai Zeldovich
f16544d04a Only put xdr_int64.o on the linker's argument list once. It's already
listed in Makefile.common.in, so no need to specify it again.
2002-08-12 22:29:28 +00:00
Nickolai Zeldovich
85db3fa425 Don't print out-of-range index error messages when all it means
is that we've reached the end of the server list.
2002-08-12 22:27:51 +00:00
Derrick Brashear
2bde78fdac linux-symbol-export-test-20020810
test for tasklist_lock being exported

discussion on openafs-devel to follow
2002-08-10 07:32:21 +00:00
Derrick Brashear
38025e0650 linux-gcpags-smp-safeness-20020810
hold tasklist_lock in the right place. doesn't yet address versions which don't export it.
2002-08-10 07:31:13 +00:00
Nickolai Zeldovich
3e6640e96d Set the maxfilesize rlimit to infinity while writing to cache files
to avoid potential truncation if the user's rlimit is too low.  This
bug likely also exists in AIX, DARWIN, DUX, FBSD, HPUX and NBSD, but
surprisingly IRIX got this right.
2002-08-09 22:15:12 +00:00
Derrick Brashear
caeecc241e netinfo-support-fake-ips-for-nat-20020808
basically verbatim from Todd DeSantis, cleared for release by IBM
2002-08-08 19:46:13 +00:00
Chas Williams
08c2c637ab Clean up the prefetch code for Linux, by calling afs_PrefetchChunk
directly rather than changing the ifdef's in afs_UFSRead.
2002-08-06 20:49:00 +00:00
Charles Clancy
f4d6cdd26c pam-afs-man-page-20020806
our first real man page. now, we just need a few hundred others.
2002-08-06 19:58:02 +00:00
Nickolai Zeldovich
fa729e7694 Fix some of the things that break compilation on Windows. 2002-08-06 19:21:54 +00:00
Derrick Brashear
61442535ba vos-listaddrs-avoid-holes-in-index-20020805
index may have holes in it, so make sure we actually walk over the number
of entries we expect
2002-08-05 23:07:12 +00:00
Hartmut Reuter
b8c94524a3 dcache-fix-alen-miscalculation-bug-20020805
*alen was being calculated wrong in GetDCache
also fix fstrace items
2002-08-05 22:03:34 +00:00
Garry Zacheiss
e225317210 Update NEWS file with user visible changes in 1.2.6. 2002-08-02 08:01:04 +00:00