Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From b7befcb485f04b9283fca39e2406deb80e356018 Mon Sep 17 00:00:00 2001
- From: Thecrazyskull <anaskarbila@gmail.com>
- Date: Sat, 29 Aug 2015 17:45:03 +0200
- Subject: [PATCH] msm8660:sepolicy: adress some denials
- Signed-off-by: Thecrazyskull <anaskarbila@gmail.com>
- ---
- sepolicy/mpdecision.te | 1 +
- sepolicy/qmuxd.te | 1 +
- sepolicy/rmt_storage.te | 1 +
- 3 files changed, 3 insertions(+)
- diff --git a/sepolicy/mpdecision.te b/sepolicy/mpdecision.te
- index 085bb88..bb8ac0e 100644
- --- a/sepolicy/mpdecision.te
- +++ b/sepolicy/mpdecision.te
- @@ -1,3 +1,4 @@
- allow mpdecision self:capability sys_nice;
- allow mpdecision socket_device:dir add_name;
- allow mpdecision socket_device:sock_file { write create setattr };
- +allow mpdecision self:process execmem;
- diff --git a/sepolicy/qmuxd.te b/sepolicy/qmuxd.te
- index 440b985..0e85508 100644
- --- a/sepolicy/qmuxd.te
- +++ b/sepolicy/qmuxd.te
- @@ -1 +1,2 @@
- allow qmuxd self:process execmem;
- +allow qmuxd init:unix_stream_socket connectto;
- diff --git a/sepolicy/rmt_storage.te b/sepolicy/rmt_storage.te
- index 0c892ce..7376ca6 100644
- --- a/sepolicy/rmt_storage.te
- +++ b/sepolicy/rmt_storage.te
- @@ -16,3 +16,4 @@ allow rmt_storage sysfs_wake_lock:file w_file_perms;
- allow rmt_storage uio_device:chr_file rw_file_perms;
- allow rmt_storage mmc_block_device:blk_file r_file_perms;
- allow rmt_storage self:capability { net_raw setpcap };
- +allow rmt_storage device:chr_file { read write };
- --
- 1.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement