Age | Commit message (Collapse) | Author | Files | Lines |
|
* svc.c (svc_getreqset):
* svc_tcp.c (readtcp): Don't intersperse preprocessor
conditionals with braces.
* auth_gssapi.c, auth_gssapi_misc.c, auth_none.c:
* auth_unix.c, authunix_prot.c, bindresvport.c:
* clnt_generic.c, clnt_perror.c, clnt_raw.c
* clnt_simple.c, clnt_tcp.c, clnt_udp.c, get_myaddress.c:
* getrpcent.c, getrpcport.c, pmap_clnt.c:
* pmap_getmaps.c, pmap_getport.c, pmap_prot.c, pmap_prot2.c:
* pmap_rmt.c, rpc_callmsg.c, rpc_prot.c:
* svc.c, svc_auth.c, svc_auth_gss.c:
* svc_auth_gssapi.c, svc_auth_unix.c, svc_raw.c:
* svc_run.c, svc_simple.c, svc_tcp.c:
* svc_udp.c, xdr.c, xdr_alloc.c, xdr_array.c:
* xdr_float.c, xdr_mem.c, xdr_rec.c, xdr_reference.c:
* xdr_stdio.c: Protoize, to avoid potential problems when
fixed-width types are not ints on some platforms.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16768 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
|
|
* svc_auth_gssapi.c: In call to gss_accept_sec_context, pass
OM_uint32 * instead of int *;
* pmap_clnt.h, pmap_getport.c (pmap_getport): Prototype changed
for protocol from unsigned int to rpc_u_int32 to match struct
pmap.
* getrpcport.c (gssrpc_getrpcport): Update to reflect proper
calling conventions.
* rpc.h (callrpc): Change prototype from expecting ints for
prognum, versnum and procnum to rpc_u_int32 for consistancy.
(getrpcport): Update arguments in similar fashion.
* clnt_simple.c (gssrpc_callrpc): Update to reflect prototype change.
* auth_gssapi_misc.c (auth_gssapi_display_status_1): Local
variable msg_ctx should be OM_uint32 instead of int as argument to
gss_display_status.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13645 dc483132-0cff-0310-8789-dd5450dbe970
|
|
shadow filewide static definition of name.
Move file wide definition of "pl" into respective functions.
* pmap_rmt.c: Change sin->sockin and socket->sock.
* pmap_getmaps.c, pmap_getport.c: Change socket to sock to not
shadow network function.
* bindresvport.c, clnt_generic.c: Change sin to sockin to not
shadow function declaration.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13486 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
|
|
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
|