Commit Graph

10863 Commits

Author SHA1 Message Date
Nathan Neulinger
115708fd82 ubik-warnings-cleanup-20010605
more warning cleanup
2001-06-05 19:26:42 +00:00
Nathan Neulinger
3653b0c0cf comerr-cleanup-warnings-20010605
compiler placation
2001-06-05 19:22:01 +00:00
Nathan Neulinger
083170a430 config-includes-warning-cleanup-20010605
clean up comment warnings
2001-06-05 16:06:56 +00:00
Nathan Neulinger
972191fc24 libafs-libuafs-makefile-updates-for-afsconfig-20010605
so afsconfig.h inclusion can be done
2001-06-05 16:05:30 +00:00
Chas Williams
d487720ea8 linux-dentry-cache-another-try-20010605
to fix a problem where invalid negative data is cached as well as some efficiency
2001-06-05 15:59:54 +00:00
Nathan Neulinger
5c644523b7 afsmon-warning-cleanup-20010605
remove unused variable
2001-06-05 15:47:53 +00:00
Ted McCabe
6a5d19930a sysname-list-instead-of-simple-name-20010605
allow a sysname list which is interated in lookup instead of a simple
namespace

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

remove bit which leaked in
2001-06-05 15:46:24 +00:00
Nathan Neulinger
e63a93f371 rx-warning-cleanup-and-afsconfig-20010605
clean up previous rxtrace patch and clean up other warnings
2001-06-05 15:32:46 +00:00
Nathan Neulinger
7705453b05 convert-volparse-to-afsconfig-and-cleanup-20010605
clean up warnings in volparse.c and make it use afsconfig.h for building
2001-06-05 15:30:16 +00:00
Jeff Riegel
11b8469822 rx-race-condition-cleanup-by-adding-busy-status-20010605
set a busy status on a connection to prevent it from being deleted while in use
2001-06-05 15:21:45 +00:00
Jeff Riegel
dde2a200a3 userland-cachemgr-zero-token-times-on-unlog-to-trigger-gc-20010605
on unlog when using userland cache manager zero token fields so they will
be garbage-collected
2001-06-05 15:18:53 +00:00
Jeff Riegel
cddec1584f cachemgr-dont-leak-stat-info-to-clients-not-entitled-to-it-20010605
if you only have lookup don't leak stat information from cache, which normally requires read
2001-06-05 15:16:10 +00:00
Jeff Riegel
62078136d1 usermode-cachemgr-open-mode-checking-fix-20010605
default to read mode when opening
2001-06-05 15:11:01 +00:00
Pavel Semerad
2b82ddea16 linux24-use-flock64-instead-of-flock-20010604
"locking on linux 2.4.x does not work. 2.4.x uses internally 64bit offsets
(start and end of lock) and end is set to 64 bit int max. When it converts
to struct flock, len is set to 0xffffffff (cut off high 32 bits) and afs_lockctl
decides it is byte-range locking. So on 2.4.x kernel there should be used flock64
instead of flock (flock64 is typedef to flock on 64bit systems such as sparc64
and ia64)"

====================
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 flock64 for linux24
2001-06-04 23:29:00 +00:00
Nathan Neulinger
033aecd1e8 viced-dotted-quad-logging-without-malloc-20010601
based on suggestion from rees@umich.edu

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

