From nobody Sun Dec 08 01:24:16 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y5S2S3pPlz5fnCD; Sun, 08 Dec 2024 01:24:16 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y5S2S1ql7z4dr3; Sun, 8 Dec 2024 01:24:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733621056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=79SQ0kp2+mhyRpgWH0Hm3sydUGoRmXgSeifvHMUQBqA=; b=cz1R5uQYFXX2R8626lTWflDZnJBitUe/v00a4JiO8H+i3nUsE0pRdBUnzIEr9zJdmja4Xu WOw/hE53BsvfU99h863vZgbZgmMab5Z60PGUWF2QMR9c3ryq3WemB0Faxyh/LbK1LY5g7w DGcPIORWYqMyRWHWhxVT2JNd5hGpzt+8+AlIXWgt0PuicSm/TxAiH3q6bYfKIuC3BjgGQF lREcwZ4ecINzz12IhFNUtbRGEOk63weozP8R8uINUgaDH+ZCfR66AzCHzTKqRUMzXT1s7S Dv/4SSOQEIcUO36H9z9J47GGExWtBo3bCOpk8a4hBIg1JiUdbvEyNCWSwwuEAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733621056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=79SQ0kp2+mhyRpgWH0Hm3sydUGoRmXgSeifvHMUQBqA=; b=S1jiSo/V8FCGl+lA2FhunaF614/An9ECPkPpPLpPJqgPEQ2xlIo1D91jxr4uuSeIm3ElLx QCFrdTLhcJ2+o0yeCEenUnAz2FPBsvQRYixCu+tOg3iYuxSaqy5wDyUf5a5ZMXr/O5dm3G W+8GN8EUFxa2H7xJ/G0/eHVU365+RZUjgWY3xNU4fIupk8PZzdY6naydFQJSRv4Luh46XN YWBWw804ljLue/cbpnZRZvQh+1lpFpzCicmVVQ4z6O3QEwoNOlyr5/Wa29zOllDphG34fb rOvLNhYlEbTZg/lcU1mtyJqNwdad1KHHTbtfU0QN0sUcLeC5ADsl7NIzNdtrWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733621056; a=rsa-sha256; cv=none; b=PxbtfEeBS40zR5W2jZ5ptLpf09zANJs7jS1ubOy7WgNjpcnHfXQWnpwq0pgfS5DIfQStQe 0GLxU2mfIw3l6ioq65tAzHsQFUn2U6Qlf03dV9rgr2tk4Hh5Vx7OxwYV7dge62Rx3uH8bn 8mqzyBAfZPgy29R+speY8GD7CNp1kU253rFYKN/XVW3yl9ZmrbAdl8COOoKHrVe/eeKXhD ktuE0c4YJiwWpTxpc/dP85/VfOPYJXmIqmVcswhfxffQBop+vz+4NwNdGde/j6KkmIwWGz ahh3ZapwLqZdl5DIAB5Ehzs/LTulnTKebHZ8wZlb1KynWK0gMsDNSSqgHV0SSw== 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 4Y5S2S1RzpzXJF; Sun, 8 Dec 2024 01:24:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B81OGiT083062; Sun, 8 Dec 2024 01:24:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B81OGnR083059; Sun, 8 Dec 2024 01:24:16 GMT (envelope-from git) Date: Sun, 8 Dec 2024 01:24:16 GMT Message-Id: <202412080124.4B81OGnR083059@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: c3d2c959b5c0 - main - lindebugfs: Export symbols List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3d2c959b5c0ea05d6e5162def35d51ec267590c Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=c3d2c959b5c0ea05d6e5162def35d51ec267590c commit c3d2c959b5c0ea05d6e5162def35d51ec267590c Author: Ed Maste AuthorDate: 2024-12-07 18:03:40 +0000 Commit: Ed Maste CommitDate: 2024-12-08 01:23:15 +0000 lindebugfs: Export symbols We currently rely on the kernel linker resolving undefined references against local symbols from other kernel modules. Be explicit about the symbols to export, in advance of changing that behaviour. PR: 207898 Reviewed by: kib, bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47980 --- sys/modules/lindebugfs/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sys/modules/lindebugfs/Makefile b/sys/modules/lindebugfs/Makefile index 0933208d60fa..90713a634b4b 100644 --- a/sys/modules/lindebugfs/Makefile +++ b/sys/modules/lindebugfs/Makefile @@ -6,4 +6,25 @@ SRCS+= ${LINUXKPI_GENSRCS} CFLAGS+= ${LINUXKPI_INCLUDES} +EXPORT_SYMS= debugfs_create_atomic_t +EXPORT_SYMS+= debugfs_create_blob +EXPORT_SYMS+= debugfs_create_bool +EXPORT_SYMS+= debugfs_create_dir +EXPORT_SYMS+= debugfs_create_file +EXPORT_SYMS+= debugfs_create_file_size +EXPORT_SYMS+= debugfs_create_file_unsafe +EXPORT_SYMS+= debugfs_create_mode_unsafe +EXPORT_SYMS+= debugfs_create_symlink +EXPORT_SYMS+= debugfs_create_u8 +EXPORT_SYMS+= debugfs_create_u16 +EXPORT_SYMS+= debugfs_create_u32 +EXPORT_SYMS+= debugfs_create_u64 +EXPORT_SYMS+= debugfs_create_ulong +EXPORT_SYMS+= debugfs_create_x8 +EXPORT_SYMS+= debugfs_create_x16 +EXPORT_SYMS+= debugfs_create_x32 +EXPORT_SYMS+= debugfs_create_x64 +EXPORT_SYMS+= debugfs_remove +EXPORT_SYMS+= debugfs_remove_recursive + .include