HomeFreeBSD

MFC r268096, r268306, r268361:

Description

MFC r268096, r268306, r268361:
Add more formal and strict command parsing and validation.

For every supported command define CDB length and mask of bits that are
allowed to be set. This allows to remove bunch of checks through the code
and still make the validation more strict. To properly do it for commands
supporting multiple service actions, formalize their parsing by adding
subtables for each of such commands.

As visible effect, this change allows to add support for REPORT SUPPORTED
OPERATION CODES command, reporting to client all the data about supported
SCSI commands, except timeouts.

Details

Provenance
mavAuthored on
Parents
rS268673: MFC r267639:
Branches
Unknown
Tags
Unknown

Event Timeline