Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    82fc3b52
    Allow app-app communication via pipes · 82fc3b52
    Nick Kralevich authored
    Allow apps to communicate with each other via pipes.
    In particular, this fixes a bug where printing from Chrome wasn't
    working.
    
      STEPS TO REPRODUCE:
      1. Launch Chrome
      2. From menu tap print and observe
            OR
      1. Launch Drive, Select any file (*.txt, *.doc. *.pdf.........)
      2. Select print
    
    Addresses the following denials:
    
    <5>[  122.352797] type=1400 audit(1386363998.374:18): avc:  denied  { write } for  pid=3786 comm=4173796E635461736B202332 path="pipe:[19164]" dev="pipefs" ino=19164 scontext=u:r:untrusted_app:s0 tcontext=u:r:release_app:s0 tclass=fifo_file
    <5>[  123.248363] type=1400 audit(1386363999.264:19): avc:  denied  { getattr } for  pid=2677 comm=".android.chrome" path="pipe:[19164]" dev="pipefs" ino=19164 scontext=u:r:untrusted_app:s0 tcontext=u:r:release_app:s0 tclass=fifo_file
    <5>[  123.248620] type=1400 audit(1386363999.264:20): avc:  denied  { write } for  pid=3308 comm="ChildProcessMai" path="pipe:[19164]" dev="pipefs" ino=19164 scontext=u:r:isolated_app:s0 tcontext=u:r:release_app:s0 tclass=fifo_file
    
    Bug: 12032455
    Change-Id: Ic1cb5c1d42596f5a8fc3fe82fcbfe47aa43a7d6c
    82fc3b52
    History
    Allow app-app communication via pipes
    Nick Kralevich authored
    Allow apps to communicate with each other via pipes.
    In particular, this fixes a bug where printing from Chrome wasn't
    working.
    
      STEPS TO REPRODUCE:
      1. Launch Chrome
      2. From menu tap print and observe
            OR
      1. Launch Drive, Select any file (*.txt, *.doc. *.pdf.........)
      2. Select print
    
    Addresses the following denials:
    
    <5>[  122.352797] type=1400 audit(1386363998.374:18): avc:  denied  { write } for  pid=3786 comm=4173796E635461736B202332 path="pipe:[19164]" dev="pipefs" ino=19164 scontext=u:r:untrusted_app:s0 tcontext=u:r:release_app:s0 tclass=fifo_file
    <5>[  123.248363] type=1400 audit(1386363999.264:19): avc:  denied  { getattr } for  pid=2677 comm=".android.chrome" path="pipe:[19164]" dev="pipefs" ino=19164 scontext=u:r:untrusted_app:s0 tcontext=u:r:release_app:s0 tclass=fifo_file
    <5>[  123.248620] type=1400 audit(1386363999.264:20): avc:  denied  { write } for  pid=3308 comm="ChildProcessMai" path="pipe:[19164]" dev="pipefs" ino=19164 scontext=u:r:isolated_app:s0 tcontext=u:r:release_app:s0 tclass=fifo_file
    
    Bug: 12032455
    Change-Id: Ic1cb5c1d42596f5a8fc3fe82fcbfe47aa43a7d6c