update for solaris cc joy
2001-06-04 22:08:19 +00:00
Nathan Neulinger
0e29705b46 libadmin-cleanup-and-afsconfigization-20010604
clean up warnings, get rid of unused variables, and set up for use of
afsconfig.h
2001-06-04 22:07:27 +00:00
Nathan Neulinger
f8e11f7e1e lwp-iomgr-warning-suppression-20010602
remove unused variable, add missing parens
2001-06-03 18:20:15 +00:00
Nathan Neulinger
a09cdb27b8 fix-afsmonitor-patch-for-string-h-existance-check-20010602
as not all platforms may have string.h
2001-06-03 17:52:05 +00:00
Nathan Neulinger
142dcf54c1 vol-volser-more-liberal-information-in-log-messages-20010602
hopefully no one is processing these logs in a way this breaks. make error
and volname information available as part of error message
2001-06-03 17:34:34 +00:00
Nathan Neulinger
b8f911768b sgiefs-support-is-gone-but-great-rock-lives-on-20010602
remove inclusion of missing sgiefs directory since we didn't get the binary
library needed for it to work anyhow
2001-06-03 17:32:18 +00:00
Nathan Neulinger
94fec7da06 rxtrace-warning-cleanup-20010602
more compiler warning squishing
2001-06-03 17:31:07 +00:00
Nathan Neulinger
d9b441897c split-deprecated-into-insecure-and-obsolete-in-top-makefile-20010602
so it's obvious to people which mistakes are silly and which are dangerous
2001-06-03 17:29:52 +00:00
Nathan Neulinger
d09be7368f libadmin-warning-cleanup-20010602
add missing parens, remove unused decls
2001-06-03 17:28:33 +00:00
Nathan Neulinger
52e7350706 kauth-const-warning-cleanup-20010602
dir is not modified so this is safe
2001-06-03 17:27:03 +00:00
Nathan Neulinger
9fbbc17b7c comerr-get-rid-of-compile-warnings-20010602
placate compiler
2001-06-03 17:26:15 +00:00
Nathan Neulinger
210247b304 audit-make-int-functions-return-zero-20010602
rather than just having no code block, return 0
2001-06-03 17:23:18 +00:00
Nathan Neulinger
22799a3134 afsmonitor-formatting-strings-update-20010602
so error messages are properly formatted strings
2001-06-03 17:22:10 +00:00
Nathan Neulinger
ebbea977f9 namei-ops-cleanup-20010601
get rid of unused/warnings from vol/namei_ops.c
2001-06-03 17:19:15 +00:00
Nathan Neulinger
429c2eb913 log-host-addrs-as-dotted-quad-not-hex-in-viced-20010601
so you get a dotted quad and byte-correct port instead of a hex ip and a potentially
byteswapped port number from viced log messages
2001-06-01 20:14:58 +00:00
Derrick Brashear
6fdfe32331 initial-configure-work-take-two-20010601
this isn't useful yet but is a step in the right direction.
2001-06-01 20:09:22 +00:00
Chaskiel M Grundman
0a47389634 top-level-makefile-changes-to-allow-partial-afs-compile-20010530
"The afs toplevel makefile theoretically allows you to build bits and
pieces of AFS without too much other stuff you don't need. Building the
kernel code this way is hard, since it imports stuff from so many modules,
and the dependencies aren't necessarily done right. This patch fixes many
of the special "for kernel use only" targets to be "for kernel use
only" and adds a few new ones, so that the only userlevel stuff built by
make TARGET=libafs is util, pinstall, rxgen, comerr (needed for
afs/Makefile), and cmd"
2001-05-30 20:45:01 +00:00
Chaskiel M Grundman
8b87e45a9b make-xdr-int64-support-consistent-now-that-its-everywhere-20010530
"an mr-afs related patch introduced xdr_afs_int64 into the code. This is a
good thing I suppose. The same patch also re-introduced the use of
xdr_long on some platforms, which isn't needed, and isn't really
appropriate. Said patch also only included the #defines for xdr_afs_int64
into rpc_main.c and not xdr.h. (it is my opinion that
rpc_main.c:write_int32_macros should only be used if kflag is set, but
transarc didn't do it that way, so I'm not going to change it)"
2001-05-30 20:39:27 +00:00
Chaskiel M Grundman
05b43ef0bc make-rxgen-split-rpcs-not-declare-start-parameters-for-functions-for-data-which-is-copied-out-only-20010530
"fix for rxgen so that split rpc's don't erroneously declare parameters in
the "start" function that should only be declared in the "end":

example:

for the following declaration:
Store(IN struct _index_t *descr,
          IN string group<STAGE_STRINGSIZE>,
          OUT string spool<STAGE_STRINGSIZE>, OUT afs_uint32 *slot) split;

