git: d8aaf0979233 - stable/14 - veriexec: Correctly export symbols

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

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

commit d8aaf09792338fae07b9618665ea9612b7b92a6e
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:12:21 +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)
---
 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 a165daeec043..82cf468fec50 100644
--- a/sys/modules/mac_veriexec/Makefile
+++ b/sys/modules/mac_veriexec/Makefile
@@ -18,7 +18,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