Commit Graph

1011 Commits

Author SHA1 Message Date
Nickolai Zeldovich
9d8ad37ced 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.
2002-07-26 21:27:55 +00:00
Charles Clancy
77efb238b1 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."
2002-07-26 06:56:04 +00:00
Jeffrey Hutzelman
2ee7d7e0fb 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
2002-07-26 06:45:51 +00:00
Manuel Pereira
6738516b53 jafs-library-20020725
Java API work
2002-07-26 06:33:59 +00:00
Ryan Lantzer
595f9ae433 windows-no-more-files-workaround-20020725
work around erroneous "no more files" error in winnt client
2002-07-26 06:09:56 +00:00
Rainer Toebbicke
fd2cb884e2 tbutc-uses-not-thread-safe-status-20020725
"The multithreaded butc (src/tbutc/butc) includes bucoord/status.o, which is
compiled together with the other bucoord stuff without MT_CFLAGS and hence
without AFS_PTHREAD_ENV defined. Alas, it uses ObtainWriteLock and other
macros out of lock.h which *are* sensitive to AFS_PTHREAD_ENV. Consequently,
butc can hang trying to acquire the statusQueueLock when dumping volumes, in
particular if 'backup status' commands are issued frequently.

A proper fix would probably be to push some of those macros out of lock.h and
make them subroutines in lock.c.

A quick fix is ensuring status.c gets recompiled in tbutc/Makefile.in"
2002-07-26 05:58:39 +00:00
Chas Williams
efbaa07c99 linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725
try to become less invasive about dcache child flushing
2002-07-26 00:37:51 +00:00
Chas Williams
fc71eb6e25 linux-cleanup-rx-cv-locking-20020725
cleanup wait queue usage
grab glock before mutex (like all other ports)
2002-07-26 00:29:52 +00:00
Chas Williams
0f4021128e linux-hold-glock-across-dentry-trace-entries-while-tracing-20020725
this is actually rather scary
2002-07-26 00:11:30 +00:00
Chas Williams
0e53c862c3 revert-linux-use-d-prune-aliases-instead-of-try-dcache-children-20020725
not currently safe on smp kernel uniprocessor systems for some reason. revert.
also fix unlock/dget ordering to be consistent
2002-07-25 21:45:10 +00:00
Nickolai Zeldovich
77b1a76e47 Work around MacOSX Finder's behavior by returning ENOENT when the user
tries to look up Contents or .DS_Store in an uncached volume root.
2002-07-23 00:04:22 +00:00
Nickolai Zeldovich
fbb81cb4ed Correctly check for 32-bit file size limitations on Solaris;
the MAXOFF_T value changed from 32-bit to 64-bit in Solaris 7.
2002-07-22 22:23:43 +00:00
Nickolai Zeldovich
9cd177c636 Translate faultcode_t return values from vm routines into errno codes. 2002-07-22 19:32:34 +00:00
Chas Williams
73cdd10a1b linux-dentry-deletion-for-unlinked-files-22-version-20020721
make it work for 2.2 kernels also
also some debugging
2002-07-22 04:47:24 +00:00
Nickolai Zeldovich
349c211789 Try to update attributes for volume roots when they become available,
under Linux with fakestat.
2002-07-20 09:12:23 +00:00
Nickolai Zeldovich
e2fcfb88a2 Minor internal cleanup of fakestat's afs_EvalFakeStat and
afs_TryEvalFakeStat; no functional change.
2002-07-20 08:57:17 +00:00
Nickolai Zeldovich
4fac7a61d8 VN_RELE calls osi_iput on Linux which tries to get GLOCK.
Don't call VN_RELE while holding GLOCK.
2002-07-20 08:53:33 +00:00
Chas Williams
cabd0bbd4f linux-dentry-delete-so-unlinked-files-die-nicely-20020718
"d_delete: needs to call iput() to decrement i_count, which
you get by returning 1 instead of 0.

