Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    43cd0cce
    allow shell self:process ptrace; · 43cd0cce
    Nick Kralevich authored
    Allow the non-privileged adb shell user to run strace. Without
    this patch, the command "strace /system/bin/ls" fails with the
    following error:
    
      shell@android:/ $ strace /system/bin/ls
      strace: ptrace(PTRACE_TRACEME, ...): Permission denied
      +++ exited with 1 +++
    
    Change-Id: I207fe0f71941bff55dbeb6fe130e636418f333ee
    43cd0cce
    History
    allow shell self:process ptrace;
    Nick Kralevich authored
    Allow the non-privileged adb shell user to run strace. Without
    this patch, the command "strace /system/bin/ls" fails with the
    following error:
    
      shell@android:/ $ strace /system/bin/ls
      strace: ptrace(PTRACE_TRACEME, ...): Permission denied
      +++ exited with 1 +++
    
    Change-Id: I207fe0f71941bff55dbeb6fe130e636418f333ee