From owner-dev-commits-src-all@freebsd.org Thu Jan 14 16:46:15 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C04924E7A75; Thu, 14 Jan 2021 16:46:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGqvW55mHz4cVt; Thu, 14 Jan 2021 16:46:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A1EB751D8; Thu, 14 Jan 2021 16:46:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 10EGkFH2023642; Thu, 14 Jan 2021 16:46:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10EGkFoq023641; Thu, 14 Jan 2021 16:46:15 GMT (envelope-from git) Date: Thu, 14 Jan 2021 16:46:15 GMT Message-Id: <202101141646.10EGkFoq023641@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: e3d06599bc06 - main - libifconfig: Add a symbol map MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e3d06599bc06303f9420d74e47bb5032e1102d3c Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 16:46:15 -0000 The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=e3d06599bc06303f9420d74e47bb5032e1102d3c commit e3d06599bc06303f9420d74e47bb5032e1102d3c Author: Mark Johnston AuthorDate: 2021-01-14 16:41:28 +0000 Commit: Mark Johnston CommitDate: 2021-01-14 16:41:28 +0000 libifconfig: Add a symbol map This is a no-op for now since libifconfig is only built as a static lib. Reviewed by: freqlabs, kp, adrian Differential Revision: https://reviews.freebsd.org/D28119 --- lib/libifconfig/Makefile | 4 +++ lib/libifconfig/Symbol.map | 74 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/lib/libifconfig/Makefile b/lib/libifconfig/Makefile index 73c5166ffb2c..73dad36c1dc5 100644 --- a/lib/libifconfig/Makefile +++ b/lib/libifconfig/Makefile @@ -8,6 +8,10 @@ LIBADD= m SHLIBDIR?= /lib SHLIB_MAJOR= 1 + +VERSION_DEF= ${LIBCSRCDIR}/Versions.def +SYMBOL_MAPS= ${.CURDIR}/Symbol.map + SRCS= libifconfig.c \ libifconfig_bridge.c \ libifconfig_carp.c \ diff --git a/lib/libifconfig/Symbol.map b/lib/libifconfig/Symbol.map new file mode 100644 index 000000000000..fd147554f085 --- /dev/null +++ b/lib/libifconfig/Symbol.map @@ -0,0 +1,74 @@ +FBSD_1.6 { + ifconfig_bridge_get_bridge_status; + ifconfig_bridge_free_bridge_status; + ifconfig_carp_get_info; + ifconfig_close; + ifconfig_create_interface; + ifconfig_create_interface_vlan; + ifconfig_destroy_interface; + ifconfig_err_errno; + ifconfig_err_errtype; + ifconfig_err_ioctlreq; + ifconfig_foreach_ifaddr; + ifconfig_foreach_interface; + ifconfig_get_capability; + ifconfig_get_description; + ifconfig_get_fib; + ifconfig_get_groups; + ifconfig_get_ifstatus; + ifconfig_get_metric; + ifconfig_get_mtu; + ifconfig_get_nd6; + ifconfig_get_orig_name; + ifconfig_inet_get_addrinfo; + ifconfig_inet6_get_addrinfo; + ifconfig_lagg_free_lagg_status; + ifconfig_lagg_get_lagg_status; + ifconfig_lagg_get_laggport_status; + ifconfig_list_cloners; + ifconfig_media_get_mediareq; + ifconfig_media_get_options_string; + ifconfig_media_get_status; + ifconfig_media_get_subtype; + ifconfig_media_get_type; + ifconfig_open; + ifconfig_set_capability; + ifconfig_set_description; + ifconfig_set_fib; + ifconfig_set_metric; + ifconfig_set_mtu; + ifconfig_set_name; + ifconfig_set_vlantag; + ifconfig_sfp_channel_count; + ifconfig_sfp_dump_region_count; + ifconfig_sfp_free_sfp_status; + ifconfig_sfp_get_sfp_dump; + ifconfig_sfp_get_sfp_info; + ifconfig_sfp_get_sfp_info_strings; + ifconfig_sfp_get_sfp_status; + ifconfig_sfp_get_sfp_vendor_info; + ifconfig_sfp_physical_spec; + ifconfig_unset_description; + + bias_mA; + power_dBm; + power_mW; + + /* Auto-generated. */ + ifconfig_sfp_cab_tech_description; + ifconfig_sfp_cab_tech_symbol; + ifconfig_sfp_conn_description; + ifconfig_sfp_conn_symbol; + ifconfig_sfp_eth_10g_description; + ifconfig_sfp_eth_10g_symbol; + ifconfig_sfp_eth_1040g_description; + ifconfig_sfp_eth_1040g_symbol; + ifconfig_sfp_eth_description; + ifconfig_sfp_eth_symbol; + ifconfig_sfp_eth_ext_description; + ifconfig_sfp_eth_ext_symbol; + ifconfig_sfp_fc_speed_description; + ifconfig_sfp_fc_speed_symbol; + ifconfig_sfp_rev_description; + ifconfig_sfp_rev_symbol; +};