HomeFreeBSD

Reject invalid object types that can not be used with specific opcodes.

Description

Reject invalid object types that can not be used with specific opcodes.

When we doing reference counting of named objects in the new rule,
for existing objects check that opcode references to correct object,
otherwise return EINVAL.

PR: 217391
MFC after: 1 week
Sponsored by: Yandex LLC

Details

Provenance
aeAuthored on
Parents
rS314714: Don't kill pid -1 on overflow from strtol(3).
Branches
Unknown
Tags
Unknown