Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c17d1942 authored by Heiher's avatar Heiher Committed by Łukasz Patron
Browse files

sepolicy: Allow map for untrusted_app -> su_exec.

* Needed on 4.14+ devices.

Change-Id: I424a7cf76a74e25faf523dd84c687549b3c50b17
parent a09f4a87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ userdebug_or_eng(`
  # typealias shell alias suclient;
  # domain_auto_trans(untrusted_app, su_exec, suclient)

  allow untrusted_app_all su_exec:file { execute_no_trans getattr open read execute };
  allow untrusted_app_all su_exec:file { execute_no_trans getattr open read execute map };
  allow untrusted_app_all sudaemon:unix_stream_socket { connectto read write setopt ioctl };
  allow untrusted_app_all superuser_device:dir { r_dir_perms };
  allow untrusted_app_all superuser_device:sock_file { write };