From 88d25e9b2f4ea3faad69b895962410291cc44ac9 Mon Sep 17 00:00:00 2001 From: mbr Date: Sun, 15 Jun 2003 10:32:01 +0000 Subject: Replace the old SCM_CREDS cred procedures. They can now be replaced just fine with getpeereid() and the whole code gets a lot simpler. We don't break the ABI, since all server programms use __rpc_get_local_uid(), and we just change library internals. Reviewed by: des --- include/rpc/svc.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/rpc/svc.h b/include/rpc/svc.h index e62c84d..7ecae0c 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -144,11 +144,6 @@ struct svc_req { #define svc_getrpccaller(x) (&(x)->xp_rtaddr) /* - * FreeBSD-only definition to get the creds of the caller (AF_LOCAL). - */ -#define __svc_getcallercreds(x) ((struct cmsgcred *)(x)->xp_p2) - -/* * Operations defined on an SVCXPRT handle * * SVCXPRT *xprt; -- cgit v1.1