]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Further prototyping and cleanup of UKERNEL
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 21 Jul 2009 19:16:51 +0000 (20:16 +0100)
committerRuss Allbery <rra@stanford.edu>
Wed, 22 Jul 2009 17:35:14 +0000 (10:35 -0700)
commit09c4b3006d81eeb52b89d870ee7568de455040ea
treedf6ee12fdd9e7f9f3bd2f57ae2d1272d7d26ba87
parentfc695707f87143f2bfefd1260560cd6fdef613c0
Further prototyping and cleanup of UKERNEL

This patch continues to reduce the number of warnings that come from
a UKERNEL build. It also replaces the use of a system provided suser()
call (which isn't available everywhere), with afs_suser that's provided
by UKERNEL. Note that this makes UKERNEL applications usable by
everyone, not just root.

fork_syscall() becomes a normal function
call_syscall() is ANSIfied
UKERNEL/osi_groups.c gets the includes it needs
UKERNEL/osi_machdep.c stops thinking it's on Solaris
UKERNEL/osi_vnodeops.c stops confusing vnodes and vcaches

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/166
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/afs/UKERNEL/afs_usrops.c
src/afs/UKERNEL/osi_groups.c
src/afs/UKERNEL/osi_machdep.h
src/afs/UKERNEL/osi_vnodeops.c
src/afs/afs_prototypes.h