From nobody Tue Jan 07 18:48:50 2025 X-Original-To: dev-commits-src-all@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 4YSKnt34Xrz5jllp; Tue, 07 Jan 2025 18:48:50 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSKnt1WKnz4py2; Tue, 7 Jan 2025 18:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736275730; 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=NJz4o3DKNEWmEfM5FiexfdkcvDFjnMMpV91jogUThUU=; b=i7e4zBmwmA4gRW/KmboSICWhO5Qs2XGC+moBFPpHqwGh6GhNz5IMCup+Di8zZdy85I19Ct RdV7uQSv7w8FFOhqKmoCKGz67+Uv4mnF4KfmGqKKy6QywAAsyUhf1WDTC+NdYWLUfFBSgM 5ysJeqdIXukNyqQIAky7ODa6fqfkqKqu0wL8zXO3Cf5J8Z3QfJoOPAxhjFL9txq3alcuiJ tqfOr4EL+T4P6plPzoYk6O25wEp21KO+JBPDJDK7oJIX52GM4F4utAMiQ08OLhyj/IdmhU XWUwao3k2PW/HJb0vRm1mPE5d4PUW9ZKG314Nrt1lr0cNEEOQV5MF/ijW/wPbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736275730; 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=NJz4o3DKNEWmEfM5FiexfdkcvDFjnMMpV91jogUThUU=; b=a0M/4usO+tNUaPezhv4XVGN5JpMUIZ2ANIMb+5qnPrjUEY+aToDnVtJNSzVZnvJzDmQJfh tr9mxUmV1t5sMqCXAW1jfzoRScigPkbwxTTTcaHlAjOTMMZ5i3KRMJ7OOtZyoYfbBm+H7K CznaP3mfcpLmc3Z0yzkdEtiPhFoeIFIgzjs5vElw56krXXruTAzUZA1tszrdrXBHTB4AE1 vQAct7S9E3YKXiAIi6AJLViv+q23dRDuEUZrSwZqCB0xnnVSxHvF9LJz8/Bk+jVO7rFUSZ wtlZqgEpTbHK9nEa7QMIraUrzbvKtgZaBJE6IKX9H9ZVTsm5ukEEebjRjGQalg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736275730; a=rsa-sha256; cv=none; b=H/KMYNbrqWok+aOHq/BdcvbTZs7bX3tRWuibrwUnU9/IBzrU187zsXsPTP45yIm8q2sUP7 /sgjFtEgKFINNnwgMZpZTSRc8vMCQKGEyV+yozCOOH7ieQDr+ak9DjvvkjBWmqejM0dVE9 DVRp/fiB0NjO+ZPFA6SwXuYmK3K0X3GO6H13XplhsjGn1jWh6tQ59096B7UZLAaqGL18Pd urhj6NTZbUAOLtp1MYQw90YN0FHAco6v46JCVQJYryHQqxiax783Qe80BbLjkCkarIoK/3 sVYLErisGnBywJnPfidaj+29gerrCz5kDMpSOncj95bcrEFouNh3kaMRfKb3ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YSKnt11dfz6Jn; Tue, 07 Jan 2025 18:48:50 +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 507Imoxp087243; Tue, 7 Jan 2025 18:48:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 507Imo9e087240; Tue, 7 Jan 2025 18:48:50 GMT (envelope-from git) Date: Tue, 7 Jan 2025 18:48:50 GMT Message-Id: <202501071848.507Imo9e087240@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 96ef85cc51ba - stable/14 - lindebugfs: Export symbols List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 96ef85cc51ba2eccc6a043227aa993180e5a0473 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=96ef85cc51ba2eccc6a043227aa993180e5a0473 commit 96ef85cc51ba2eccc6a043227aa993180e5a0473 Author: Ed Maste AuthorDate: 2024-12-07 18:03:40 +0000 Commit: Ed Maste CommitDate: 2025-01-07 18:48:33 +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 (cherry picked from commit c3d2c959b5c0ea05d6e5162def35d51ec267590c) --- sys/modules/lindebugfs/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sys/modules/lindebugfs/Makefile b/sys/modules/lindebugfs/Makefile index 542a2fb7b6da..62a86ac50460 100644 --- a/sys/modules/lindebugfs/Makefile +++ b/sys/modules/lindebugfs/Makefile @@ -7,4 +7,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