mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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)
39 lines
703 B
Makefile
39 lines
703 B
Makefile
|
|
.PATH: ${.PARSEDIR:H:H}/security/mac_veriexec
|
|
|
|
KMOD = mac_veriexec
|
|
SRCS = \
|
|
bus_if.h \
|
|
device_if.h \
|
|
vnode_if.h
|
|
SRCS += \
|
|
opt_capsicum.h \
|
|
opt_global.h \
|
|
opt_mac.h \
|
|
opt_veriexec.h
|
|
SRCS += \
|
|
mac_veriexec.c \
|
|
veriexec_fingerprint.c \
|
|
veriexec_metadata.c
|
|
|
|
EXPORT_SYMS+= ve_mutex \
|
|
mac_veriexec_in_state \
|
|
mac_veriexec_metadata_get_executable_flags
|
|
|
|
.if defined(KERNBUILDDIR)
|
|
MKDEP= -include ${KERNBUILDDIR}/opt_global.h
|
|
.else
|
|
CFLAGS+= -include opt_global.h
|
|
MKDEP= -include opt_global.h
|
|
opt_mac.h:
|
|
echo "#define MAC_DEBUG 1" >> ${.TARGET}
|
|
opt_global.h:
|
|
echo "#define MAC 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.ifndef WITHOUT_VERIEXEC_DEBUG
|
|
CFLAGS+= -DVERIFIED_EXEC_DEBUG
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|
|
|