Darren Greene
2018-10-30 14:29:32 UTC
Hi,
I am running Android "P" on my development board and getting a "permission
denied" error. This is only seen when SELinux is in enforcing mode; if I
switch to permissive things work fine.
libsuspend: error opening /sys/power/state: Permission denied
libsuspend: autosuspend_init failed
I also get a similar error "Java.io.FileNotFoundException: /sys/power/state
(Permission denied)" when I try to access /sys/power/state from a service.
There are no avc denial messages seen in dmesg but permissive mode working
indicates some access permissions are missing.
Any thoughts on how to go about debugging this or possible reasons for this
error ?
-Darren
I am running Android "P" on my development board and getting a "permission
denied" error. This is only seen when SELinux is in enforcing mode; if I
switch to permissive things work fine.
libsuspend: error opening /sys/power/state: Permission denied
libsuspend: autosuspend_init failed
I also get a similar error "Java.io.FileNotFoundException: /sys/power/state
(Permission denied)" when I try to access /sys/power/state from a service.
There are no avc denial messages seen in dmesg but permissive mode working
indicates some access permissions are missing.
Any thoughts on how to go about debugging this or possible reasons for this
error ?
-Darren
--
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.