Skip to content
Snippets Groups Projects
  1. Mar 07, 2015
  2. Mar 06, 2015
  3. Mar 05, 2015
  4. Mar 03, 2015
  5. Mar 02, 2015
  6. Feb 28, 2015
  7. Feb 27, 2015
    • Sami Tolvanen's avatar
      am a4b82264: Merge "Revert "Allow ueventd to set verity.* properties"" · a5931f79
      Sami Tolvanen authored
      * commit 'a4b82264':
        Revert "Allow ueventd to set verity.* properties"
      a5931f79
    • Nick Kralevich's avatar
      allow init tmpfs:dir relabelfrom · 543faccc
      Nick Kralevich authored
      When encrypting a device, or when an encrypted device boots,
      a tmpfs is mounted in place of /data, so that a pseudo filesystem
      exists to start system_server and related components. SELinux labels
      need to be applied to that tmpfs /data so the system boots
      properly.
      
      Allow init to relabel a tmpfs /data.
      
      Addresses the following denial:
      
      [    6.294896] type=1400 audit(29413651.850:4): avc:  denied  { relabelfrom } for  pid=1 comm="init" name="/" dev="tmpfs" ino=6360 scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=dir
      
      Steps to reproduce:
        1) Go into Settings > Security > Encrypt Phone
        2) Encrypt phone
        3) See denial
        4) reboot phone
        5) See denial on boot
      
      Bug: 19050686
      Change-Id: Ie57864fe1079d9164d5cfea44683a97498598e41
      543faccc
Loading