looking at the other fs schemes (actually its pretty clear in the
nfs code too) i see that they return 1 for 'is_bad_inode()'."
2002-07-18 13:27:48 +00:00
Joakim Fallsjö
d53f4f14e1 solaris-placate-gmake-builds-20020718
so gmake will find the necessary source files
2002-07-18 13:10:46 +00:00
Derrick Brashear
d84171dd30 hpux-updates-20020716
get us closer to building
2002-07-16 23:24:54 +00:00
Nickolai Zeldovich
d0c8c165a3 provide an example CellAlias file. 2002-07-16 18:39:50 +00:00
Chaskiel M Grundman
90deacca54 freebsd-isnt-darwin-20020713
update rc script for freebsd
2002-07-13 04:30:54 +00:00
Chaskiel M Grundman
affdbe8db3 freebsd-chunk-corruption-fix-20020713
This patch will fix the "freebsd can't read files > 1 chunk" problem. It
will almost certainly not fix the "cache files get the bootloader written
into them" problem, but there is a miniscule chance:
2002-07-13 04:28:28 +00:00
Joakim Fallsjö
bfaa3bac05 libjaufs-build-fix-20020713
make it install cleanly
2002-07-13 04:25:23 +00:00
Chas Williams
6ed4fae804 linux-use-d-prune-aliases-instead-of-try-dcache-children-20020712
clean up dcache entries with function provided in the kernel instead
of by making our own. experimental.
2002-07-12 21:41:59 +00:00
Derrick Brashear
c927f48236 uuid-dont-require-snprintf-in-ukernel-20020711
because obviously not everything has it
2002-07-11 23:10:16 +00:00
Chaskiel M Grundman
7e0d50a108 darwin-vm-bugfix-for-running-apps-out-of-afs-20020710
this "fixes a problem that causes the afs kernel code to spew
into syslog if a long running application is run out of /afs"
2002-07-11 03:32:52 +00:00
Derrick Brashear
66bd2d780e kaserver-set-realm-name-in-tgts-20020708
based on comment from Chaskiel Grandman regarding observed poor
interoperability of klog-generated tgts with other kdcs where key is
otherwise same
2002-07-08 21:17:38 +00:00
Derrick Brashear
616f796024 libadmin-vsprocs-use-volint-prototyping-20020702
use the prototyping from volint.h
2002-07-02 06:01:40 +00:00
Derrick Brashear
b745a28c47 libuafs-build-juafs-everywhere-20020702
copy this crap to the other makefiles
2002-07-02 05:53:25 +00:00
Derrick Brashear
937149e315 afs-uuid-no-string-functions-in-kernel-20020701
some kernels have no sscanf. don't do it.
2002-07-01 17:26:29 +00:00
Love Hörnquist-Åstrand
842925a2e8 netbsd-16-initial-support-20020630
allow us to configure for nbsd 16
2002-06-30 18:13:36 +00:00
Jeremy Stribling
c746dbb3cb openafs-tools-update-20020630
updates for openafs-tools command suite
2002-06-30 08:43:11 +00:00
Love Hörnquist-Åstrand
e68e9dbfa8 ignore-more-20020630
ignore more stuff at the top-level
2002-06-30 08:05:08 +00:00
Chaskiel M Grundman
30fb2c1484 freebsd-initial-46-support-20020630
make it build for 4.6
2002-06-30 07:48:47 +00:00
Chas Williams
fb8871ec2e linux-fix-readdir-hinting-20020630
an earlier patch erroneously removed this
2002-06-30 07:39:12 +00:00
Derrick Brashear
b2788cf3ab linux-gcpags-support-20020625
might even work
2002-06-25 16:25:43 +00:00
Derrick Brashear
19ffb82266 linux-kernel-detect-gfp-mask-in-struct-address-space-20020624
based on report that new redhat kernels need this
2002-06-25 16:02:11 +00:00
Chas Williams
048543ade8 linux-sleep-wakeup-cleanup-20020624
"cleanup osi_sleep.c to remove some additional races.  this patches
removes AFS_GLOBAL_SUNLOCK and just uses that case to handle both
smp and non smp cases.  osi_TimedSleep always sleeps atleast 1 hz.
(it also always sleeps interruptibly -- you might get some extra
loops but this is better than the load average running away)
sleep_on's are replaced with the more appropriate add_waitq/schedule
sequence.  getevent is called after addevent since there is no
danger of GLOCK dropping.  getevent/addevent isnt re-merged since
osi_Wakeup doesnt create entries in the event table."
2002-06-24 23:18:18 +00:00
Kris Van Hees
78b1f7ec56 vol-allocate-partition-names-dynamically-to-avoid-problems-with-vx-stuff-20020624
otherwise long device paths can screw you
2002-06-24 20:09:59 +00:00
Derrick Brashear
de06f45787 linux-dont-install-osi-vfs-h-when-no-kernel-module-20020611
do --disbale-kernel-mdoule build works

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

the rest of the patch
2002-06-24 18:34:02 +00:00
Marcus Watts
2b4d2224ba ubik-pause-collapsing-20020624
I'm told that after we introduce ptserver nested groups we can expect to
see periodic pauses in ubik operations, and this fixes the problem. if it
happens, we can start with the UBIK_PAUSE code and go from there
2002-06-24 17:30:34 +00:00
Chas Williams
fe1648ca02 linux-more-osi-sleep-wakeup-fun-20020624
"the attached patch 'fixes', in my opinion, in osi_alloc.  objects <=
AFS_SMALLOCSIZ are alloced with kmalloc, other vmalloc.  if kmalloc
fails it doesnt fail over to vmalloc.  TASK_RUNNING is set after
schedule.  it doesnt drop the GLOCK.  i moved the allocator init
later so that it doesnt need to toggle the semaphore just before
going to linux_alloc."
2002-06-24 16:40:41 +00:00
Derrick Brashear
60659d2c8f ufsread-save-the-oops-for-where-we-expect-it-20020624
based on comment from matt@slackers.net
2002-06-24 16:23:40 +00:00
Pavel Semerad
68de4bbb02 dcache-locking-cleanup-20020624
don't oops if getDCache failed
2002-06-24 16:03:34 +00:00
Richard Basch
30433f36a9 Update_TargetVnodeStatus() checks and strips setuid bits for non admin
clients; it should do the same thing for setgid files.
2002-06-22 05:32:45 +00:00
Derrick Brashear
664e4f6f0d Add afsUUID_to_string() and afsUUID_from_string() utility functions, from
arla.
2002-06-22 05:26:52 +00:00
Garry Zacheiss
691edd4ea6 Use:
#define CONFIG_SMP 1

instead of:

#define CONFIG_SMP

to fix recent Redhat kernel which used #if CONFIG_SMP instead of
#ifdef CONFIG_SMP in some kernel headers.
2002-06-22 05:24:49 +00:00
Derrick Brashear
307543629d linux-newvcache-make-sure-we-dont-try-to-iterate-null-pointer-20020615
based on report from wilder@us.ibm.com
not clear this is sufficient
2002-06-15 18:11:18 +00:00
Derrick Brashear
d13f701812 afsd-dont-print-garbage-on-bad-cacheinfo-file-20020615
based on report from matt@slackers.net

don't bother printing anything we parsed, since we're guaranteed at least
one item is trash anyhow
2002-06-15 17:52:00 +00:00