HomeFreeBSD

Ensure we have obtained a lock on the process before calling

Description

Ensure we have obtained a lock on the process before calling
mac_veriexec_get_executable_flags(). Only try locking/unlocking if the caller
has not already acquired the process lock.

Obtained from: Juniper Networks, Inc.
MFC after: 1 week

Details

Provenance
stevekAuthored on
Parents
rS347932: Instead of individual conditional statements to look for each hypervisor
Branches
Unknown
Tags
Unknown