Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. From b7befcb485f04b9283fca39e2406deb80e356018 Mon Sep 17 00:00:00 2001
  2. From: Thecrazyskull <anaskarbila@gmail.com>
  3. Date: Sat, 29 Aug 2015 17:45:03 +0200
  4. Subject: [PATCH] msm8660:sepolicy: adress some denials
  5.  
  6. Signed-off-by: Thecrazyskull <anaskarbila@gmail.com>
  7. ---
  8. sepolicy/mpdecision.te | 1 +
  9. sepolicy/qmuxd.te | 1 +
  10. sepolicy/rmt_storage.te | 1 +
  11. 3 files changed, 3 insertions(+)
  12.  
  13. diff --git a/sepolicy/mpdecision.te b/sepolicy/mpdecision.te
  14. index 085bb88..bb8ac0e 100644
  15. --- a/sepolicy/mpdecision.te
  16. +++ b/sepolicy/mpdecision.te
  17. @@ -1,3 +1,4 @@
  18. allow mpdecision self:capability sys_nice;
  19. allow mpdecision socket_device:dir add_name;
  20. allow mpdecision socket_device:sock_file { write create setattr };
  21. +allow mpdecision self:process execmem;
  22. diff --git a/sepolicy/qmuxd.te b/sepolicy/qmuxd.te
  23. index 440b985..0e85508 100644
  24. --- a/sepolicy/qmuxd.te
  25. +++ b/sepolicy/qmuxd.te
  26. @@ -1 +1,2 @@
  27. allow qmuxd self:process execmem;
  28. +allow qmuxd init:unix_stream_socket connectto;
  29. diff --git a/sepolicy/rmt_storage.te b/sepolicy/rmt_storage.te
  30. index 0c892ce..7376ca6 100644
  31. --- a/sepolicy/rmt_storage.te
  32. +++ b/sepolicy/rmt_storage.te
  33. @@ -16,3 +16,4 @@ allow rmt_storage sysfs_wake_lock:file w_file_perms;
  34. allow rmt_storage uio_device:chr_file rw_file_perms;
  35. allow rmt_storage mmc_block_device:blk_file r_file_perms;
  36. allow rmt_storage self:capability { net_raw setpcap };
  37. +allow rmt_storage device:chr_file { read write };
  38. --
  39. 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement