HomeFreeBSD

imgact_binmisc: validate flags coming from userland

Description

imgact_binmisc: validate flags coming from userland

We may want to reserve bits in the future for kernel-only use, so start
rejecting any that aren't the two that we're currently expecting from
userland.

MFC after: 1 week

Details

Provenance
kevansAuthored on
Parents
rS367441: binmiscctl(8): miscellaneous cleanup
Branches
Unknown
Tags
Unknown