Skip to content
Snippets Groups Projects
  1. Oct 04, 2016
    • Jeff Vander Stoep's avatar
      Create unique labels for /dev/snd/{seq,timer} · db4510d8
      Jeff Vander Stoep authored
      No core android component needs access to /dev/snd/{seq,timer}, but
      currently audioserver, bootanim, init, system_server and ueventd have
      access. Seq and timer have been the source of many bugs in the past
      [1]. Giving these files new labels without explicitly granting access
      removes access from audioserver, bootanim, and system_server.
      Init and ueventd still require access for /dev setup.
      
      TODO: Explore unsetting CONFIG_SND_TIMER device kernels.
      
      [1] https://github.com/google/syzkaller/wiki/Found-Bugs
      
      Test: media CTS "cts-tradefed run cts -m CtsMediaTestCases" on Bullhead
      and Dragon completed with no denials.
      
      Bug: 29045223
      Change-Id: I2d069920e792ce8eef70c7b4a038b9e7000f39f5
      db4510d8
  2. Sep 29, 2016
  3. Sep 28, 2016
    • Iliyan Malchev's avatar
      add policy for android.hardware.nfc@1.0-service · b8df90a2
      Iliyan Malchev authored
      
      android.hardware.nfc@1.0-service is the generic binderized
      HIDL package implementation of android.hardware.nfc@1.0
      
      Denials:
      avc: denied { read write } for pid=432 comm="android.hardwar"
      name="pn548" dev="tmpfs" ino=10228
      scontext=u:r:android_hardware_nfc_1_0_service:s0
      tcontext=u:object_r:nfc_device:s0 tclass=chr_file
      
      avc: denied { search } for pid=443 comm="Binder:430_1" name="nfc"
      dev="dm-0" ino=670433 scontext=u:r:android_hardware_nfc_1_0_service:s0
      tcontext=u:object_r:nfc_data_file:s0 tclass=dir
      
      Test: pass
      
      Change-Id: Id022b8d1706253ef65a37406c74ff883e12415b2
      Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
      b8df90a2
  4. Sep 27, 2016
Loading