openafs.git
21 years agocachemgr-setuerror-ifdef-cleanup-20020827
Derrick Brashear [Tue, 27 Aug 2002 22:42:25 +0000]
cachemgr-setuerror-ifdef-cleanup-20020827

feature-ifdef for setuerror, and clean up where it's called

21 years agonamei-close-directory-behind-us-always-20020827
Derrick Brashear [Tue, 27 Aug 2002 21:46:16 +0000]
namei-close-directory-behind-us-always-20020827

more or less verbatim as suggested by kolya@mit.edu

avoid leaking directory fds if we get an error

21 years agoprototypes-empty-files-to-diff-against-20020826
Nathan Neulinger [Mon, 26 Aug 2002 22:04:48 +0000]
prototypes-empty-files-to-diff-against-20020826

literally empty

21 years agopackaging-rationale-20020826
Derrick Brashear [Mon, 26 Aug 2002 22:01:00 +0000]
packaging-rationale-20020826

why we bothered to put it here

21 years agodebian-packagings-20020826
Sam Hartman [Mon, 26 Aug 2002 21:52:02 +0000]
debian-packagings-20020826

packagings for debian.

21 years agoredhat-packagings-20020826
Derek Atkins [Mon, 26 Aug 2002 21:46:51 +0000]
redhat-packagings-20020826

afsmodname actually from jhutz@cmu.edu but i don't feel like committing twice

21 years agopackaging-add-macos-bits-20020826
Chaskiel M Grundman [Mon, 26 Aug 2002 21:24:11 +0000]
packaging-add-macos-bits-20020826

the macos x packaging

21 years agolinux-kdump-cleanup-build-process-20020826
Nathan Neulinger [Mon, 26 Aug 2002 16:48:50 +0000]
linux-kdump-cleanup-build-process-20020826

so we don't remake this on each make

21 years agofs-prototyping-20020826
Nathan Neulinger [Mon, 26 Aug 2002 16:47:26 +0000]
fs-prototyping-20020826

prototype the fs command source

21 years agoviced-prototypes-20020826
Nathan Neulinger [Mon, 26 Aug 2002 16:46:32 +0000]
viced-prototypes-20020826

prototyping for viced/callback.c

21 years agovos-move-more-diagnostics-20020826
Nathan Neulinger [Mon, 26 Aug 2002 16:45:28 +0000]
vos-move-more-diagnostics-20020826

in verbose mode, print better diagnostics

21 years agorpc-authent-shlib-support-mostly-20020826
Derrick Brashear [Mon, 26 Aug 2002 16:33:03 +0000]
rpc-authent-shlib-support-mostly-20020826

necessary bits to build shlibs, except since we can't easily decide
when to deal, we don't, yet

21 years agoosconf-cleanup-20020826
Derrick Brashear [Mon, 26 Aug 2002 15:09:35 +0000]
osconf-cleanup-20020826

don't set shlib stuff in makefile fragments. do include sun4_413 in
osconf

21 years agolibafsrpc-use-our-xdr-for-consistency-20020826
Derrick Brashear [Mon, 26 Aug 2002 15:01:19 +0000]
libafsrpc-use-our-xdr-for-consistency-20020826

suggested by Srikanth Vishwanathan

21 years agoprototypes-fixes-20020821
Derrick Brashear [Fri, 23 Aug 2002 05:52:56 +0000]
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)

21 years agodux-juafs-make-it-compile-20020823
Garry Zacheiss [Fri, 23 Aug 2002 05:38:53 +0000]
dux-juafs-make-it-compile-20020823

fix this so make will bother

21 years agodux-call-flushpages-with-cred-20020823
Derrick Brashear [Fri, 23 Aug 2002 05:29:38 +0000]
dux-call-flushpages-with-cred-20020823

we weren't passing in creds before. do so.

21 years agohpux-dont-build-login-20020822
Nathan Neulinger [Fri, 23 Aug 2002 04:36:29 +0000]
hpux-dont-build-login-20020822

