diff options
author | 2015-09-13 15:36:56 +0000 | |
---|---|---|
committer | 2015-09-13 15:36:56 +0000 | |
commit | 85858ec2de0a5bfea0d5f098a39cf144ad74f89a (patch) | |
tree | 642ce8eae01884bf58cc31dd547155778b95a772 /lib/libc/rpc/svc_auth_unix.c | |
parent | Wrap <pwd.h> so that calls go direct and the symbols are all weak. (diff) | |
download | wireguard-openbsd-85858ec2de0a5bfea0d5f098a39cf144ad74f89a.tar.xz wireguard-openbsd-85858ec2de0a5bfea0d5f098a39cf144ad74f89a.zip |
Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.
Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h>
ok deraadt@
Diffstat (limited to 'lib/libc/rpc/svc_auth_unix.c')
-rw-r--r-- | lib/libc/rpc/svc_auth_unix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c index ad9efa78b51..0bcec6365ef 100644 --- a/lib/libc/rpc/svc_auth_unix.c +++ b/lib/libc/rpc/svc_auth_unix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svc_auth_unix.c,v 1.11 2015/09/02 02:52:26 deraadt Exp $ */ +/* $OpenBSD: svc_auth_unix.c,v 1.12 2015/09/13 15:36:56 guenther Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -113,6 +113,7 @@ done: XDR_DESTROY(&xdrs); return (stat); } +DEF_STRONG(_svcauth_unix); /* @@ -125,3 +126,4 @@ _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) { return (AUTH_REJECTEDCRED); } +DEF_STRONG(_svcauth_short); |