Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • pie-cts-release
  • pie-vts-release
  • pie-cts-dev
  • oreo-mr1-iot-release
  • sdk-release
  • oreo-m6-s4-release
  • oreo-m4-s12-release
  • pie-release
  • pie-r2-release
  • pie-r2-s1-release
  • oreo-vts-release
  • oreo-cts-release
  • oreo-dev
  • oreo-mr1-dev
  • pie-gsi
  • pie-platform-release
  • pie-dev
  • oreo-cts-dev
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
  • android-9.0.0_r3
40 results

AndroidSystemSEPolicy

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Nick Kralevich authored
    91a4f8d4 created system_app_data_file,
    and assigned all system_apps to use this file type. For testing purposes,
    our automated testing infrastructure sideloads shared system UID apks.
    Installd does not have permission to create the lib symlink, so the
    installation fails.
    
    Allow installd to create this symlink.
    
      repro:
      adb install AppLaunch.apk
      276 KB/s (8414 bytes in 0.029s)
             pkg: /data/local/tmp/AppLaunch.apk
      Failure [INSTALL_FAILED_INTERNAL_ERROR]
    
      logcat:
      05-08 23:16:36.336   605   637 I PackageManager: Copying native libraries to /data/app-lib/vmdl609237490
      05-08 23:16:36.338   605   637 W asset   : Installing empty resources in to table 0x5e89a368
      05-08 23:16:36.359   193   193 W installd: type=1400 audit(0.0:29): avc:  denied  { create } for  name="lib" scontext=u:r:installd:s0 tcontext=u:object_r:system_app_data_file:s0 tclass=lnk_file
      05-08 23:16:36.363   193   193 E installd: couldn't symlink directory '/data/data/com.android.tests.applaunch/lib' -> '/data/app-lib/com.android.tests.applaunch-1': Permission denied
      05-08 23:16:36.364   605   637 W PackageManager: Failed linking native library dir (user=0)
      05-08 23:16:36.364   605   637 W PackageManager: Package couldn't be installed in /data/app/com.android.tests.applaunch-1.apk
    
    Bug: 14659632
    Change-Id: Iac4890302cd070aa3f71553af217f343ed7b8bc3
    004bd4e0
    History
    Name Last commit Last update