don't build login on hpux

21 years agoThis is mostly a rewrite of src/afs/afs_cell.c, and associated changes
Nickolai Zeldovich [Fri, 23 Aug 2002 04:31:38 +0000]
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

21 years agoprototypes-fixes-20020821
Derrick Brashear [Thu, 22 Aug 2002 23:37:11 +0000]
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.

21 years agodux-force-lex-compatible-lex-20020822
Derrick Brashear [Thu, 22 Aug 2002 22:59:12 +0000]
dux-force-lex-compatible-lex-20020822

hopefully to correct problem observed by garry zacheiss

21 years agoDrop GLOCK over the entire loop iterating over the iovec, since
Nickolai Zeldovich [Thu, 22 Aug 2002 20:43:30 +0000]
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).

21 years agoprototypes-fixes-20020821 BP-openafs-rxkad-krb5 openafs-rxkad-krb5-minimal
Derrick Brashear [Thu, 22 Aug 2002 19:45:11 +0000]
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

21 years agovsprocs-checkvolume-bug-20020822
Derrick Brashear [Thu, 22 Aug 2002 18:53:43 +0000]
vsprocs-checkvolume-bug-20020822

if we're going to make a string we should make it where we expect it

21 years agosunos-support-cleanup-20020822
Derrick Brashear [Thu, 22 Aug 2002 18:02:03 +0000]
sunos-support-cleanup-20020822

some things want ucontext.h. leave it there

21 years agoAdd two useful functions for string operations: afs_strdup() and
Nickolai Zeldovich [Thu, 22 Aug 2002 18:01:51 +0000]
Add two useful functions for string operations: afs_strdup() and
afs_osi_FreeStr().  Will be used by an upcoming patch.

21 years agoMake "fs newcell" work even when there are no pre-existing cells in
Nickolai Zeldovich [Thu, 22 Aug 2002 18:00:15 +0000]
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.

21 years agostruct-buf-hack-cleanup-20020822
Chaskiel M Grundman [Thu, 22 Aug 2002 17:19:38 +0000]
struct-buf-hack-cleanup-20020822

get rid of bogus struct and just declare it

21 years agosolaris-make-cleanup-20020822
Derrick Brashear [Thu, 22 Aug 2002 17:14:14 +0000]
solaris-make-cleanup-20020822

avoid make confusion about libafs target

21 years agodarwin-head-build-fixes-20020821
Chaskiel M Grundman [Thu, 22 Aug 2002 01:15:09 +0000]
darwin-head-build-fixes-20020821

make the head build on darwin

21 years agoprototypes-fixes-20020821
Chaskiel M Grundman [Thu, 22 Aug 2002 01:13:09 +0000]
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

21 years agoosi-vfs-h-only-on-linux-20020821
Derrick Brashear [Thu, 22 Aug 2002 01:05:23 +0000]
osi-vfs-h-only-on-linux-20020821

based on report from Chaskiel Grundman

no osi_vfs.h on anything but linux

21 years agodarwin-updates-20020821
Chaskiel M Grundman [Wed, 21 Aug 2002 23:07:52 +0000]
darwin-updates-20020821

should be correct support for 10.2. also updates for 10.1

21 years agoptserver-catch-empty-idlist-20020831
Derrick Brashear [Wed, 21 Aug 2002 22:12:58 +0000]
ptserver-catch-empty-idlist-20020831

based on report from joda+openafs@pdc.kth.se
consistent with what the opposite transform does

21 years agoint64-operator-updates-20020821
Hartmut Reuter [Wed, 21 Aug 2002 21:57:35 +0000]
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.

21 years agoeliminate-nested-comments-20020821
Nathan Neulinger [Wed, 21 Aug 2002 21:34:28 +0000]
eliminate-nested-comments-20020821

cleanup config fragments

