Commit Graph

193 Commits

Author SHA1 Message Date
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
Derrick Brashear
55bb14eb8d attempt-more-portable-64bit-type-support-for-namei-fileserver-20010403
be at least as portable as existing code
2001-04-03 07:52:56 +00:00
Thomas Mueller
afaa185472 add-volinfo-filenames-arg-in-namei-environment-20010402
show filenames used by volumes in namei fileserver
2001-04-03 00:13:04 +00:00
Chas Williams
e08803e460 linux24-use-kmap-instead-of-afs-linux-page-address-20010402
kmap is the preferred interface for 2.4 now
2001-04-03 00:09:51 +00:00
Chas Williams
2fb73345ba linux-dentry-validation-changes-20010402
change afs_linux_dentry_revalidate to call afs_linux_revalidate
2001-04-02 23:48:22 +00:00
Adam Thornton
df9e479968 s390-updates-20010330
fix PRE_Block and lwp problems
2001-03-31 00:20:23 +00:00
Volker Holfeld
47b588f42f add-missing-exports-for-64bit-types-for-windows-20010329 2001-03-30 05:10:59 +00:00
Silvia Gross
7ddc83dcdf drivemap-box-error-for-3-character-cellnames-20010329
"In the original version the path name in the box showing the network
drives were wrong if a part of the name after afs had only 3 characters:
afs\ipp\u became afs\u. Also the small hooks in front of the names
disappeared immediately."
2001-03-30 00:18:55 +00:00
Sam Hartman
57815fd837 fix-readdir-hint-20010329
"Under 2.4.x kernels, there is a file type in the result of readdir to
help applications optimize directory traversal.  With usfficiently new
libc compiled against sufficiently new kernel headers, this is exported to
applications.

Several applications, including fileutils use this information.  AFS
asserts that all files are directories.  This sucks, because among
other things it causes rm -rf not to work."
2001-03-30 00:12:38 +00:00
Michael Durket
56a53a2016 s390-libafs-makefile-changes-20010329
use -O and not -O2 to deal with some bad versions of gcc for now

link in appropriate asm directory
2001-03-29 23:56:18 +00:00
Thomas Mueller
62afbc5792 linux24-setgroups32-support-20010329
setgroups32 support for linux2.4 machines (required for modern glibc)
2001-03-29 18:07:41 +00:00
David Bailey
965dd94785 winnt-bufio-mods-20010328
fix warnings in fileutil.c
2001-03-28 17:54:21 +00:00
Carsten Jacobi
30632102cd linux-s390-page-offset-fix-20010328
use PAGE_OFFSET for s390
2001-03-28 17:50:19 +00:00
Hartmut Reuter
f9a817bcdf ubik-clone-support-20010212
ubik library support for readonly clones
2001-03-28 07:51:25 +00:00
Johan Danielsson
42ec4cb1a5 first-cut-autoconf-support-20010327
Makefile.am and configure.in first cuts. not yet useful

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

oops; this belongs on the branch created for autoconf development
2001-03-28 00:01:45 +00:00
Chaskiel M Grundman
c57654e7dc darwin-cacheops-initialization-check-20010327
make sure nothing happens before cacheops init
2001-03-27 23:22:05 +00:00
Chaskiel M Grundman
7b64d0d2f9 darwin port was unhappy because of this 2001-03-27 23:18:09 +00:00
Derrick Brashear
92914a5265 remove-libadmin-real-dependancies-20010327 2001-03-27 23:10:13 +00:00
Derrick Brashear
14e482ad26 death-to-permit-xprt-h-20010327
permit_xprt.h, we hardly knew ye
2001-03-27 23:02:13 +00:00
Derrick Brashear
09cfd4a43e begone-with-xprt-CoerceLevel-20010327
coersion is a crime. last step in the death of permit_xprt.h
2001-03-27 22:31:02 +00:00
Derrick Brashear
4f17e9ed3d begone-with-xprt-cryptok-20010327
de-cripple rxkad-crypt for all cases
2001-03-27 22:28:17 +00:00
Derrick Brashear
8aa4bf9b54 begone-with-AFS-HIDE-20010327
start of the death of permit_xprt.h
2001-03-27 22:18:26 +00:00
Chaskiel M Grundman
b93a385178 allow-building-subset-of-afs-20010327
allow overriding finale with e.g. blibafs to build a subset of afs
2001-03-27 21:33:17 +00:00
Derrick Brashear
44fa060ece winnt-lacks-snprintf-so-build-ours-20010327
apparently windows lacks snprintf
2001-03-27 21:05:20 +00:00
Chaskiel M Grundman
c3244fb9d4 dont-install-uklibs-unless-linktest-works-20010327
follow the intent of this target
2001-03-27 20:37:56 +00:00
Nathan Neulinger
72e06ec1ca dont-build-clients-for-hpux11-20010327
build tools and servers but no kernel support for hpux since it doesn't work
currently
2001-03-27 20:33:52 +00:00
Derrick Brashear
127d4d2a6b install-util-archive-also-as-libafsutil-20010327
It's about time you can link to this with -lsomething
2001-03-27 20:29:04 +00:00
Derrick Brashear
ba4157f839 update-libuafs-install-procedure-20010327
to deal with tweaks make so pinstall can be left uninstalled on darwin port
2001-03-27 09:57:15 +00:00
Derrick Brashear
57ee8d64e4 add-pts-global-reader-support-20010327
in the same way members of system:administrators have all pts powers,
members of system:ptsviewers have all pts read powers by virtue of
said membership
2001-03-27 09:49:41 +00:00
Derrick Brashear
e31f1895da rudimentary-support-in-kpasswd-and-kas-for-mit-v4-string-to-keyed-passwords-20010327
klog supports such passwords but without this such users can't run kas or kpasswd
2001-03-27 09:36:15 +00:00
Derrick Brashear
3c6509369d use-afs-int64-types-in-util-package-20010327
we already defined "portable" types for this; use them
2001-03-27 09:16:43 +00:00
Nickolai Zeldovich
150cbf3db8 make-namei-fileserver-compile-on-solaris8-20010327
use uint64_t in preference to u_int64_t as solaris has only the latter and
linux appears to have both. also, use lockf where flock was used in the
solaris case
2001-03-27 08:58:49 +00:00
Chaskiel M Grundman
a41175cfbb initial-darwin-support-20010327
setup for darwin port

