Skip to content
Snippets Groups Projects
  1. Dec 21, 2018
    • Nick Kralevich's avatar
      Revert "remove app_data_file execute" · 65a89c1b
      Nick Kralevich authored
      This reverts commit b3624743.
      
      Reason for revert:
      
      android.jvmti.cts.JvmtiHostTest1906#testJvmti unittest failures.
      
      Bug: 121333210
      Bug: 112357170
      Change-Id: I6e68855abaaaa1e9248265a468712fa8d70ffa74
      Test: compiles and boots
      65a89c1b
  2. Dec 12, 2018
    • Nick Kralevich's avatar
      remove app_data_file execute · b3624743
      Nick Kralevich authored
      Remove the ability for applications to dlopen() executable code from
      their home directory for newer API versions. API versions <= 28 are
      uneffected by this change.
      
      Bug: 112357170
      Test: cts-tradefed run cts -m CtsRenderscriptTestCases
      Change-Id: I1d7f3a1015d54b8610d1c561f38a1a3c2bcf79e4
      b3624743
  3. Nov 07, 2018
    • Yabin Cui's avatar
      Add runas_app domain to allow running app data file via run-as. · ffa2b613
      Yabin Cui authored
      Calling execve() on files in an app's home directory isn't allowed
      for targetApi >=29. But this is needed by simpleperf to profile
      a debuggable app via run-as.
      So workaround it by adding runas_app domain, which allows running
      app data file. And add a rule in seapp_contexts to use runas_app
      domain for setcontext requests from run-as.
      
      Bug: 118737210
      Test: boot marlin and run CtsSimpleperfTestCases.
      Change-Id: I5c3b54c95337d6d8192861757b858708174ebfd5
      ffa2b613
Loading