The service action field is only the low 5 bits of byte 1 in the CDB.
The upper 3 bits are reserved. If any of those bits are reserved
regardless of the reporting options flags, fail the request with an
INVALID FIELD IN COMMAND specifying byte 1 as the illegal byte.
Details
Details
- Reviewers
asomers emaste khorben_defora.org - Group Reviewers
cam
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 59408 Build 56295: arc lint + arc unit
Event Timeline
sys/cam/ctl/ctl.c | ||
---|---|---|
7485 | Note that this is not a generic "there's an invalid field in the command", but is specifically saying that the RSO_OPTIONS field in the cdb->options byte is invalid. |
sys/cam/ctl/ctl.c | ||
---|---|---|
7439 | Should "field" be 4 for REQUESTED SERVICE ACTION instead of 1 for SERVICE ACTION? |
sys/cam/ctl/ctl.c | ||
---|---|---|
7439 | Sigh, yes, and actually, it needs to be ignored for RSO_OPTIONS_ALL and RSO_OPTIONS_OC so I need to revisit this a bit. |