From ce9bc43cb3a6cd4da05ff0ac2ccc9d94f236c5db Mon Sep 17 00:00:00 2001 From: Martin Blapp 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 e62c84d6ac21e..7ecae0c68e8f0 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -143,11 +143,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 * -- cgit v1.3