Commit Graph

5720 Commits

Author SHA1 Message Date
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
Mark Dapoz
79f34e549a aix42-pthread-self-return-needs-cast-20010514
To compile on AIX 4.2 on PowerPC
2001-05-14 23:26:34 +00:00
Nathan Neulinger
466eb22ad4 initial-afsconfig-h-file-20010514
start of config file work for autoconf

====================
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 Makefile use top-level location rather than config as Nathan intended
2001-05-14 23:23:12 +00:00
Nathan Neulinger
92165dc105 change-effect-of-afs-quietfs-env-20010514
so ViceLog happens when file server starts
2001-05-14 22:41:12 +00:00
Ted McCabe
f6759c4888 darwin-clear-va-flags-in-copyoutattrs-20010514
"I noticed that when I tried copying files out of AFS, I would often
not be able to modify the destination files/dirs due to the user flags
being non-zero (see man chflags).  Turns out that not all of the
fields of Darwin's struct vattr were being set in afs_CopyOutAttrs

This patch clears the va_flags entry. I wasn't sure how the
va_filerev and va_gen fields are precisely used, but since I wasn't
noticing any trouble I could attribute to them, I left them
unspecified.  I suspect someone with more knowledge can say for sure.
"
2001-05-14 22:30:35 +00:00
Nathan Neulinger
a2da7c0d5f make-vos-accept-force-switch-20010514
and let libcmd handling deal with -f
2001-05-14 22:27:10 +00:00
Nathan Neulinger
3822336ad0 des-warnings-cleanup-20010514
clean up some more warnings from des
2001-05-14 22:19:47 +00:00
Carsten Jacobi
d3c69d1c77 linux24-s390-initial-support-20010503
base support for s390 linux 2.4
2001-05-03 15:19:00 +00:00
Mark Dapoz
17c2d284cb compile-snprintf-for-solaris25-20010430
so this will still build for solaris 2.5.1, build our snprintf
2001-04-30 23:15:50 +00:00
Chas Williams
f9a46bee19 make-des-test-buildable-20010430
remove bogus rcsid string lines with no strings
2001-04-30 23:13:05 +00:00
Nickolai Zeldovich
f816a53b26 afsdb-callout-and-userspace-implementation-20010430
"This patch implements AFSDB support for both user-space programs
and for the kernel.. I've tested these on sun4x_57 (64-bit) and
on i386_linux22."

not currently enabled in any configuration
2001-04-30 23:08:39 +00:00
Derrick Brashear
b742b1eda9 remove-incomplete-dns-patch-20010430
this shouldn't have leaked in yet
2001-04-30 23:03:33 +00:00
Nathan Neulinger
cb5ab03928 fix-comment-for-linux-conf-20010430
fix comment to reflect variable change
2001-04-30 16:18:39 +00:00
Nathan Neulinger
d37f3d5ac9 remove-text-after-endif-20010430
remove typo which crept in
2001-04-30 16:09:41 +00:00
Jeff Riegel
7f4414ae39 win95-initial-port-20010430
Windows 95/98 port from IBM Almaden

documentation and build support

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

Windows 95/98 port from IBM Almaden

changes to cache manager

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

Windows 95/98 port from IBM Almaden

makefile changes

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

Windows 95/98 port from IBM Almaden

osi changes to support 95/98

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

Windows 95/98 port from IBM Almaden

installer for 95/98 client

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

Windows 95/98 port from IBM Almaden

win95/98 panel app

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

Windows 95/98 port from IBM Almaden

win95/98 panel app help

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

Windows 95/98 port from IBM Almaden

makefile changes plus dns implementation

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

Windows 95/98 port from IBM Almaden

makefile changes plus changes for compat with dos line conventions

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

Windows 95/98 port from IBM Almaden

config for 95/98

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

Windows 95/98 port from IBM Almaden

makefile changes plus support for 95/98 env

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

Windows 95/98 port from IBM Almaden

ms compiler changes

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

Windows 95/98 port from IBM Almaden

makefile changes

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

Windows 95/98 port from IBM Almaden

lwp changes
to support 95/98 port

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

Windows 95/98 port from IBM Almaden

rx changes to support 95/98 port
2001-04-30 08:03:55 +00:00
Sam Hartman
dae4e16dbe linux-ppc-linux22-base-config-20010429
base ppc linux 2.2 config
2001-04-30 00:42:33 +00:00
Derrick Brashear
8ee4e0cec9 winnt-redefine-snprintf-instead-of-building-one-20010429
WINNT has _snprintf, just use that
2001-04-30 00:40:12 +00:00
Nathan Neulinger
13f30691ea linux-conf-use-options-not-afsd-options-20010429
make distributed config consistent with rc file
2001-04-30 00:36:36 +00:00
Jeffrey Hutzelman
1e5270c7d6 fix-sense-of-ifdef-for-darwin-20010425
reverse change from freebsd patch
2001-04-25 06:44:34 +00:00
Derrick Brashear
c1f5a932d1 linux-make-bridge-script-more-respectful-of-build-environment-20010423
make it actually use the known path to the kernel source, and check for existance before doing anything
2001-04-24 03:48:32 +00:00
Derrick Brashear
dc4e0286f6 linux-bridge-to-deal-with-redhat71-in-pre-autoconf-days-20010422
Kinda crappy but it will suffice for now
2001-04-22 20:37:33 +00:00
Jeremy Katz
1e3882bbec linux-kernel-extra-definitions-for-sp-versus-mp-20010422
__SMP__, and __BOOT_KERNEL_SMP __BOOT_KERNEL_UP definitions as appropriate
2001-04-22 20:02:58 +00:00
Derrick Brashear
b1ede0ae41 linux-revert-truncate-inode-pages-for-smush-20010420
osi_VM_TryToSmush needs to be careful not to walk on in-use pages
2001-04-21 20:04:08 +00:00
Derrick Brashear
eda1b2dc39 cleanup-from-readdir-type-hint-guessing-20010420
Based on report by Chas Williams; FindVCache get getting a ref which we
need to release
2001-04-21 19:38:39 +00:00
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