Skip to content
Snippets Groups Projects
  • Jeff Vander Stoep's avatar
    5cfbf08f
    Assert types labeled in genfs_contexts have correct attributes · 5cfbf08f
    Jeff Vander Stoep authored
    Types in sysfs should have the sysfs_type attribute, types in
    debugfs and tracefs should have the debugfs_type attribute.
    
    TODO: Test that files in procfs have the proc_type attribute.
    TODO: Assert these tests in CTS.
    
    Bug: 74182216
    Test: build - these are build-time tests.
    Change-Id: Icf0ff2a26c05f94da421ba23df0b92d8eef906bf
    Merged-In: Icf0ff2a26c05f94da421ba23df0b92d8eef906bf
    (cherry picked from commit 1b828444)
    5cfbf08f
    History
    Assert types labeled in genfs_contexts have correct attributes
    Jeff Vander Stoep authored
    Types in sysfs should have the sysfs_type attribute, types in
    debugfs and tracefs should have the debugfs_type attribute.
    
    TODO: Test that files in procfs have the proc_type attribute.
    TODO: Assert these tests in CTS.
    
    Bug: 74182216
    Test: build - these are build-time tests.
    Change-Id: Icf0ff2a26c05f94da421ba23df0b92d8eef906bf
    Merged-In: Icf0ff2a26c05f94da421ba23df0b92d8eef906bf
    (cherry picked from commit 1b828444)
policy.py 17.10 KiB