openafs/src
Andrew Deason 0e411a0b36 Remove rpctestlib
There is some code in tests/rpctestlib that appears to be for testing
fileserver RPCs and callback processing, added in commit 262a678d (An
RPC test dispatch library for vice). However, it has never been used,
it seems unlikely that it will be used anytime soon, and it's not
clear if it even works (it contains many hard-coded references to
interfaces and IP addresses).

Just remove the unused code, and some references to rpctestlib. It can
always be added back if needed (or more likely, reimplemented to be
more in line with our current test framework in tests/ ).

Change-Id: Ied3be7474581d8ee75ae000815bb7364d143fd31
Reviewed-on: https://gerrit.openafs.org/14617
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
2021-06-10 12:59:53 -04:00
..
afs afs: Avoid creating unused conns 2021-06-10 12:17:56 -04:00
afsd afs: clarify cold and warm shutdown logic 2021-05-07 00:35:30 -04:00
afsmonitor strlcpy restricted to array length. 2021-02-26 10:18:40 -05:00
afsweb FBSD: Remove support for 8.x and 9.x 2020-01-10 16:10:57 -05:00
aklog clang-10: use AFS_FALLTHROUGH for case fallthrough 2020-07-27 12:20:50 -04:00
audit audit: Add missing AUD_TSTT case 2020-12-10 16:48:35 -05:00
auth Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
bozo bozo: Fix the test for bosserver '-cores none' 2021-04-02 00:08:06 -04:00
bu_utils cmd: add flags argument to create syntax function 2014-11-24 21:09:52 -05:00
bubasics Remove unused xdr types 2020-11-06 14:29:37 -05:00
bucoord Avoid duplicate definitions of globals 2020-04-03 11:21:51 -04:00
budb Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
butc Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
butm Add braces to empty conditional blocks 2018-05-25 11:52:59 -04:00
cf cf: Resolve implicit function definition for memset 2021-06-10 12:29:09 -04:00
cmd clang-10: use AFS_FALLTHROUGH for case fallthrough 2020-07-27 12:20:50 -04:00
comerr clang-10: ignore fallthrough warning in generated code 2020-07-27 12:23:15 -04:00
config Remove rpctestlib 2021-06-10 12:59:53 -04:00
crypto FBSD: Handle malloc/free changes in FBSD 12 2021-02-27 23:12:16 -05:00
dir dir: Explicitly 'make all' in src/dir/test 2021-03-11 17:24:40 -05:00
dviced Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
dvolser Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
export Remove dead code 2019-08-23 09:36:44 -04:00
external Import of code from heimdal 2020-11-05 23:14:04 -05:00
finale build: remove trailing whitespace from makefiles 2014-10-08 10:46:57 -04:00
fsint Remove unused xdr types 2020-11-06 14:29:37 -05:00
fsprobe Avoid duplicate definitions of globals 2020-04-03 11:21:51 -04:00
gtx FBSD: Remove pre-8 code 2019-12-10 17:55:39 -05:00
JAVA Remove dead code 2019-08-23 09:36:44 -04:00
kauth strlcpy restricted to array length. 2021-02-26 10:18:40 -05:00
kopenafs libtool: Serialize building libfoo.la and libfoo.a 2020-01-08 00:20:14 -05:00
libacl build: declare test targets as phony 2019-01-18 07:56:15 -05:00
libadmin rxstats: correctly report vlserver VL_* RPC stats 2020-10-23 12:25:10 -04:00
libafs macos: add support for MacOS 11.0 2021-04-09 20:16:27 -04:00
libafsauthent ubik: death to SVOTE_GetSyncSite 2020-03-24 01:18:50 -04:00
libafscp util: Use a struct for afsUUID_to_string 2019-12-09 03:19:28 -05:00
libafsrpc rx: Remove multi_End_Ignore 2021-05-27 10:08:12 -04:00
libuafs UKERNEL: Build linktest with COMMON_CFLAGS 2020-09-03 23:02:00 -04:00
log build: declare test targets as phony 2019-01-18 07:56:15 -05:00
lwp Remove AFS_PARISC_LINUX24_ENV references 2021-01-30 21:27:16 -05:00
opr Remove a few unused opr/util components 2021-06-10 12:49:51 -04:00
packaging macos: packaging support for MacOS X 11.0 2021-04-09 20:16:36 -04:00
pam pam: avoid warning messages 2016-07-17 00:33:10 -04:00
platform macos: upgrade *.xib files 2019-12-20 10:46:10 -05:00
procmgmt procmgmt: wrappers for softsig handlers 2016-04-24 23:55:56 -04:00
ptserver Resolve missing printf args 2021-02-26 11:36:24 -05:00
roken roken: use strtok_r from roken 2020-11-05 23:14:24 -05:00
rx rx: Remove multi_End_Ignore 2021-05-27 10:08:12 -04:00
rxdebug rxdebug: Add rxgk support 2019-03-24 02:18:03 -04:00
rxgen rxgen: remove dead code hndle_param_tail 2020-08-28 11:34:16 -04:00
rxgk rxgk: Add NTMakefile to install headers 2019-08-28 02:50:58 -04:00
rxkad clang-10: use AFS_FALLTHROUGH for case fallthrough 2020-07-27 12:20:50 -04:00
rxosd fsint: remove dead code 2018-10-05 09:27:36 -04:00
rxstat Normalize names of libtool convenience libraries 2014-10-08 10:47:55 -04:00
scout strlcpy restricted to array length. 2021-02-26 10:18:40 -05:00
sys sys: retry lsetpag if errno is EINTR 2019-11-28 17:51:37 -05:00
tbudb Build system: MT_LIBS includes XLIBS 2015-01-21 17:34:06 -05:00
tbutc WINNT: Link tbutc against mtafsutil.lib 2019-08-30 01:23:55 -04:00
tests clang-10: use AFS_FALLTHROUGH for case fallthrough 2020-07-27 12:20:50 -04:00
tools If realloc() == NULL we lost the pointer to old memory 2021-02-14 20:03:46 -05:00
tptserver ptclient: enable pthreaded support 2019-02-22 10:07:13 -05:00
tsalvaged Remove dead code 2019-08-23 09:36:44 -04:00
tsm41 Remove dead code 2019-08-23 09:36:44 -04:00
tubik Fix build for separate objdirs 2013-01-07 20:28:58 -08:00
tvlserver vlserver: Remove sascnvldb 2018-10-05 09:40:19 -04:00
tvolser Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
ubik rx: Remove delays in multi_End_Ignore 2021-05-27 01:40:10 -04:00
update Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
usd build: remove trailing whitespace from makefiles 2014-10-08 10:46:57 -04:00
uss clang-10: ignore fallthrough warning in generated code 2020-07-27 12:23:15 -04:00
util Remove a few unused opr/util components 2021-06-10 12:49:51 -04:00
venus fstrace: remove dead code 2021-03-12 17:44:59 -05:00
vfsck clang-10: use AFS_FALLTHROUGH for case fallthrough 2020-07-27 12:20:50 -04:00
viced rx: Remove delays in multi_End_Ignore 2021-05-27 01:40:10 -04:00
vlserver Move key-related warnings to common server code 2021-01-08 12:11:37 -05:00
vol Remove a few unused opr/util components 2021-06-10 12:49:51 -04:00
volser volser: Remove unused UV_* operations 2021-04-09 11:25:52 -04:00
WINNT WINNT: Restore missing '#ifdef PC' 2021-01-13 00:15:06 -05:00
xstat xstat: prevent CPU loop when -period 0 2020-10-23 11:41:30 -04:00
.gitignore
DOLASTCMP.BAT
helper-splint.sh.in
libafsdep fsint: remove dead code 2018-10-05 09:27:36 -04:00
mkdest.pl
ntbuild.bat Update windows build documentation 2013-07-02 15:14:09 -07:00
NTObjdir viced: Remove the LWP fileserver 2012-01-23 14:18:59 -08:00
README.md doc: Replace src/SOURCE-MAP with src/README.md 2020-03-05 21:53:14 -05:00
rmbat.bat
rmbat.rsp fix newline conventions 2010-07-06 08:16:25 -07:00
splint.cfg
symlink.bat
TechNotes-JavaAPI Finish deorbiting libjuafs.a 2014-11-05 08:37:51 -05:00

