| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
build time, and which is the only place we use them from anyways.
Update Makefile references and dependencies.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18589 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sockaddr.sa_len. Check for sys/param.h in case we need NBBY
somewhere.
* auth.h, svc_auth.h: Namespace cleanup.
* svc.h, rpc_commondata.c: New global svc_maxfd.
* svc.c (svc_getreqset): Break inner part of loop out into
local function svc_do_xprt(). Don't use rpc_dtablesize();
instead, use svc_maxfd.
* svc_run.c: Don't use rpc_dtablesize().
* clnt_generic.c, clnt_simple.c, getrpcport.c:
* svc_tcp.c, svc_udp.c: Set sockaddr_in.sin_len when available.
* ovsec_kadmd.c (kadm_svc_run): Don't use rpc_dtablesize().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16770 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remaining work includes:
* Default to using kadmin/fqdn for SEAM compatibility
* Namespace cleanups and other API tweaks -- this API is not stable yet
* Fix lib/rpc/unit-test testsuite to test RPCSEC_GSS in addition to
AUTH_GSSAPI
Additional work will be tracked in separate tickets. This merge is
bracketed between the tags "tlyu-umich-rpc-merge-pre" and
"tlyu-umich-rpc-merge-post".
ticket: 2578
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16467 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* clnt.h: CLIENT cl_private structure element changed to type void *.
* svc.h: SVCXRPT elements xp_p1 and xp_p2 changed to void * from
caddr_t.
* svc_udp.c: su_cache element of svcudp_data from caddr_t to void *.
* clnt_tcp.c, svc_tcp.c (writetcp, readtcp): Cleanup alignment
warning in casts.
* types.hin (mem_alloc): Do not cast type of malloc to char *.
* xdr.h: Change type of x_private of XDR from caddr_t to void *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13620 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* auth_gssapi.h: Complete prototypes for
_svcauth_gssapi_unset_names().
* clnt.h: Prototype dispatch functions and all functions.
* clnt_perror.c: Prototype static auth_errmsg().
* clnt_raw.h clnt_tcp.c, clnt_udp.c: Provide prototypes to static
functions and match dispatch table prototypes. control function
takes void * instead of caddr_t.
* pmap_rmt.c: Move prototype for resultproc_t to pmap_clnt.h.
* rpc.h: get_myaddress returns int. Add prototypes for callrpc and
getrpcport.
* rpc_commondata.c (rpc_createerr): When initializing rpc_creaerr
use RPC_SUCCESS instead of 0.
* get_myaddress.c, rpc_dtablesize.c: Include gssrpc/rpc.h for
prototype.
* pmap_clnt.h, pmap_prot.h, pmap_rmt.h, rpc_msg.h: Full prototypes
for all functions.
* svc.c: Provide full prototype for static function.
* svc.h: Prototypes for dispatch functions added. Flushed out
prototypes for all functions missing prototypes. Added prototype
for svcfd_create.
* svc_auth.c: Prototypes for all functions referenced.
* svc_auth.h: Prototype dispatch functions to svc_auth_ops.
* svc_auth_any.c: Replace use of authany_wrap() with a new local
function that matches svc_auth_ops dispatch table.
* svc_simple.c: Provide prototype for static function
universal. Fill in missing types of parameters to
gssrpc_registerrpc.
* svc_raw.c svc_tcp.c, svc_udp.c: Provide prototypes for static
functions and match prototypes in dispatch table. Change getargs
and freeargs argument to void * from caddr_t.
* xdr.c (xdr_void): Function to match prototype of arguments given.
* xdr.h: Provide full prototypes for xdr_ops dispatch table and
xdr_void().
* svc_auth_gssapi.c, xdr_alloc.c, xdr_mem.c, xdr_rec.c,
xdr_stdio.c: Provide protypes for static functions and match
dispatch tables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13528 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* auth_unix.h: Expand prototype for xdr_authunix_params to include
arguments.
* auth_gssapi.h: Give full prototypes for xdr_gss_buf,
xdr_authgssapi_creds, xdr_authgssapi_init_arg and
xdr_authgssapi_init_res.
* auth_gssapi.c, auth_none.c, auth_unix.c: For struct AUTH
disptach functions, provide full prototypes and ensure consistant
usage in functions
* auth.h: Provide prototypes dispatch functions in struct
AUTH. Give a forward declaration of struct rpc_msg. Change
duplicate definitions of AUTH_WRAP and AUTH_UNWRAP into auth_wrap
and auth_unwrap. Give full prototype for authany_wrap.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13521 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
switch.
* getrpcport.c: Include string.h for memmove() prototype and
pmap_clnt.h for pmap_getport() prototype.
* rpc_dtablesize.c (_gssrpc_rpc_dtablesize): Declare as returning int.
* get_myaddress.c (gssrpc_get_myaddress): Likewise.
* rpc_prot.c (gssrpc_xdr_accepted_reply, sunrpc_seterr_reply):
Enumerate missing cases for switch.
(rejected): Fix typo: RPC_VERMISMATCH -> RPC_MISMATCH for
enumerated switch.
* svc_auth.c: Add braces to svcauthsw[] initialization.
* svc_simple.c: Include pmap_clnt.h for pmap_unset prototype.
* bindresvport.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c, pmap_clnt.c,
pmap_getmaps.c, pmap_gtport.c, pmap_rmt.c, svc_tcp.c, svc_udp.c:
Include unistd.h for close() prototype.
* xdr.c (xdr_opaque): Specify internal buffer as ints.
(xdr_u_int32): Declare as returning bool_t.
* clnt_generic.c, rpc_callmsg.c, svc_auth_unix.c, xdr_mem.c:
Include string.h for memmove() prototype.
* xdr_rec.c: Include string.h for memmove() prototype. Add dummy
XDR_FREE cases for switches.
* xdr_reference.c (xdr_reference): Add XDR_ENCODE case. (gcc warning).
* xdr_array.c (xdr_array): Likewise.
* auth.h: Include gssrpc/xdr.h and provide prototype for
gssrpc_xdr_opaque_auth().
* auth_gssapi.h: Add prototypes for auth_gssapi_seal_seq() and
auth_gssapi_unseal_seq().
* clnt.h: Add prototype for _gssrpc_rpc_dtablesize().
* rpc.h: Add prototypes for gssrpc_get_myaddress() and
gssrpc_bindresvport().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13269 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
xdrstdio_create(), xdrrec_create(), xdralloc_create(),
xdralloc_release(), xdrrec_endofrecord(), xdrrec_skiprecord(),
xdrrec_eof(), xdralloc_getdata(). Add prototype for
gssrpc_xdr_fre().
* xdr.c: Argument to gssrpc_xdr_free(0 changed from char * to void
*. xdr_u_char() changed to take unsigned char * instead of char *.
* auth_unix.c: Include unistd.h and string.h for
prototypes. Declare marshal_new_auth() as static void instead of
static bool_t based on usage.
* auth.h, svc_auth.h: Provide full prototypes for a number of
functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13010 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions and global variables to prefix them with "gssrpc_" or
"_gssrpc" as might be appropriate. Some symbols which are unlikely to
occur in vendor rpc implementations have retained their old names
(notably the gssapi specific ones).
* auth.h: Renames.
* auth_any.c: Update header locations.
* auth_gssapi.c: Punt naughty RCS keywords. Update header
locations. Remove explicit extern decl of rpc_createrr (clnt.h
gets it). Renames.
* auth_gssapi.h: Punt naughty RCS keywords.
* auth_gssapi_misc.c: Punt naught RCS keywords. Update header
locations.
* auth_none.c: Update header locations. Renames.
* auth_unix.c: Update header locations. Renames.
* auth_unix.h: Renames.
* authunix_prot.c: Update header locations.
* bindresvport.c: Renames.
* clnt.h: Renames.
* clnt_generic.c: Update header locations.
* clnt_perror.c: Update header locations.
* clnt_raw.c: Update header locations. Renames.
* clnt_simple.c: Update header locations. Renames.
* clnt_tcp.c: Update header locations. Renames.
* clnt_udp.c: Upate header loations. Renames.
* get_myaddress.c: Update header locations. Renames.
* getrpcent.c: Update header locations.
* getrpcport.c: Update header locations. Renames.
* netdb.h: Update header locations.
* pmap_clnt.c: Update header locations. Renames.
* pmap_clnt.h: Renames.
* pmap_getmaps.c: Update header locations.
* pmap_getport.c: Update header locations.
* pmap_prot.c: Update header locations.
* pmap_prot.h: Renames.
* pmap_prot2.c: Update header locations.
* pmap_rmt.c: Update header locations. Renames.
* pmap_rmt.h: Renames.
* rpc.h: Update header locations. No longer include rpc/netdb.h.
* rpc_callmsg.c: Update header locations. Renames.
* rpc_commondata.c: Update header locations.
* rpc_dtablesize.c: Renames.
* rpc_msg.h: Renames.
* rpc_prot.c: Update header locations. Renames.
* svc.c: Update header locations. Renames.
* svc.h: Renames.
* svc_auth.c: Update header locations. Renames.
* svc_auth.h: Renames.
* svc_auth_any.c: Update header locations.
* svc_auth_gssapi.c: Punt naughty RCS keywords. Update header
locations. Renames.
* svc_auth_unix.c: Renames.
* svc_raw.c: Update header locations.
* svc_run.c: Update header locations. Renames.
* svc_simple.c: Update header locations. Renames. Make pl
static.
* svc_tcp.c: Update header locations. Renames.
* svc_udp.c: Update header locations. Renames.
* xdr.c: Update header locations. Renames.
* xdr.h: Renames.
* xdr_alloc.c: Punt naughty RCS keywords. Update header
locations.
* xdr_array.c: Update header locations.
* xdr_float.c: Update header locations.
* xdr_mem.c: Update header locations.
* xdr_rec.c: Update header locations.
* xdr_reference.c: Update header locations.
* xdr_stdio.c: Update header locations.
* Makefile.in: Bump major version due to changes. Don't build
getrpcent.o, since we don't use it, and dealing with the
rpc/netdb.h lossage was a major pain. Also, rename HDRDIR to
$(BUILDTOP)/gssrpc in order to avoid problems with system headers
including rpc/*.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10447 dc483132-0cff-0310-8789-dd5450dbe970
|
|
OV_MERGE branches. This includes, but is not limited to, the new openvision
admin system, and major changes to gssapi to add functionality, and bring
the implementation in line with rfc1964. before committing, the
code was built and tested for netbsd and solaris.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
|