]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the mac_policy_rm lock recursable, which allows reentrance into
authorkib <kib@FreeBSD.org>
Sun, 29 Sep 2013 20:21:34 +0000 (20:21 +0000)
committerkib <kib@FreeBSD.org>
Sun, 29 Sep 2013 20:21:34 +0000 (20:21 +0000)
commitda2965e1a243768795b02024e54bb4e974752999
tree842773f4fe1c71d003fcbc7d7d994c299da4455f
parent81de6261a0d3cc160f184124a6cb3beb1866e265
Make the mac_policy_rm lock recursable, which allows reentrance into
the mac framework.  It is needed when priv_check_cred(9) is called from
the mac callback, e.g. in the mac_portacl(4).

Reported by: az
Reviewed by: rwatson
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (gjb)
sys/security/mac/mac_framework.c