]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Retrofit of mac_test regression and consistency test module for MAC
authorrwatson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 17:28:45 +0000 (17:28 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 17:28:45 +0000 (17:28 +0000)
commite7de110897b52634874b85b17815357cc4c4a12c
treec3c950af785aa7a88298e76a08908ce04813a835
parent424518a7fefc942dfd85ad913f4ddf12caa27c1b
Retrofit of mac_test regression and consistency test module for MAC
Framework labels:

- Re-work the label state assertions to use a set of central
  ASSERT_type_LABEL() assertions.

- Test to make sure labels passed to externalize/internalize calls haven't
  been destroyed.

- For access control checks, assert the condition of all labels passed in.

- For life cycle events, assert the condition of all labels passed in.

- Add new entry point implementations for new MAC Framework entry points:
  mac_test_reflect_mbuf_icmp(), mac_test_reflect_mbuf_tcp(),
  mac_test_check_vnode_deleteextattr(), mac_test_check_vnode_listextattr().

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
sys/security/mac_test/mac_test.c