====================
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.
====================
changes for darwin port

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

added files for the darwin port

====================
changes for darwin port
2001-03-27 08:43:13 +00:00
Nickolai Zeldovich
9602e1a3fd rxdebug-changes-for-peers-and-to-show-rtt-values-20010326
"   rxdebug: allow the use of -onlyhost and -onlyport options with
    -peers, and also list the rtt, rttdev and retransmit timeout
    values."
2001-03-27 01:53:27 +00:00
Nickolai Zeldovich
6cd845bdb5 fix-rx-rtt-computation-when-delay-is-involved-20010326
"   rx: attempt to fix incorrect rtt computation, possibly winning
    on performance for links with some packet loss.

    Currently, the rtt is computed as the time from the transmission
    of a packet until the receipt of the corresponding ack packet.
    But this includes a potential delay (rx_{soft,hard,last}AckDelay)
    on the client which results in an abnormally high rtt, and even
    more erroneous rtt_dev and retransmit timeout values.

    The proposed solution is to ignore RX_ACK_DELAY type ack packets
    for the purposes of rtt computations, and introduce another ack
    packet type for RX_ACK_DELAY-type acks which are sent immediately
    by the client.

    This should of course be backwards-compatible with existing clients.
"
2001-03-27 01:51:35 +00:00
Michael Stroucken
bccc6a809d first-pass-at-alpha-linux-support-20010312
Changes for Alpha to previous 64 bit changes for sparc (sparc64 isn't
necessarily analogous to alpha or any other 64 bit linux platform)

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

====================
Include necessary file for alpha config

====================
Deal with 64 bit time_t

====================
Don't do increments in a way that can be miscompiled

====================
configure for alpha linux

====================
deal with time and initialize a variable

====================
don't use ViceIoctl32 for alpha linux

====================
deal with compiling kdump for alpha linux

====================
mods in callback.c analogous to dux port; mods in viced to deal with
thread creation function return convention

====================
config for linux alpha

====================
ids for alpha linux consistent with new-style sysname grouping

====================
makefile and config files for new-style sysnames

====================
MakefileProto changes for alpha linux with new-style sysnames. A change
in config/mc.c will be needed for this to configure correctly, and it will
be added soon

====================
note alpha port and the state it's in to hopefully avoid questions
2001-03-27 00:53:26 +00:00
Nathan Neulinger
0d466f2f10 add-server-syslog-logging-capabilities-20010326
Add support for syslogging server log messages

====================
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.
====================
Add syslogging capability to ptserver

====================
add syslog capability to fileserver

====================
Add syslog capability to the volserver

====================
Add syslog capability to the vlserver

====================
fix my own error when hand-applying nathan's patch

====================
remove unused function
2001-03-26 20:26:17 +00:00
Derek Atkins
2165ef3af8 make-fileserver-deal-correctly-with-client-which-changed-addresses-but-was-offline-when-a-callback-to-it-was-revoked-20010326
"First, some background: The AFS Fileserver tries really hard to keep
track of all the "interfaces" of a client.  Generally this is for a
multi-homed client, so that the server realizes that you are the same
client when you come from multiple addresses.  However, this also
winds up applying to a mobile host whose IP address changes over time.

