cvs commit: src/sys/security/mac_biba mac_biba.c
src/sys/security/mac_bsdextended
mac_bsdextended.c src/sys/security/mac_ifoff mac_ifoff.c
src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls
mac_mls.c src/sys/security/mac_none mac_none.c ...
Robert Watson
rwatson at FreeBSD.org
Thu Oct 25 04:31:14 PDT 2007
rwatson 2007-10-25 11:31:11 UTC
FreeBSD src repository
Modified files:
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
Log:
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
Revision Changes Path
1.110 +726 -736 src/sys/security/mac_biba/mac_biba.c
1.41 +128 -130 src/sys/security/mac_bsdextended/mac_bsdextended.c
1.15 +30 -29 src/sys/security/mac_ifoff/mac_ifoff.c
1.56 +613 -633 src/sys/security/mac_lomac/mac_lomac.c
1.91 +720 -729 src/sys/security/mac_mls/mac_mls.c
1.37 +2 -2 src/sys/security/mac_none/mac_none.c
1.21 +36 -35 src/sys/security/mac_partition/mac_partition.c
1.17 +26 -26 src/sys/security/mac_portacl/mac_portacl.c
1.17 +21 -21 src/sys/security/mac_seeotheruids/mac_seeotheruids.c
1.72 +2 -2 src/sys/security/mac_stub/mac_stub.c
1.82 +413 -413 src/sys/security/mac_test/mac_test.c
More information about the cvs-src
mailing list