mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
mac_portacl(4): stop panicing INVARIANTS-enabled kernel by loading .ko
when kernel already has options MAC_PORTACL. PR: 183817 Approved by: avg (mentor) MFC after: 1 week
This commit is contained in:
parent
0df651d7ee
commit
df850530e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329994
|
@ -487,3 +487,4 @@ static struct mac_policy_ops portacl_ops =
|
|||
|
||||
MAC_POLICY_SET(&portacl_ops, mac_portacl, "TrustedBSD MAC/portacl",
|
||||
MPC_LOADTIME_FLAG_UNLOADOK, NULL);
|
||||
MODULE_VERSION(mac_portacl, 1);
|
||||
|
|
Loading…
Reference in a new issue