Fix build for separate objdirs

In particular, setting UNTHREADED=${srcdir}/dir and then referring
to ${srcdir}/${UNTHREADED} is a recipe for sadness.

Fix the libtool invocation to correctly find .la.sym files in ${srcdir}.

Also add some missing header dependencies that are hidden when building
in the src tree.

Change-Id: I1b663141c549cc4b90e46327c3fb31dc80294eaa
Reviewed-on: http://gerrit.openafs.org/8891
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
SOLARIS: Use vn_renamepath when available

In Solaris 11.1, the signature of vn_setpath changes; it gains an
extra boolean_t argument called 'force'. Instead of trying to adapt to
it, call vn_renamepath() instead, which will do the correct thing and
call vn_setpath &co for us. vn_renamepath has existed since Solaris 10
Update 8, and is in all releases of Solaris 11. Only call it in
Solaris 11, since it makes the ifdefs easier, and there are no
problems with calling vn_setpath on Solaris 10.

Thanks to Frank Batschulat for all of the relevant information.

Change-Id: Iad4ada70abbb5ec2289c30149ab4c571fa8a68ff
Reviewed-on: http://gerrit.openafs.org/8894
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
SOLARIS: Avoid open count cleanup for Solaris 11

The comments in here no longer apply to Solaris, as of OpenSolaris
commit 11736:63a134e1f09c by Donghai Qiao (4492533 Filesystems may
need VOP_CLOSE() for executables following a VOP_OPEN()). This means
that this workaround should no longer be necessary for any Solaris 11
release, any illumos release, and anything else based off of
OpenSolaris. So, stop doing it.

Thanks to Frank Batschulat for pointing this out, and providing all of
the details.

Change-Id: I54ed545e3b9d858fbffc762246ae805cd9c63a64
Reviewed-on: http://gerrit.openafs.org/8895
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
doc: dynamic mount requires dynroot and fakestat

Document that dynamic mount (/afs/.:mount) requires
dynroot and fakestat on non-linux unix.

Change-Id: I947edd30d510c7cc6840bc2cc74d0ef07b692afb
Reviewed-on: http://gerrit.openafs.org/8739
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Add rxgk boilerplate

Error table, protocol description, and stubs for the security object
routines, with header to declare them.

The public header rxgk.h currently only contains the security level enum
and includes the RPC interface and com_err code headers.

Change-Id: I7893f78119bb4aef12112cc1e51e1ec69de326c2
Dummy Makefile for rxgk

Change-Id: I21c37787eeafb9bf99731f8bbe5d54dcab42c8bd
Hook rxgk directory up to the build

Change-Id: I8a42d14dd494fac10a999120e53045302a2e51d1
Configure glue for rxgk

Add an --enable-rxgk switch to control whether the feature is used.
For now, just build the code as a dependency of finale, but we will
phase it in to other parts of the tree as appropriate.

Change-Id: Idf8b4e5f2f4d0f015e1efa1b610a89f8f9fbc241
Add rxgk_procs.c

Server-side routines for RXGK RPCs.
Just dummy stubs that return failure for now.

Change-Id: I2abb3a5b8082bcbc8d98b774061f8fc8f3e95c94
Build rxgk_procs

In a very silly fashion, mind you, but see if it compiles anyway.

Change-Id: I3652c60caa648d9e0a05b10bc0eec9091cc8cdea
Tweak dependencies

Change-Id: I2765f320dac69107dc75078fb481afb8c1c1090a
Make RXGK RPC server stubs less silly

Actually pass nonempty structures in most places.

Change-Id: I06631e98de1d6ddff40d70f3f057d57ca9b00f63
Export afs_xdr_u_int

Not sure why it was skipped, when u_short and u_char are already
there, as well as plain int.

Change-Id: I72b049065877018b2497bc4c493db02d1204a4e3
s/osi_alloc/xdr_alloc/g

Apparently osi_alloc isn't exported by libtool in the libraries.
Shrug.

Change-Id: I3b7ed75c08f732b7afa335a0d3395ca53004e2bf
Use correct form for pthreaded library

We want the rxgk lib to be a pthread library only, as it will
link against libgssapi.  This requires a symbol file for libtool
to use when generating the library.  For now, just export the
two RPCs.

Change-Id: Ie1ce9321f37e6294c501a4d24acd7dea89af91ac
Add the XDR-derived objects to LT_objs

We will need the RPCs in the library in order to export them.

Change-Id: I659e815154c722a015759f431558ce4b1adf6006
Add rxgkd

A small standalone daemon to backend the RXGK RPCs.
Intended to be used for development/testing; it is expected that
in production the RXGK service will be available on existing service
endpoints.

Change-Id: I3c7a4839c8e4cad73b2c6f15d8b72821c456fd20
Add ndebug for testing GSSNegotiate

A dummy utility which establishes a connection and then calls the
RXGK_GSSNegotiate RPC, printing the RPC's output.

Since the server implementation currently is a dummy stub that always
reports success and static data, this utility does not need to attempt
any negotiation either.

Change-Id: I67600a16b9fd3788b77025253b24cf255a33ac4e