21 years agoviced-provide-way-to-not-retraverse-hostlist-20020821
Nathan Neulinger [Wed, 21 Aug 2002 21:32:19 +0000]
viced-provide-way-to-not-retraverse-hostlist-20020821

based on thomas muellers patch

21 years agoukernel-updateosi-read-write-for-prototypes-20020821
Nathan Neulinger [Wed, 21 Aug 2002 21:30:00 +0000]
ukernel-updateosi-read-write-for-prototypes-20020821

cleanup

21 years agovolser-prototypes-20020831
Nathan Neulinger [Wed, 21 Aug 2002 21:02:02 +0000]
volser-prototypes-20020831

vsprocs prototyping

21 years agolinux-22-kernel-support-for-current-state-20020821
Derrick Brashear [Wed, 21 Aug 2002 20:57:45 +0000]
linux-22-kernel-support-for-current-state-20020821

based on report from alfw@SLAC.Stanford.EDU

21 years agobosserver-dont-create-unused-directories-20020821
Derrick Brashear [Wed, 21 Aug 2002 20:49:04 +0000]
bosserver-dont-create-unused-directories-20020821

in a build with alternate dirpaths we shouldn't create directories we
don't use

21 years agoprint-cause-of-bosserver-whining-20020821
Love Hörnquist-Åstrand [Wed, 21 Aug 2002 20:33:15 +0000]
print-cause-of-bosserver-whining-20020821

instead of a vague error be slightly more useful

21 years agovolser-vsprocs-call-enumerateentry-correctly-20020821
Nathan Neulinger [Wed, 21 Aug 2002 20:26:15 +0000]
volser-vsprocs-call-enumerateentry-correctly-20020821

prototyping caught this

21 years agosunos4-port-20020821
Jeffrey Hutzelman [Wed, 21 Aug 2002 20:19:28 +0000]
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).

21 years agouuid-update-copyright-info-20020821
Derrick Brashear [Wed, 21 Aug 2002 20:04:05 +0000]
uuid-update-copyright-info-20020821

apply copyright info from arla.

21 years agomodernize-bozo-20020821
Derrick Brashear [Wed, 21 Aug 2002 19:58:18 +0000]
modernize-bozo-20020821

convert to protoized declarations in the bosserver
deal with InitBnode malloc failures

21 years agopull-prototypes-to-head-20020821
Nathan Neulinger [Wed, 21 Aug 2002 19:52:17 +0000]
pull-prototypes-to-head-20020821

pull up prototypes to head

21 years agobos-fix-restart-usage-message-20020821 openafs-devel_1_3_3
Derrick Brashear [Wed, 21 Aug 2002 16:43:29 +0000]
bos-fix-restart-usage-message-20020821

as suggested by Turbo Fredriksson

restart does not default to all

21 years agorealcellindex-fix-allocation-20020821
Derrick Brashear [Wed, 21 Aug 2002 06:52:18 +0000]
realcellindex-fix-allocation-20020821

fix comparison and the double allocation it uncovers

21 years agoAllow users with admin bits to store different user/group IDs
Nickolai Zeldovich [Tue, 20 Aug 2002 22:39:31 +0000]
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.

21 years agolinux-dcache-flushing-experimental-20020819
Chas Williams [Mon, 19 Aug 2002 23:06:02 +0000]
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.

21 years agolinux-dentry-revalidate-lock-kernel-20020813
Chas Williams [Mon, 19 Aug 2002 22:52:52 +0000]
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

21 years agoDon't return ELOOP when crossing a mountpoint boundary from a BK volume to
Garry Zacheiss [Mon, 19 Aug 2002 19:53:34 +0000]
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.

21 years agoAn unintentional change accidentally leaked out when the
Love Hörnquist-Åstrand [Sat, 17 Aug 2002 17:19:18 +0000]
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.

21 years agocompiler-autoconf-tests-20020815
Harald Barth [Thu, 15 Aug 2002 22:10:23 +0000]
compiler-autoconf-tests-20020815

