summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-06-15 10:32:01 +0000
committermbr <mbr@FreeBSD.org>2003-06-15 10:32:01 +0000
commit88d25e9b2f4ea3faad69b895962410291cc44ac9 (patch)
tree1c825c0c22e8e9fb786e94695cad2d037c99f817 /include/rpc
parentd46a4b84c36ffc40eac467a205717414ef8311c0 (diff)
downloadFreeBSD-src-88d25e9b2f4ea3faad69b895962410291cc44ac9.zip
FreeBSD-src-88d25e9b2f4ea3faad69b895962410291cc44ac9.tar.gz
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
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/svc.h5
1 files changed, 0 insertions, 5 deletions
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;
OpenPOWER on IntegriCloud