Skip to content
Snippets Groups Projects
  • Tri Vo's avatar
    Neverallow coredomain to kernel interface files. · 502e43f7
    Tri Vo authored
    Core domains should not be allowed access to kernel interfaces,
    which are not explicitly labeled. These interfaces include
    (but are not limited to):
    
    1. /proc
    2. /sys
    3. /dev
    4. debugfs
    5. tracefs
    6. inotifyfs
    7. pstorefs
    8. configfs
    9. functionfs
    10. usbfs
    11. binfmt_miscfs
    
    We keep a lists of exceptions to the rule, which we will be gradually shrinking.
    This will help us prevent accidental regressions in our efforts to label
    kernel interfaces.
    
    Bug: 68159582
    Test: bullhead, sailfish can build
    Change-Id: I8e466843e1856720f30964546c5c2c32989fa3a5
    502e43f7
domain.te 2.43 KiB