Skip to content

Commit

Permalink
libc: move NIS xdr_* symbols from rpc's to yp's Symbol.map
Browse files Browse the repository at this point in the history
To fix WITHOUT_NIS build.  Building yp_xdr.c is gated by MK_NIS.

PR:		279270
Reported by:	peterj
Reported by:	matteo
Reported by:	Michael Dexter's Build Option Survey run
Reviewed by:	brooks
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45347

(cherry picked from commit 61639bb)
(cherry picked from commit 1e3dfe0)
  • Loading branch information
emaste committed May 29, 2024
1 parent 6446348 commit 4010c26
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 31 deletions.
31 changes: 0 additions & 31 deletions lib/libc/rpc/Symbol.map
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,6 @@ FBSD_1.0 {
xdr_desargs;
xdr_desresp;

/* From yp_xdr.c (generated by rpcgen - include/rpcsvc/yp.x) */
xdr_domainname;
xdr_keydat;
xdr_mapname;
xdr_peername;
xdr_valdat;
xdr_ypbind_binding;
xdr_ypbind_resp;
xdr_ypbind_resptype;
xdr_ypbind_setdom;
xdr_ypmap_parms;
xdr_ypmaplist;
xdr_yppush_status;
xdr_yppushresp_xfr;
xdr_ypreq_key;
xdr_ypreq_nokey;
xdr_ypreq_xfr;
xdr_ypreqtype;
xdr_yprequest;
xdr_ypresp_all;
xdr_ypresp_key_val;
xdr_ypresp_maplist;
xdr_ypresp_master;
xdr_ypresp_order;
xdr_ypresp_val;
xdr_ypresp_xfr;
xdr_ypresponse;
xdr_ypresptype;
xdr_ypstat;
xdr_ypxfrstat;

authdes_seccreate;
authdes_pk_seccreate;
authnone_create;
Expand Down
32 changes: 32 additions & 0 deletions lib/libc/yp/Symbol.map
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,36 @@ FBSD_1.0 {
yperr_string;
ypprot_err;
_yp_check;

/* From yp_xdr.c (generated by rpcgen - include/rpcsvc/yp.x) */
xdr_domainname;
xdr_keydat;
xdr_mapname;
xdr_peername;
xdr_valdat;
xdr_ypbind_binding;
xdr_ypbind_resp;
xdr_ypbind_resptype;
xdr_ypbind_setdom;
xdr_ypmap_parms;
xdr_ypmaplist;
xdr_yppush_status;
xdr_yppushresp_xfr;
xdr_ypreq_key;
xdr_ypreq_nokey;
xdr_ypreq_xfr;
xdr_ypreqtype;
xdr_yprequest;
xdr_ypresp_all;
xdr_ypresp_key_val;
xdr_ypresp_maplist;
xdr_ypresp_master;
xdr_ypresp_order;
xdr_ypresp_val;
xdr_ypresp_xfr;
xdr_ypresponse;
xdr_ypresptype;
xdr_ypstat;
xdr_ypxfrstat;

};

0 comments on commit 4010c26

Please sign in to comment.