]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Consistently name functions for mac_<policy> as <policy>_whatever rather
authorRobert Watson <rwatson@FreeBSD.org>
Thu, 25 Oct 2007 11:31:11 +0000 (11:31 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Thu, 25 Oct 2007 11:31:11 +0000 (11:31 +0000)
commit3f1a7a9086a59e93615bb9e5f6163372cee4d669
tree61b4f64bfe3a4b94291e8d7bf90db127671545c7
parentededffc06bbdd4352d3e959e7b99d59ba2410c9c
Consistently name functions for mac_<policy> as <policy>_whatever rather
than mac_<policy>_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_biba/mac_biba.c
sys/security/mac_bsdextended/mac_bsdextended.c
sys/security/mac_ifoff/mac_ifoff.c
sys/security/mac_lomac/mac_lomac.c
sys/security/mac_mls/mac_mls.c
sys/security/mac_none/mac_none.c
sys/security/mac_partition/mac_partition.c
sys/security/mac_portacl/mac_portacl.c
sys/security/mac_seeotheruids/mac_seeotheruids.c
sys/security/mac_stub/mac_stub.c
sys/security/mac_test/mac_test.c