Skip to content

Instantly share code, notes, and snippets.

@lzzy12
Created December 13, 2017 13:39
Show Gist options
  • Save lzzy12/21955b403936cf0ee99de495c9246d26 to your computer and use it in GitHub Desktop.
Save lzzy12/21955b403936cf0ee99de495c9246d26 to your computer and use it in GitHub Desktop.
#============= gpsd ==============
allow gpsd device:chr_file { ioctl open read write };
#============= priv_app ==============
allow priv_app device:dir { open read };
#============= system_app ==============
allow system_app fingerprintd:binder call;
allow system_app netd:binder call;
allow system_app netd_service:service_manager find;
#============= system_server ==============
allow system_server gps_data_file:file { create getattr open setattr write };
#============= untrusted_app ==============
allow untrusted_app anr_data_file:file { getattr read };
allow untrusted_app debugfs:dir { open read };
allow untrusted_app self:udp_socket ioctl;
allow untrusted_app sysfs:file { getattr open read };
allow untrusted_app system_data_file:file read;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment