mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-06 16:28:06 -04:00
universal7870: import sepolicy from 7580-common
thanks to @danwood76
This commit is contained in:
parent
9ce97a0bfb
commit
0cfeb0ec4f
61 changed files with 507 additions and 425 deletions
18
sepolicy/sswap.te
Normal file
18
sepolicy/sswap.te
Normal file
|
@ -0,0 +1,18 @@
|
|||
type sswap, domain;
|
||||
type sswap_exec, exec_type, file_type, vendor_file_type;
|
||||
type sswap_device, dev_type;
|
||||
|
||||
init_daemon_domain(sswap);
|
||||
|
||||
allow sswap sswap_device:blk_file rw_file_perms;
|
||||
allow sswap sysfs_sswap:file rw_file_perms;
|
||||
allow sswap sysfs_sswap:dir search;
|
||||
allow sswap block_device:dir search;
|
||||
allow sswap self:capability sys_admin;
|
||||
|
||||
allow sswap proc_meminfo:file r_file_perms;
|
||||
|
||||
allow sswap properties_device:dir r_dir_perms;
|
||||
r_dir_file(sswap, proc_stat);
|
||||
|
||||
set_prop(sswap, sswap_prop)
|
Loading…
Add table
Add a link
Reference in a new issue