Skip to content
Snippets Groups Projects
  • Alan Stokes's avatar
    17d008ae
    Allow hal_vibrator access to sysfs_vibrator files. · 17d008ae
    Alan Stokes authored
    We already grant rw file access, but without dir search it's not much
    use.
    
    denied { search } for name="vibrator" dev="sysfs" ino=49606 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:sysfs_vibrator:s0 tclass=dir permissive=0
    
    Bug: 72643420
    Test: Builds, denial gone
    Change-Id: I3513c0a14f0ac1e60517009046e2654f1fc45c66
    17d008ae
    History
    Allow hal_vibrator access to sysfs_vibrator files.
    Alan Stokes authored
    We already grant rw file access, but without dir search it's not much
    use.
    
    denied { search } for name="vibrator" dev="sysfs" ino=49606 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:sysfs_vibrator:s0 tclass=dir permissive=0
    
    Bug: 72643420
    Test: Builds, denial gone
    Change-Id: I3513c0a14f0ac1e60517009046e2654f1fc45c66