Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    Move to ioctl whitelisting for plain files / directories · ebc3a1a3
    Nick Kralevich authored
    Remove kernel attack surface associated with ioctls on plain files. In
    particular, we want to ensure that the ioctls FS_IOC_ENABLE_VERITY and
    FS_IOC_MEASURE_VERITY are not exposed outside a whitelisted set of
    entities. However, it's straight forward enough to turn on ioctl
    whitelisting for everything, so we choose to do so.
    
    Test: policy compiles and device boots
    Test: device boots with data wipe
    Test: device boots without data wipe
    Change-Id: I545ae76dddaa2193890eeb1d404db79d1ffa13c2
    ebc3a1a3