Guide to the OpenAFS source tree

This is a guide to the various directories in the OpenAFS source code tree. Some directories contain source code for components of the OpenAFS system, while other directories are used by the build system to build libraries, kernel modules, and program variations. See the Makefile at the top of the project tree for build order and inter-dependencies.

RPC interface definitions (IDL)

The following directory contains interface definitions (IDL) files for the OpenAFS file server and cache manager.

directory description
fsint File server and cache manager RPC interface definitions

Cache Managers

The following directories contain the source code of OpenAFS cache manager and related programs.

directory description
afs The OpenAFS cache manager as a kernel-module for unix-like systems
afsd The afsd user-space program to start the cache manager on unix-like systems
aklog The Kerberos 5 login programs: aklog, asetkey, akeyconvert
sys NFS translator local and remote system call interfaces
venus The fs program and other cache manager related utilities
WINNT The OpenAFS cache manager and installer for MS Windows
export Symbol exports for AIX kernel module

Servers

The following directories contain the source code of the OpenAFS servers and administrative command suites.

directory description
bozo The basic overseer server and bos command suite
ptserver The protection server and pts command suite
update The update server and client for maintaining server software and configuration (deprecated)
viced The file server
vlserver The volume location server
volser The volume server and vos command suite

Backup system

The following directories contain the source code of the OpenAFS backup system.