before patch:
int StartDMV_Store(z_call, descr, group)
        register struct rx_call *z_call;
        struct _index_t * descr;
        char * group, **spool;
{
[...]
after patch:
int StartDMV_Store(z_call, descr, group)
        register struct rx_call *z_call;
        struct _index_t * descr;
        char * group;
{
[...]
"
2001-05-30 20:34:17 +00:00
Garry Zacheiss
72dcb4b1e1 catch-bad-afsconf-cehck-result-to-fix-fileserver-segv-20010530
"afsconf_GetKey() in auth/cellconfig.c doesn't check the return
value of afsconf_Check(), which can lead to the fileserver SEGV'ing if
afsconf_Check() returns an error."
2001-05-30 20:31:21 +00:00
Mattias Amnefelt
42f52c89d6 make-backup-dumpi-print-volumes-over-2caret31-bytes-correctly-20010530
makes backup dumpi print volumes > 2^31 bytes correctly
2001-05-30 20:26:09 +00:00
Mattias Amnefelt
13dcb2b316 update-pdf-documentation-to-include-fonts-20010530
"I noticed that the pdf documentation bundled with openafs doesn't include
the correct fonts to display properly (atleast with my acrobat). I've
generated afs-pdf:s with type1 fonts"
2001-05-30 20:22:56 +00:00
Nathan Neulinger
36e60e31c7 fix-msf-cat-warnings-in-compile-et-20010524
so we don't get warning for msf stuff
2001-05-24 22:11:45 +00:00
Nickolai Zeldovich
5fb461913e solaris-make-df-in-cwd-return-useful-output-20010524
"This patch makes "df ." work in AFS directories under Solaris 8.
(df looks in /etc/mnttab, which is obtained from the kernel, for
the device number and then does a pwd-style walk up the tree..
Currently the device number gets set to 0x100000 by default which
doesn't match the 0x1234 device number of AFS vnodes.)"
2001-05-24 22:09:50 +00:00
Carsten Jacobi
5e8ee41b3f linux-s390-kas-setpass-fix-20010515
fix for s390, per Carsten:
(this behaviour occurs only
on 31-bit
S/390-Systems, the "s390x"-machines should change the AFS-password also
without this patch as far as I can imagine)
2001-05-21 21:24:04 +00:00
Laura Stentz
08690c41a2 afs-overview-documentation-20010519
Contributed overview docs from IBM, this time binary mode.
2001-05-19 18:45:43 +00:00
Derrick Brashear
80c8c1e2d8 remove-bad-non-binary-commit-of-afs-docs-20010519
so i can readd with -kb
2001-05-19 18:44:43 +00:00
Laura Stentz
b402ffcd52 add-afs-overview-manuals-20010519
Documentation contributed by IBM
2001-05-19 18:43:10 +00:00
Derrick Brashear
0d26876afa hpux11-kernel-support-20010517
put together from 1994(!) rx open source release available
at ftp://ftp.dementia.org/pub/rx, other architectures, rx_kcommon.c,
and some net research on hpux

has no chance of working, slim chance of compiling, and seriously needs
spinlock work to be 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.
====================

shell of this file. won't work

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

shell of osi_vfs.h

not useful yet

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

use macros in osi_machdep.h for doing spinlocks

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

include streams tli header

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

do a little cleanup after looking at other architectures

still won't work until we know more about sleep/wakeup and kernel
semaphore interface crap

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

try again. probably still not useful

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

get this stuff compiling
2001-05-18 18:15:20 +00:00
Nathan Neulinger
2a8a12e94b update-makefiles-for-afsconfig-h-20010517
more updates so afsconfig.h can be included
2001-05-18 02:22:10 +00:00
Derrick Brashear
b9c11bc281 linux24-param-cleanup-20010516
make usr version of file not define 64 bit env
make kernel version include modversions before afs_sysnames.h (which includes
stds.h)
2001-05-16 05:16:27 +00:00
Nathan Neulinger
27dbb4d0a2 afsconfig-updates-20010515
updates to and to use afsconfig.h
2001-05-16 00:28:09 +00:00
Nathan Neulinger
3c314b7f28 sgi-fix-prototypes-20010515
use strings.h on irix to get needed prototypes
2001-05-16 00:16:58 +00:00
Nathan Neulinger
94dd48c9dd fix-bad-logic-in-afsconfig-h-in-20010515
fix some iverted logic
2001-05-16 00:15:54 +00:00
Nathan Neulinger
e69d27e8f0 afs-superuser-foreign-realm-checks-20010514
This rewrite cleans up the code a bit, removes any athena specific
references (not needed anymore in this version), and adds support for
multi realm management of afs servers (you can now specify
"admin@OTHERREALM" in your userlist).

Code now checks as follows:

tname
tinst  - remote user info from conn
tcell
lcell - local cell
lrealm - local realm (defaults to lcell if not avail)

if no remote cell or instance
        allow localauth
if the cell of the remote connection matches local cell or local realm
        if not tinst
                allow if tname in UserList
        if tinst
                allow if tname.tinst in UserList
if cell doesn't match local cell or realm
        if not tinst
                allow if tname@cell in UserList
                allow if tname@CELL in UserList
        if tinst
                allow if tname.tinst@cell in UserList
                allow if tname.tinst@CELL in UserList

modified per openafs-devel discussion such that krb5 versions (/tinst
rather than .tinst) code path disabled for now
2001-05-14 23:56:33 +00:00
Hartmut Reuter
e85c2defa4 restore-writelogbuffer-for-mrafs-20010514
MR-AFs is making use of this to hook into logging to write multiline messages
into the log

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

move forward to current version of function
2001-05-14 23:54:01 +00:00