VERIEXEC(4)
π NAME π
okay so this is veriexec(4), straight out of the Kernel Interfaces Manual β the page for the veriexec device, bestie. π
β¨ SYNOPSIS β¨
include this header and you're in:
#include <dev/veriexec/veriexec_ioctl.h>
π DESCRIPTION π
The veriexec device is what veriexec(8) uses to query and modify the state of mac_veriexec(4). slay.
Once mac_veriexec(4) is active, only a process marked as βtrustedβ β normally only veriexec(8) β can do anything beyond the VERIEXEC_GETSTATE ioctl. periodt. That is the whole vibe check, no cap.
π₯ IOCTLS π₯
here is the supported ioctl lineup, bestie β every one of them, no skips:
VERIEXEC_SIGNED_LOADstruct verified_exec_paramsβ passes file information tomac_veriexec(4). π«Ά
struct verified_exec_params {
unsigned char flags;
char fp_type[VERIEXEC_FPTYPELEN]; /* type of fingerprint */
char file[MAXPATHLEN];
unsigned char fingerprint[MAXFINGERPRINTLEN];
};
VERIEXEC_LABEL_LOADstruct verified_exec_label_paramsβ passes file information and a label tomac_veriexec(4). π
struct verified_exec_label_params {
struct verified_exec_params params;
char label[MAXLABELLEN];
};
VERIEXEC_ACTIVEβ listed on the page, with no extra description attached. β¨VERIEXEC_DEBUG_OFFβ listed on the page, with no extra description attached. πVERIEXEC_DEBUG_ONint levelβ listed with anint levelargument, with no extra description attached. π₯VERIEXEC_ENFORCEβ listed on the page, with no extra description attached. πΈVERIEXEC_GETSTATEβ listed on the page, with no extra description attached. π¦VERIEXEC_GETVERSIONβ listed on the page, with no extra description attached. βVERIEXEC_LOCKβ listed on the page, with no extra description attached. πVERIEXEC_VERIFIED_FILEint fdβ rarely needed. Tellsmac_veriexec(4)that the file associated withfdis verified. π
π¦ HISTORY π¦
A veriexec device first appeared in NetBSD. It was added to FreeBSD 13.1. the lore is lore-ing. π
xoxo from Debian, August 1, 2024 β this was VERIEXEC(4), bestie π
π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- π the page's license: BSD-2-Clause
- Copyright (c) 2024, Juniper Networks, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms