Skip to content
Snippets Groups Projects
  • dcashman's avatar
    361ed751
    Allow apps to dump meminfo to serial_console. · 361ed751
    dcashman authored
    Executing dumpsys meminfo over the console shell requires that output go to the
    console_device.  meminfo passes a fd to each applicaiton thread so that it can
    do this in IApplicationThread.dumpMemInfo().  Allow use of this fd.
    
    Addresses the following denial:
    type=1400 audit(1426793987.944:4224): avc: denied { read write } for pid=1809 comm="Binder_4" path="/dev/console" dev="tmpfs" ino=5684 scontext=u:r:platform_app:s0 tcontext=u:object_r:console_device:s0 tclass=chr_file
    
    Bug: 17135173
    Change-Id: Id5340a1fb3c8dbf41bda427720c4a0047bc557fc
    361ed751
    History
    Allow apps to dump meminfo to serial_console.
    dcashman authored
    Executing dumpsys meminfo over the console shell requires that output go to the
    console_device.  meminfo passes a fd to each applicaiton thread so that it can
    do this in IApplicationThread.dumpMemInfo().  Allow use of this fd.
    
    Addresses the following denial:
    type=1400 audit(1426793987.944:4224): avc: denied { read write } for pid=1809 comm="Binder_4" path="/dev/console" dev="tmpfs" ino=5684 scontext=u:r:platform_app:s0 tcontext=u:object_r:console_device:s0 tclass=chr_file
    
    Bug: 17135173
    Change-Id: Id5340a1fb3c8dbf41bda427720c4a0047bc557fc