Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTRACE_ATTACH Permission Denied (LineageOS 7.1.1) #123

thebabush opened this issue May 3, 2017 · 2 comments


Copy link

commented May 3, 2017

I just installed frida and I'm getting an error when I try to frida-trace an app.

Relevant adb logcat:

05-03 14:43:31.964  8088  8088 W frida-helper-32: type=1400 audit(0.0:548): avc: denied { sigchld } for scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:sudaemon:s0 tclass=process permissive=0

The server was running as root.


This comment has been minimized.

Copy link

commented May 8, 2017

Try to set selinux to Permissive:


This comment has been minimized.

Copy link

commented Jul 27, 2017

As he said you have to run frida using root and with selinux in permissive.
To do so run:
setenforce 0


@thebabush thebabush closed this Jul 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.