Skip to content
Snippets Groups Projects
  1. May 22, 2017
  2. May 18, 2017
  3. May 15, 2017
    • Alex Vakulenko's avatar
      SELinux policies for PDX services · 1a6fabea
      Alex Vakulenko authored
      am: c4055f0d
      
      Change-Id: I4f307d49476c1e84d8dd17d02f383d7c10a959fc
      1a6fabea
    • Alex Vakulenko's avatar
      SELinux policies for PDX services · c4055f0d
      Alex Vakulenko authored
      Specify per-service rules for PDX transport. Now being able to
      grant permissions to individual services provided by processes,
      not all services of a process.
      
      Also tighter control over which permissions are required for
      client and server for individual components of IPC (endpoints,
      channels, etc).
      
      Bug: 37646189
      Change-Id: I78eb8ae8b6e08105666445a66bfcbd2f1d69d0ea
      Merged-Id: I78eb8ae8b6e08105666445a66bfcbd2f1d69d0ea
      c4055f0d
  4. May 12, 2017
  5. May 11, 2017
  6. May 10, 2017
    • Tao Bao's avatar
      recovery.te: Allow setting sys.usb.ffs.ready. · ce5ca4d0
      Tao Bao authored
      This is needed for devices using configfs, where init listens for
      sys.usb.ffs.ready=1 to config usb_gadget. When recovery starts
      sideloading, minadbd (forked from recovery) sets the property to trigger
      that action.
      
      avc:  denied  { set } for property=sys.usb.ffs.ready pid=541 uid=0 gid=0
      scontext=u:r:recovery:s0 tcontext=u:object_r:ffs_prop:s0
      tclass=property_service
      
      Bug: 35803743
      Test: Device shows up in sideload mode.
      Change-Id: Ie7f1224d3a8650160ac29811f73b8286fbced4f4
      ce5ca4d0
    • Jaesoo Lee's avatar
      configstore: assign label to all minor versions of configstore service · 8741d4fe
      Jaesoo Lee authored
      am: c895f278
      
      Change-Id: I49f55fba41b5242c7c4f36652afe9fee4808a349
      8741d4fe
    • Jaesoo Lee's avatar
      configstore: assign label to all minor versions of configstore service · c895f278
      Jaesoo Lee authored
      Added rule:
      
      /(vendor|system/vendor)/bin/hw/android\.hardware\.configstore@1\.[0-9]-service
      u:object_r:hal_configstore_default_exec:s0
      
      Bug: 37727469
      Test: Built and tested on Sailfish
      Change-Id: Icf167fad1c7e601c3662f527d1e3e844ff517b58
      c895f278
  7. May 09, 2017
  8. May 08, 2017
  9. May 04, 2017
  10. May 03, 2017
    • William Roberts's avatar
      storaged: add permissions for dumpstate · fd8f305b
      William Roberts authored
      
      The service "storaged" implememnts a dump() interface for
      dumpsys, and thus it needs to write its state to the fd
      provided by dumpstate.
      
      To correct this, and fix dumpstate, allow the permission.
      
      Fixes:
      avc: denied { use } for pid=3298 comm="dumpsys" path="pipe:[33470]" dev="pipefs" ino=33470 scontext=u:r:storaged:s0 tcontext=u:r:dumpstate:s0 tclass=fd permissive=0
      
      Test:
      With a device that has storaged, issue the command:
      $ adb shell dumpstate
      
      Change-Id: I515e20f0328b6edc01ea2a7c53b1d3c4ca0e72ac
      Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
      fd8f305b
  11. May 01, 2017
  12. Apr 28, 2017
    • Andreas Gampe's avatar
      Sepolicy-Analyze: Plug leak · 4a318ad6
      Andreas Gampe authored
      am: ee8b67df
      
      Change-Id: Ic2fe390f95f0be43ad39a50366e0300a398aa0ad
      4a318ad6
    • Andreas Gampe's avatar
      fc_sort: Fix leaks · c32d7bae
      Andreas Gampe authored
      Use the getline API correctly: keep a single buffer as long as
      possible, and let the callee handle re-allocation. Move the final
      free out of the loop.
      
      Release the head of the linked list.
      
      Bug: 37757586
      Test: ASAN_OPTIONS= SANITIZE_HOST=address mmma system/sepolicy
      Change-Id: I42424acba7cd68c1b9a7a43e916a421ac3e253f7
      c32d7bae
    • Andreas Gampe's avatar
      Sepolicy-Analyze: Plug leak · ee8b67df
      Andreas Gampe authored
      Destroy the policy before exiting (for successful = expected runs).
      
      Bug: 37757759
      Test: ASAN_OPTIONS= SANITIZE_HOST=address m
      Change-Id: I67e35fbede696ec020a53b69a6cef9f374fae167
      ee8b67df
  13. Apr 27, 2017
Loading