Browse Source

whyred: Address denials

Also run dos2unix

Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
tags/20190731-pie-aosip
Henrique Silva 4 months ago
parent
commit
6831d4e897

+ 3
- 0
sepolicy/vendor/file.te View File

@@ -16,3 +16,6 @@ type keylayout_file, file_type, vendor_file_type;

# Keylayout
type vendor_keylayout_file, file_type, vendor_file_type;

# Power
type debugfs_wlan, debugfs_type, fs_type;

+ 1
- 0
sepolicy/vendor/genfs_contexts View File

@@ -0,0 +1 @@
genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0

+ 2
- 1
sepolicy/vendor/hal_power_default.te View File

@@ -1 +1,2 @@
allow hal_power_default sysfs_tap_to_wake:file rw_file_perms;
allow hal_power_default sysfs_tap_to_wake:file rw_file_perms;
r_dir_file(hal_power_default, debugfs_wlan)

+ 2
- 0
sepolicy/vendor/priv_app.te View File

@@ -0,0 +1,2 @@
allow priv_app bt_firmware_file:filesystem getattr;
allow priv_app firmware_file:filesystem getattr;

+ 1
- 0
sepolicy/vendor/time_daemon.te View File

@@ -0,0 +1 @@
allow time_daemon self:capability { setuid setgid sys_time };

Loading…
Cancel
Save