HomeFreeBSD

mac: add macros for 5-argument SDT probes

Description

mac: add macros for 5-argument SDT probes

A last-minute change to the jail MAC entry points in D53954 is going to
pass the jail_[gs]et(2) flags to mac_prison_check_[gs]et() so that a
policy can, e.g., reject or allow a change if the intent is to
immediately attach, or disallow some fetching of dying jails.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54658

Details

Provenance
kevansAuthored on Jan 11 2026, 5:12 PM
Reviewer
markj
Differential Revision
D54658: mac: add macros for 5-argument SDT probes
Parents
rG11d6ea47f06a: kern: mac: add a MAC label to struct prison
Branches
Unknown
Tags
Unknown