Commit Graph

7190 Commits

Author SHA1 Message Date
Derrick Brashear
c2805ce8af conditionals-for-linux-ac-kernels-20010420
Adapted from katzj@linuxpower.org's work. Still needs makefile hackery and
glue scripts to do the defining
2001-04-21 05:23:25 +00:00
Derrick Brashear
7d51f70937 be-tolerant-of-unbuilding-kdumps-20010420
so people who can't get kdump to build aren't so confused
2001-04-21 04:14:56 +00:00
Derrick Brashear
cb169b7b12 truncate-inode-pages-for-linux22-20010420
backport support for 2.2 kernerls
2001-04-21 02:35:29 +00:00
Chas Williams
06a3d080b4 linux-call-truncate-inode-pages-in-preference-to-invalidate-inode-pages-20010420
To cure "Failed to invalidate all pages on inode 0xc9208720"

====================
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.
====================
2001-04-21 02:23:04 +00:00
Jeremy Katz
39d23fc838 linux-vfsops-updates-20010420
set s_maxbytes if MAX_NON_LFS is defined

use &tvp->v nsttead of tvp
2001-04-21 02:06:52 +00:00
Jeremy Katz
4bafb7a05e afs-gunlock-when-umount-as-not-suser-20010420
bad to AFS_GLOCK then exit without AFS_GUNLOCK
2001-04-21 01:31:39 +00:00
Chas Williams
61ab04a06c linux24-add-missing-truncate-inode-pages-call-20010420
actually do the inode page truncation for linux 2.4
2001-04-21 01:14:16 +00:00
Derrick Brashear
3d4fa5b444 undo-i386-linux-64bit-env-20010420
It turns out defining AFS_64BIT_ENV ends up causing accesses to hang
if a server goes down; Should not be the case but other work will be needed
to figure out why or even if we need to be AFS_64BIT_ENV; in the meantime,
revert this part of patches done for xdr_int64; it's not ncessary now anyhow
2001-04-21 00:58:24 +00:00
Nickolai Zeldovich
a86c6b835a vfs-dqrwlock-doesnt-exist-before-solaris7-20010420
in order that the modified solaris code works on pre-solaris7 it's necessary
to not use the locks we didn't have then
2001-04-21 00:34:59 +00:00
Chas Williams
0ec5d7fa11 linux24-ppc-has-no-setgroups32-20010420
use generic ifdef to deal with ppc 2.4 not having setgroups32 yet
2001-04-20 23:42:11 +00:00
Tom Maher
6bfdf43e9f install-updates-for-freebsd-20010420
make install build for freebsd
2001-04-20 23:38:51 +00:00
Derrick Brashear
8d91087287 linux-dentry-revalidation-always-revalidate-20010420
Based on collaboration with Chas Williams and Chaskiel Grundman

Always force revalidation so if call which caused caching was in another
authentication "context" we don't inadvertantly leak information.

Cases where things matter involve bad caching for negative dentries
(something fails because you don't have permission, then you authenticate
and the negative dentry is not flushed) or when you have l only and
someone with rl caused the dentry to get cached, in which case stat()
information and nothing else is leaked
2001-04-20 23:34:03 +00:00
Chas Williams
bb46079477 linux-cleanup-after-check-bad-parent-20010416
check_bad_parent doing lookups is incrementing i_count and
nothing is cleaning up after it; this should make it happier
2001-04-16 22:09:15 +00:00
Chaskiel M Grundman
315191f6d4 linux-dont-d-drop-in-revalidate-20010416
calling d_drop ends up precluding shrink_dcache_parent; don't call it
2001-04-16 19:11:04 +00:00
Chaskiel M Grundman
beda84b831 linux-dentry-revalidation-rework-20010416
invalidate based on dataversion so negative dentries will actually go away
2001-04-16 05:01:39 +00:00
Derrick Brashear
08aaf5c45d rmdir(2) claims
ENOTDIR
              pathname,  or  a  component  used as a directory in
              pathname, is not, in fact, a directory.

       ENOTEMPTY
              pathname contains entries other than . and .. .