attempt to find compilers we like

21 years agopioctl-write-null-before-copyout-20020814
Derrick Brashear [Wed, 14 Aug 2002 22:18:34 +0000]
pioctl-write-null-before-copyout-20020814

suggested by lha@stacken.kth.se

21 years agosolaris8-param-cleanup-nested-comments-20020813
Nathan Neulinger [Wed, 14 Aug 2002 02:24:59 +0000]
solaris8-param-cleanup-nested-comments-20020813

get rid of nested comment

21 years agokdump-sh-objdir-build-fix-20020813
Nathan Neulinger [Wed, 14 Aug 2002 02:22:09 +0000]
kdump-sh-objdir-build-fix-20020813

make objdir build that i keep breaking work again.

21 years agovenus-owntest-cleanup-20020813
Nathan Neulinger [Wed, 14 Aug 2002 02:21:23 +0000]
venus-owntest-cleanup-20020813

exit with errno on failures

21 years agosolaris-find-valid-cc-for-compiling-kernel-20020813
Harald Barth [Tue, 13 Aug 2002 20:07:44 +0000]
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.

21 years agoFix a vcache refcount leak in afs_root() on all platforms.
Nickolai Zeldovich [Mon, 12 Aug 2002 22:32:39 +0000]
Fix a vcache refcount leak in afs_root() on all platforms.

21 years agoSecond attempt at avoiding the use of newproc() on Solaris.
Nickolai Zeldovich [Mon, 12 Aug 2002 22:31:03 +0000]
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.

21 years agoOnly put xdr_int64.o on the linker's argument list once. It's already
Nickolai Zeldovich [Mon, 12 Aug 2002 22:29:28 +0000]
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.

21 years agoDon't print out-of-range index error messages when all it means
Nickolai Zeldovich [Mon, 12 Aug 2002 22:27:51 +0000]
Don't print out-of-range index error messages when all it means
is that we've reached the end of the server list.

21 years agolinux-symbol-export-test-20020810
Derrick Brashear [Sat, 10 Aug 2002 07:32:21 +0000]
linux-symbol-export-test-20020810

test for tasklist_lock being exported

discussion on openafs-devel to follow

21 years agolinux-gcpags-smp-safeness-20020810
Derrick Brashear [Sat, 10 Aug 2002 07:31:13 +0000]
linux-gcpags-smp-safeness-20020810

hold tasklist_lock in the right place. doesn't yet address versions which don't export it.

21 years agoSet the maxfilesize rlimit to infinity while writing to cache files
Nickolai Zeldovich [Fri, 9 Aug 2002 22:15:12 +0000]
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.

21 years agonetinfo-support-fake-ips-for-nat-20020808
Derrick Brashear [Thu, 8 Aug 2002 19:46:13 +0000]
netinfo-support-fake-ips-for-nat-20020808

basically verbatim from Todd DeSantis, cleared for release by IBM

21 years agoClean up the prefetch code for Linux, by calling afs_PrefetchChunk
Chas Williams [Tue, 6 Aug 2002 20:49:00 +0000]
Clean up the prefetch code for Linux, by calling afs_PrefetchChunk
directly rather than changing the ifdef's in afs_UFSRead.

21 years agopam-afs-man-page-20020806
Charles Clancy [Tue, 6 Aug 2002 19:58:02 +0000]
pam-afs-man-page-20020806

our first real man page. now, we just need a few hundred others.

21 years agoFix some of the things that break compilation on Windows.
Nickolai Zeldovich [Tue, 6 Aug 2002 19:21:54 +0000]
Fix some of the things that break compilation on Windows.

21 years agovos-listaddrs-avoid-holes-in-index-20020805
Derrick Brashear [Mon, 5 Aug 2002 23:07:12 +0000]
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

21 years agodcache-fix-alen-miscalculation-bug-20020805
Hartmut Reuter [Mon, 5 Aug 2002 22:03:34 +0000]
dcache-fix-alen-miscalculation-bug-20020805

