diff options
author | eugen <eugen@FreeBSD.org> | 2018-03-05 12:16:37 +0000 |
---|---|---|
committer | eugen <eugen@FreeBSD.org> | 2018-03-05 12:16:37 +0000 |
commit | 5112fa156cb2279dafcd6659cff05ab66df64f58 (patch) | |
tree | 9542c63f8b9facb74c5ea664b4c0ae581439e50b /sys/security | |
parent | 01df33cb59fb7967decd9f8230375cb2f81f3be2 (diff) | |
download | FreeBSD-src-5112fa156cb2279dafcd6659cff05ab66df64f58.zip FreeBSD-src-5112fa156cb2279dafcd6659cff05ab66df64f58.tar.gz |
MFC r329994: mac_portacl(4): stop panicing INVARIANTS-enabled kernel by loading .ko
when kernel already has options MAC_PORTACL.
PR: 183817
Approved by: avg (mentor)
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/mac_portacl/mac_portacl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/mac_portacl/mac_portacl.c b/sys/security/mac_portacl/mac_portacl.c index 17427ee..3dd48c1 100644 --- a/sys/security/mac_portacl/mac_portacl.c +++ b/sys/security/mac_portacl/mac_portacl.c @@ -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); |