From 2fd98af619b989e0cb105bb5b81e41d895fd8e20 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 25 Oct 2007 11:31:11 +0000 Subject: Consistently name functions for mac_ as _whatever rather than mac__whatever, as this shortens the names and makes the code a bit easier to read. When dealing with label structures, name variables 'mb', 'ml', 'mm rather than the longer 'mac_biba', 'mac_lomac', and 'mac_mls', likewise making the code a little easier to read. Obtained from: TrustedBSD Project --- sys/security/mac_none/mac_none.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/security/mac_none') diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c index d1036d8..8577c73 100644 --- a/sys/security/mac_none/mac_none.c +++ b/sys/security/mac_none/mac_none.c @@ -48,9 +48,9 @@ #include -static struct mac_policy_ops mac_none_ops = +static struct mac_policy_ops none_ops = { }; -MAC_POLICY_SET(&mac_none_ops, mac_none, "TrustedBSD MAC/None", +MAC_POLICY_SET(&none_ops, mac_none, "TrustedBSD MAC/None", MPC_LOADTIME_FLAG_UNLOADOK, NULL); -- cgit v1.1