*alen was being calculated wrong in GetDCache
also fix fstrace items

21 years agoUpdate NEWS file with user visible changes in 1.2.6.
Garry Zacheiss [Fri, 2 Aug 2002 08:01:04 +0000]
Update NEWS file with user visible changes in 1.2.6.

21 years agoInclude xdr.o and xdr_array.o in librx, to pick up xdr fix.
Garry Zacheiss [Fri, 2 Aug 2002 03:41:22 +0000]
Include xdr.o and xdr_array.o in librx, to pick up xdr fix.

21 years agoClean up partial write support on Linux by calling afs_DoPartialWrite
Chas Williams [Thu, 1 Aug 2002 19:08:13 +0000]
Clean up partial write support on Linux by calling afs_DoPartialWrite
from afs_linux_writepage_sync.

21 years agolinux-alloc-dont-drop-what-you-dont-have-20020801
Chas Williams [Thu, 1 Aug 2002 17:11:35 +0000]
linux-alloc-dont-drop-what-you-dont-have-20020801

avoid trying to drop a glock we don't have

21 years agoAdd a prototype of afs_GetRealCellByIndex to fix Irix build.
Garry Zacheiss [Thu, 1 Aug 2002 04:33:12 +0000]
Add a prototype of afs_GetRealCellByIndex to fix Irix build.

21 years agoInclude errno.h so this compiles again.
Garry Zacheiss [Thu, 1 Aug 2002 03:45:06 +0000]
Include errno.h so this compiles again.

21 years agoxdr-updates-20020731
Jeffrey Hutzelman [Thu, 1 Aug 2002 00:13:09 +0000]
xdr-updates-20020731

update xdr so internal variables match what's being passed in

21 years agolinux-start-if-dynroot-even-if-no-network-20020731
Derek Atkins [Wed, 31 Jul 2002 23:41:02 +0000]
linux-start-if-dynroot-even-if-no-network-20020731

if we start with dynroot, dont worry if we have net or not

21 years agodeal-with-linux-EAGAIN-returns-when-receiving-20020731
Jeffrey Hutzelman [Wed, 31 Jul 2002 23:35:09 +0000]
deal-with-linux-EAGAIN-returns-when-receiving-20020731

sometimes you get EAGAIN from recvfrom, apparently if a packet comes in with a
bad checksum for instance. we should deal better.

21 years agolinux-alloc-drop-glock-if-we-can-20020731
Chas Williams [Wed, 31 Jul 2002 23:29:38 +0000]
linux-alloc-drop-glock-if-we-can-20020731

if we can drop the glock, do so. allocate up to PAGE_SIZE with kmalloc before
switching to vmalloc

21 years agoafs-getcell-pioctl-should-be-able-to-provide-complete-list-20020731
Derrick Brashear [Wed, 31 Jul 2002 23:15:16 +0000]
afs-getcell-pioctl-should-be-able-to-provide-complete-list-20020731

don't use the LRUq since it can make us miss cells. don't use the existant
index because it includes cell aliases

21 years agolinux-note-we-use-interruptible-sleeps-in-non-compliant-manner-20020731
Derrick Brashear [Wed, 31 Jul 2002 22:54:41 +0000]
linux-note-we-use-interruptible-sleeps-in-non-compliant-manner-20020731

based on discussion with David Howells of RedHat

21 years agofix-fakestat-support-for-hardlinks-20020731 made afs_vnop_link.c
Nickolai Zeldovich [Wed, 31 Jul 2002 19:43:31 +0000]
fix-fakestat-support-for-hardlinks-20020731 made afs_vnop_link.c
not compile under Sun's cc, since it tried to take the address of
a register variable.  Don't declare the arguments as register.

21 years agoaix-make-ukernel-build-20020731
Hartmut Reuter [Wed, 31 Jul 2002 17:41:24 +0000]
aix-make-ukernel-build-20020731

