diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2026-04-10 17:43:15 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2026-04-10 17:46:54 +0000 |
| commit | 35bbdfad28626255c63360d98c45e41f2c692ef0 (patch) | |
| tree | e03fcfd9fd379c4246a2e29f4160d582db89ede2 /sys/modules/usb2/sound/(developers-only) | |
| parent | fc68534a9ad93f6df1756ffa8e707c30a35ce4d7 (diff) | |
file_loadraw() can have a need to load unverified files
like "dtrace_dof". Allow severity_guess() to look at the filename
but if it returns less than VE_MUST check that the type is not
one we insist on verifying.
In vectx_open if severity < VE_MUST we can allow it to be unverified.
If passed VE_GUESS we call severity_guess().
Regardless, we record severity in ctx so it is available to vectx_close().
Sponsored by: Hewlett Packard Enterprise Development LP
Reviewed by: khng
Differential Revision: https://reviews.freebsd.org/D56297
Diffstat (limited to 'sys/modules/usb2/sound/(developers-only)')
0 files changed, 0 insertions, 0 deletions
