HomeFreeBSD

libnvmf: Add nvmf_nqn_valid_strict() function

Description

libnvmf: Add nvmf_nqn_valid_strict() function

This moves the checks previously under #ifdef STRICT in
nvmf_nqn_valid() into a separate helper for userland. This
requires that the NQN starts with "nqn.YYYY-MM." followed by at
least one additional character.

Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D48767

Details

Provenance
jhbAuthored on Jul 28 2025, 6:33 PM
Reviewer
asomers
Differential Revision
D48767: libnvmf: Add nvmf_nqn_valid_strict() function
Parents
rGdf607c941f88: stand/i386: Don't include SASRC in .PATH of boot loaders
Branches
Unknown
Tags
Unknown