freebsd-src/sys/security/mac_veriexec
Zhenlei Huang b388201875 veriexec: Simplify the initialization of loader tunable
The loader tunable 'security.mac.veriexec.block_unlink' has been
already flagged with CTLFLAG_RDTUN, no need to re-fetch it with
TUNABLE_INT_FETCH.

While here move the definition of sysctl knob out of function body,
which is more common in FreeBSD.

No functional change intended.

Reviewed by:	stevek
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42132

(cherry picked from commit bb8d4411e0)
2023-11-13 11:56:57 +08:00
..
mac_veriexec_internal.h veriexec: Add option MAC_VERIEXEC_DEBUG 2023-04-17 11:47:32 -04:00
mac_veriexec_sha1.c
mac_veriexec_sha256.c
mac_veriexec_sha384.c
mac_veriexec_sha512.c
mac_veriexec.c veriexec: Simplify the initialization of loader tunable 2023-11-13 11:56:57 +08:00
mac_veriexec.h veriexec: Add function to get label associated with a file 2023-04-17 11:47:33 -04:00
veriexec_fingerprint.c
veriexec_metadata.c mac_veriexec ensure label fields are initialized 2023-07-06 09:26:15 -07:00