When the Fileserver sees a "new" address, it asks the client for its
Uuid and, if that Uuid already exists, it adds this new address to the
list of interfaces for the existing host.  However, it keeps a
callback connection open to the original address.

Here's the problem: Assume the client has callbacks registered with
the server and then disappears from the network.  While the client is
off the net, someone else makes a change that causes that callback to
be broken.  The fileserver can't reach the client, so the break gets
added to the delayed callback list.  The logic is such that no client
requests will be processed by a host while there are outstanding
delayed callbacks to that client.


Now, if the client comes back on the same IP Address, everything works
fine.  The fileserver uses the cached callback connection and the
callbacks are cleared successfully.  However, if the client returns to
the network under a different address, this new address is added to
the existing host structure and then the delayed callbacks are
attempted.  Unfortunately it is using the (invalid) cached connection
to the old IP Address, so the delayed break fails.  Therefore, this
client is locked out of the fileserver until:

        1) the fileserver reboots,
        2) the client returns to the original IP Address, or
        3) All the callbacks timeout on their own.

This patch will fix this problem.  When the client makes a request and
the fileserver tries to break the delayed callbacks, if the breaking
fails then the fileserver will attempt to find a 'working' interface
by probing all the host interfaces for one that responds with the
correct Uuid.  If that succeeds then it resets the cached callback
connection and then breaks the delayed callbacks, thereby regaining
the connection to the client and proceeding with the proper cleanup
before the original request is completed."
2001-03-26 17:51:34 +00:00
Derrick Brashear
146fca9060 build-vfsck-for-solaris8-20010326
Before it was being explicitly skipped; Build it
2001-03-26 17:26:29 +00:00
Harald Barth
9feea404fd null-terminate-cell-when-copying-from-lrealm-20010326
Avoid condition where we could read past the end of lrealm (unlikely
to occur in practice and not remotely exploitable; cell and lrealm are
both MAXKTCREALMLEN and lrealm is configured locally and not read from the
network)
2001-03-26 17:18:42 +00:00
Nickolai Zeldovich
54b7292a44 do-bounds-checking-in-psetvolumestatus-20010315
Previously it was possible to overflow the variables used to construct a
SetVolumeStatus call
2001-03-16 03:35:07 +00:00
Erik J. Burckart
4b85432743 fix-for-cache-consistency-on-linux-24-smp-systems-20010315
"Here are the symptoms.  I have 2 OpenAFS  Linux 2.4 machines, one SMP and
one not.
--With both of them I access a series of directories and files within
(/afs/w/x/y/z/).
--I then move to the root directory.
--From a third machine, I remove the directories x, y, and z. Then re-add
them (same names) with some other files.
--From the SMP box, I do an ls in /afs/w and see x.  But x is inaccessible.
--From the UP box I can see and access x.
"

====================
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.
====================
Missed earlier: not part of the IBM delta.

====================
Part of the alpha patch slipped into the delta; Revert to previous
revision
2001-03-16 03:27:05 +00:00
Johan Danielsson
70cbd6f689 dux-advfs-client-support-20010315
necessary changes to allow a cache in an advfs
2001-03-15 18:55:20 +00:00
Nathan Neulinger
5994633186 bosserver-syslog-option-including-selectable-facility-20010315
"Simple patch to add "-syslog" option to bosserver. Causes it to direct all
logging activity to syslogd instead of to logs/BosLog"

currently unimplemented for 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.
====================
Don't use a static outside its scope
2001-03-15 18:47:50 +00:00
Michael Stroucken
27d7f4fd60 initial-alpha-linux-support-20010315
top-level makefile mods for 64 bit system
2001-03-15 18:15:46 +00:00
Nickolai Zeldovich
a1fac47017 pts-args-checking-when-calling-com-err-20010314
"This prevents pts from crashing like this:

  pepsi-one~> pts createg a:b -id -1234
  /bin/athena/pts: Permission denied ; unable to create group a:b with id -1234
owned by 'Segmentation fault
"
2001-03-15 17:50:34 +00:00
Pavel Semerad
4d3b445cc3 fix-locking-on-linux-sparc64-20010312
" I have found problem with file locking and 64bit linux (tested on
ultrasparc). When issued fcntl(fd, f_SETLK, ..) with l_start = 0 and l_len
= 0, it sets l_len to LONG_MAX, so it is needed to test this value"
2001-03-15 17:47:45 +00:00
Johan Danielsson
3fd459ac39 simplification-of-code-in-cache-manager-to-make-dux-advfs-support-simpler-20010315
with advfs you can't VTOI inodes so provide a wrapper function for dux to ease
this problem
2001-03-15 17:43:11 +00:00