48 Commits

Author SHA1 Message Date
Derrick Brashear
34a078003d dux-gcpags-20040808
pidtab and npids need to be pulled in so this works
2004-08-09 01:17:33 +00:00
Phil Holland
9728182c00 darwin-afsdb-handler-signal-mask-20040728
FIXES 6027

mask signals on darwin so afsdb handler doesn't die
2004-07-29 04:32:56 +00:00
Kris Van Hees
4054aec72b afs-suser-consistent-20040728
FIXES 6034

always call afs_suser() with one arg.
always take one.
2004-07-29 04:13:37 +00:00
Chas Williams
e1092aa9b5 linux26-cred-cleanup-20040621
FIXES 5362

change how cred is stored on linux 2.6
2004-06-21 21:01:50 +00:00
Chas Williams
171cec34dc linux26-more-updates-20040420
FIXES 4027

        . osi_cred now uses struct group_info
        . the big kernel lock has been moved from the fs generic code
          for some of the operations in 2.6
        . 2.6 now just uses iput() and hooks the appropriate routines
        . the dummy inode list handling should be clearer
2004-04-21 03:20:21 +00:00
Chas Williams
f3cd6ca063 linux-26-progress-20040412
FIXES 4027

if you complain about any of it, you better include a patch, or risk being
severely flamed. very much a work in progress
2004-04-12 20:42:19 +00:00
Derrick Brashear
c396fdec11 irix-ucred-is-really-cred-20040319
FIXES 3651

gotta wonder what crack monkey came up with this
AFS_UCRED is ucred in osi_machdep.h, and ucred is redefined to cred in osi_vfs.h

whatever
2004-03-19 07:58:52 +00:00
Derrick Brashear
70a4232ec9 irix-afs-osi-credp-declared-elsewhere-20040311
revert to 1.2 declaration for irix
2004-03-11 07:20:31 +00:00
Jim Rees
d0f33e1d88 freebsd-20040310
Support for FreeBSD 5.x client.
Both 4.x and 5.x now use vnodes from the system pool instead of attaching
a private vnode to the vcache.
Most of this is from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
I just did some integration and made it work again on 4.x.
2004-03-10 23:01:50 +00:00
Douglas Engert
49ab5ed14a ia64-hpux1123-support-20031126
FIXES 2579

necessary changes to support hpux 11.23 on ia64.
2003-11-27 01:17:34 +00:00
Jim Rees
f40f466c7f osi-credp-20030827
Use a pointer for afs_osi_cred, and crget() instead of just inventing one.
Required for FreeBSD, which puts a mutex in the cred.
Not strictly required for other BSDs, but it's more correct.
2003-08-27 22:43:16 +00:00
Derrick Brashear
872bc94f8c reindent-20030715
FIXES 1774

thanks to nneul@umr.edu for providing a script to do this.
gnu indent 2.2.9 options:
-npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1
-nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8

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

fix subst mistake
2003-07-16 00:28:24 +00:00
Jim Rees
3f8b428d52 freebsd-50-creds-20030701
freebsd 5.0 module now loads and runs!
init creds in osi_Init
don't call crhold on afs_osi_cred, because the mutex is invalid
afs_xioctl takes a thread, not a proc
2003-07-01 23:41:22 +00:00
Hartmut Reuter
f43c2f4412 aix-51-support-20030701
FIXES 1661

make afs work for aix5.1 64 bit.
some code cleanup
2003-07-01 23:02:58 +00:00
Jim Rees
a4bfe58a1b freebsd-20030701
freebsd: eliminate unresolved symbols
kernel module loads now, but doesn't get very far
2003-07-01 19:06:38 +00:00
Derrick Brashear
937ec63685 linux-rxk-listener-shutdown-cleanup-20030323
get rid of need for sys_kill
2003-03-26 09:10:59 +00:00
Derrick Brashear
35f1dec615 afs-error-translation-update-20030306
make it vaguely useful. still need client side

====================
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 it vaguely useful.
now with client side(tm)

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

make it vaguely useful.
now with client side(tm)

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

make it vaguely useful.
now with client side(tm)
2003-03-06 17:11:22 +00:00
Douglas Engert
6183df9e42 hpux-1122-initial-support-20030213
sys name may yet change and there's some relatively minor cleanup yet to be
done
2003-02-14 00:02:16 +00:00
Derrick Brashear
4624fd2206 linux-redhat-81-beta-support-20020107
thanks to Sean McDermott for the errno.h fixes.
the rest is my fault, the configure tests as well as the kernel changes
2003-01-08 05:52:11 +00:00
Jim Rees
4caeeb4388 openbsd-20021114
OpenBSD:
Fix more vnode refcount screwups
Implement AFS_KALLOC, AFS_KFREE and eliminate #ifdefs in afs/afs_osi.c
More prototypes
Move a bunch of stuff from param.h to osi_machdep.h
Don't bind afs_vnop_fid.o in with nonfs module
2002-11-14 23:53:36 +00:00
Jim Rees
d2ec7c34b9 openbsd-20021108
More OpenBSD merge.
Fix refcount screwups in afs_GetVCache and friends.
"ls -ld /afs" works now.
2002-11-08 21:59:23 +00:00
Nathan Neulinger
782109a29b no-copy-libafs-builds-20021015
make things so file copies from src/libafs don't happen; change how libafs_tree is done
2002-10-16 04:58:13 +00:00
Jim Rees
3ce7e41622 openbsd-20021010
More OpenBSD merge.
2002-10-10 23:45:14 +00:00
Jim Rees
0c4ee80a72 openbsd-continues-20021009
More OpenBSD merge.
Please let me know if this breaks other architectures.
2002-10-09 19:25:54 +00:00
Jim Rees
b0e51e2993 curcred-20021008
Add osi_curcred().
Re-format a bit for readability.
2002-10-08 18:48:42 +00:00
Jim Rees
cee427e158 openbsd31-cm-20021003
OpenBSD 3.1 changes for the cache manager
eliminate some unused variables
2002-10-03 22:44:46 +00:00
Hartmut Reuter
3cc1ea60a3 aix51-support-20020926
aix 5.1 support, not yet ready for prime-time
2002-09-26 08:01:05 +00:00
Derrick Brashear
efd9a7e32d linux-tasklist-lock-export-detection-20020829
if you don't have a versioned kernel, so sorry.