directory description
bubasics Backup related RPC interface definitions
bucoord Backup coordinator and support library
budb Backup database server buserver
butc Backup tape coordinator, and read_tape restoration client
butm Backup tape manager library
bu_utils Backup utilities to estimate tape capacity and file mark sizes
tsm41 Tivoli storage manager support

Rx subsystem

The following directories contain the source code of the Rx subsystem. Rx provides Remote Procedure Calls (RPC) over UDP/IP in user-space and kernel-mode, and includes an XDR implementation to encode and decode binary data.

directory description
rx The Rx library for kernel and user-space
rxdebug Debugging tool for rx
rxgen The rxgen program to generate AFS RPC stubs from IDL (i.e., *.xg)
rxgk Rxgk security class for rx
rxkad Kerberos security module for rx
rxosd Rx object storage device extensions IDL files
rxstat Rx statistics package

Libraries

The following directories contain the source code for the various libraries used by OpenAFS.

directory description
opr General purpose library for user-space and headers for kernel mode
audit The libaudit event auditing support library
auth The libauth library to manage key and cell configuration files
cmd The libcmd library to parse command line arguments
comerr The com_err library to provide error table lookup
dir Modules to lookup, add, and remove entries in directory objects
gtx A curses-based graphics library for terminal-based programs
kopenafs The libkopenafs library for setting up stand-alone setpag() function for Heimdal/KTH libkafs
libacl The libacl library for access control lists
libadmin The libadmin administration API
libafscp The libafscp library; client operations without a cache manager
libafsrpc The libafsrpc library; basic rx functionality for programs which do not require authentication
libafsauthent The libafsauthent library; for AFS-aware utilities
procmgmt Process management library
ubik Ubik replicated database library
usd User-space device input/output library
util Utility library (deprecated in favor of opr)
vol Volume library for managing volumes on-disk

Utilities

The following directories contain source code for utilities and libraries for OpenAFS administrators.

directory description
afsmonitor Terminal-based file server and cache manager monitoring tool
fsprobe File Server probe library and program
scout Terminal-based file server monitoring tool
tools Contributed configuration and maintenance tools
xstat Command line tools and libraries for gathering file server and cache manager statistics

Other

directory description
external Contains imported code which is maintained in other open source projects
platform Code for platform-specific programs and build specs.

Build system

The following directories are build directories or contain components for the build system.

directory description
cf OpenAFS specific M4 macros for autoconf
config Build system OS-specific configuration
crypto libhcrypto library build directory
dviced Demand Attach File Server (DAFS) build directory
dvolser Demand Attach Volume Server build directory
finale Final stage build directory; includes translate_et which translates error codes to descriptive messages
libafs OpenAFS kernel modules build directory
libuafs OpenAFS user-space cache manager build directory
packaging Contributed packaging files for various platforms
roken Build directory for libroken, a set of os-independent functions
tbudb Pthreaded Backup Server (budb) build directory
tbutc Pthreaded Backup Tape Coordinator (butc) build directory
tptserver Pthreaded Protection Server (ptserver) build directory
tsalvaged Pthreaded Salvage Server build directory; Used by Demand Attach File Server
tubik Pthreaded ubik build directory
tvlserver Pthreaded Volume Location vlserver build directory
tvolser Pthreaded Volume Server build directory

Not Maintained

The following directories contain code of obsolete components which are no longer actively maintained.

directory description
afsinstall Installation scripts and notes from IBM AFS
afsweb Authenticated AFS access for older versions of Apache
JAVA Java API library for OpenAFS development
kauth Obsolete Kerberos-4 server (kaserver) and related programs
log Obsolete programs to show and forget Kerberos-4 tokens
lwp Lightweight user-level non-preemptive cooperative threading library
pam Pluggable authentication modules (PAM) for kauth authentication
tests Legacy test scripts; new unit tests should be added to the top level tests directory
uss Tool for managing users; limited to kauth
vfsck OpenAFS specific fsck for obsolete inode-based file server partitions