make it compile under aix

21 years agoSupport afs_link() in volume roots when using fakestat.
Nickolai Zeldovich [Wed, 31 Jul 2002 14:43:17 +0000]
Support afs_link() in volume roots when using fakestat.

21 years agoEnable afs_DoPartialWrite() and afs_PrefetchChunk() in afs_UFSRead
Chas Williams [Tue, 30 Jul 2002 20:34:32 +0000]
Enable afs_DoPartialWrite() and afs_PrefetchChunk() in afs_UFSRead
and afs_UFSWrite for Linux; fixes deadlock condition for small
cache sizes.

21 years agoRemove two unnecessary casts that prevented compilation on Linux 2.2.
Nickolai Zeldovich [Mon, 29 Jul 2002 23:48:39 +0000]
Remove two unnecessary casts that prevented compilation on Linux 2.2.

21 years agoafs_PutVCache() takes a second argument, although it doesn't get used.
Nathan Neulinger [Mon, 29 Jul 2002 21:45:50 +0000]
afs_PutVCache() takes a second argument, although it doesn't get used.

21 years agoSupport empty CellServDB entries like arla; this is useful to
Nickolai Zeldovich [Mon, 29 Jul 2002 21:03:36 +0000]
Support empty CellServDB entries like arla; this is useful to
tell dynroot about the existence of a cell without hard-coding
the server list (it will be fetched from AFSDB).

21 years agoRe-encode struct fcntl back into Linux's struct file_lock so
Nickolai Zeldovich [Sat, 27 Jul 2002 19:06:08 +0000]
Re-encode struct fcntl back into Linux's struct file_lock so
that fcntl(F_GETLK) returns proper values to the user.

21 years agosolaris-nfs-module-updates-20020726
Derrick Brashear [Fri, 26 Jul 2002 21:55:13 +0000]
solaris-nfs-module-updates-20020726

make it compile again

21 years agocleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726
Tino Schwarze [Fri, 26 Jul 2002 21:38:41 +0000]
cleanup-pioctl-avoid-inadvertantly-setting-new-pags-due-to-gcc-20020726

fix operator precedence bug

21 years agoVerify that afs_GetCellByIndex() returns a valid cell -- it might
Nickolai Zeldovich [Fri, 26 Jul 2002 21:27:55 +0000]
Verify that afs_GetCellByIndex() returns a valid cell -- it might
be NULL if afs_NewCell() aborted partway through, which could be
the case of the CellServDB file has a typo.

21 years agopam-multi-cell-support-20020725
Charles Clancy [Fri, 26 Jul 2002 06:56:04 +0000]
pam-multi-cell-support-20020725

"will let you do
something like:

auth optional   /lib/security/pam_afs.so cell other-cell.domain.net
auth sufficient /lib/security/pam_afs.so try_first_pass refresh_token \
cell main-cell.domain.net
auth required   /lib/security/pam_unix.so

You need to specify "refresh_token" the second time you call it to prevent
it from getting a second PAG and making your first token useless.

Or, you can just use it once to authenticate to a cell other than what's
in /usr/vice/etc/ThisCell.  Not specifying the "cell" argument causes the
expected behavior of authenticating against the local cell."

21 years agovos-examine-print-extra-stuff-if-so-compiled-20020725
Jeffrey Hutzelman [Fri, 26 Jul 2002 06:45:51 +0000]
vos-examine-print-extra-stuff-if-so-compiled-20020725

the --enable-full-vos-listvol-switch configure switch also compiles
in this extended vos examine info

21 years agojafs-library-20020725
Manuel Pereira [Fri, 26 Jul 2002 06:33:59 +0000]
jafs-library-20020725

Java API work

21 years agowindows-no-more-files-workaround-20020725
Ryan Lantzer [Fri, 26 Jul 2002 06:09:56 +0000]
windows-no-more-files-workaround-20020725

work around erroneous "no more files" error in winnt client