git: 6be29d44ece1 - stable/12 - veriexec: Correctly export symbols

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Mon, 23 Oct 2023 10:18:05 UTC
The branch stable/12 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=6be29d44ece1600ee1dd604177f1adf3f5cf5e94

commit 6be29d44ece1600ee1dd604177f1adf3f5cf5e94
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-10-15 14:29:18 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-10-23 10:17:42 +0000

    veriexec: Correctly export symbols
    
    There's no symbol named 'mac_veriexec_get_executable_flags', the right
    one should be the function 'mac_veriexec_metadata_get_executable_flags()'.
    
    Reviewed by:    stevek
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D42133
    
    (cherry picked from commit f34c9c4e3bdc2b8bffae4ac26897e0e847e9f76f)
    (cherry picked from commit d8aaf09792338fae07b9618665ea9612b7b92a6e)
    (cherry picked from commit 36180ffe86feddefe710f9e770563f14bb6bd203)
---
 sys/modules/mac_veriexec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/modules/mac_veriexec/Makefile b/sys/modules/mac_veriexec/Makefile
index 7ec061b07528..2bea2cc002f2 100644
--- a/sys/modules/mac_veriexec/Makefile
+++ b/sys/modules/mac_veriexec/Makefile
@@ -19,7 +19,7 @@ SRCS += \
 
 EXPORT_SYMS+= ve_mutex \
 	mac_veriexec_in_state \
-	mac_veriexec_get_executable_flags
+	mac_veriexec_metadata_get_executable_flags
 
 .if defined(KERNBUILDDIR)
 MKDEP=		-include ${KERNBUILDDIR}/opt_global.h