]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure we have obtained a lock on the process before calling
authorstevek <stevek@FreeBSD.org>
Fri, 17 May 2019 17:50:01 +0000 (17:50 +0000)
committerstevek <stevek@FreeBSD.org>
Fri, 17 May 2019 17:50:01 +0000 (17:50 +0000)
commitc68a1edcc097b801f8b8a4b547f43217ff1f4fda
tree69d854f0797e4e4d9a04c15e522cb4d64f8db175
parentdd31a8ef39067d148388c965cf6a709cc3e905cc
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
sys/security/mac_veriexec/mac_veriexec.c