====================
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 macro i forgot to commit
2002-08-28 05:30:06 +00:00
Nickolai Zeldovich
5d36376c07 Add two useful functions for string operations: afs_strdup() and
afs_osi_FreeStr().  Will be used by an upcoming patch.
2002-08-22 18:01:51 +00:00
Nathan Neulinger
8f2df21ffe pull-prototypes-to-head-20020821
pull up prototypes to head
2002-08-21 19:52:17 +00:00
Derrick Brashear
38025e0650 linux-gcpags-smp-safeness-20020810
hold tasklist_lock in the right place. doesn't yet address versions which don't export it.
2002-08-10 07:31:13 +00:00
Chas Williams
4d75219bed linux-alloc-drop-glock-if-we-can-20020731
if we can drop the glock, do so. allocate up to PAGE_SIZE with kmalloc before
switching to vmalloc
2002-07-31 23:29:38 +00:00
Derrick Brashear
b2788cf3ab linux-gcpags-support-20020625
might even work
2002-06-25 16:25:43 +00:00
Johan Danielsson
3bf8818d95 convert-vcache-casts-to-macros-20020325
convert vcache casting in cache manager to macros

should ease further changes later
2002-03-25 17:39:55 +00:00
Chaskiel M Grundman
bd707fb7e6 freebsd-almost-working-client-20020216
a) a freebsd client that compiles, and to a certain extent, works. Should
not be used except by people doing freebsd client development
b) configure glue for freebsd 4.3, 4.4, and 4.5
c) freebsd tfileserver support. Note that, by default, this isn't very
interesting, as the supported freebsd pthreads are just as cooperative as
LWP. if you install the linuxthreads port and swap the MT_* variables in
osconf.m4, you will get a more traditional tfileserver though. configure
glue for that will be forthcoming at some point.
d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them.

(and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x
 on same conf files issue)
2002-02-16 18:23:44 +00:00
Derrick Brashear
5c2a4168a6 linux-unmask-signals-in-rxk-listener-at-shutdown-20020124
since the rxk listener gets "kill"d at shutdown we need to unmask to wake
it up. this should probably be replaced but the logical way is evil,
involves simulating a packet to the listener so it wakes up and notices it's
time to die
2002-01-24 10:42:34 +00:00
Derrick Brashear
a89079efff linux-cant-daemonize-due-to-exit-mm-call-oh-well-20020124
the call to daemonize() means we fail to shut down correctly on SMP machines;
this is due to the call to exit_mm() in daemonize()
2002-01-24 10:09:13 +00:00
Derrick Brashear
1f3f7bc3ef linux-rework-signal-blocking-for-afsdb-handler-and-clean-up-osi-invisible-before-im-completely-blind-20020123
based on suggestion from kolya@mit.edu

and osi_Invisible cleanup so ifdef logic would be more clear
2002-01-23 19:27:39 +00:00
Chaskiel M Grundman
0c239bbb3a linux-afsd-ignore-signals-20020123
ignore signals sent to afsd on linux instead of running out of control

also daemonize ourselves
2002-01-23 07:55:08 +00:00
Chaskiel M Grundman
bedb78b0b0 darwin-14-support-20011110
base support for darwin 1.4
2001-11-10 23:20:04 +00:00
Derrick Brashear
c5c521af0e convert-from-bsd-to-posix-string-and-memory-functions-20010807
bcopy, bcmp, bzero, index, rindex, you're all cut.
memcpy, memcmp, memset, strchr, strrchr, show us how it's done

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

fix reference to memset the right thing

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

make change to arguments globally and not just for e.g. linux/darwin/fbsd

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

fix a minor flub in how this was done

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

correct another bad memcpy coversion

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

fix up more inadvertant turds

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

fix two errors found by chas williams
2001-08-08 03:05:55 +00:00
Nathan Neulinger
1fd4f11faf include-afsconfig-before-param-h-20010712
so stuff can be defined in afsconfig.h and included first
2001-07-12 20:58:15 +00:00
Nathan Neulinger
e7ec0d4213 afsconfig-and-rcsid-all-around-20010705
convert rest of source to afsconfig; include rcsid macros

====================
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 bogus if/define/endif triple

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

revert non-rcsid and afsconfig portion of patch
2001-07-05 16:20:00 +00:00
Tom Maher
0c1eb3a380 initial-freebsd-port-work-20010414
start of work on freebsd port
2001-04-14 18:27:12 +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
Johan Danielsson
d089415117 tru64-50-initial-support-20010210
makes client work under 5.0A, untested with 5.0 or 5.1
2001-02-10 20:57:28 +00:00
Derrick Brashear
fb5bcd00fc Standardize License information 2000-11-04 10:01:08 +00:00
IBM
87c10e8d7f Initial IBM OpenAFS 1.0 tree 2000-11-04 02:13:13 +00:00