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
@ -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…
x
Reference in New Issue
Block a user