meaning what we really want to return here is ENOTEMPTY

====================
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.
====================
2001-04-14 19:25:41 +00:00
Nathan Neulinger
1e9fc5888f warning-cleanup-20010414
cleanup based on complaints for gcc -Wall
2001-04-14 18:49:51 +00:00
Nathan Neulinger
2ca31969c6 allow-disabling-compile-of-obsolete-and-insecure-bits-20010414
so that ntp, rcmds, inetd, mpp and package can be disabled easily
2001-04-14 18:45:16 +00:00
Nathan Neulinger
b38f3590c8 update-linux-gcc-processor-optimization-flag-20010414
gcc now wants -march not -m(processor)
2001-04-14 18:38:06 +00:00
Nickolai Zeldovich
d50326c7c1 solaris-ufs-call-updates-20010414
updates per message from Frank Batschulat <Frank.Batschulat@Sun.COM>
regarding problems with how afs hooked the solaris ufs code
2001-04-14 18:34:32 +00:00
Mattias Amnefelt
9e4c9975ad update-volumesets-for-deletevolentry-20010414
analog of patch for addvolentry
2001-04-14 18:31:49 +00:00
Tom Maher
0c1eb3a380 initial-freebsd-port-work-20010414
start of work on freebsd port
2001-04-14 18:27:12 +00:00
Chas Williams
c402670db9 linux-inode-and-dentry-validation-rework-20010413
gets us closer to the ideal in inode and dentry revalidation
2001-04-13 22:56:00 +00:00
Derrick Brashear
3133a57729 make-use-of-int-preblock-specific-to-s390-linux-20010412
based on report Pavel Semerad <semerad@ss1000.ms.mff.cuni.cz>, but fixing the
root cause.
2001-04-12 21:39:33 +00:00
Chaskiel M Grundman
4fafb35ccf better-type-guessing-for-readdir-hint-20010411
instead of just saying unknown, if we know for sure, provide the info
2001-04-11 20:17:51 +00:00
Volker Holfeld
d065b7fc51 windows-compile-fixes-20010411
ignore serverLog on nt

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

correct typo for nt

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

update volinfo -filenames feature for nt
2001-04-11 19:57:23 +00:00
Nickolai Zeldovich
020669f21a rx-keep-track-of-resent-packets-20010406
previously the resent packet counter was never incremented
2001-04-06 19:22:01 +00:00
Nickolai Zeldovich
0b1598cf4b dont-fflush-fds-20010406
bogus call to fflush in server log code, trying to fflush a file descriptor
2001-04-06 19:13:19 +00:00
Nickolai Zeldovich
a574d1e742 partition-include-headers-to-get-opendir-etc-20010406
so namei code comes closer to being useful in more cases
2001-04-06 19:11:44 +00:00
Chaskiel M Grundman
e0cac68059 linux24-new-afs-xsetgroups32-implementation-20010406
afs_xsetgroups32 is now a copy of afs_xsetgroups, with the call to
sys_setgroupsp changed to sys_setgroups32p

no change to sparc64 port stuff
2001-04-06 19:08:09 +00:00
Chaskiel M Grundman
cc05bd3425 darwin-pagincred-will-notice-pags-20010406
make PagInCred notice pags on darwin
2001-04-06 19:03:46 +00:00
Nathan Neulinger
c0742b1f50 remove-endif-warning-20010405
endif comment should be commentized
2001-04-05 20:32:41 +00:00
Nathan Neulinger
3daff69589 use-consistent-data-typing-for-hosts-20010404
use afs_uint32 everywhere
2001-04-04 21:36:19 +00:00
Nathan Neulinger
0b88affca4 placate-gmake-on-solaris-when-building-libafs-20010404
gmake tries to build something named libafs, make it not
2001-04-04 21:29:31 +00:00
Nathan Neulinger
3c1176d868 vfsck-doesnt-build-on-hpux11-20010404
previous revisions caused it to be attempted to be built
2001-04-04 21:27:43 +00:00
Hartmut Reuter
d06043cc10 make-getfreetag-find-correct-free-tags-20010404
"I have found a "nice" bug in namei_ops.c:

In GetFreeTag() the following code was used to find a free place in the
link table entry:

    /* Now find a free column in this row and claim it. */
    coldata = 0x7;
    for (col = 0; col<NAMEI_MAXVOLS; col++) {
        coldata <<= col * 3;
        if ((row & coldata) == 0)
            break;
    }

What happens?
With col == 0 we look for the bits 0x7. This is ok.
With col == 1 we look for the bits 0x38. This is also ok.
With col == 2 we look for the bits 0xe00 instead of 0x1c0 !!!
But later the allocation is done correctly with 0x40.
Thus the next time he will find again a free place for col == 2 !
For higher values of col the test is also incorrect, of course."
2001-04-04 18:28:05 +00:00
Nathan Neulinger
a5ba459b08 remove-redundant-makefile-rules-20010404
another set of redundant makefile rules removed
2001-04-04 18:24:02 +00:00
Hartmut Reuter
98b06ddaf2 changes-to-allow-identifying-threads-in-log-file-output-20010404
"This is an addition for MR-AFS log files where the thread
name is shown. rx switches the general server threads to listeners and
vice versa. To have reasonable names the listener must get back his old
name when converting himself to a server thread. To not bother other
programs with unresolved references I do this with two function pointers
which are initialized in the main() programs for MR-AFS."

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

use function pointers here instead of threadname
2001-04-04 18:21:53 +00:00
Hartmut Reuter
d8313d4404 make-vol-package-deal-with-namei-correctly-on-systems-which-can-be-compiled-with-or-without-namei-fileserver-20010404
If compiled without AFS_NAMEI_ENV existence
of AFSIDat must stop us. If compiled with AFS_NAMEI_ENV volume headers
in a partition, but no AFSIDat must stop us.
2001-04-04 18:14:23 +00:00
Nathan Neulinger
3c597bf218 salvager-syslog-support-20010404
support for salvager to syslog instead of logging to file
2001-04-04 18:12:18 +00:00
Nathan Neulinger
7fd13204a3 partial-hpux-10-support-20010404
similar to HPUX 11, just make what can be compiled now compile
2001-04-04 18:08:51 +00:00
Nathan Neulinger
16238e1dd2 simplify-salvager-target-20010404
it's the same for linux as for everyone else now
2001-04-04 18:00:44 +00:00
Derrick Brashear
4b2213d0cf enable-getcrypt-command-20010404
provide cmd hook for getcrypt command (support was already present)
2001-04-04 13:48:23 +00:00
Volker Holfeld
814ac0fc1d winnt-enable-cryptall-support-20010404
introduce fs setcrypt/fs getcrypt features to nt client
add registry parameter SecurityLevel to allow persistent setting
2001-04-04 13:46:19 +00:00
Volker Holfeld
bf58cfd11f winnt-create-globalautomapper-registry-key-20010404
if GlobalAutoMapper key is missing when a global drive is defined with the
gui it will be created
2001-04-04 13:43:45 +00:00
Nathan Neulinger
ef95c12257 correct-udebug-flag-name-20010403
-server takes one server arg, so fix its name to be -server and not -servers
2001-04-03 21:26:31 +00:00
Nathan Neulinger
7b5ef774b8 fix-ubik-lowest-host-comparison-algorithm-20010403
be more particular about how we do comparison, and fix printing of the host
address for byte order problem
2001-04-03 21:22:05 +00:00
Nathan Neulinger
2cdf6103d6 prefer-ubik-print-to-printf-20010403
changes to prefer ubik_print &c to printf to make syslogging easier
2001-04-03 21:19:34 +00:00
Volker Holfeld
12df8ce78e link-libs-into-windows-butc-in-useful-order-20010403
reorder libs so threaded afsrpc.lib is before afsrx.lib
2001-04-03 20:06:24 +00:00
Derrick Brashear
ff118da207 i386-linux24-includes-long-long-types-20010403
define AFS_64BIT_ENV for linux24 i386
basically denotes existance of long long
2001-04-03 07:55:34 +00:00