diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-04-22 13:29:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-04-22 13:29:37 +0000 |
commit | 7851a71064b24f27fbc74bfa30cee2d539e9cc6e (patch) | |
tree | 9da7e99278e9881f11bdb5919d15b743ebb95e8f /sys/pci | |
parent | 1c813951d507e42472de7b0f7d974af566a0a736 (diff) | |
download | FreeBSD-src-7851a71064b24f27fbc74bfa30cee2d539e9cc6e.zip FreeBSD-src-7851a71064b24f27fbc74bfa30cee2d539e9cc6e.tar.gz |
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
Diffstat (limited to 'sys/pci')
0 files changed, 0 insertions, 0 deletions