HomeFreeBSD

Fix an off-by-one in an assertion on fasttrap tracepoint sizes.

Description

Fix an off-by-one in an assertion on fasttrap tracepoint sizes.

FASTTRAP_MAX_INSTR_SIZE is the largest valid value of a tracepoint, so
correct the assertion accordingly. This limit was hit with a 15-byte NOP.

Reported by: bdrewery
MFC after: 1 week
Sponsored by: Dell EMC Isilon

Details

Provenance
markjAuthored on
Parents
rS312892: MFC r312547: Mention sendfile(2) by popular demand.
Branches
Unknown
Tags
Unknown