diff options
author | RGIB <gibellini.roberto@gmail.com> | 2016-12-15 17:38:29 +0100 |
---|---|---|
committer | RGIB <gibellini.roberto@gmail.com> | 2016-12-15 17:38:29 +0100 |
commit | a4791c36eb3e336e082b2feb90edae67d6944289 (patch) | |
tree | 068e4d7cccc0563f5b96d018b6375f4b8330b629 | |
parent | b94a1c3af95830156ccf53738eb12be167f5b837 (diff) | |
download | device_samsung_i9305-a4791c36eb3e336e082b2feb90edae67d6944289.zip device_samsung_i9305-a4791c36eb3e336e082b2feb90edae67d6944289.tar.gz device_samsung_i9305-a4791c36eb3e336e082b2feb90edae67d6944289.tar.bz2 |
i9305 : selinux update
Change-Id: I5736551bd7be09bd2ccb680282e073a9ca75d0ce
-rw-r--r-- | selinux/debuggerd.te | 2 | ||||
-rw-r--r-- | selinux/init.te | 1 | ||||
-rw-r--r-- | selinux/mediaserver.te | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/selinux/debuggerd.te b/selinux/debuggerd.te new file mode 100644 index 0000000..9e574e7 --- /dev/null +++ b/selinux/debuggerd.te @@ -0,0 +1,2 @@ +allow debuggerd gpu_device:chr_file { read getattr open }; +allow debuggerd video_device:chr_file open; diff --git a/selinux/init.te b/selinux/init.te index f4b18d5..1545be3 100644 --- a/selinux/init.te +++ b/selinux/init.te @@ -7,3 +7,4 @@ allow init radio_device:lnk_file setattr; allow init tmpfs:lnk_file create; allow init sysfs_bluetooth_writable:lnk_file { read getattr }; allow init sysfs_bluetooth_writable:file getattr; +allow init socket_device:sock_file setattr; diff --git a/selinux/mediaserver.te b/selinux/mediaserver.te index 5f41f1a..a621e62 100644 --- a/selinux/mediaserver.te +++ b/selinux/mediaserver.te @@ -7,3 +7,4 @@ allow mediaserver socket_device:dir { add_name write }; allow mediaserver socket_device:sock_file { setattr write create }; allow mediaserver qmuxd:unix_stream_socket connectto; allow mediaserver mnt_user_file:lnk_file read; +allow mediaserver sysfs_wake_lock:file { read write open }; |