Date: Sun, 22 Apr 2007 13:29:37 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/mac_test mac_test.c Message-ID: <200704221329.l3MDTbsQ025137@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-04-22 13:29:37 UTC
FreeBSD src repository
Modified files:
sys/security/mac_test mac_test.c
Log:
Further MAC test policy cleanup and enhancement:
- Redistribute counter declarations to where they are used, rather than at
the file header, so it's more clear where we do (and don't) have
counters.
- Add many more counters, one per policy entry point, so that many
individual access controls and object life cycle events are tracked.
- Perform counter increments for label destruction explicitly in entry
point functions rather than in LABEL_DESTROY().
- Use LABEL_INIT() instead of SLOT_SET() directly in label init functions
to be symmetric with destruction.
- Align counter names more carefully with entry point names.
- More constant and variable name normalization.
Obtained from: TrustedBSD Project
Revision Changes Path
1.72 +478 -141 src/sys/security/mac_test/mac_test.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704221329.l3MDTbsQ025137>
